diff --git a/PHI-XW/data.lua b/PHI-XW/data.lua index 0bde793..8f46bdc 100644 --- a/PHI-XW/data.lua +++ b/PHI-XW/data.lua @@ -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'} diff --git a/PHI-XW/info.json b/PHI-XW/info.json index 4dec0ef..a613de6 100644 --- a/PHI-XW/info.json +++ b/PHI-XW/info.json @@ -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": "", diff --git a/PHI-XW/locale/en/locale.cfg b/PHI-XW/locale/en/locale.cfg new file mode 100644 index 0000000..19cfc9b --- /dev/null +++ b/PHI-XW/locale/en/locale.cfg @@ -0,0 +1,2 @@ +[mod-setting-name] +PHI-XW-WATER=Water diff --git a/PHI-XW/locale/ja/locale.cfg b/PHI-XW/locale/ja/locale.cfg new file mode 100644 index 0000000..97a8616 --- /dev/null +++ b/PHI-XW/locale/ja/locale.cfg @@ -0,0 +1,2 @@ +[mod-setting-name] +PHI-XW-WATER=水 \ No newline at end of file diff --git a/PHI-XW/locale/zh-CN/locale.cfg b/PHI-XW/locale/zh-CN/locale.cfg new file mode 100644 index 0000000..97a8616 --- /dev/null +++ b/PHI-XW/locale/zh-CN/locale.cfg @@ -0,0 +1,2 @@ +[mod-setting-name] +PHI-XW-WATER=水 \ No newline at end of file diff --git a/PHI-XW/locale/zh-TW/locale.cfg b/PHI-XW/locale/zh-TW/locale.cfg new file mode 100644 index 0000000..97a8616 --- /dev/null +++ b/PHI-XW/locale/zh-TW/locale.cfg @@ -0,0 +1,2 @@ +[mod-setting-name] +PHI-XW-WATER=水 \ No newline at end of file diff --git a/PHI-XW/settings.lua b/PHI-XW/settings.lua new file mode 100644 index 0000000..a1e864e --- /dev/null +++ b/PHI-XW/settings.lua @@ -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' + }}) \ No newline at end of file