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:
parent
79b1876e5c
commit
bb6cef8720
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user