mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-01-01 04:31:40 +09:00
.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "PHI-CL",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"factorio_version": "2.0",
|
||||
"date": "2024-10-29",
|
||||
"date": "2024-10-30",
|
||||
"title": "Phidias Collection",
|
||||
"author": "PHIDIAS0303",
|
||||
"contributers": "",
|
||||
@@ -13,5 +13,11 @@
|
||||
"? space-age",
|
||||
"? quality >= 2.0.0",
|
||||
"? elevated-rails > 2.0.0"
|
||||
]
|
||||
],
|
||||
"quality_required": false,
|
||||
"space_travel_required": false,
|
||||
"spoiling_required": false,
|
||||
"freezing_required": false,
|
||||
"segmented_units_required": false,
|
||||
"expansion_shaders_required": false
|
||||
}
|
||||
@@ -272,13 +272,10 @@ function main.EEQ(source, tier)
|
||||
item.attack_parameters.ammo_type.energy_consumption = tostring(tonumber(string.match(item.attack_parameters.ammo_type.energy_consumption, '[%d%.]+')) * (2 ^ (tier - source.min + 1))) .. string.match(item.attack_parameters.ammo_type.energy_consumption, '%a+')
|
||||
end
|
||||
|
||||
if item.attack_parameters.ammo_type.action_delivery then
|
||||
|
||||
if item.attack_parameters.ammo_type.action_delivery then
|
||||
item.attack_parameters.ammo_type.action_delivery.max_length = item.attack_parameters.ammo_type.action_delivery.max_length + (tier - source.min + 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if item.attack_parameters.range then
|
||||
item.attack_parameters.range = item.attack_parameters.range + (tier - source.min + 1)
|
||||
|
||||
Reference in New Issue
Block a user