1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-12 02:28:02 +02:00
This commit is contained in:
TWLTriston 2017-10-25 20:19:42 -04:00
parent 328122d265
commit 9d73fffd3a

View File

@ -110,10 +110,6 @@ local total_fish_market_bonus_messages = #fish_market_bonus_message
if not global.fish_market_fish_caught then global.fish_market_fish_caught = {} end
if not global.fish_market_fish_spent then global.fish_market_fish_spent = {} end
local function fish_earned(event, amount)
fish_earned_index( event.player_index, amount )
end
local function fish_earned_index(player_index, amount)
local player = game.players[player_index]
player.insert { name = "raw-fish", count = amount }
@ -136,6 +132,10 @@ local function fish_earned_index(player_index, amount)
end
end
local function fish_earned(event, amount)
fish_earned_index( event.player_index, amount )
end
local function preplayer_mined_item(event)
-- game.print(event.entity.name)