1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-16 02:47:48 +02:00

minor changes

This commit is contained in:
Gerkiz 2021-02-18 22:44:32 +01:00
parent 7d516688d6
commit 15a8fdb7f8
2 changed files with 9 additions and 1 deletions

View File

@ -2297,6 +2297,14 @@ function Public.get_items()
upgrade = false,
static = false
}
main_market_items['kr-creep-collector'] = {
price = 50,
stack = 1,
tooltip = ({'item-name.kr-creep-collector'}),
upgrade = false,
static = true,
value = "coin"
}
end
main_market_items['land-mine'] = {
stack = 1,

View File

@ -54,7 +54,7 @@ local function chest_is_valid(chest, inventory)
local n = chest_inventory.get_filter(index)
if inventory[n] then
if (t[n] and t[n].valid) then
t[n].count = t[n].count + inventory[n]
t[n].count = inventory[n]
else
t[n] = {count = inventory[n], valid = true}
end