Removes All Weapons

This commit is contained in:
Fox McCloud
2018-04-15 16:25:56 -04:00
parent 8b576c4d42
commit 5c4aa9b3fd
1100 changed files with 17642 additions and 17666 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ proc/wabbajack(mob/living/M)
qdel(src)
else
var/obj/O = change
if(istype(O, /obj/item/weapon/gun))
if(istype(O, /obj/item/gun))
new /mob/living/simple_animal/hostile/mimic/copy/ranged(O.loc, O, firer)
else
new /mob/living/simple_animal/hostile/mimic/copy(O.loc, O, firer)
@@ -34,7 +34,7 @@
icon_state = "foamdart"
ammo_type = /obj/item/ammo_casing/caseless/foam_dart
range = 10
var/obj/item/weapon/pen/pen = null
var/obj/item/pen/pen = null
log_override = TRUE//it won't log even when there's a pen inside, but since the damage will be so low, I don't think there's any point in making it any more complex
/obj/item/projectile/bullet/reusable/foam_dart/handle_drop()
@@ -204,7 +204,7 @@
icon_state = "spark"
hitsound = "sparks"
damage = 0
var/obj/item/weapon/gun/energy/wormhole_projector/gun
var/obj/item/gun/energy/wormhole_projector/gun
color = "#33CCFF"
nodamage = TRUE
@@ -332,7 +332,7 @@
nodamage = 1
damage_type = BURN
flag = "melee"
var/obj/item/weapon/gun/stored_gun
var/obj/item/gun/stored_gun
/obj/item/projectile/mimic/New(loc, mimic_type)
..(loc)
@@ -346,7 +346,7 @@
/obj/item/projectile/mimic/on_hit(atom/target)
..()
var/turf/T = get_turf(src)
var/obj/item/weapon/gun/G = stored_gun
var/obj/item/gun/G = stored_gun
stored_gun = null
G.forceMove(T)
var/mob/living/simple_animal/hostile/mimic/copy/ranged/R = new /mob/living/simple_animal/hostile/mimic/copy/ranged(T, G, firer)