Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 991bbfb

Browse files
committed
Fix wrong objtype names and incomplete properties for custom types
1 parent bab056c commit 991bbfb

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

src/Constants.lua

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,18 @@ CUSTOM_TYPE = {
3434
MESSAGE = {'content', 'level', 'sender', 'type'},
3535
PROJECTILE = {'type', 'fromx', 'fromy', 'tox', 'toy', 'time'},
3636
EFFECT = {'type', 'posx', 'posy', 'time'},
37-
ANIMATEDTEXT = {'type', 'content', 'posx', 'posy', 'time'},
38-
RECTANGLE = {'left', 'top', 'bottom', 'right', 'width', 'height', 'centerx', 'centery'},
37+
ANIMTEXT = {'type', 'content', 'posx', 'posy', 'time'},
38+
RECT = {'left', 'top', 'bottom', 'right', 'width', 'height', 'centerx', 'centery'},
3939
POINT = {'x', 'y'},
40-
ITEMDATA = {},
41-
SUPPLYITEM = {},
42-
LOOTINGITEM = {},
43-
VIPNODE = {},
44-
MOUSEINFO = {},
45-
DEATHTIMER = {},
46-
PLAYERINFO = {}
40+
ITEMDATA = {'name', 'id', 'sellprice', 'buyprice', 'weight', 'isbank', 'isclip', 'isbottom', 'istop', 'iscontainer', 'iscumulative', 'isforceuse', 'ismultiuse', 'iswrite', 'iswriteonce', 'isliquidcontainer', 'isliquidpool', 'isunpass', 'isunmove', 'isunsight', 'isavoid', 'isnomovementanimation ', 'istake', 'ishang', 'ishooksouth', 'ishookeast', 'isrotate', 'islight', 'isdonthide', 'istranslucent', 'isfloorchange', 'isshift', 'isheight', 'islyingobject', 'isanimatealways', 'isautomap', 'islenshelp', 'isfullbank', 'isignorelook', 'isclothes', 'ismarket', 'ismount', 'isdefaultaction', 'isusable', 'ignoreextradata', 'enchantable', 'destructible', 'hasextradata', 'height', 'sizeinpixels', 'layers', 'patternx', 'patterny', 'patterndepth', 'phase', 'walkspeed', 'textlimit', 'lightradius', 'lightcolor', 'shiftx', 'shifty', 'walkheight', 'automapcolor', 'lenshelp', 'defaultaction', 'clothslot', 'marketcategory', 'markettradeas', 'marketshowas', 'marketrestrictprofession', 'marketrestrictlevel', 'durationtotalinmsecs', 'specialeffect', 'specialeffectgain', 'category', 'attack', 'attackmod', 'hitpercentmod', 'defense', 'defensemod', 'armor', 'holyresistmod', 'deathresistmod', 'earthresistmod', 'fireresistmod', 'iceresistmod', 'energyresistmod', 'physicalresistmod', 'lifedrainresistmod', 'manadrainresistmod', 'itemlossmod', 'mindmg', 'maxdmg', 'dmgtype', 'range', 'mana'},
41+
SUPPLYDATA = {'name', 'id', 'weight', 'buyprice', 'leaveat', 'count', 'rule', 'rulevalue', 'destination', 'category', 'uptocount', 'downtocap', 'amountbought', 'amounttobuy', 'amountused'},
42+
LOOTINGDATA = {'name' ,'id' ,'weight' ,'sellprice' ,'count' ,'action' ,'alert' ,'condition' ,'conditionvalue' ,'destination' ,'category' ,'amountlooted' ,'haslessthan' ,'caphigherthan'},
43+
VIP = {'name', 'id', 'icon', 'isonline', 'notify'},
44+
MOUSEINFO = {'x', 'y', 'z', 'id', 'count'},
45+
DEATHTIMER = {'timeofdeath', 'target', 'killer', 'time'},
46+
PLAYERINFO = {'name', 'guild', 'voc', 'vocation', 'vocshort', 'priority', 'status', 'time', 'level', 'comment'},
47+
NAVPING = {'time', 'color', 'glowcolor', 'posx', 'posy', 'posz'},
48+
NAVTARGET = {'name', 'posx', 'posy', 'posz', 'time', 'color', 'glowcolor', 'isleader', 'isfriend', 'isenemy', 'isneutral', 'team', 'teamname', 'creature', 'realname', 'id', 'mp', 'maxmp', 'voc', 'icon'}
4749
}
4850

4951

0 commit comments

Comments
 (0)