mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-28 02:52:28 +00:00
- Removed the obnoxious message blue and red colors which was shown when hydroponics trays were overran by weeds. The message is now blue and has a dot at the end, instead of an exclamation point. - Made '/obj/effect/debugging/marker' immovable. It was silly that it reacted to air movement. - Standardized mapping.dm - Removed the round-end condition of "Everyone is dead! Resetting in 30 seconds!" git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4415 316c924e-a436-60f5-8080-3fe189b3f50e
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
//This is the proc for gibbing a mob. Cannot gib ghosts.
|
|
//added different sort of gibs and animations. N
|
|
/mob/proc/gib()
|
|
death(1)
|
|
var/atom/movable/overlay/animation = null
|
|
monkeyizing = 1
|
|
canmove = 0
|
|
icon = null
|
|
invisibility = 101
|
|
|
|
animation = new(loc)
|
|
animation.icon_state = "blank"
|
|
animation.icon = 'icons/mob/mob.dmi'
|
|
animation.master = src
|
|
|
|
// flick("gibbed-m", animation)
|
|
gibs(loc, viruses, dna)
|
|
|
|
dead_mob_list -= src
|
|
spawn(15)
|
|
if(animation) del(animation)
|
|
if(src) del(src)
|
|
|
|
|
|
//This is the proc for turning a mob into ash. Mostly a copy of gib code (above).
|
|
//Originally created for wizard disintegrate. I've removed the virus code since it's irrelevant here.
|
|
//Dusting robots does not eject the MMI, so it's a bit more powerful than gib() /N
|
|
/mob/proc/dust()
|
|
death(1)
|
|
var/atom/movable/overlay/animation = null
|
|
monkeyizing = 1
|
|
canmove = 0
|
|
icon = null
|
|
invisibility = 101
|
|
|
|
animation = new(loc)
|
|
animation.icon_state = "blank"
|
|
animation.icon = 'icons/mob/mob.dmi'
|
|
animation.master = src
|
|
|
|
// flick("dust-m", animation)
|
|
new /obj/effect/decal/cleanable/ash(loc)
|
|
|
|
dead_mob_list -= src
|
|
spawn(15)
|
|
if(animation) del(animation)
|
|
if(src) del(src)
|
|
|
|
|
|
/mob/proc/death(gibbed)
|
|
timeofdeath = world.time
|
|
|
|
living_mob_list -= src
|
|
dead_mob_list += src
|
|
return ..(gibbed)
|