mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-30 20:01:40 +09:00
Update
This commit is contained in:
8
PHI-CC/.editorconfig
Normal file
8
PHI-CC/.editorconfig
Normal 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
1597
PHI-CC/.luacheckrc
Normal file
File diff suppressed because it is too large
Load Diff
6
PHI-CC/changelog.txt
Normal file
6
PHI-CC/changelog.txt
Normal 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
24
PHI-CC/control.lua
Normal 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
0
PHI-CC/data-updates.lua
Normal file
0
PHI-CC/data.lua
Normal file
0
PHI-CC/data.lua
Normal file
14
PHI-CC/info.json
Normal file
14
PHI-CC/info.json
Normal 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"
|
||||
]
|
||||
}
|
||||
0
PHI-CC/locale/en/locale.cfg
Normal file
0
PHI-CC/locale/en/locale.cfg
Normal file
0
PHI-CC/locale/ja/locale.cfg
Normal file
0
PHI-CC/locale/ja/locale.cfg
Normal file
0
PHI-CC/locale/zh-CN/locale.cfg
Normal file
0
PHI-CC/locale/zh-CN/locale.cfg
Normal file
0
PHI-CC/locale/zh-TW/locale.cfg
Normal file
0
PHI-CC/locale/zh-TW/locale.cfg
Normal file
BIN
PHI-CC/thumbnail.png
Normal file
BIN
PHI-CC/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
Reference in New Issue
Block a user