1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00

nonfunctional change

This commit is contained in:
danielmartin0 2022-05-22 23:39:25 +01:00
parent 590cc7c17f
commit 389d2f2c56

View File

@ -23,11 +23,11 @@ Public.Minimarket = require 'maps.pirates.shop.dock'
function Public.print_transaction(player, offer_itename, offer_itemcount, price)
function Public.print_transaction(player, offer_itemname, offer_itemcount, price)
local s1 = ' traded away '
local s2 = ''
local s3 = offer_itemcount .. ' ' .. offer_itename
if offer_itename == 'coin' then s1 = ' sold ' end
local s3 = offer_itemcount .. ' ' .. offer_itemname
if offer_itemname == 'coin' then s1 = ' sold ' end
for i, p in pairs(price) do
local p2 = {name = p.name, amount = p.amount}
if p2.name == 'raw-fish' then p2.name = 'fish' end