From b747a67df3ff9f84ae2980e1f5053ede0ac775ee Mon Sep 17 00:00:00 2001 From: Max Hipp <34799688+maxxmodding@users.noreply.github.com> Date: Thu, 8 Mar 2018 17:04:12 +0100 Subject: Update init.lua --- init.lua | 37 +++++++++++++------------------------ 1 file 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 -- cgit v1.2.3