3 Комити 310fd12a0d ... 18c3ef5536

Аутор SHA1 Порука Датум
  alauer 18c3ef5536 Merge https://notabug.org/BlueBird51/musttest_game into onion пре 4 година
  BluebirdGreycoat 98f9087755 Allow to put onions in the flowerpot пре 4 година
  BlueBird51 5102a7dc52 Merge branch 'onion' of alauer/musttest_game into master пре 4 година
2 измењених фајлова са 11 додато и 1 уклоњено
  1. 5 0
      mods/flowerpot/init.lua
  2. 6 1
      mods/onions/init.lua

+ 5 - 0
mods/flowerpot/init.lua

@@ -351,6 +351,11 @@ if not flowerpot.loaded then
 		"potatoes:potato_2",
 		"potatoes:potato_3",
 		"potatoes:potato_4",
+
+		"onions:allium_sprouts_1",
+		"onions:allium_sprouts_2",
+		"onions:allium_sprouts_3",
+		"onions:allium_sprouts_4",
 	}) do
 		flowerpot.register_node(node)
 	end

+ 6 - 1
mods/onions/init.lua

@@ -45,7 +45,12 @@ minetest.register_craftitem("onions:onion", {
 	inventory_image = "wild_onion.png",
 	on_use = minetest.item_eat(1),
 	groups = {foodrot=1},
-	flowerpot_insert = {"onions:allium_sprouts_1", "onions:allium_sprouts_2", "onions:allium_sprouts_3", "onions:allium_sprouts_4"},
+	flowerpot_insert = {
+		"onions:allium_sprouts_1",
+		"onions:allium_sprouts_2",
+		"onions:allium_sprouts_3",
+		"onions:allium_sprouts_4",
+	},
 })
 
 -- onion definition