mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
.
This commit is contained in:
@@ -69,12 +69,14 @@ if settings.startup['PHI-CT'].value then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
table.children[13].sprite = 'item/bulk-inserter'
|
table['table_3_3'].sprite = 'item/bulk-inserter'
|
||||||
table.children[13].style.stretch_image_to_widget_size = true
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function gui_update(player, inserter)
|
function gui_update(player, inserter)
|
||||||
local gui = player.gui.relative.inserter_config
|
local gui = player.gui.relative.inserter_config
|
||||||
|
local pos_p = (inserter.prototype or inserter.ghost_prototype).inserter_pickup_position
|
||||||
|
local pos_d = (inserter.prototype or inserter.ghost_prototype).inserter_drop_position
|
||||||
|
local range = math.max(math.abs(math.floor(pos_p.x)), math.abs(math.floor(pos_p.y)), math.abs(math.floor(pos_d.x)), math.abs(math.floor(pos_d.y)))
|
||||||
end
|
end
|
||||||
|
|
||||||
script.on_init(function(_)
|
script.on_init(function(_)
|
||||||
|
|||||||
Reference in New Issue
Block a user