Replaces /image with /mutable_appearance (#556)
* Replaces /image with /mutable_appearance, where appropriate * Update miscellaneous.dm * Delete miscellaneous.dm.rej * Delete pet.dm.rej * Update pet.dm * Update species.dm * Update miscellaneous.dm * Update species.dm * Update miscellaneous.dm * Delete species.dm.rej * Update species.dm pretty sure I got all the indentation correct THIS time, ffs * Update species.dm * Update species.dm fucking tabs man, fucking tabs.
This commit is contained in:
committed by
Poojawa
parent
a8c4c86e1c
commit
a905c15dad
@@ -143,21 +143,21 @@
|
||||
|
||||
|
||||
/obj/structure/transit_tube/proc/create_tube_overlay(direction, shift_dir)
|
||||
var/image/I
|
||||
var/image/tube_overlay = new(dir = direction)
|
||||
if(shift_dir)
|
||||
I = image(loc = src, icon_state = "decorative_diag", dir = direction)
|
||||
tube_overlay.icon_state = "decorative_diag"
|
||||
switch(shift_dir)
|
||||
if(NORTH)
|
||||
I.pixel_y = 32
|
||||
tube_overlay.pixel_y = 32
|
||||
if(SOUTH)
|
||||
I.pixel_y = -32
|
||||
tube_overlay.pixel_y = -32
|
||||
if(EAST)
|
||||
I.pixel_x = 32
|
||||
tube_overlay.pixel_x = 32
|
||||
if(WEST)
|
||||
I.pixel_x = -32
|
||||
tube_overlay.pixel_x = -32
|
||||
else
|
||||
I = image(loc = src, icon_state = "decorative", dir = direction)
|
||||
add_overlay(I)
|
||||
tube_overlay.icon_state = "decorative"
|
||||
add_overlay(tube_overlay)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user