* maps - none of our changes included yet i'll get them in after i finish up the rest of the sync * sync part 1 - underscore folders in code * controllers folder * datums folder * game folder * cmon, work * modules - admin to awaymissions * cargo to events * fields to lighting * mapping > ruins * rest of the code folder * rest of the folders in the root directory * DME * fixes compiling errors. it compiles so it works * readds map changes * fixes dogborg module select * fixes typo in moduleselect_alternate_icon filepath
23 lines
740 B
Plaintext
23 lines
740 B
Plaintext
GLOBAL_VAR_INIT(terrorism, FALSE)
|
|
/client/proc/ak47s() // For when you just can't summon guns worthy of a firefight
|
|
if(!SSticker.HasRoundStarted())
|
|
alert("The game hasn't started yet!")
|
|
return
|
|
GLOB.terrorism = TRUE
|
|
|
|
for(var/mob/living/carbon/human/H in GLOB.player_list)
|
|
if(H.stat == DEAD || !(H.client))
|
|
continue
|
|
H.make_terrorism()
|
|
|
|
send_to_playing_players("<span class='boldannounce'><font size=6>MOTHER RUSSIA ARMS THE MOB!</font></span>")
|
|
|
|
/mob/living/carbon/human/proc/make_terrorism()
|
|
for(var/obj/item/I in held_items)
|
|
qdel(I)
|
|
var/obj/item/gun/energy/laser/LaserAK/AK = new(src)
|
|
if(!GLOB.terrorism)
|
|
AK.flags_1 |= ADMIN_SPAWNED_1 //To prevent announcing
|
|
put_in_hands(AK)
|
|
AK.pickup(src) //For the stun shielding
|