This commit is contained in:
2023-04-27 20:41:06 +09:00
parent 2571ea8862
commit 6b484db057
21 changed files with 1802 additions and 47 deletions

8
PHI-CC/.editorconfig Normal file
View File

@@ -0,0 +1,8 @@
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

1597
PHI-CC/.luacheckrc Normal file

File diff suppressed because it is too large Load Diff

6
PHI-CC/changelog.txt Normal file
View File

@@ -0,0 +1,6 @@
---------------------------------------------------------------------------------------------------
Version: 1.1.0
Date: 2022-12-01
Added:
- Compound Solar Panel and Accumulator

24
PHI-CC/control.lua Normal file
View File

@@ -0,0 +1,24 @@
script.on_init(function()
if global.phi == nil then
global.phi = {}
end
global.phi.cc = {}
global.phi.gui = {}
end)
script.on_event(defines.events.on_player_created, function(event)
global.phi.cc.gui[event.player.index] = {controls_active = true}
local player = game.get_player(event.player_index)
local screen_element = player.gui.screen
local main_frame = screen_element.add{type='frame', name='ugg_main_frame', caption={'ugg.hello_world'}}
main_frame.style.size = {385, 165}
main_frame.auto_center = true
local content_frame = main_frame.add{type='frame', name='content_frame', direction='vertical', style='ugg_content_frame'}
local controls_flow = content_frame.add{type='flow', name='controls_flow', direction='horizontal', style='ugg_controls_flow'}
controls_flow.add{type='button', name='ugg_controls_toggle', caption={'ugg.deactivate'}}
end)

0
PHI-CC/data-updates.lua Normal file
View File

0
PHI-CC/data.lua Normal file
View File

14
PHI-CC/info.json Normal file
View File

@@ -0,0 +1,14 @@
{
"name": "PHI-CC",
"version": "1.0.0",
"factorio_version": "1.1",
"date": "2023-04-25",
"title": "Phidias Circuit Combinator",
"author": "PHIDIAS0303",
"contributers": "",
"homepage": "",
"description": "",
"dependencies": [
"base >= 1.1.0"
]
}

View File

View File

View File

View File

BIN
PHI-CC/thumbnail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB