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:
parent
e64a0fa3e9
commit
bd6ac80b09
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user