1
0
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:
Wouters Dorian
2015-07-15 15:54:05 +02:00
parent d8922786e5
commit dc055c58b5
9 changed files with 240 additions and 231 deletions

View File

@ -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