aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoracmgit <undertakers_help@yahoo.com>2016-07-30 13:07:49 +0200
committeracmgit <undertakers_help@yahoo.com>2016-07-30 13:07:49 +0200
commitc848f68b7efa20b31b37e56eddff1b4bd248eeab (patch)
tree0aa69ebfe7c9b56fb1f433db91d2347ed6b64a79
parent290d5133e2521fde18f32a1e985fedee71e37b36 (diff)
downloadbillboard-c848f68b7efa20b31b37e56eddff1b4bd248eeab.tar.gz
billboard-c848f68b7efa20b31b37e56eddff1b4bd248eeab.tar.bz2
billboard-c848f68b7efa20b31b37e56eddff1b4bd248eeab.zip
Recipes changed.
-rw-r--r--init.lua105
-rw-r--r--nodes.lua8
-rw-r--r--textures/bb_bg.pngbin0 -> 231527 bytes
-rw-r--r--textures/bb_sign_wall_wood_black_yellow.png (renamed from textures/bb_black_yellow.png)bin116924 -> 116924 bytes
-rw-r--r--textures/bb_sign_wall_wood_green_blue.png (renamed from textures/bb_green_blue.png)bin136297 -> 136297 bytes
-rw-r--r--textures/bb_sign_wall_wood_white_white.png (renamed from textures/bb_white_white.png)bin157284 -> 157284 bytes
-rw-r--r--textures/bb_sign_wall_wood_yellow_yellow.png (renamed from textures/bb_yellow_yellow.png)bin220503 -> 220503 bytes
7 files changed, 11 insertions, 102 deletions
diff --git a/init.lua b/init.lua
index 88452b5..74be736 100644
--- a/init.lua
+++ b/init.lua
@@ -2,15 +2,15 @@ dofile(minetest.get_modpath("billboard") .. "/nodes.lua")
for i,n in ipairs(bb_boardlist) do
- minetest.register_node("billboard:bb_".. n[1].."_"..n[2], {
- description = "Billboard " ..n[1].."_"..n[2],
+ minetest.register_node("billboard:bb_".. n[1].."_"..n[2].."_"..n[3], {
+ description = "Billboard " ..n[1].."_"..n[2].."_"..n[3],
drawtype = "signlike",
visual_scale = 3.0,
tiles = {
- "bb_"..n[1].."_"..n[2]..".png"
+ "bb_"..n[1].."_"..n[2].."_"..n[3]..".png"
},
- inventory_image = "bb_"..n[1].."_"..n[2]..".png",
- wield_image = "bb_"..n[1].."_"..n[2]..".png",
+ inventory_image = "bb_"..n[1].."_"..n[2].."_"..n[3]..".png",
+ wield_image = "bb_"..n[1].."_"..n[2].."_"..n[3]..".png",
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
@@ -25,103 +25,12 @@ for i,n in ipairs(bb_boardlist) do
})
minetest.register_craft({
- output = "billboard:bb_"..n[1].."_"..n[2],
+ output = "billboard:bb_"..n[1].."_"..n[2].."_"..n[3],
recipe = {
{"group:stick", "group:stick", "group:stick"},
- {"default:sign_wall_wood", "wool:"..n[1], "wool:"..n[2]},
+ {"default"..n[1], "wool:"..n[2], "wool:"..n[3]},
{"group:stick", "group:stick", "group:stick"}
}
})
end
---[[
-minetest.register_node("billboard:bb_yellow_yellow", {
- description = "Billboard yellow_yellow",
- drawtype = "signlike",
- visual_scale = 3.0,
- tiles = {
- "bb_yellow_yellow.png"
- },
- inventory_image = "bb_yellow_yellow.png",
- wield_image = "bb_yellow_yellow.png",
- paramtype = "light",
- paramtype2 = "wallmounted",
- sunlight_propagates = true,
- walkable = false,
- light_source = 1, -- reflecting a bit of light might be expected
- selection_box = {
- type = "wallmounted",
- },
- groups = {choppy=2,dig_immediate=3,attached_node=1, picture=1},
- legacy_wallmounted = true,
-
-})
-minetest.register_craft({
- output = "billboard:bb_yellow_yellow",
- recipe = {
- {"group:stick", "group:stick", "group:stick"},
- {"default:sign_wall_wood", "wool:yellow", "wool:yellow"},
- {"group:stick", "group:stick", "group:stick"}
- }
-})
-
-minetest.register_node("billboard:bb_black_yellow", {
- description = "Billboard black_yellow",
- drawtype = "signlike",
- visual_scale = 3.0,
- tiles = {
- "bb_black_yellow.png"
- },
- inventory_image = "bb_black_yellow.png",
- wield_image = "bb_black_yellow.png",
- paramtype = "light",
- paramtype2 = "wallmounted",
- sunlight_propagates = true,
- walkable = false,
- light_source = 1, -- reflecting a bit of light might be expected
- selection_box = {
- type = "wallmounted",
- },
- groups = {choppy=2,dig_immediate=3,attached_node=1, picture=1},
- legacy_wallmounted = true,
-
-})
-minetest.register_craft({
- output = "billboard:bb_black_yellow",
- recipe = {
- {"group:stick", "group:stick", "group:stick"},
- {"default:sign_wall_wood", "wool:black", "wool:yellow"},
- {"group:stick", "group:stick", "group:stick"}
- }
-})
-
-minetest.register_node("billboard:bb_green_blue", {
- description = "Billboard green_blue",
- drawtype = "signlike",
- visual_scale = 3.0,
- tiles = {
- "bb_green_blue.png"
- },
- inventory_image = "bb_green_blue.png",
- wield_image = "bb_green_blue.png",
- paramtype = "light",
- paramtype2 = "wallmounted",
- sunlight_propagates = true,
- walkable = false,
- light_source = 1, -- reflecting a bit of light might be expected
- selection_box = {
- type = "wallmounted",
- },
- groups = {choppy=2,dig_immediate=3,attached_node=1, picture=1},
- legacy_wallmounted = true,
-
-})
-minetest.register_craft({
- output = "billboard:bb_green_blue",
- recipe = {
- {"group:stick", "group:stick", "group:stick"},
- {"default:sign_wall_wood", "wool:green", "wool:blue"},
- {"group:stick", "group:stick", "group:stick"}
- }
-})
-]]
diff --git a/nodes.lua b/nodes.lua
index d364339..6b06440 100644
--- a/nodes.lua
+++ b/nodes.lua
@@ -1,7 +1,7 @@
bb_boardlist = {
- { "white", "white" },
- { "yellow", "yellow" },
- { "black", "yellow" },
- { "green", "blue" }
+ { "sign_wall_wood", "white", "white" },
+ { "sign_wall_wood", "yellow", "yellow" },
+ { "sign_wall_wood", "black", "yellow" },
+ { "sign_wall_wood", "green", "blue" }
}
diff --git a/textures/bb_bg.png b/textures/bb_bg.png
new file mode 100644
index 0000000..b15ff6c
--- /dev/null
+++ b/textures/bb_bg.png
Binary files differ
diff --git a/textures/bb_black_yellow.png b/textures/bb_sign_wall_wood_black_yellow.png
index e11b72b..e11b72b 100644
--- a/textures/bb_black_yellow.png
+++ b/textures/bb_sign_wall_wood_black_yellow.png
Binary files differ
diff --git a/textures/bb_green_blue.png b/textures/bb_sign_wall_wood_green_blue.png
index 54cb915..54cb915 100644
--- a/textures/bb_green_blue.png
+++ b/textures/bb_sign_wall_wood_green_blue.png
Binary files differ
diff --git a/textures/bb_white_white.png b/textures/bb_sign_wall_wood_white_white.png
index 5865706..5865706 100644
--- a/textures/bb_white_white.png
+++ b/textures/bb_sign_wall_wood_white_white.png
Binary files differ
diff --git a/textures/bb_yellow_yellow.png b/textures/bb_sign_wall_wood_yellow_yellow.png
index 7e659de..7e659de 100644
--- a/textures/bb_yellow_yellow.png
+++ b/textures/bb_sign_wall_wood_yellow_yellow.png
Binary files differ