mirror of
https://files.creativekara.fr/git/poschangelib.git
synced 2024-12-04 21:13:50 +01:00
Put the footprint texture only on top of the nodes.
This commit is contained in:
parent
4515adbe3b
commit
933bc27258
@ -138,9 +138,12 @@ function poschangelib.register_footprints(node_name, stomp_desc)
|
||||
footprint_texture = stomp_desc.footprint_texture
|
||||
end
|
||||
if type(desc.tiles[1]) == 'table' then
|
||||
-- Replace top texture
|
||||
stomped_node_desc.tiles[1].name = desc.tiles[1].name .. '^' .. footprint_texture
|
||||
else
|
||||
-- Put footprints on top and keep the original texture for the rest
|
||||
stomped_node_desc.tiles[1] = desc.tiles[1] .. '^' .. footprint_texture
|
||||
stomped_node_desc.tiles[2] = desc.tiles[1]
|
||||
end
|
||||
-- Revert timer
|
||||
if stomp_desc.duration_min then
|
||||
|
Loading…
Reference in New Issue
Block a user