mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Shocking Grasp renamed Disintegrate. Effects are slightly changed and the target is turned into a pile of dust instead of gibbed.
Moved contents of oil.dmi into robots.dmi for consistency. Deleted oil.dmi. New alien gibs as well as gibing animations for monkeys, aliens, and robots. Disintegrate animations for monkeys, aliens, robots, and humans. Updated clean bot to remove robot and alien gibs/blood/oil. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@588 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
return
|
||||
*/
|
||||
|
||||
//Gibs.spread proc in gibs.dm
|
||||
|
||||
/obj/decal/cleanable/blood/gibs/proc/streak(var/list/directions)
|
||||
spawn (0)
|
||||
var/direction = pick(directions)
|
||||
@@ -23,6 +25,18 @@
|
||||
if (step_to(src, get_step(src, direction), 0))
|
||||
break
|
||||
|
||||
/obj/decal/cleanable/xenoblood/xgibs/proc/streak(var/list/directions)
|
||||
spawn (0)
|
||||
var/direction = pick(directions)
|
||||
for (var/i = 0, i < pick(1, 200; 2, 150; 3, 50; 4), i++)
|
||||
sleep(3)
|
||||
if (i > 0)
|
||||
var/obj/decal/cleanable/xenoblood/b = new /obj/decal/cleanable/xenoblood/xsplatter(src.loc)
|
||||
if (src.virus)
|
||||
b.virus = src.virus
|
||||
if (step_to(src, get_step(src, direction), 0))
|
||||
break
|
||||
|
||||
/obj/decal/cleanable/robot_debris/proc/streak(var/list/directions)
|
||||
spawn (0)
|
||||
var/direction = pick(directions)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//HUMANS
|
||||
|
||||
/proc/gibs(atom/location, var/datum/disease/virus)
|
||||
var/obj/decal/cleanable/blood/gibs/gib = null
|
||||
if(virus && virus.spread_type == SPECIAL)
|
||||
@@ -63,6 +65,75 @@
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
|
||||
//ALIENS
|
||||
//mostly carbon copy of the human code. N
|
||||
|
||||
/proc/xgibs(atom/location, var/datum/disease/virus)
|
||||
var/obj/decal/cleanable/xenoblood/xgibs/gib = null
|
||||
if(virus && virus.spread_type == SPECIAL)
|
||||
virus = null
|
||||
|
||||
// NORTH
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs(location)
|
||||
if (prob(30))
|
||||
gib.icon_state = "xgibup1"
|
||||
if(virus && prob(20))
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
gib.streak(list(NORTH, NORTHEAST, NORTHWEST))
|
||||
|
||||
// SOUTH
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs(location)
|
||||
if (prob(30))
|
||||
gib.icon_state = "xgibdown1"
|
||||
if(virus && prob(20))
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
gib.streak(list(SOUTH, SOUTHEAST, SOUTHWEST))
|
||||
|
||||
// WEST
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs(location)
|
||||
if(virus && prob(20))
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
gib.streak(list(WEST, NORTHWEST, SOUTHWEST))
|
||||
|
||||
// EAST
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs(location)
|
||||
if(virus)
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
gib.streak(list(EAST, NORTHEAST, SOUTHEAST))
|
||||
|
||||
// RANDOM BODY
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs/body(location)
|
||||
if(virus && prob(20))
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
gib.streak(alldirs)
|
||||
|
||||
// RANDOM LIMBS
|
||||
for (var/i = 0, i < pick(0, 1, 2), i++)
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs/limb(location)
|
||||
if(virus && prob(20))
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
gib.streak(alldirs)
|
||||
|
||||
// CORE
|
||||
gib = new /obj/decal/cleanable/xenoblood/xgibs/core(location)
|
||||
if(virus && prob(20))
|
||||
gib.virus = new virus.type
|
||||
gib.virus.holder = gib
|
||||
gib.virus.spread_type = CONTACT_FEET
|
||||
|
||||
//ROBOTS
|
||||
/proc/robogibs(atom/location, var/datum/disease/virus)
|
||||
var/obj/decal/cleanable/robot_debris/gib = null
|
||||
if(virus && virus.spread_type == SPECIAL)
|
||||
|
||||
Reference in New Issue
Block a user