mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
Fix global -> storage and remove unused maps in control
This commit is contained in:
parent
7565520ead
commit
11eda152fc
@ -1,6 +1,6 @@
|
||||
require 'utils.data_stages'
|
||||
_LIFECYCLE = _STAGE.control -- Control stage
|
||||
_DEBUG = true
|
||||
_DEBUG = false
|
||||
_DUMP_ENV = false
|
||||
_PROFILE = false
|
||||
|
||||
@ -84,7 +84,7 @@ require 'utils.remote_chunks'
|
||||
--require 'maps.biter_battles.biter_battles'
|
||||
|
||||
--![[Guide a Train through rough terrain, while defending it from the biters]]--
|
||||
require 'maps.mountain_fortress_v3.main'
|
||||
--require 'maps.mountain_fortress_v3.main'
|
||||
--require 'maps.mountain_fortress_v2.main'
|
||||
--require 'maps.mountain_fortress'
|
||||
|
||||
|
@ -92,10 +92,10 @@ Gui.on_click(
|
||||
element.style.font_color = Color.orange
|
||||
data.selected_header = element
|
||||
|
||||
input_text_box.text = concat { "global['", key, "']" }
|
||||
input_text_box.text = concat { "storage['", key, "']" }
|
||||
input_text_box.style.font_color = Color.black
|
||||
|
||||
local content = dump(global[key]) or 'nil'
|
||||
local content = dump(storage[key]) or 'nil'
|
||||
right_panel.text = content
|
||||
end
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user