* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
/obj/effect/decal
|
|
name = "decal"
|
|
anchored = 1
|
|
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
|
|
|
|
/obj/effect/decal/ex_act(severity, target)
|
|
qdel(src)
|
|
|
|
/obj/effect/decal/fire_act(exposed_temperature, exposed_volume)
|
|
if(!(resistance_flags & FIRE_PROOF)) //non fire proof decal or being burned by lava
|
|
qdel(src)
|
|
|
|
/obj/effect/decal/HandleTurfChange(turf/T)
|
|
..()
|
|
if(T == loc && (isspaceturf(T) || isclosedturf(T) || islava(T) || istype(T, /turf/open/water) || istype(T, /turf/open/chasm)))
|
|
qdel(src)
|
|
|
|
/obj/effect/turf_decal
|
|
var/group = TURF_DECAL_PAINT
|
|
icon = 'icons/turf/decals.dmi'
|
|
icon_state = "warningline"
|
|
anchored = 1
|
|
|
|
//in case we need some special decals
|
|
/obj/effect/turf_decal/proc/get_decal()
|
|
return image(icon='icons/turf/decals.dmi',icon_state=icon_state,dir=dir,layer=TURF_LAYER)
|
|
|
|
/obj/effect/turf_decal/Initialize(mapload)
|
|
var/turf/T = loc
|
|
if(!istype(T)) //you know this will happen somehow
|
|
CRASH("Turf decal initialized in an object/nullspace")
|
|
T.add_decal(get_decal(),group)
|
|
qdel(src)
|
|
|
|
|
|
/obj/effect/turf_decal/stripes/line
|
|
icon_state = "warningline"
|
|
|
|
/obj/effect/turf_decal/stripes/end
|
|
icon_state = "warn_end"
|
|
|
|
/obj/effect/turf_decal/stripes/corner
|
|
icon_state = "warninglinecorner"
|
|
|
|
/obj/effect/turf_decal/stripes/asteroid/line
|
|
icon_state = "ast_warn"
|
|
|
|
/obj/effect/turf_decal/stripes/asteroid/end
|
|
icon_state = "ast_warn_end"
|
|
|
|
/obj/effect/turf_decal/stripes/asteroid/corner
|
|
icon_state = "ast_warn_corner"
|
|
|
|
/obj/effect/turf_decal/delivery
|
|
icon_state = "delivery"
|
|
|
|
/obj/effect/turf_decal/bot
|
|
icon_state = "bot"
|
|
|
|
/obj/effect/turf_decal/loading_area
|
|
icon_state = "loading_area"
|
|
|
|
/obj/effect/turf_decal/sand
|
|
icon_state = "sandyfloor"
|
|
|
|
/obj/effect/turf_decal/sand/plating
|
|
icon_state = "sandyplating" |