Update
@@ -27,8 +27,7 @@ local items = {
|
|||||||
type = 'accumulator',
|
type = 'accumulator',
|
||||||
name = 'accumulator',
|
name = 'accumulator',
|
||||||
min = 2,
|
min = 2,
|
||||||
max = 8,
|
max = 8
|
||||||
base = 5
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,15 @@ local function EE(source, tier)
|
|||||||
item.name = source.name .. '-' .. tier
|
item.name = source.name .. '-' .. tier
|
||||||
item.minable.result = source.name .. '-' .. tier
|
item.minable.result = source.name .. '-' .. tier
|
||||||
item.max_health = 200 * (2 ^ (tier - 1))
|
item.max_health = 200 * (2 ^ (tier - 1))
|
||||||
|
|
||||||
|
--[[
|
||||||
item.picture.layers[1].filename = graphics_location .. source.name .. '-e.png'
|
item.picture.layers[1].filename = graphics_location .. source.name .. '-e.png'
|
||||||
item.picture.layers[1].hr_version.filename = graphics_location .. source.name ..'-eh.png'
|
item.picture.layers[1].hr_version.filename = graphics_location .. source.name ..'-eh.png'
|
||||||
item.icon = graphics_location .. source.type .. '-i.png'
|
item.icon = graphics_location .. source.type .. '-i.png'
|
||||||
item.icon_size = 64
|
item.icon_size = 64
|
||||||
item.icon_mipmaps = 4
|
item.icon_mipmaps = 4
|
||||||
|
]]
|
||||||
|
|
||||||
if (source.type == 'accumulator') then
|
if (source.type == 'accumulator') then
|
||||||
item.energy_source.buffer_capacity = (source.base * 4 ^ (tier - 1)) .. 'MJ'
|
item.energy_source.buffer_capacity = (source.base * 4 ^ (tier - 1)) .. 'MJ'
|
||||||
item.energy_source.input_flow_limit = (source.base * 60 * (4 ^ (tier - 1))) .. 'kW'
|
item.energy_source.input_flow_limit = (source.base * 60 * (4 ^ (tier - 1))) .. 'kW'
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 101 KiB |
|
Before Width: | Height: | Size: 14 KiB |