diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 18:40:36 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 18:40:36 +0000 |
commit | c008cbeebd872cb455ccaf3034d55232ce4a0e8b (patch) | |
tree | 0663e59ce0caeb3e410afd996f249433a3bee26a /fishing.lua | |
parent | ec0f2899cc0fda292bc30c45fe8ad55e25d44b8b (diff) |
Food recipes now use food_ groups
Diffstat (limited to 'fishing.lua')
-rw-r--r-- | fishing.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fishing.lua b/fishing.lua index 9640ba3..a7bf7e6 100644 --- a/fishing.lua +++ b/fishing.lua @@ -6,6 +6,7 @@ minetest.register_craftitem("ethereal:fish_raw", { description = S("Raw Fish"), inventory_image = "fish_raw.png", wield_image = "fish_raw.png", + groups = {food_fish_raw = 1, flammable = 3}, on_use = minetest.item_eat(2), }) @@ -14,6 +15,7 @@ minetest.register_craftitem("ethereal:fish_cooked", { description = S("Cooked Fish"), inventory_image = "fish_cooked.png", wield_image = "fish_cooked.png", + groups = {food_fish = 1, flammable = 3}, on_use = minetest.item_eat(5), }) @@ -35,7 +37,7 @@ minetest.register_craftitem("ethereal:sashimi", { minetest.register_craft({ output = "ethereal:sashimi 2", recipe = { - {'ethereal:seaweed','ethereal:fish_raw','ethereal:seaweed'}, + {'group:food_seaweed','group:food_fish_raw','group:food_seaweed'}, } }) |