This commit is contained in:
2023-09-19 00:26:01 +09:00
parent f49e48a9c2
commit fd4561889c
7 changed files with 20 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
data.raw['offshore-pump']['offshore-pump'].pumping_speed = 100
data.raw['offshore-pump']['offshore-pump'].pumping_speed = settings.startup['PHI-XW-WATER'].value * 20
data.raw['offshore-pump']['offshore-pump'].fluid_box.height = 4
data.raw['offshore-pump']['offshore-pump'].fluid_box.level = 5
data.raw['offshore-pump']['offshore-pump'].flags = {'placeable-neutral', 'player-creation'}
@@ -8,7 +8,7 @@ data.raw['offshore-pump']['offshore-pump'].adjacent_tile_collision_mask = nil
data.raw['offshore-pump']['offshore-pump'].placeable_position_visualization = nil
if mods['angelsrefining'] then
data.raw['offshore-pump']['seafloor-pump'].pumping_speed = 100
data.raw['offshore-pump']['seafloor-pump'].pumping_speed = settings.startup['PHI-XW-WATER'].value * 20
data.raw['offshore-pump']['seafloor-pump'].fluid_box.height = 4
data.raw['offshore-pump']['offshore-pump'].fluid_box.level = 5
data.raw['offshore-pump']['seafloor-pump'].flags = {'placeable-neutral', 'player-creation', 'filter-directions'}

View File

@@ -1,8 +1,8 @@
{
"name": "PHI-XW",
"version": "1.0.5",
"version": "1.1.0",
"factorio_version": "1.1",
"date": "2023-05-08",
"date": "2023-09-19",
"title": "Phidias Water Pump",
"author": "PHIDIAS0303",
"contributers": "",

View File

@@ -0,0 +1,2 @@
[mod-setting-name]
PHI-XW-WATER=Water

View File

@@ -0,0 +1,2 @@
[mod-setting-name]
PHI-XW-WATER=

View File

@@ -0,0 +1,2 @@
[mod-setting-name]
PHI-XW-WATER=

View File

@@ -0,0 +1,2 @@
[mod-setting-name]
PHI-XW-WATER=

8
PHI-XW/settings.lua Normal file
View File

@@ -0,0 +1,8 @@
data:extend({{
type = 'int-setting',
name = 'PHI-XW-WATER',
setting_type = 'startup',
default_value = 5,
allowed_values = {1, 2, 3, 4, 5, 10},
order = 'A1'
}})