3 Achegas 310fd12a0d ... 18c3ef5536

Autor SHA1 Mensaxe Data
  alauer 18c3ef5536 Merge https://notabug.org/BlueBird51/musttest_game into onion %!s(int64=4) %!d(string=hai) anos
  BluebirdGreycoat 98f9087755 Allow to put onions in the flowerpot %!s(int64=4) %!d(string=hai) anos
  BlueBird51 5102a7dc52 Merge branch 'onion' of alauer/musttest_game into master %!s(int64=4) %!d(string=hai) anos
Modificáronse 2 ficheiros con 11 adicións e 1 borrados
  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