diff options
| author | Philipp Sehmisch <tmw@crushnet.org> | 2008-06-02 15:45:03 +0000 |
|---|---|---|
| committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-06-02 15:45:03 +0000 |
| commit | d828101f448520c191124f92d710ac5c3099529f (patch) | |
| tree | bbcc27a1e7642b6568f56161ae7a1a0e3dfb9e4b /data/scripts/libtmw.lua | |
| parent | f663df0088711641bcfe614ca6ec447ddff572de (diff) | |
Replaced some magic numbers in script files with variables for better code readability.
Diffstat (limited to 'data/scripts/libtmw.lua')
| -rw-r--r-- | data/scripts/libtmw.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/scripts/libtmw.lua b/data/scripts/libtmw.lua index 8ea6462..2471b7c 100644 --- a/data/scripts/libtmw.lua +++ b/data/scripts/libtmw.lua @@ -30,6 +30,10 @@ ELEMENT_METAL = 6 ELEMENT_WOOD = 7 ELEMENT_ICE = 8 +TILESIZE = 32 +HOURS = 3600 +MINUTES = 60 + -- Table that associates to each NPC pointer the handler function that is -- called when a player starts talking to an NPC. |
