mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
Solars should work a bit better now. Removed the old shield item as it has not been used in forever and was cluttering up some of the mob code. IonRifle only has 5 shots before it needs to be reloaded down from 10. Lowered the weakbullet's stun to match the taser. You can no longer recall the shuttle on meteor. Fixed a bug I caused on rev where if the revs were in space and dead it would count them as living. Bit of blob work. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2220 316c924e-a436-60f5-8080-3fe189b3f50e
36 lines
804 B
Plaintext
36 lines
804 B
Plaintext
//These could likely use an Onhit proc
|
|
/obj/item/projectile/ion
|
|
name = "ion bolt"
|
|
icon_state = "ion"
|
|
flag = "taser"//Need to check this
|
|
damage = 0
|
|
nodamage = 1
|
|
New()
|
|
..()
|
|
effects["emp"] = 1
|
|
effectprob["emp"] = 80
|
|
|
|
/obj/item/projectile/freeze
|
|
name = "freeze beam"
|
|
icon_state = "ice_2"
|
|
damage = 0
|
|
var/temperature = 0
|
|
|
|
proc/Freeze(atom/A as mob|obj|turf|area)
|
|
if(istype(A, /mob))
|
|
var/mob/M = A
|
|
if(M.bodytemperature > temperature)
|
|
M.bodytemperature = temperature
|
|
|
|
/obj/item/projectile/plasma
|
|
name = "plasma blast"
|
|
icon_state = "plasma_2"
|
|
damage = 0
|
|
var/temperature = 800
|
|
|
|
proc/Heat(atom/A as mob|obj|turf|area)
|
|
if(istype(A, /mob/living/carbon))
|
|
var/mob/M = A
|
|
if(M.bodytemperature < temperature)
|
|
M.bodytemperature = temperature
|