Restrict Item to a Custom Kit
Greener
Member Posts: 430
Would it be possible to restrict an item to a custom kit? As each time a custom kit is installed it takes a new kit number based on what else is already installed...thus there is no way to guarantee that the custom kit will be kit number 43 for example.
Any idea's of a work around?
Any idea's of a work around?
0
Comments
LPF ADD_ITEM_EQEFFECT
INT_VAR
opcode = 319
target = 1
timing = 2
parameter1 = (IDS_OF_SYMBOL (~kit~ ~C0SADEPT~))
parameter2 = 9
power = 1
special = RESOLVE_STR_REF (~Shadow Adept~)
END
COPY ~%MOD_FOLDER%/item/xxxx.itm~ ~override~
LPF ADD_ITEM_EQEFFECT
INT_VAR
opcode = 319
target = 1
timing = 2
parameter1 = (IDS_OF_SYMBOL (~custom~ ~custom~))
parameter2 = 9
power = 1
special = RESOLVE_STR_REF (~custom~)
END
Take a look at the files from my I Hate Undead Kitpack and you'll be able to see a lot of those restrictions (especially for the Burial Defender and Undead Predator) all of them a generous courtesy from my teachers @Gwendolyne and @kjeron .
It's two modes are:
Not usable by (Parameter1|Parameter2) match.
Not usable by (Parameter1|Parameter2) mismatch.
0 power = not usable by match
1 power = not usable by mismatch
All other values are the same as zero.