mirror of
https://github.com/MinetestForFun/fishing.git
synced 2024-11-15 02:20:18 +01:00
crabman77
fe52e29d0e
add support to modpack mobs_fish and mobs_sharks, fish|sharks mobs can be now catched re-add craft worms with 2 dirt
38 lines
2.0 KiB
Lua
Executable File
38 lines
2.0 KiB
Lua
Executable File
|
|
--fish bait
|
|
--bait_corn
|
|
minetest.register_craftitem("fishing:bait_corn", {
|
|
description = fishing_setting.func.S("Bait Corn"),
|
|
inventory_image = "fishing_bait_corn.png",
|
|
})
|
|
|
|
fishing_setting.baits["fishing:bait_corn"] = { ["bait"] = "fishing:bait_corn", ["bobber"] = "fishing:bobber_fish_entity",["texture"] = "fishing_bait_corn.png", ["hungry"] = 50 }
|
|
|
|
--bait_bread
|
|
minetest.register_craftitem("fishing:bait_bread", {
|
|
description = fishing_setting.func.S("Bait Bread"),
|
|
inventory_image = "fishing_bait_bread.png",
|
|
})
|
|
|
|
fishing_setting.baits["fishing:bait_bread"] = { ["bait"] = "fishing:bait_bread", ["bobber"] = "fishing:bobber_fish_entity",["texture"] = "fishing_bait_bread.png", ["hungry"] = 50 }
|
|
|
|
--bait_worm
|
|
fishing_setting.baits["fishing:bait_worm"] = { ["bait"] = "fishing:bait_worm", ["bobber"] = "fishing:bobber_fish_entity",["texture"] = "fishing_bait_worm.png", ["hungry"] = 50 }
|
|
|
|
--shark bait
|
|
--bait_fish
|
|
fishing_setting.baits["fishing:fish_raw"] = { ["bait"] = "fishing:fish_raw", ["bobber"] = "fishing:bobber_shark_entity",["texture"] = "fishing_fish_raw.png", ["hungry"] = 50 }
|
|
|
|
fishing_setting.baits["fishing:clownfish_raw"] = { ["bait"] = "fishing:clownfish_raw", ["bobber"] = "fishing:bobber_shark_entity",["texture"] = "fishing_clownfish_raw.png", ["hungry"] = 50 }
|
|
|
|
fishing_setting.baits["fishing:bluewhite_raw"] = { ["bait"] = "fishing:bluewhite_raw", ["bobber"] = "fishing:bobber_shark_entity",["texture"] = "fishing_bluewhite_raw.png", ["hungry"] = 50 }
|
|
|
|
fishing_setting.baits["fishing:exoticfish_raw"] = { ["bait"] = "fishing:exoticfish_raw", ["bobber"] = "fishing:bobber_shark_entity",["texture"] = "fishing_exoticfish_raw.png", ["hungry"] = 50 }
|
|
|
|
-- to mob_fish modpack
|
|
if (minetest.get_modpath("mobs_fish")) then
|
|
fishing_setting.baits["mobs_fish:clownfish"] = { ["bait"] = "mobs_fish:clownfish", ["bobber"] = "fishing:bobber_shark_entity", ["hungry"] = 50 }
|
|
fishing_setting.baits["mobs_fish:tropical"] = { ["bait"] = "mobs_fish:tropical", ["bobber"] = "fishing:bobber_shark_entity", ["hungry"] = 50 }
|
|
end
|
|
|