mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
.vscode/settings.json
|
.vscode/settings.json
|
||||||
PHI-CL/.vscode/settings.json
|
PHI-CL/.vscode/settings.json
|
||||||
*.zip
|
*.zip
|
||||||
|
/PHI-CL/.vscode
|
||||||
|
|||||||
@@ -48,10 +48,6 @@ end
|
|||||||
function main.EEE(source, tier)
|
function main.EEE(source, tier)
|
||||||
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
||||||
|
|
||||||
if not (item or item.name) then
|
|
||||||
assert('ERROR - trying to load ' .. source.type .. ' / ' .. source.ref_name)
|
|
||||||
end
|
|
||||||
|
|
||||||
item.name = source.name .. '-' .. tier
|
item.name = source.name .. '-' .. tier
|
||||||
item.minable.result = item.name
|
item.minable.result = item.name
|
||||||
item.max_health = item.max_health * (tier - source.min + 2)
|
item.max_health = item.max_health * (tier - source.min + 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user