diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-01-25 22:02:10 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-01-25 22:02:10 +0100 |
commit | 5cca621f9bff05997de14a1cb8d63aba4d4ee9b8 (patch) | |
tree | 6c7747bbddcf2e47c7ff16a27b6ea612ad7ac04d | |
parent | e0a003072acd06a52d0a1ec4a0a191e4a25ec726 (diff) |
Added craft recipe
-rw-r--r-- | init.lua | 27 |
1 files changed, 9 insertions, 18 deletions
@@ -138,24 +138,6 @@ minetest.register_on_player_receive_fields(function(player, form, pressed) end end) -minetest.register_node("realestate:sale", { - description = "For Sale marker", - tiles = { - "feedlot_milker_top.png", - "feedlot_milker_top.png", - "feedlot_milker_side.png", - "feedlot_milker_side.png", - "feedlot_milker_side.png", - "feedlot_milker_side.png", - }, - paramtype = "light", --- on_construct = on_construct, - -- can_dig = can_dig, - after_place_node=after_place_node, - groups = {snappy = 3}, - tube = tube -}) - minetest.register_node("realestate:sign", { tiles = { "default_wood.png", @@ -167,6 +149,7 @@ minetest.register_node("realestate:sign", { }, drawtype = "nodebox", paramtype = "light", + description = "For sale sign", node_box = { type = "fixed", fixed = { @@ -184,3 +167,11 @@ minetest.register_node("realestate:sign", { end, }) +minetest.register_craft({ + output = "realestate:sign", + recipe = { + {"default:stick", "default:stick", "default:stick"}, + {"default:stick", "", "default:sign_wall_wood"}, + {"default:stick", "", ""} + } +}) |