yeah is there a part of the main scripts I can change or something to have more than 99 scripts? It's really annoying when using throwing items with the blizz abs, very limiting.
Little something extra from legacyblade: ShowHide Quote from: legacyblade on November 08, 2008, 03:49:30 pm
or you can just add 99 potions a few times. or the most simple would be the following script call
$game_party.gain_item(item_id, amount)
Replace item_id with the item id (the number in the database), and set amount to however many of the item you want to give. That takes less time, and it doesn't waste any variables.
Um...More than 99 scripts or more than 99 items? o_o I love your subject changing there.
Well...
Find this piece of code in Game_Party:
#--------------------------------------------------------------------------
# * Gain Items (or lose)
# item_id : item ID
# n : quantity
#--------------------------------------------------------------------------
def gain_item(item_id, n)
# Update quantity data in the hash.
if item_id > 0
@items[item_id] = [[item_number(item_id) + n, 0].max, 99].min
end
end
And replace
@items[item_id] = [[item_number(item_id) + n, 0].max, 99].min
with
@items[item_id] = [[item_number(item_id) + n, 0].max, 999].min
Items lol, I dunno why I put scripts :P I couldn't find that part when I was looking through the scripts, thanks SDK ;)
lol you just made another typo, its SRK not SDK. o well
and this was a very useful question, i cant believe i never thought of asking for more items.
Quote from: Hellfire Dragon on November 08, 2008, 03:26:28 pm
Items lol, I dunno why I put scripts :P I couldn't find that part when I was looking through the scripts, thanks SDK ;)
D:
Don't you ever relate that horrid system to my name! EVER! :V:
XD
What do you mean you can't find that part...? I'll give you a specific line if that helps. That piece of the script is on Line 171.
If you still can't find it, use Ctrl + F or Shift + Ctrl + F for a global search.
If you already did find it and finished everything and are satisfied with the situation, then please add [RESOLVED] to the thread title. :)
@Shadon: You can also edit maximum gold and maximum steps through here. This is REALLY useful if you want to have unbelievably high numbers like in Disgaea. Just note that the editor's engine itself won't acknowledge the amount of Gold and Items added if they're obscenely high so you can have to do Variable injections if you want to add something like 149 Potions and whatnot.
thanks SRK, that will become useful.
or you can just add 99 potions a few times. or the most simple would be the following script call
$game_party.gain_item(item_id, amount)
Replace item_id with the item id (the number in the database), and set amount to however many of the item you want to give. That takes less time, and it doesn't waste any variables.
um, no legacyblade, he's changing the max number of items he can hold.
I know, but that was about getting around the editor's limit on how many items you can give. My post was in addition to the last bit of SRK's post. Sorry for not being very clear.
oh, yeah. No, that's my bad. There were like 4 new posts, and I just skimmed them. srry. :shy:
QuoteD:
Don't you ever relate that horrid system to my name! EVER! :V:
XD
lol, soz.
ty legacy, that's a helpful little script as well. Guess this is resolved then ;)
lol the same as my post :D
http://forum.chaos-project.com/index.php?topic=876.0 (http://forum.chaos-project.com/index.php?topic=876.0)
Oh right...How can I forget ever seeing that...Man, I got to put that in my invisible index of threads here. Thanks. :)
Well I guess the significance in this thread is that HD called me a horrid beast (by accident of course :P ).