Commit Graph

3 Commits

Author SHA1 Message Date
Vanessa Ezekowitz 2550672352 Replaced most uses of get_modpath() with variables cached at the top of init.lua 2013-10-09 12:27:49 -04:00
Diego Martínez 6133234771 Added localization support 2013-03-05 05:18:56 -02:00
Vanessa Ezekowitz 94af6653fd completely rewrote all doors code to condense them
into two files - one with the nodebox models, and one with the
actual node definitions.

In the process, cleaned up the code that handles node_ownership
and protection mods.

Also made the mod automatically enable either left-click or right-click to
open/close a door, depending on whether the game supports it (actually it
checks for the existance of an unrelated function that happened to be added at
the same time as the new right-click function).

Renamed some textures, duplicated all of the _lr.png textures to make it
easier to register the textures in a loop and to allow for more flexible
texturing.
2013-01-23 05:45:42 -05:00