3 İşlemeler 310fd12a0d ... 18c3ef5536

Yazar SHA1 Mesaj Tarih
  alauer 18c3ef5536 Merge https://notabug.org/BlueBird51/musttest_game into onion 4 yıl önce
  BluebirdGreycoat 98f9087755 Allow to put onions in the flowerpot 4 yıl önce
  BlueBird51 5102a7dc52 Merge branch 'onion' of alauer/musttest_game into master 4 yıl önce
2 değiştirilmiş dosya ile 11 ekleme ve 1 silme
  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