3 Commity 310fd12a0d ... 18c3ef5536

Autor SHA1 Wiadomość Data
  alauer 18c3ef5536 Merge https://notabug.org/BlueBird51/musttest_game into onion 4 lat temu
  BluebirdGreycoat 98f9087755 Allow to put onions in the flowerpot 4 lat temu
  BlueBird51 5102a7dc52 Merge branch 'onion' of alauer/musttest_game into master 4 lat temu
2 zmienionych plików z 11 dodań i 1 usunięć
  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