From: Scott Worley Date: Sun, 18 Oct 2020 21:58:12 +0000 (-0700) Subject: Pink Flower X-Git-Url: http://git.scottworley.com/pink_flower/commitdiff_plain/4f80fffd9264636c5932ed1f25faee9feaa8c6a8?ds=inline Pink Flower --- 4f80fffd9264636c5932ed1f25faee9feaa8c6a8 diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/depends.txt @@ -0,0 +1 @@ +default diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..34800c3 --- /dev/null +++ b/init.lua @@ -0,0 +1,26 @@ +minetest.register_node("pink_flower:pink_flower", { + description = "Pink carnation", + drawtype = "plantlike", + waving = 1, + tiles = {"pink_flower.png"}, + inventory_image = "pink_flower.png", + wield_image = "pink_flower.png", + sunlight_propagates = true, + paramtype = "light", + walkable = false, + buildable_to = true, + stack_max = 99, + groups = { + attached_node = 1, + color_pink = 1, + flammable = 1, + flora = 1, + flower = 1, + snappy = 3 + }, + sounds = default.node_sound_leaves_defaults(), + selection_box = { + type = "fixed", + fixed = {-2 / 16, -0.5, -2 / 16, 2 / 16, 4 / 16, 2 / 16} + } +}) diff --git a/textures/pink_flower.png b/textures/pink_flower.png new file mode 100644 index 0000000..0d029ca Binary files /dev/null and b/textures/pink_flower.png differ