mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update
This commit is contained in:
@@ -10,7 +10,8 @@ local items = {
|
||||
min = 2,
|
||||
max = 8,
|
||||
base = 30,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'solar-panel-equipment'
|
||||
},
|
||||
['fusion-reactor'] = {
|
||||
enabled = true,
|
||||
@@ -20,7 +21,8 @@ local items = {
|
||||
min = 2,
|
||||
max = 8,
|
||||
base = 750,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'fusion-reactor-equipment'
|
||||
},
|
||||
['battery'] = {
|
||||
enabled = true,
|
||||
@@ -30,7 +32,8 @@ local items = {
|
||||
min = 3,
|
||||
max = 8,
|
||||
base = 100,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'battery-equipment'
|
||||
},
|
||||
['personal-laser-defense'] = {
|
||||
enabled = true,
|
||||
@@ -40,7 +43,8 @@ local items = {
|
||||
min = 2,
|
||||
max = 8,
|
||||
base = 3,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'personal-laser-defense-equipment'
|
||||
},
|
||||
['energy-shield'] = {
|
||||
enabled = true,
|
||||
@@ -50,7 +54,8 @@ local items = {
|
||||
min = 3,
|
||||
max = 8,
|
||||
base = 150,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'energy-shield-equipment'
|
||||
},
|
||||
['personal-roboport'] = {
|
||||
enabled = true,
|
||||
@@ -60,7 +65,8 @@ local items = {
|
||||
min = 3,
|
||||
max = 8,
|
||||
base = 0.5,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'personal-roboport-equipment'
|
||||
},
|
||||
['night-vision'] = {
|
||||
enabled = true,
|
||||
@@ -70,7 +76,8 @@ local items = {
|
||||
min = 2,
|
||||
max = 2,
|
||||
base = 1,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'night-vision-equipment'
|
||||
},
|
||||
['exoskeleton'] = {
|
||||
enabled = true,
|
||||
@@ -80,7 +87,8 @@ local items = {
|
||||
min = 2,
|
||||
max = 2,
|
||||
base = 0.6,
|
||||
graphics_source = nil
|
||||
graphics_source = nil,
|
||||
graphics_name = 'exoskeleton-equipment'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,15 +98,17 @@ if mods['space-exploration'] then
|
||||
items['fusion-reactor'].tech = 'se-rtg-equipment'
|
||||
items['fusion-reactor'].base = 800
|
||||
|
||||
items['night-vision'].enabled = false
|
||||
items['exoskeleton'].enabled = false
|
||||
|
||||
items['battery'].tech = 'battery-equipment'
|
||||
items['battery'].base = 25
|
||||
items['battery'].min = 2
|
||||
items['battery'].base = 100
|
||||
|
||||
items['energy-shield'].tech = 'energy-shield-equipment'
|
||||
items['energy-shield'].min = 2
|
||||
items['energy-shield'].base = 250
|
||||
|
||||
items['personal-roboport'].tech = 'personal-roboport-equipment'
|
||||
items['personal-roboport'].tech = 'personal-roboport-equipment'
|
||||
items['personal-roboport'].min = 2
|
||||
items['personal-roboport'].base = 0.25
|
||||
else
|
||||
data:extend({
|
||||
{
|
||||
@@ -230,7 +240,7 @@ local function EE(source, tier)
|
||||
item['shape'] = {width = w, height = h, type = 'full'}
|
||||
|
||||
if source.graphics_source == nil then
|
||||
item['sprite'] = {filename = graphics_location .. source.name .. '-equipment-e.png', width = w * 32, height = h * 32, priority = 'medium', hr_version = {filename = graphics_location .. source.name .. '-equipment-eh.png', width = w * 64, height = h *64, priority = 'medium', scale = 0.5}}
|
||||
item['sprite'] = {filename = graphics_location .. source.graphics_name .. '-e.png', width = w * 32, height = h * 32, priority = 'medium', hr_version = {filename = graphics_location .. source.graphics_name .. '-eh.png', width = w * 64, height = h *64, priority = 'medium', scale = 0.5}}
|
||||
else
|
||||
item['sprite'] = {filename = source.graphics_source, width = w * 32, height = h * 32, priority = 'medium'}
|
||||
end
|
||||
@@ -246,7 +256,7 @@ local function EI(source, tier)
|
||||
item.subgroup = 'equipment'
|
||||
item.stack_size = 20
|
||||
item.default_request_amount = 5
|
||||
item.icons = {{icon = graphics_location .. source.name .. '-equipment-i.png', icon_mipmaps = 4, icon_size = 64}}
|
||||
item.icons = {{icon = graphics_location .. source.graphics_name .. '-i.png', icon_mipmaps = 4, icon_size = 64}}
|
||||
|
||||
if (source.type == 'solar-panel') then
|
||||
item.order = 'a[energy-source]-a' .. alpha_order[tier - 1] .. '[' .. source.name .. '-mk' .. tier .. ']'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "PHI-EQ",
|
||||
"version": "1.1.7",
|
||||
"version": "1.1.8",
|
||||
"factorio_version": "1.1",
|
||||
"date": "2023-04-18",
|
||||
"title": "Phidias Equipment",
|
||||
|
||||
Reference in New Issue
Block a user