mirror of
https://github.com/MinetestForFun/fishing.git
synced 2025-07-21 17:40:27 +02:00
fix typo
add support to modpack mobs_fish and mobs_sharks, fish|sharks mobs can be now catched re-add craft worms with 2 dirt
This commit is contained in:
7
init.lua
7
init.lua
@ -1,6 +1,6 @@
|
||||
-----------------------------------------------------------------------------------------------
|
||||
local title = "Fishing - Crabman77's version"
|
||||
local version = "0.0.3"
|
||||
local version = "0.0.4"
|
||||
local mname = "fishing"
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- original by wulfsdad (http://forum.minetest.net/viewtopic.php?id=4375)
|
||||
@ -55,6 +55,11 @@ fishing_setting.settings["treasure_chance"] = TREASURE_CHANCE
|
||||
fishing_setting.settings["treasure_enable"] = TREASURE_RANDOM_ENABLE
|
||||
fishing_setting.settings["escape_chance"] = ESCAPE_CHANCE
|
||||
|
||||
-- to mobs_fish|mobs_sharks modpack
|
||||
if (minetest.get_modpath("mobs_fish") ~= nil or minetest.get_modpath("mobs_sharks") ~= nil) then
|
||||
fishing_setting.have_true_fish = true
|
||||
end
|
||||
|
||||
-- load config file if exist in worldpath
|
||||
fishing_setting.func.load()
|
||||
|
||||
|
Reference in New Issue
Block a user