Limit Remover
Authors: Koen Lemmen
Version: 2
Type: Item Options
Key Term: Custom Item System
IntroductionThis plug and play script makes it possible to have infinitive items or the other way around.
By editing the script it will be possible to have no limits in weapons or the other way around.
It works with armor, weapon, gold and items.
You can also edit the limit per item, weapon, etc.
How you can do that is in the script in the demo.
Features
- Edit the item limit.
- Edit the item limit per item.
- Edit the weapon or armor limit.
- Edit the weapon or armor limit per item.
- Edit the gold limit.
ScreenshotsNo sense. There is a demo!
DemoEvery thing you need is in the demo:
http://www.mediafire.com/?5647s5o9s54h55u
ZIP VERSION:
http://www.mediafire.com/?briqqn7pbo7032b
ScriptScript is in the demo.
InstructionsInstructions are in the demo in the script.
CompatibilityWorks in a standard game.
Futher I don't know.
Credits and Thanks
Author's NotesThis is my first script, I hope you like it.
Please give tips to improve it or improve it yourselves.
I don´t care about the licence I just needed it.
PS. I am from the Netherlands and I am just 14, so my English isn´t really good.
Version 2 is here now.
Its plug and play.
And bigger.
Look at the demo yourselves!
ya! no more editing to get it to work :P
Just advice, you really shouldn't upload in .rar format. Although the vast majority of people have WinRAR, 7zip, or similar program to decompress it, not everyone will, and will have to go through installing new software just to play your demo. Stick with .zip format. It is universal, and everyone can open it without a problem.
Thanks I didn't think of it at all!
I will update it to a zip version as fast as possible!
EDIT: Its with ZIP now!
Hey, does this have the ability to change limits in-game? Such as in Zelda, you can only hold 30 arrows unitil you get a bigger quiver, and then you cna hold 60. Or getting a bigger wallet allows you to hold more rupees.
Quote from: Boba Fett Link on June 24, 2011, 11:05:40 am
Hey, does this have the ability to change limits in-game? Such as in Zelda, you can only hold 30 arrows unitil you get a bigger quiver, and then you cna hold 60. Or getting a bigger wallet allows you to hold more rupees.
No it hasn't. This script is just to edit the limits per item from 0 till wathever you want.
I seem to have a problem with this script. I like this script alot but the problem here is that when I set up the limits for potions, high potions and revive potions. I get this problem.
So, here is the problem, the limits have already been set to the 3 items above but when I make an event to get 1 potion, or 10 potions(10 is the limit I made for regular potions). I get other items in my inventory(that I also included in the limits) that I did not set up in the event.
I didn't have this bug.
Can you post your editted part of the script?
Just what I looked for! D: *lvl up*
def gain_item(item_id, n)
# Update quantity data in the hash.
if item_id > 0
@items[1] = [[item_number(item_id) + n, 0].max, 10].min
@items[2] = [[item_number(item_id) + n, 0].max, 20].min
#Put your extra items with their own limits here in this way:
#@items[ITEM ID EG: 21] = [[item_number(item_id) + n, 0].max, EDIT YOUR MAX].min
end
end
The 10 is potions, 20 is high potions. If I put an event that adds just 1 regular potion, a high potion is automatically added in there.
Thanks for reporting this bug!
I have made a way to get lost of this bug.
Use this script:
def gain_item(item_id, n)
if item_id == 1
@items[1] = [[item_number(item_id) + n, 0].max, 10].min
end
if item_id == 2
@items[2] = [[item_number(item_id) + n, 0].max, 20].min
end
end
I will update my version soon. So this won't happen again.
If you want to add a new item just do this:
if item_id ==
Your Item ID @items[
ITEM ID] = [[item_number(item_id) + n, 0].max,
MAX ITEM NUMBER].min
end
It should work now. :wacko:
Koen