summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua27
1 files changed, 9 insertions, 18 deletions
diff --git a/init.lua b/init.lua
index 67bfe28..033deec 100644
--- a/init.lua
+++ b/init.lua
@@ -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", "", ""}
+ }
+})