mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* let the madness in someone was cooking here * a smidgen of upodateds aaahaha woohooo * no speed up- for now hehe * accidentally made 2 oops * removes nodrop from mask no drip more like, ha, gotta write that one down somehwere... * bro really forgot to save why am I stupid * updates thing I forgot to update minor spell adjustment
13 lines
414 B
Plaintext
13 lines
414 B
Plaintext
/datum/component/ice_walk
|
|
var/mob/living/carbon/freezefoot
|
|
|
|
/datum/component/ice_walk/Initialize()
|
|
RegisterSignals(parent, list(COMSIG_MOVABLE_MOVED), PROC_REF(frostwalk))
|
|
freezefoot = parent
|
|
|
|
/datum/component/ice_walk/proc/frostwalk()
|
|
if(!freezefoot.resting && !freezefoot.buckled) //s l i d e
|
|
var/turf/open/OT = get_turf(freezefoot)
|
|
if(isopenturf(OT))
|
|
OT.MakeSlippery(TURF_WET_PERMAFROST, 10 SECONDS)
|