mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
Update main.lua
This commit is contained in:
@@ -34,8 +34,8 @@ local function EE(source, tier)
|
|||||||
item.max_health = item.max_health * (2 ^ (tier - 1))
|
item.max_health = item.max_health * (2 ^ (tier - 1))
|
||||||
item.crafting_speed = item.crafting_speed * (2 ^ (tier - 1))
|
item.crafting_speed = item.crafting_speed * (2 ^ (tier - 1))
|
||||||
item.energy_usage = tonumber(string.match(item.energy_usage, '%d+')) * (2 ^ (tier - 1)) .. string.match(item.energy_usage, '%a')
|
item.energy_usage = tonumber(string.match(item.energy_usage, '%d+')) * (2 ^ (tier - 1)) .. string.match(item.energy_usage, '%a')
|
||||||
item.picture.layers[1].filename = graphics_location .. source .. '-e.png'
|
item.animation.layers[1].filename = graphics_location .. source .. '-e.png'
|
||||||
item.picture.layers[1].hr_version.filename = graphics_location .. source ..'-eh.png'
|
item.animation.layers[1].hr_version.filename = graphics_location .. source ..'-eh.png'
|
||||||
item.icon = graphics_location .. source .. '-i.png'
|
item.icon = graphics_location .. source .. '-i.png'
|
||||||
item.icon_size = 64
|
item.icon_size = 64
|
||||||
item.icon_mipmaps = 4
|
item.icon_mipmaps = 4
|
||||||
|
|||||||
Reference in New Issue
Block a user