]> git.scottworley.com Git - pink_flower/commitdiff
Whitespace: tabs → spaces master
authorScott Worley <scottworley@scottworley.com>
Sun, 22 Nov 2020 02:44:51 +0000 (18:44 -0800)
committerScott Worley <scottworley@scottworley.com>
Sun, 22 Nov 2020 02:44:51 +0000 (18:44 -0800)
init.lua

index 34800c3cfd23929ab5ac9a19ea0cb1cd4c33a290..6c7a583a208ed7886ea2319fcba2dc057e400459 100644 (file)
--- a/init.lua
+++ b/init.lua
@@ -1,26 +1,26 @@
 minetest.register_node("pink_flower:pink_flower", {
 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,
+  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,
     color_pink = 1,
     flammable = 1,
-               flora = 1,
-               flower = 1,
-               snappy = 3
+    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}
-       }
+  sounds = default.node_sound_leaves_defaults(),
+  selection_box = {
+    type = "fixed",
+    fixed = {-2 / 16, -0.5, -2 / 16, 2 / 16, 4 / 16, 2 / 16}
+  }
 })
 })