mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Lawyer now has a purple suit and the job has two slots.
Lowered the number of spare jumpsuits in most of the lockers from 6 to 3. The old arrival message is now back in. Finished the Ion Rifle and added one to the armory. Might need to change it up a bit depending on how well it works. Bullet_act worked on a bit, EMP effects should work now. Cyborgs are stunned by EMPs. Raised the changelings required genome number for multichan at the request of Urist. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2175 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
/obj/alien/egg/bullet_act(var/obj/item/projectile/Proj)
|
||||
health -= Proj.damage
|
||||
..()
|
||||
healthcheck()
|
||||
return
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
|
||||
bullet_act(var/obj/item/projectile/Proj)
|
||||
health -= round(Proj.damage / 2)
|
||||
..()
|
||||
healthcheck()
|
||||
|
||||
ex_act(severity)
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
/obj/alien/resin/bullet_act(var/obj/item/projectile/Proj)
|
||||
health -= Proj.damage
|
||||
..()
|
||||
healthcheck()
|
||||
return
|
||||
|
||||
|
||||
@@ -103,25 +103,13 @@
|
||||
del(src)
|
||||
|
||||
/obj/closet/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
/* Just in case someone gives closets health
|
||||
if (flag == PROJECTILE_BULLET)
|
||||
src.health -= 1
|
||||
src.healthcheck()
|
||||
return
|
||||
if (flag != PROJECTILE_LASER)
|
||||
src.health -= 3
|
||||
src.healthcheck()
|
||||
return
|
||||
else
|
||||
src.health -= 5
|
||||
src.healthcheck()
|
||||
return
|
||||
*/
|
||||
if(prob(40) && istype(Proj, /obj/item/projectile/beam/pulse))
|
||||
health -= Proj.damage
|
||||
..()
|
||||
if(health <= 0)
|
||||
for (var/atom/movable/A as mob|obj in src)
|
||||
A.loc = src.loc
|
||||
del(src)
|
||||
|
||||
return
|
||||
|
||||
// this should probably use dump_contents()
|
||||
|
||||
@@ -1,16 +1,10 @@
|
||||
/obj/closet/wardrobe/New()
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/under/color/blue(src)
|
||||
new /obj/item/clothing/under/color/blue(src)
|
||||
new /obj/item/clothing/under/color/blue(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/red/New()
|
||||
@@ -29,208 +23,147 @@
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/pink/New()
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/under/color/pink(src)
|
||||
new /obj/item/clothing/under/color/pink(src)
|
||||
new /obj/item/clothing/under/color/pink(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/black/New()
|
||||
new /obj/item/clothing/under/color/black( src )
|
||||
new /obj/item/clothing/under/color/black( src )
|
||||
new /obj/item/clothing/under/color/black( src )
|
||||
new /obj/item/clothing/under/color/black( src )
|
||||
new /obj/item/clothing/under/color/black( src )
|
||||
new /obj/item/clothing/under/color/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/head/that( src )
|
||||
new /obj/item/clothing/head/that( src )
|
||||
new /obj/item/clothing/head/that( src )
|
||||
new /obj/item/clothing/under/color/black(src)
|
||||
new /obj/item/clothing/under/color/black(src)
|
||||
new /obj/item/clothing/under/color/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/head/that(src)
|
||||
new /obj/item/clothing/head/that(src)
|
||||
new /obj/item/clothing/head/that(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/chaplain_black/New()
|
||||
//new /obj/item/clothing/suit/imperium_monk( src ) //No. -- Urist
|
||||
new /obj/item/clothing/under/rank/chaplain( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/suit/nun( src )
|
||||
new /obj/item/clothing/suit/chaplain_hoodie( src )
|
||||
new /obj/item/clothing/head/chaplain_hood( src )
|
||||
new /obj/item/clothing/suit/holidaypriest( src )
|
||||
new /obj/item/clothing/suit/hastur ( src )
|
||||
new /obj/item/clothing/head/hasturhood ( src )
|
||||
new /obj/item/weapon/candlepack( src )
|
||||
new /obj/item/weapon/candlepack( src )
|
||||
//new /obj/item/clothing/suit/imperium_monk(src) //No. -- Urist
|
||||
new /obj/item/clothing/under/rank/chaplain(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/suit/nun(src)
|
||||
new /obj/item/clothing/suit/chaplain_hoodie(src)
|
||||
new /obj/item/clothing/head/chaplain_hood(src)
|
||||
new /obj/item/clothing/suit/holidaypriest(src)
|
||||
new /obj/item/clothing/suit/hastur (src)
|
||||
new /obj/item/clothing/head/hasturhood (src)
|
||||
new /obj/item/weapon/candlepack(src)
|
||||
new /obj/item/weapon/candlepack(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/green/New()
|
||||
new /obj/item/clothing/under/color/green( src )
|
||||
new /obj/item/clothing/under/color/green( src )
|
||||
new /obj/item/clothing/under/color/green( src )
|
||||
new /obj/item/clothing/under/color/green( src )
|
||||
new /obj/item/clothing/under/color/green( src )
|
||||
new /obj/item/clothing/under/color/green( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/under/color/green(src)
|
||||
new /obj/item/clothing/under/color/green(src)
|
||||
new /obj/item/clothing/under/color/green(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/orange/New()
|
||||
new /obj/item/clothing/under/color/orange( src )
|
||||
new /obj/item/clothing/under/color/orange( src )
|
||||
new /obj/item/clothing/under/color/orange( src )
|
||||
new /obj/item/clothing/under/color/orange( src )
|
||||
new /obj/item/clothing/under/color/orange( src )
|
||||
new /obj/item/clothing/under/color/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/under/color/orange(src)
|
||||
new /obj/item/clothing/under/color/orange(src)
|
||||
new /obj/item/clothing/under/color/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/yellow/New()
|
||||
new /obj/item/clothing/under/color/yellow( src )
|
||||
new /obj/item/clothing/under/color/yellow( src )
|
||||
new /obj/item/clothing/under/color/yellow( src )
|
||||
new /obj/item/clothing/under/color/yellow( src )
|
||||
new /obj/item/clothing/under/color/yellow( src )
|
||||
new /obj/item/clothing/under/color/yellow( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/under/color/yellow(src)
|
||||
new /obj/item/clothing/under/color/yellow(src)
|
||||
new /obj/item/clothing/under/color/yellow(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/atmospherics_yellow/New()
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician( src )
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician( src )
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician( src )
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician( src )
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician( src )
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician(src)
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician(src)
|
||||
new /obj/item/clothing/under/rank/atmospheric_technician(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/engineering_yellow/New()
|
||||
new /obj/item/clothing/under/rank/engineer( src )
|
||||
new /obj/item/clothing/under/rank/engineer( src )
|
||||
new /obj/item/clothing/under/rank/engineer( src )
|
||||
new /obj/item/clothing/under/rank/engineer( src )
|
||||
new /obj/item/clothing/under/rank/engineer( src )
|
||||
new /obj/item/clothing/under/rank/engineer( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/shoes/orange( src )
|
||||
new /obj/item/clothing/under/rank/engineer(src)
|
||||
new /obj/item/clothing/under/rank/engineer(src)
|
||||
new /obj/item/clothing/under/rank/engineer(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
new /obj/item/clothing/shoes/orange(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/white/New()
|
||||
new /obj/item/clothing/under/color/white( src )
|
||||
new /obj/item/clothing/under/color/white( src )
|
||||
new /obj/item/clothing/under/color/white( src )
|
||||
new /obj/item/clothing/under/color/white( src )
|
||||
new /obj/item/clothing/under/color/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
//new /obj/item/weapon/storage/stma_kit( src )
|
||||
//new /obj/item/clothing/suit/labcoat(src)
|
||||
//new /obj/item/clothing/suit/labcoat(src)
|
||||
//new /obj/item/clothing/suit/labcoat(src)
|
||||
new /obj/item/clothing/under/color/white(src)
|
||||
new /obj/item/clothing/under/color/white(src)
|
||||
new /obj/item/clothing/under/color/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/toxins_white/New()
|
||||
new /obj/item/clothing/under/rank/scientist( src )
|
||||
new /obj/item/clothing/under/rank/scientist( src )
|
||||
new /obj/item/clothing/under/rank/scientist( src )
|
||||
new /obj/item/clothing/under/rank/scientist( src )
|
||||
new /obj/item/clothing/under/rank/scientist( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/weapon/storage/stma_kit( src )
|
||||
new /obj/item/clothing/under/rank/scientist(src)
|
||||
new /obj/item/clothing/under/rank/scientist(src)
|
||||
new /obj/item/clothing/under/rank/scientist(src)
|
||||
new /obj/item/clothing/suit/labcoat(src)
|
||||
new /obj/item/clothing/suit/labcoat(src)
|
||||
new /obj/item/clothing/suit/labcoat(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/genetics_white/New()
|
||||
new /obj/item/clothing/under/rank/geneticist( src )
|
||||
new /obj/item/clothing/under/rank/geneticist( src )
|
||||
new /obj/item/clothing/under/rank/geneticist( src )
|
||||
new /obj/item/clothing/under/rank/geneticist( src )
|
||||
new /obj/item/clothing/under/rank/geneticist( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/clothing/shoes/white( src )
|
||||
new /obj/item/weapon/storage/stma_kit( src )
|
||||
new /obj/item/clothing/under/rank/geneticist(src)
|
||||
new /obj/item/clothing/under/rank/geneticist(src)
|
||||
new /obj/item/clothing/under/rank/geneticist(src)
|
||||
new /obj/item/clothing/under/rank/geneticist(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
new /obj/item/weapon/storage/stma_kit(src)
|
||||
new /obj/item/clothing/suit/labcoat(src)
|
||||
new /obj/item/clothing/suit/labcoat(src)
|
||||
new /obj/item/clothing/suit/labcoat(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/grey/New()
|
||||
new /obj/item/clothing/under/color/grey( src )
|
||||
new /obj/item/clothing/under/color/grey( src )
|
||||
new /obj/item/clothing/under/color/grey( src )
|
||||
new /obj/item/clothing/under/color/grey( src )
|
||||
new /obj/item/clothing/under/color/grey( src )
|
||||
new /obj/item/clothing/under/color/grey( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/shoes/black( src )
|
||||
new /obj/item/clothing/under/color/grey(src)
|
||||
new /obj/item/clothing/under/color/grey(src)
|
||||
new /obj/item/clothing/under/color/grey(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
return
|
||||
|
||||
/obj/closet/wardrobe/mixed/New()
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/blue( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/under/color/pink( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
new /obj/item/clothing/shoes/brown( src )
|
||||
return
|
||||
/obj/closet/lawcloset/New()
|
||||
new /obj/item/clothing/under/lawyer/black( src )
|
||||
new /obj/item/clothing/under/lawyer/red ( src )
|
||||
new /obj/item/clothing/under/lawyer/blue ( src )
|
||||
new /obj/item/clothing/under/color/white(src)
|
||||
new /obj/item/clothing/under/color/blue(src)
|
||||
new /obj/item/clothing/under/color/yellow(src)
|
||||
new /obj/item/clothing/under/color/green(src)
|
||||
new /obj/item/clothing/under/color/orange(src)
|
||||
new /obj/item/clothing/under/color/pink(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
new /obj/item/clothing/shoes/white(src)
|
||||
return
|
||||
|
||||
/obj/closet/lawcloset/New()
|
||||
new /obj/item/clothing/under/lawyer/black(src)
|
||||
new /obj/item/clothing/under/lawyer/red(src)
|
||||
new /obj/item/clothing/under/lawyer/bluesuit(src)
|
||||
new /obj/item/clothing/suit/lawyer/bluejacket(src)
|
||||
new /obj/item/clothing/under/lawyer/purpsuit(src)
|
||||
new /obj/item/clothing/suit/lawyer/purpjacket(src)
|
||||
new /obj/item/clothing/shoes/brown(src)
|
||||
new /obj/item/clothing/shoes/black(src)
|
||||
new /obj/item/weapon/storage/briefcase(src)
|
||||
new /obj/item/weapon/storage/briefcase(src)
|
||||
@@ -20,6 +20,7 @@
|
||||
bullet_act()
|
||||
for(var/mob/M in src)
|
||||
M << "\red Your chameleon-projector deactivates."
|
||||
..()
|
||||
master.disrupt()
|
||||
relaymove(var/mob/user, direction)
|
||||
if(can_move)
|
||||
|
||||
@@ -15,16 +15,12 @@
|
||||
src.health -= 5
|
||||
src.healthcheck()
|
||||
|
||||
/obj/displaycase/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
if (Proj.flag == "bullet")
|
||||
src.health -= 10
|
||||
src.healthcheck()
|
||||
return
|
||||
else
|
||||
src.health -= 4
|
||||
src.healthcheck()
|
||||
return
|
||||
/obj/displaycase/bullet_act(var/obj/item/projectile/Proj)
|
||||
health -= Proj.damage
|
||||
..()
|
||||
src.healthcheck()
|
||||
return
|
||||
|
||||
|
||||
/obj/displaycase/blob_act()
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
effectprob["weak"] = 25
|
||||
|
||||
ion
|
||||
name = "electrode"
|
||||
name = "ion bolt"
|
||||
icon_state = "ice_2"
|
||||
flag = "taser"
|
||||
damage = 0
|
||||
@@ -188,6 +188,7 @@
|
||||
New()
|
||||
..()
|
||||
effects["emp"] = 1
|
||||
effectprob["emp"] = 80
|
||||
|
||||
stunshot
|
||||
name = "stunshot"
|
||||
@@ -1249,7 +1250,7 @@
|
||||
desc = "A man portable anti-armor weapon designed to disable mechanical threats"
|
||||
icon_state = "ionrifle"
|
||||
fire_sound = 'Laser.ogg'
|
||||
origin_tech = null
|
||||
origin_tech = "combat=3;magnets=2"//This could likely be changed up a bit
|
||||
charge_cost = 100
|
||||
|
||||
load_into_chamber()
|
||||
|
||||
@@ -124,18 +124,13 @@ STUN BATON
|
||||
M.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been attacked with [src.name] by [user.name] ([user.ckey]) (INTENT: [uppertext(user.a_intent)])</font>")
|
||||
user.attack_log += text("\[[time_stamp()]\] <font color='red'>Used the [src.name] to attack [M.name] ([M.ckey]) (INTENT: [uppertext(user.a_intent)])</font>")
|
||||
|
||||
if(isrobot(M))
|
||||
..()
|
||||
return
|
||||
|
||||
if (status == 0 || (status == 1 && charges ==0))
|
||||
if(user.a_intent == "hurt")
|
||||
if(!..()) return
|
||||
/* if (!istype(H:r_hand, /obj/item/weapon/shield/riot) && prob(40))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if (O.client) O.show_message(text("\red <B>[] has blocked []'s stun baton with the riot shield!</B>", M, user), 1, "\red You hear a cracking sound", 2)
|
||||
return
|
||||
if (!istype(H:l_hand, /obj/item/weapon/shield/riot) && prob(40))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if (O.client) O.show_message(text("\red <B>[] has blocked []'s stun baton with the riot shield!</B>", M, user), 1, "\red You hear a cracking sound", 2)
|
||||
return*/
|
||||
if (M.weakened < 5 && (!(M.mutations & HULK)) /*&& (!istype(H:wear_suit, /obj/item/clothing/suit/judgerobe))*/)
|
||||
M.weakened = 5
|
||||
for(var/mob/O in viewers(M))
|
||||
@@ -153,14 +148,6 @@ STUN BATON
|
||||
flick("baton_active", src)
|
||||
if (user.a_intent == "hurt")
|
||||
if(!..()) return
|
||||
/* if (!istype(H:r_hand, /obj/item/weapon/shield/riot) && prob(40))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if (O.client) O.show_message(text("\red <B>[] has blocked []'s stun baton with the riot shield!</B>", M, user), 1, "\red You hear a cracking sound", 2)
|
||||
return
|
||||
if (!istype(H:l_hand, /obj/item/weapon/shield/riot) && prob(40))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if (O.client) O.show_message(text("\red <B>[] has blocked []'s stun baton with the riot shield!</B>", M, user), 1, "\red You hear a cracking sound", 2)
|
||||
return*/
|
||||
playsound(src.loc, 'Genhit.ogg', 50, 1, -1)
|
||||
if(isrobot(user))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
@@ -174,14 +161,6 @@ STUN BATON
|
||||
if (M.stunned < 1 && (!(M.mutations & HULK)) /*&& (!istype(H:wear_suit, /obj/item/clothing/suit/judgerobe))*/)
|
||||
M.stunned = 1
|
||||
else
|
||||
/* if (!istype(H:r_hand, /obj/item/weapon/shield/riot) && prob(40))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if (O.client) O.show_message(text("\red <B>[] has blocked []'s stun baton with the riot shield!</B>", M, user), 1, "\red You hear a cracking sound", 2)
|
||||
return
|
||||
if (!istype(H:l_hand, /obj/item/weapon/shield/riot) && prob(40))
|
||||
for(var/mob/O in viewers(M, null))
|
||||
if (O.client) O.show_message(text("\red <B>[] has blocked []'s stun baton with the riot shield!</B>", M, user), 1, "\red You hear a cracking sound", 2)
|
||||
return*/
|
||||
playsound(src.loc, 'Egloves.ogg', 50, 1, -1)
|
||||
if(isrobot(user))
|
||||
var/mob/living/silicon/robot/R = user
|
||||
|
||||
@@ -29,16 +29,12 @@
|
||||
src.health -= 5
|
||||
src.healthcheck()
|
||||
|
||||
/obj/lamarr/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
if (Proj.flag == "bullet")
|
||||
src.health -= 10
|
||||
src.healthcheck()
|
||||
return
|
||||
else
|
||||
src.health -= 4
|
||||
src.healthcheck()
|
||||
return
|
||||
/obj/lamarr/bullet_act(var/obj/item/projectile/Proj)
|
||||
health -= Proj.damage
|
||||
..()
|
||||
src.healthcheck()
|
||||
return
|
||||
|
||||
|
||||
/obj/lamarr/blob_act()
|
||||
|
||||
@@ -137,21 +137,9 @@
|
||||
return
|
||||
|
||||
/obj/secure_closet/bullet_act(var/obj/item/projectile/Proj)
|
||||
/* Just in case someone gives closets health
|
||||
if (flag == PROJECTILE_BULLET)
|
||||
src.health -= 1
|
||||
src.healthcheck()
|
||||
return
|
||||
if (flag != PROJECTILE_LASER)
|
||||
src.health -= 3
|
||||
src.healthcheck()
|
||||
return
|
||||
else
|
||||
src.health -= 5
|
||||
src.healthcheck()
|
||||
return
|
||||
*/
|
||||
if(prob(1.5))
|
||||
health -= Proj.damage
|
||||
..()
|
||||
if(health <= 0)
|
||||
for (var/atom/movable/A as mob|obj in src)
|
||||
A.loc = src.loc
|
||||
del(src)
|
||||
|
||||
@@ -121,12 +121,6 @@
|
||||
//PROJECTILE_BOLT = 5 crossbow
|
||||
//PROJECTILE_WEAKBULLET = 6 detective's revolver
|
||||
|
||||
/atom/proc/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(istype(Proj ,/obj/item/projectile/beam/pulse))
|
||||
src.ex_act(2)
|
||||
return
|
||||
|
||||
|
||||
/turf/Entered(atom/A as mob|obj)
|
||||
..()
|
||||
if ((A && A.density && !( istype(A, /obj/beam) )))
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
/obj/window/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(Proj.flag == "bullet")
|
||||
if(!reinf)
|
||||
new /obj/item/weapon/shard( src.loc )
|
||||
//SN src = null
|
||||
src.density = 0
|
||||
|
||||
del(src)
|
||||
else
|
||||
health -= Proj.damage
|
||||
if(health <=0)
|
||||
new /obj/item/weapon/shard( src.loc )
|
||||
new /obj/item/stack/rods( src.loc )
|
||||
src.density = 0
|
||||
del(src)
|
||||
|
||||
health -= Proj.damage
|
||||
..()
|
||||
if(health <=0)
|
||||
new /obj/item/weapon/shard( src.loc )
|
||||
new /obj/item/stack/rods( src.loc )
|
||||
src.density = 0
|
||||
del(src)
|
||||
return
|
||||
|
||||
/obj/window/ex_act(severity)
|
||||
|
||||
Reference in New Issue
Block a user