diff options
author | cheapie <no-email-for-you@example.com> | 2016-05-13 20:44:49 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2016-05-13 20:44:49 -0500 |
commit | e3e8d423251bac37f8a52ce150cdc523f7e5f9d2 (patch) | |
tree | 35abce3fdf6d648e1bba7fc4649210dde0f34775 | |
parent | 4bea9ae2caf848931b8a029fd4dd41c63956d062 (diff) | |
download | roads-e3e8d423251bac37f8a52ce150cdc523f7e5f9d2.tar roads-e3e8d423251bac37f8a52ce150cdc523f7e5f9d2.tar.gz roads-e3e8d423251bac37f8a52ce150cdc523f7e5f9d2.tar.bz2 roads-e3e8d423251bac37f8a52ce150cdc523f7e5f9d2.tar.xz roads-e3e8d423251bac37f8a52ce150cdc523f7e5f9d2.zip |
Finish (regular) beacon
-rw-r--r-- | trafficlight/init.lua | 21 | ||||
-rw-r--r-- | trafficlight/textures/streets_beacon_inv.png | bin | 0 -> 3028 bytes |
2 files changed, 14 insertions, 7 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 5a3fa2b..03e3153 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -227,7 +227,7 @@ minetest.register_node(":streets:beacon_off",{ paramtype = "light", paramtype2 = "facedir", groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + inventory_image = "streets_beacon_inv.png", light_source = 11, sunlight_propagates = true, node_box = { @@ -257,12 +257,11 @@ minetest.register_node(":streets:beacon_off",{ }) minetest.register_node(":streets:beacon_flashred",{ - description = "Beacon", + drop = "streets:beacon_off", drawtype="nodebox", paramtype = "light", paramtype2 = "facedir", - groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + groups = {cracky = 1, level = 2, not_in_creative_inventory = 1}, light_source = 11, sunlight_propagates = true, node_box = { @@ -295,12 +294,11 @@ minetest.register_node(":streets:beacon_flashred",{ }) minetest.register_node(":streets:beacon_flashyellow",{ - description = "Beacon", + drop = "streets:beacon_off", drawtype="nodebox", paramtype = "light", paramtype2 = "facedir", - groups = {cracky = 1, level = 2}, - inventory_image = "streets_trafficlight_inv.png", + groups = {cracky = 1, level = 2, not_in_creative_inventory = 1}, light_source = 11, sunlight_propagates = true, node_box = { @@ -871,6 +869,15 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "streets:beacon_off", + recipe = { + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, + {"default:steel_ingot", "dye:red", "default:steel_ingot"}, + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"} + } +}) + +minetest.register_craft({ output = "streets:digiline_distributor", recipe = { {"", "digilines:wire_std_00000000", ""}, diff --git a/trafficlight/textures/streets_beacon_inv.png b/trafficlight/textures/streets_beacon_inv.png Binary files differnew file mode 100644 index 0000000..bd9a700 --- /dev/null +++ b/trafficlight/textures/streets_beacon_inv.png |