mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 23:52:12 +00:00
Fixes table construction. (#17276)
* Fixes table construction. * you see yourself a victim? --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -322,19 +322,18 @@
|
||||
|
||||
var/image/I
|
||||
|
||||
// Base frame shape. Mostly done for glass/diamond tables, where this is visible.
|
||||
for(var/i = 1 to 4)
|
||||
I = image(icon, dir = 1<<(i-1), icon_state = connections[i])
|
||||
add_overlay(I)
|
||||
|
||||
// Standard table image
|
||||
// Standard table image.
|
||||
if(material)
|
||||
for(var/i = 1 to 4)
|
||||
I = image(icon, "[material.icon_base]_[connections[i]]", dir = 1<<(i-1))
|
||||
if(material_alteration & MATERIAL_ALTERATION_COLOR) I.color = material.icon_colour
|
||||
add_overlay(I)
|
||||
else
|
||||
for(var/i = 1 to 4)
|
||||
I = image(icon, dir = 1<<(i-1), icon_state = connections[i])
|
||||
add_overlay(I)
|
||||
|
||||
// Reinforcements
|
||||
// Reinforcements.
|
||||
if(reinforced)
|
||||
for(var/i = 1 to 4)
|
||||
I = image(icon, "[reinforced.icon_reinf]_[connections[i]]", dir = 1<<(i-1))
|
||||
|
||||
Reference in New Issue
Block a user