|
1 | | --- Raphael's Library v1.0.0 |
2 | | --- Last Updated: 01/01/2014 - 23:40 UTC |
| 1 | +-- Raphael's Library v1.0.1 |
| 2 | +-- Last Updated: 06/01/2014 - 01:35 UTC |
3 | 3 | -- Released for WindBot v1.2.2 |
4 | 4 |
|
5 | | -RAPHAEL_LIB = '1.0.0' |
| 5 | +RAPHAEL_LIB = '1.0.1' |
6 | 6 | print("Raphael's Library Version: " .. RAPHAEL_LIB) |
7 | 7 |
|
8 | 8 |
|
9 | 9 | --[[ |
10 | | - * Changelog v1.0.0 |
| 10 | + * Changelog v1.0.1 |
11 | 11 | * |
12 | | - * - Added tostring. |
13 | | - * - Added userdatastringformat. |
14 | | - * - Added requires. |
15 | | - * - Added toyesno, toonezero and toonoff. |
16 | | - * - Added string.starts, string.ends, string.begin and string.finish. |
17 | | - * - Added some useful patterns. |
18 | | - * - Removed getnamecolor. |
19 | | - * - Minor internal changes. |
| 12 | + * - Fixed typos. |
| 13 | + * - Completed CUSTOM_TYPES constant. |
20 | 14 | * |
21 | 15 | --]] |
22 | 16 |
|
@@ -77,16 +71,18 @@ CUSTOM_TYPE = { |
77 | 71 | MESSAGE = {'content', 'level', 'sender', 'type'}, |
78 | 72 | PROJECTILE = {'type', 'fromx', 'fromy', 'tox', 'toy', 'time'}, |
79 | 73 | EFFECT = {'type', 'posx', 'posy', 'time'}, |
80 | | - ANIMATEDTEXT = {'type', 'content', 'posx', 'posy', 'time'}, |
81 | | - RECTANGLE = {'left', 'top', 'bottom', 'right', 'width', 'height', 'centerx', 'centery'}, |
| 74 | + ANIMTEXT = {'type', 'content', 'posx', 'posy', 'time'}, |
| 75 | + RECT = {'left', 'top', 'bottom', 'right', 'width', 'height', 'centerx', 'centery'}, |
82 | 76 | POINT = {'x', 'y'}, |
83 | | - ITEMDATA = {}, |
84 | | - SUPPLYITEM = {}, |
85 | | - LOOTINGITEM = {}, |
86 | | - VIPNODE = {}, |
87 | | - MOUSEINFO = {}, |
88 | | - DEATHTIMER = {}, |
89 | | - PLAYERINFO = {} |
| 77 | + 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'}, |
| 78 | + SUPPLYDATA = {'name', 'id', 'weight', 'buyprice', 'leaveat', 'count', 'rule', 'rulevalue', 'destination', 'category', 'uptocount', 'downtocap', 'amountbought', 'amounttobuy', 'amountused'}, |
| 79 | + LOOTINGDATA = {'name' ,'id' ,'weight' ,'sellprice' ,'count' ,'action' ,'alert' ,'condition' ,'conditionvalue' ,'destination' ,'category' ,'amountlooted' ,'haslessthan' ,'caphigherthan'}, |
| 80 | + VIP = {'name', 'id', 'icon', 'isonline', 'notify'}, |
| 81 | + MOUSEINFO = {'x', 'y', 'z', 'id', 'count'}, |
| 82 | + DEATHTIMER = {'timeofdeath', 'target', 'killer', 'time'}, |
| 83 | + PLAYERINFO = {'name', 'guild', 'voc', 'vocation', 'vocshort', 'priority', 'status', 'time', 'level', 'comment'}, |
| 84 | + NAVPING = {'time', 'color', 'glowcolor', 'posx', 'posy', 'posz'}, |
| 85 | + NAVTARGET = {'name', 'posx', 'posy', 'posz', 'time', 'color', 'glowcolor', 'isleader', 'isfriend', 'isenemy', 'isneutral', 'team', 'teamname', 'creature', 'realname', 'id', 'mp', 'maxmp', 'voc', 'icon'} |
90 | 86 | } |
91 | 87 |
|
92 | 88 |
|
@@ -117,7 +113,7 @@ local KEYS = { |
117 | 113 | DOWNARROW = 0x28, |
118 | 114 | SELECT = 0x29, |
119 | 115 | PRINT = 0x2A, |
120 | | - ExECUTE = 0x2B, |
| 116 | + EXECUTE = 0x2B, |
121 | 117 | PRINTSCREEN = 0x2C, |
122 | 118 | INSERT = 0x2D, |
123 | 119 | DELETE = 0x2E, |
|
0 commit comments