A simple script to let you notetag items/weapons and armor to allow more than 99 to be carried.
Features
– more than 99 items
– different max limit for different items
Screenshots…
not really needed but heres one anyway
V- SCRIPT -V
A simple script to let you notetag items/weapons and armor to allow more than 99 to be carried.
Features
– more than 99 items
– different max limit for different items
Screenshots…
not really needed but heres one anyway
V- SCRIPT -V
I’m deeply inerested in this script.
It is astoundingly short and simple and to the point.
However, my implementation of this precise feature requires 1 additional feature be added: changeable item limits in-game.
Any idea how to do this?
I attempted to simply replace the number part with $game_variables[#], but it only seems to check this variable once, and thus the limit is fixed, even though the variable changes.
replace the very bottom of the script with this code…
#==============================================================================
class Game_Party < Game_Unit
#==============================================================================
def max_item_number(item)
return eval(item.max_item_amount_DPBz)
end
end # end class Game_Party
That should allow for the use of variables ect.. let me know how it goes.
I put:
it pops an error on startup:
Cannot convert FixNum into String.
lol of course.. silly me..
#==============================================================================
class Game_Party < Game_Unit
#==============================================================================
def max_item_number(item)
return eval("#{item.max_item_amount_DPBz.to_s}")
end
end # end class Game_Party
Better ?
Haha, doesn’t give an error, and lets you load it and everything, but when you change the variable, the item limit doesn’t change with it.
Perhaps there needs to be a method to check it or something in Game_Map refresh or something?
ill see what i can come up with and get back to you :p
Sorry for the inconvenience, Dekita.
Hope you figure something out ._.
its all good :p
Seeing as the script is literally like, 50 lines, there has to be an easy solution, right?
Lol yea you would think so, sometimes though thats not the case.
The only thing i can think of would require you to set the notetag in the script and then use script calls to change the max item amount. i dont know if this would be suitable for what you originally wanted..
Script calls would be fine so long as they individually can adjust item limits. I said variables because I figured it would establish the idea better.
All done !
Re-download the script and it will allow for you to use script calls to change the item limits.
The example method i provided in the script is exactly what i used while testing and works 100% fine. if you find any issues let me know 🙂
Edit: as you can see it took almost as much code as the script already had to add this seemingly simple feature :p 😀
True statement. It was a bit of a mess to install and implement at first, but I got it running. I appreciate your diligence.
I’d like to learn up on Ruby myself sometime so I can stop harassing you about your scripts and just do it myself 😦
lol its really not that hard. most of it is just basic logic, e.g it does what it says…
e.g
100.times do ; this_method ; end
runs “this_method” 100 times…
and all of ruby is like that..
to be fair though, the more you get used to it the more efficient your code would become and the more you learn ^_^
Also i dont mind doing little updates here and there :p