1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Log items spawned by crafting in cheat mode

This commit is contained in:
plague006 2018-11-11 11:02:38 -05:00
parent e64a0fa3e9
commit bd6ac80b09

View File

@ -47,6 +47,8 @@ Event.add(
local count = user_item_record.count
local time = user_item_record['time'] or Utils.format_time(game.tick)
data[name] = {count = stack.count + count, time = time}
local s = table.concat {'[Cheated item] ', p.name, ' - ', stack.count, ' x ', name}
log(s)
end
)