From 4f80fffd9264636c5932ed1f25faee9feaa8c6a8 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sun, 18 Oct 2020 14:58:12 -0700 Subject: [PATCH 1/1] Pink Flower --- depends.txt | 1 + init.lua | 26 ++++++++++++++++++++++++++ textures/pink_flower.png | Bin 0 -> 187 bytes 3 files changed, 27 insertions(+) create mode 100644 depends.txt create mode 100644 init.lua create mode 100644 textures/pink_flower.png 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 0000000000000000000000000000000000000000..0d029caaad3b1fce22755f6882b48f8bfc3c4d9a GIT binary patch literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPdhm?Q`ucP4sO`wp6r;B5V#p&b(3D%w+D*y8D{gGdH z;`;Q7D$F4E{D((4TN+wf{hVj8-QliiOmDhc@03+grKmE0L)xkq#mdKI;Vst09)-k-~a#s literal 0 HcmV?d00001 -- 2.44.1