summaryrefslogtreecommitdiff
path: root/npc/custom/itembind.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12Add type constants for the getiteminfo()/setiteminfo() buildinsHaru1-8/+4
Replacements are as follows: 0 => ITEMINFO_BUYPRICE 1 => ITEMINFO_SELLPRICE 2 => ITEMINFO_TYPE 3 => ITEMINFO_MAXCHANCE 4 => ITEMINFO_SEX 5 => ITEMINFO_LOC 6 => ITEMINFO_WEIGHT 7 => ITEMINFO_ATK 8 => ITEMINFO_DEF 9 => ITEMINFO_RANGE 10 => ITEMINFO_SLOTS 11 (Subtype, for weapons and ammunitions) => ITEMINFO_SUBTYPE 11 (ViewSprite, for other item types) => ITEMINFO_VIEWSPRITE (NOT AVAILABLE YET) 12 => ITEMINFO_ELV 13 => ITEMINFO_WLV 14 => ITEMINFO_VIEWID 15 => ITEMINFO_MATK (NOT AVAILABLE YET - this was documented but never implemented) Calls to getiteminfo() and setiteminfo() have been replaced with the newly introduced constants. Other constants (such as W_ weapon subtypes) in related code have been replaced as well, to improve code readability. This fixes an issue in the Eden Tutorial script "Tutorial Goal", where ITEMINFO_ATK was accidentally used instead of ITEMINFO_WEIGHT. Note: calls to getiteminfo or setiteminfo with numeric type arguments in third party scripts must be replaced with the respective constants. The use of numeric literals is no longer recommended, and those values may change in the future without notice. See the getiteminfo documentation for details. Signed-off-by: Haru <haru@dotalux.com>
2016-10-16Change *getcharid to use constantsAsheraf1-2/+2
2016-09-02change *strcharinfo to use constantsAsheraf1-2/+2
2016-02-07Merge pull request #1110 from dastgir/22-ScriptClean-Phase2Haru1-6/+6
Script CleanUp Phase 2
2016-01-30Fixes conditions in itembind.txtDastgir1-4/+9
2016-01-16Script Standardization: changed select format in custom folderDastgir1-6/+6
2015-03-29Avoid binding rental items.Emistry1-2/+2
Prevent the NPC to show rental items when players try to bind an items.
2014-05-13Removed trailing whitespace (scripts)Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2013-12-03Fixed error when unbinding items, removed /* */Mhalicot1-2/+2
2013-11-11Follow-up to 0b7b3796ec987cbb1c263722b841cfa5795aa6d3Haru1-1/+1
- Replaced some leftover numeric IDs Signed-off-by: Haru <haru@dotalux.com>
2013-11-10Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4Haru1-5/+5
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
2013-11-05Fixed grammarsevenzz231-4/+5
Signed-off-by: sevenzz23 <sevenzz23@yahoo.com>
2013-11-01Item Binding System Final.sevenzz231-0/+132
Fixed, some issue thanks to Master Ind ;) Signed-off-by: sevenzz23 <sevenzz23@yahoo.com>