mirror of
https://github.com/MinetestForFun/fishing.git
synced 2025-07-18 00:00:21 +02:00
Fix english
English mixed with french in the code is dead ugly. Fix this.
This commit is contained in:
@ -167,11 +167,11 @@ local FISHING_BOBBER_SHARK_ENTITY={
|
||||
|
||||
self.randomtime = math.random(1,5)*10
|
||||
local chance = math.random(1, 100)
|
||||
--if 1 you catch a tresor, maybe ...
|
||||
--if 1 you catch a treasure, maybe ...
|
||||
if chance == 1 then
|
||||
--You are lucky ? :)
|
||||
if math.random(1, 100) <= fishing_setting.settings["tresor_chance"] and fishing_setting.settings["tresor_enable"] then
|
||||
self.prize = fishing_setting.prizes["tresor"][math.random(1,#fishing_setting.prizes["tresor"])]
|
||||
if math.random(1, 100) <= fishing_setting.settings["treasure_chance"] and fishing_setting.settings["treasure_enable"] then
|
||||
self.prize = fishing_setting.prizes["treasure"][math.random(1,#fishing_setting.prizes["treasure"])]
|
||||
else
|
||||
self.prize = fishing_setting.prizes["stuff"][math.random(1,#fishing_setting.prizes["stuff"])]
|
||||
end
|
||||
|
Reference in New Issue
Block a user