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
@@ -18,7 +18,7 @@
|
||||
var/fulltile = 0
|
||||
var/glass_type = /obj/item/stack/sheet/glass
|
||||
var/glass_amount = 1
|
||||
var/image/crack_overlay
|
||||
var/static/mutable_appearance/crack_overlay = mutable_appearance('icons/obj/structures.dmi')
|
||||
var/list/debris = list()
|
||||
can_be_unanchored = 1
|
||||
resistance_flags = ACID_PROOF
|
||||
@@ -377,10 +377,10 @@
|
||||
if(smooth)
|
||||
queue_smooth(src)
|
||||
|
||||
cut_overlay(crack_overlay)
|
||||
cut_overlays()
|
||||
if(ratio > 75)
|
||||
return
|
||||
crack_overlay = image('icons/obj/structures.dmi',"damage[ratio]",-(layer+0.1))
|
||||
crack_overlay.icon_state = "damage[ratio]"
|
||||
add_overlay(crack_overlay)
|
||||
|
||||
/obj/structure/window/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
|
||||
Reference in New Issue
Block a user