summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hipp <34799688+maxxmodding@users.noreply.github.com>2018-03-08 17:04:12 +0100
committerGitHub <noreply@github.com>2018-03-08 17:04:12 +0100
commitb747a67df3ff9f84ae2980e1f5053ede0ac775ee (patch)
treeb5b516854bf51debfd1ee2aeffaa275b637e7016
parent8bce0164833d187b94d14594a746f3faca9f5595 (diff)
Update 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