forked from acmgit/cucina_vegana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
overrides.lua
56 lines (41 loc) · 2.48 KB
/
overrides.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
local modname = minetest.get_current_modname()
if(minetest.registered_items["bees:bottle_honey"] ~= nil) then
cucina_vegana.add_group("bees:bottle_honey", {food = 1, food_honey = 1})
print("[MOD] " .. modname .. " Group changed on \"bees:bottle_honey\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"bees:bottle_honey\".")
end
if(minetest.registered_items["farming:bread"] ~= nil) then
cucina_vegana.add_group("farming:bread",{food_bread = 1})
print("[MOD] " .. modname .. " Group changed on \"farming:bread\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming:bread\".")
end
if(minetest.registered_items["farming:bread_slice"] ~= nil) then
cucina_vegana.add_group("farming:bread_slice",{food_bread = 1})
print("[MOD] " .. modname .. " Group changed on \"farming:bread_slice\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming:bread_slice\".")
end
if(minetest.registered_items["farming:pumpkin_bread"] ~= nil) then
cucina_vegana.add_group("farming:pumpkin_bread", {food_bread = 1})
print("[MOD] " .. modname .. " Group changed on \"farming:pumpkin_bread\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming:pumpkin_bread\".")
end
if(minetest.registered_items["farming_food:corn_bread"] ~= nil) then
cucina_vegana.add_group("farming_food:corn_bread",{food_bread = 1})
print("[MOD] " .. modname .. " Group changed on \"farming_food:corn_bread\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming_food:corn_bread\".")
end
if(minetest.registered_items["farming:rice_bread"] ~= nil) then
cucina_vegana.add_group("farming:rice_bread", {food = 1, food_bread = 1})
print("[MOD] " .. modname .. " Group changed on \"farming:rice_bread\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming:rice_bread\".")
end
if(minetest.registered_items["farming:rice"] ~= nil) then
cucina_vegana.add_group("farming:rice", {food = 1, food_rice = 1})
print("[MOD] " .. modname .. " Group changed on \"farming:rice\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming:rice\".")
end
if(minetest.registered_items["farming:rice_flour"] ~= nil) then
cucina_vegana.add_group("farming:rice_flour", {food = 1, food_flour = 1})
print("[MOD] " .. modname .. " Group changed on \"farming:rice_flour\".")
minetest.log("info", "[MOD] " .. modname .. " Group changed on \"farming:rice_flour\".")
end