From b5daec2d86bfbbc962669048f660344e1628989c Mon Sep 17 00:00:00 2001 From: acmgit Date: Thu, 28 Jul 2016 22:53:52 +0200 Subject: Texturesize and Recipes changed. --- depends.txt | 3 +++ init.lua | 45 ++++++++++++++++++++++-------------------- textures/bb_white.png | Bin 231769 -> 0 bytes textures/bb_white_white.png | Bin 0 -> 227995 bytes textures/bb_yellow.png | Bin 254929 -> 0 bytes textures/bb_yellow_yellow.png | Bin 0 -> 220503 bytes 6 files changed, 27 insertions(+), 21 deletions(-) create mode 100644 depends.txt delete mode 100644 textures/bb_white.png create mode 100644 textures/bb_white_white.png delete mode 100644 textures/bb_yellow.png create mode 100644 textures/bb_yellow_yellow.png diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..254bfee --- /dev/null +++ b/depends.txt @@ -0,0 +1,3 @@ +default +wool + diff --git a/init.lua b/init.lua index 4d6ba74..ee8f9f5 100644 --- a/init.lua +++ b/init.lua @@ -1,10 +1,12 @@ -minetest.register_node("billboard:bb_white", { - description = "Billboard white", +minetest.register_node("billboard:bb_white_white", { + description = "Billboard white_white", drawtype = "signlike", - visual_scale = 5, - tiles = {"bb_white.png"}, - inventory_image = "bb_white.png", - wield_image = "bb_white.png", + visual_scale = 3, + tiles = { + "bb_white_white.png" -- up + }, + inventory_image = "bb_white_white.png", + wield_image = "bb_white_white.png", wield_scale = {x=1, y=1, z=1}, paramtype = "light", paramtype2 = "wallmounted", @@ -21,21 +23,23 @@ minetest.register_node("billboard:bb_white", { }) minetest.register_craft({ - output = "billboard:bb_white", + output = "billboard:bb_white_white", recipe = { - {"group:stick", "group:stick"}, - {"default:sign_wall_wood", "wool:white"}, - {"group:stick", "group:stick"} + {"group:stick", "group:stick", "group:stick"}, + {"default:sign_wall_wood", "wool:white", "wool:white"}, + {"group:stick", "group:stick", "group:stick"} } }) -minetest.register_node("billboard:bb_yellow", { - description = "Billboard yellow", +minetest.register_node("billboard:bb_yellow_yellow", { + description = "Billboard yellow_yellow", drawtype = "signlike", - visual_scale = 5, - tiles = {"bb_yellow.png"}, - inventory_image = "bb_yellow.png", - wield_image = "bb_yellow.png", + visual_scale = 3, + tiles = { + "bb_yellow_yellow.png" -- up + }, + inventory_image = "bb_yellow_yellow.png", + wield_image = "bb_yellow_yellow.png", wield_scale = {x=1, y=1, z=1}, paramtype = "light", paramtype2 = "wallmounted", @@ -50,12 +54,11 @@ minetest.register_node("billboard:bb_yellow", { legacy_wallmounted = true, }) - minetest.register_craft({ - output = "billboard:bb_yellow", + output = "billboard:bb_yellow_yellow", recipe = { - {"group:stick", "group:stick"}, - {"default:sign_wall_wood", "wool:yellow"}, - {"group:stick", "group:stick"} + {"group:stick", "group:stick", "group:stick"}, + {"default:sign_wall_wood", "wool:yellow", "wool:yellow"}, + {"group:stick", "group:stick", "group:stick"} } }) diff --git a/textures/bb_white.png b/textures/bb_white.png deleted file mode 100644 index 37534d4..0000000 Binary files a/textures/bb_white.png and /dev/null differ diff --git a/textures/bb_white_white.png b/textures/bb_white_white.png new file mode 100644 index 0000000..a57483a Binary files /dev/null and b/textures/bb_white_white.png differ diff --git a/textures/bb_yellow.png b/textures/bb_yellow.png deleted file mode 100644 index 9d49fef..0000000 Binary files a/textures/bb_yellow.png and /dev/null differ diff --git a/textures/bb_yellow_yellow.png b/textures/bb_yellow_yellow.png new file mode 100644 index 0000000..7e659de Binary files /dev/null and b/textures/bb_yellow_yellow.png differ -- cgit v1.2.3