aboutsummaryrefslogtreecommitdiff
path: root/signs_road/nodes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'signs_road/nodes.lua')
-rw-r--r--signs_road/nodes.lua24
1 files changed, 22 insertions, 2 deletions
diff --git a/signs_road/nodes.lua b/signs_road/nodes.lua
index a4c4b6a..c5c5d72 100644
--- a/signs_road/nodes.lua
+++ b/signs_road/nodes.lua
@@ -1,3 +1,23 @@
+--[[
+ signs_road mod for Minetest - Various road signs with text displayed
+ on.
+ (c) Pierre-Yves Rollo
+
+ This file is part of signs_road.
+
+ signs_road is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ signs_road is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with signs_road. If not, see <http://www.gnu.org/licenses/>.
+--]]
local models = {
blue_street={
@@ -44,7 +64,7 @@ local models = {
tiles={"signs_black_right.png"},
inventory_image="signs_black_inventory.png",
on_place=signs.on_place_direction,
- on_rotate=signs.on_rotate_direction,
+ on_rightclick=signs.on_right_click_direction,
},
},
black_left={
@@ -63,7 +83,7 @@ local models = {
groups={choppy=1,oddly_breakable_by_hand=1,not_in_creative_inventory=1},
drop="signs:black_right",
on_place=signs.on_place_direction,
- on_rotate=signs.on_rotate_direction,
+ on_rightclick=signs.on_right_click_direction,
},
},
}