mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 19:43:16 +00:00
Removed the wizard's Nar-Sie grav pull entirely to reduce lag/it is strong enough as is. Fixed the gyrojet projectile name Removed the ion rifle from the armoury git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3272 316c924e-a436-60f5-8080-3fe189b3f50e
55 lines
2.2 KiB
Plaintext
55 lines
2.2 KiB
Plaintext
|
|
|
|
/client/proc/rightandwrong()
|
|
set category = "Spells"
|
|
set desc = "Summon Guns"
|
|
set name = "Wizards: No sense of right and wrong!"
|
|
|
|
for(var/mob/living/carbon/human/H in world)
|
|
if(H.stat == 2 || !(H.client)) continue
|
|
if(is_special_character(H)) continue
|
|
if(prob(25))
|
|
ticker.mode.traitors += H.mind
|
|
H.mind.special_role = "traitor"
|
|
var/datum/objective/survive/survive = new
|
|
survive.owner = H.mind
|
|
H.mind.objectives += survive
|
|
H << "<B>You are the survivor! Your own safety matters above all else, trust no one and kill anyone who gets in your way. However, armed as you are, now would be the perfect time to settle that score or grab that pair of yellow gloves you've been eyeing...</B>"
|
|
var/obj_count = 1
|
|
for(var/datum/objective/OBJ in H.mind.objectives)
|
|
H << "<B>Objective #[obj_count]</B>: [OBJ.explanation_text]"
|
|
obj_count++
|
|
var/randomize = pick("taser","egun","laser","revolver","smg","decloner","deagle","gyrojet","pulse","silenced","cannon","shotgun","freeze","uzi","crossbow")
|
|
switch (randomize)
|
|
if("taser")
|
|
new /obj/item/weapon/gun/energy/taser(get_turf(H))
|
|
if("egun")
|
|
new /obj/item/weapon/gun/energy(get_turf(H))
|
|
if("laser")
|
|
new /obj/item/weapon/gun/energy/laser(get_turf(H))
|
|
if("revolver")
|
|
new /obj/item/weapon/gun/projectile(get_turf(H))
|
|
if("smg")
|
|
new /obj/item/weapon/gun/projectile/automatic/c20r(get_turf(H))
|
|
if("decloner")
|
|
new /obj/item/weapon/gun/energy/decloner(get_turf(H))
|
|
if("deagle")
|
|
new /obj/item/weapon/gun/projectile/deagle/camo(get_turf(H))
|
|
if("gyrojet")
|
|
new /obj/item/weapon/gun/projectile/gyropistol(get_turf(H))
|
|
if("pulse")
|
|
new /obj/item/weapon/gun/energy/pulse_rifle(get_turf(H))
|
|
if("silenced")
|
|
new /obj/item/weapon/gun/projectile/silenced(get_turf(H))
|
|
if("cannon")
|
|
new /obj/item/weapon/gun/energy/lasercannon(get_turf(H))
|
|
if("shotgun")
|
|
new /obj/item/weapon/gun/projectile/shotgun/combat(get_turf(H))
|
|
if("freeze")
|
|
new /obj/item/weapon/gun/energy/temperature(get_turf(H))
|
|
if("uzi")
|
|
new /obj/item/weapon/gun/projectile/automatic/mini_uzi(get_turf(H))
|
|
if("crossbow")
|
|
new /obj/item/weapon/gun/energy/crossbow(get_turf(H))
|
|
usr.verbs -= /client/proc/rightandwrong
|