1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-07 13:31:40 +02:00

fish chest fix, mk2 fix

This commit is contained in:
hanakocz 2020-04-27 15:13:51 +02:00
parent 79b1876e5c
commit bb6cef8720
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ function Public_terrain.fish_market(surface, left_top)
alignment = "center",
scale_with_zoom = false
}
local fishchest = surface.create_entity({name = "compilatron-chest", force = "player", position = {x = left_top.x + 11, y = left_top.y + 16}})
local fishchest = surface.create_entity({name = "steel-chest", force = "player", position = {x = left_top.x + 11, y = left_top.y + 16}})
fishchest.destructible = false
fishchest.minable = false
fishchest.operable = false

View File

@ -157,7 +157,7 @@ end
local function mk2_buy()
local objective = Chrono_table.get_table()
if objective.upgradechest[13] and objective.upgradechest[13].valid then
local inv = objective.upgradechest[14].get_inventory(defines.inventory.chest)
local inv = objective.upgradechest[13].get_inventory(defines.inventory.chest)
inv.insert({name = "power-armor-mk2", count = 1})
end
end