1
0
Fork 0

Tropical Fish Bucket

Adds the bucket of tropical fish.
This commit is contained in:
PrairieAstronomer 2022-07-23 20:10:23 -06:00 committed by cora
parent 3a47e8a2f9
commit 3aa26cac14
3 changed files with 5 additions and 4 deletions

View File

@ -105,7 +105,7 @@ local tropical_fish = {
on_rightclick = function(self, clicker) on_rightclick = function(self, clicker)
if clicker:get_wielded_item():get_name() == "mcl_buckets:bucket_water" then if clicker:get_wielded_item():get_name() == "mcl_buckets:bucket_water" then
self.object:remove() self.object:remove()
--clicker:set_wielded_item("mcl_fishing:bucket_tropical_fish") clicker:set_wielded_item("mcl_fishing:bucket_tropical_fish")
awards.unlock(clicker:get_player_name(), "mcl:tacticalFishing") awards.unlock(clicker:get_player_name(), "mcl:tacticalFishing")
end end
end, end,

View File

@ -520,9 +520,9 @@ end )
-- Fish Buckets -- Fish Buckets
fish_names = { fish_names = {
{ techname = "cod", name = "Cod" }, { techname = "cod", name = "Cod" },
{ techname = "salmon", name = "Salmon" } { techname = "salmon", name = "Salmon" },
--{ techname = "pufferfish", name = "Pufferfish" } FIXME: Uncomment when pufferfish mobs are added. --{ techname = "pufferfish", name = "Pufferfish" } FIXME: Uncomment when pufferfish mobs are added.
--{ techname = "tropical_fish", name = "Tropical Fish" } FIXME: Uncomment when pufferfish mobs are added. { techname = "tropical_fish", name = "Tropical Fish" }
} }
for _, fish in pairs(fish_names) do for _, fish in pairs(fish_names) do

View File

@ -18,6 +18,7 @@ Catches fish in water=
Very poisonous= Very poisonous=
Cod= Cod=
Salmon= Salmon=
Tropical Fish=
Bucket of @1= Bucket of @1=
This bucket is filled with water and @1.= This bucket is filled with water and @1.=
Place it to empty the bucket and place a @1. Obtain by right clicking on a @2 fish with a bucket of water.= Place it to empty the bucket and place a @1. Obtain by right clicking on a @2 fish with a bucket of water.=