mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-28 13:36:22 +09:00
.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
local items = require('mbm-c')
|
||||
|
||||
local mod_tint = {
|
||||
[2] = {r=140, g=142, b=200},
|
||||
[3] = {r=242, g=161, b=26},
|
||||
@@ -10,6 +9,14 @@ local mod_tint = {
|
||||
[8] = {r=233, g=63, b=233}
|
||||
}
|
||||
|
||||
if not settings.startup['PHI-MB'].value then
|
||||
return
|
||||
end
|
||||
|
||||
if not settings.startup['PHI-MB-MACHINE'].value or settings.startup['PHI-MB-MACHINE'].value <= 1 then
|
||||
return
|
||||
end
|
||||
|
||||
function main_entity(source, tier)
|
||||
local item = table.deepcopy(data.raw[source.type][source.ref_name])
|
||||
item.name = source.name .. '-' .. tier
|
||||
|
||||
Reference in New Issue
Block a user