-
Notifications
You must be signed in to change notification settings - Fork 3
/
fishes.lua
70 lines (67 loc) · 2.6 KB
/
fishes.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
-----------------------------------------------------------------------------------------------
-- Fishing - Mossmanikin's version - Fishes 0.0.4
-- License (code & textures): WTFPL
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-- Fish
-----------------------------------------------------------------------------------------------
minetest.register_craftitem("fishing:fish_raw", {
description = "Fish",
groups = {},
inventory_image = "fishing_fish.png",
on_use = minetest.item_eat(2),
})
-----------------------------------------------------
-- Roasted Fish
-----------------------------------------------------
minetest.register_craftitem("fishing:fish", {
description = "Roasted Fish",
groups = {},
inventory_image = "fishing_fish_cooked.png",
on_use = minetest.item_eat(4),
})
-----------------------------------------------------
-- Sushi
-----------------------------------------------------
minetest.register_craftitem("fishing:sushi", {
description = "Sushi (Hoso Maki)",
groups = {},
inventory_image = "fishing_sushi.png",
on_use = minetest.item_eat(8),
})
-----------------------------------------------------------------------------------------------
-- Whatthef... it's a freakin' Shark!
-----------------------------------------------------------------------------------------------
minetest.register_craftitem("fishing:shark", {
description = "Shark",
groups = {},
inventory_image = "fishing_shark.png",
on_use = minetest.item_eat(4),
})
-----------------------------------------------------
-- Roasted Shark
-----------------------------------------------------
minetest.register_craftitem("fishing:shark_cooked", {
description = "Roasted Shark",
groups = {},
inventory_image = "fishing_shark_cooked.png",
on_use = minetest.item_eat(8),
})
-----------------------------------------------------------------------------------------------
-- Pike
-----------------------------------------------------------------------------------------------
minetest.register_craftitem("fishing:pike", {
description = "Northern Pike",
groups = {},
inventory_image = "fishing_pike.png",
on_use = minetest.item_eat(4),
})
-----------------------------------------------------
-- Roasted Pike
-----------------------------------------------------
minetest.register_craftitem("fishing:pike_cooked", {
description = "Roasted Northern Pike",
groups = {},
inventory_image = "fishing_pike_cooked.png",
on_use = minetest.item_eat(8),
})