mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-20 05:53:12 +09:00
.
This commit is contained in:
1 parent
04fdc17b8d
commit
6ee0cc4392
6 files changed
+72
-19
No files matched your search
@@ -123,7 +123,7 @@ function main_entity(source, tier)
|
||||
elseif (source.name == 'recycler') then
|
||||
if item['graphics_set'] and item['graphics_set']['animation'] then
|
||||
for _, d in pairs({'north', 'east', 'south', 'west'}) do
|
||||
if item['graphics_set']['animation'][d] then
|
||||
if item['graphics_set']['animation'][d] and item['graphics_set']['animation'][d].layers then
|
||||
for _, l in pairs(item['graphics_set']['animation'][d].layers) do
|
||||
if not l.draw_as_shadow then
|
||||
l.tint = mod_tint[tier]
|
||||
@@ -173,7 +173,7 @@ function main_entity(source, tier)
|
||||
elseif (source.name == 'pumpjack') then
|
||||
if item['graphics_set'] and item['graphics_set']['animation'] then
|
||||
for _, d in pairs({'north', 'east', 'south', 'west'}) do
|
||||
if item['graphics_set']['animation'][d] then
|
||||
if item['graphics_set']['animation'][d] and item['graphics_set']['animation'][d].layers then
|
||||
for _, l in pairs(item['graphics_set']['animation'][d].layers) do
|
||||
if not l.draw_as_shadow then
|
||||
l.apply_runtime_tint = true
|
||||
|
||||
Reference in new issue
Block a user