caverealms' glow bait reduces fishing wait time

This commit is contained in:
tenplus1 2023-05-29 11:57:19 +01:00
parent 5e06b0d87a
commit a9c6f206ea
2 changed files with 5 additions and 1 deletions

View File

@ -104,6 +104,7 @@ who helped make this mod bigger and better throughout it's release :)
- Fishing rod now has 65 uses
- Fixed willow leaves scaling and forced schematic trunk placement
- Add 11 new lucky blocks
- Caverealms' glow bait reduces wait time when fishing
#### 1.29
- Use "stratum" to generate mesa biome for stripey goodness

View File

@ -160,7 +160,10 @@ if not self.cast then
local inv = player and player:get_inventory()
local bait = 0
if inv and inv:contains_item("main", "ethereal:worm") then
if inv and inv:contains_item("main", "caverealms:glow_bait") then
inv:remove_item("main", "caverealms:glow_bait")
bait = 40
elseif inv and inv:contains_item("main", "ethereal:worm") then
inv:remove_item("main", "ethereal:worm")
bait = 20
end