1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-12 02:28:02 +02:00

Merge pull request #105 from Valansch/valansch_todos

Reduce fish frequency message
This commit is contained in:
Valansch 2017-11-04 13:32:39 +01:00 committed by GitHub
commit d0f97db34f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ local function fish_earned_index(player_index, amount)
player.print(fish_market_message[x])
end
local x = global.fish_market_fish_caught[player_index] % 7
local x = global.fish_market_fish_caught[player_index] % 70
if x == 0 then
local z = math.random(1,total_fish_market_bonus_messages)
player.print(fish_market_bonus_message[z])