diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-08-26 14:12:38 +0200 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2017-08-26 14:12:38 +0200 |
commit | c179f44ba481c73158fa72d658cbd9fed046dcdd (patch) | |
tree | 48513ec25683841fad77f51a48ce91f0f47deaf9 /steles | |
parent | d59c475162da02695a85ebd92a44e53129aa8be3 (diff) |
Release 2017-08-26
Diffstat (limited to 'steles')
-rw-r--r-- | steles/README.md | 2 | ||||
-rw-r--r-- | steles/init.lua | 6 | ||||
-rw-r--r-- | steles/locale/template.pot | 2 | ||||
-rw-r--r-- | steles/nodes.lua | 1 |
4 files changed, 7 insertions, 4 deletions
diff --git a/steles/README.md b/steles/README.md index 7b621dc..e83a6af 100644 --- a/steles/README.md +++ b/steles/README.md @@ -2,6 +2,8 @@ This mod provides stone steles with text display. Text is locked if area is protected. +For more information, see the [forum topic](https://forum.minetest.net/viewtopic.php?f=11&t=13563) at the Minetest forums. + **Dependancies**: default, display\_lib, font\_lib, technic? (Technic adds marble and granite steles) diff --git a/steles/init.lua b/steles/init.lua index a84a596..e5d2430 100644 --- a/steles/init.lua +++ b/steles/init.lua @@ -19,11 +19,11 @@ --]] steles = {} -steles.path = minetest.get_modpath("steles") +steles.name = minetest.get_current_modname() +steles.path = minetest.get_modpath(steles.name) -- Load support for intllib. -local MP = minetest.get_modpath(minetest.get_current_modname()) -local S, NS = dofile(MP.."/intllib.lua") +local S, NS = dofile(steles.path.."/intllib.lua") steles.intllib = S dofile(steles.path.."/config.lua") diff --git a/steles/locale/template.pot b/steles/locale/template.pot index f494ee7..0144ace 100644 --- a/steles/locale/template.pot +++ b/steles/locale/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-05 10:06+0200\n" +"POT-Creation-Date: 2017-08-26 11:29+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/steles/nodes.lua b/steles/nodes.lua index a298293..39eb9ee 100644 --- a/steles/nodes.lua +++ b/steles/nodes.lua @@ -87,6 +87,7 @@ for i, material in ipairs(steles.materials) do end end end, + on_punch = function(pos, node, player, pointed_thing) display_lib.update_entities(pos) end, }) end end |