mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-11 21:34:52 +09:00
.
This commit is contained in:
1 parent
65bfb8bb8f
commit
3dc2999ec6
2 files changed
+1
-4
No files matched your search
@@ -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