so the player can label the pages the way they want... like armor weapons materials. this system would only be feasible if the item system was like diablo or path of exile. there is numerous uses for having pages with restrictions. unfortunately it would be useless for a small game
Nope you cannot do that even if I allow you to swap storages on the fly. Why? Because the window set-up is the same for all storages, only the items (and the limits if you set it up that way) inside the storages change. Since as I said, the idea of multiple storages when I made this was simply so that you can have different storage events.
I could possibly allow that in the future though, but there's no guarantee.
I could easily and effectively add that, I just really don't need it when I made this. So...
Anyway, it's actually a useful thing if I think about it (the storage specific set-ups). And I could just make it load the default set-up in case the developer opens a storage that doesn't have a specific set-up.
@Bloodmorphed - The central text box and all other boxes/windows are configurable, so it's up to you to modify that. As for pages, no. And I don't plan on having them.
@KuroNeko - which line was it when you open your script editor? Because line 935 on me was the if number > 0, so it's weird that it gives that error as there's no + in there.
Edit: I think the problem was on the eval line, I forgot to add a safety factor to the added script that is possibly causing the + error (it shows the SS script since the line was run via eval)
try this edited one:
module ADIK module SHARED_STORAGE ITEM_TOTAL_LIMIT = 100 endendclass Scene_SharedStorage def get_remaining_slots total = 0 $shared_storage.keys do |key| if key[0] == @storage_number total += $shared_storage[key] end end return ADIK::SHARED_STORAGE::ITEM_TOTAL_LIMIT - total end def get_item_limit item = get_item #because it would error if the item isn't yet on storage begin return $shared_storage[[@storage_number,item.class.to_s,item.id]] + get_remaining_slots rescue get_remaining_slots end end endOr this one if you want the total limit count to be a formula too
Code:
module ADIK module SHARED_STORAGE #can be a formula too ITEM_TOTAL_LIMIT = "100" endendclass Scene_SharedStorage def get_remaining_slots total = 0 $shared_storage.keys do |key| if key[0] == @storage_number total += $shared_storage[key] end end return eval(ADIK::SHARED_STORAGE::ITEM_TOTAL_LIMIT) - total end def get_item_limit item = get_item begin return $shared_storage[[@storage_number,item.class.to_s,item.id]] + get_remaining_slots rescue get_remaining_slots end end end
tested it. this time, it's really not crash. but, no matter how much item i put in, the number "100" won't change, and i can put even more than 100 item.
Now it work perfectly. Guess i just have to find out how to make it "buzzer" instead of show digits when there's no item to pick and make the item darken and buzzer if player tried to store an item while storage was full, huh?
Those TEST line is to test if the item description fit the help window or not. That window skin is my custom made (just draw some blue line, and... done).
And, sure, it's Yuu-chan in KoreZombie.
Feel free to use this pic (with or without my name is fine, it's your script after all). It just like my thanks to you since i've looking for a script like this for a long time!
About the icon, i'm not sure if it's helpful or not, i just put it in since it's will be more beautiful that way
Here's my window skin. I make it only for the storagewindow (i'm using another one for game's window ) so it doesn't have any unecessary things like the arrow icon or background, etc... But if you like it, i don't mind since it just took me 5 mins to draw
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.