summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua37
1 files changed, 13 insertions, 24 deletions
diff --git a/init.lua b/init.lua
index ddb6df0..ef7faa0 100644
--- a/init.lua
+++ b/init.lua
@@ -282,33 +282,22 @@ minetest.register_node("trainblocks:stationsignL", {
groups = {cracky = 3},
})
-minetest.register_node("trainblocks:stationsign", {
- description = "Station Sign",
+minetest.register_node("trainblocks:station_block", {
+ description = "Station Block",
+ light_source = 8,
tiles = {
- "station_sign3.png",
- "station_sign3.png",
- "station_sign3.png",
- "station_sign3.png",
- "station_sign.png",
- "station_sign.png",
- },
- drawtype = "nodebox",
- node_box = {
- type = "fixed",
- fixed = {
- { -8/16, -8/16, 6/16, 8/16, 8/16, 8/16},
- },
- },
-
-
- paramtype2 = "facedir",
- paramtype = 'light',
- light_source = 6,
- is_ground_content = false,
- groups = {cracky = 3},
+ "down_station_sign.png",
+ "down_station_sign.png",
+ "front_station_sign.png",
+ "front_station_sign.png",
+ "front_station_sign.png",
+ "front_station_sign.png"
+ },
+ is_ground_content = true,
+ groups = {cracky = 3},
+ drop = "trainblocks:station_block"
})
-
--platform signs from 1 to 10
for count = 1, 10, 1 do