mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 10:23:15 +00:00
- Fixes odd behavior with emagging airlock and windoor animation. - Fixes being able to bloodcrawl in oil decal. - Fixes being deaf after bloodcrawling. - Fixes wintercoat hood appearing below the mask. - Fixes being able to attack another mob before the game has started (and other things which used a gamestart check that no longer works). - Ghosts can no longer become drones before the game has started. - Removed "bhunger" and "ajourn" mob vars, they are unused. - Fixes admin-revived morph being invisible. - Fixes heart attack stacking losebreath very high. Also now losebreath is reset to 0 when the mob dies. - All mobs no longer have a default strip menu showing two hands.
61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
|
|
/*
|
|
|
|
Contents:
|
|
- Admin procs that make ninjas
|
|
|
|
*/
|
|
|
|
|
|
//ADMIN CREATE NINJA (From Player)
|
|
/client/proc/cmd_admin_ninjafy(mob/living/carbon/human/H in player_list)
|
|
set category = null
|
|
set name = "Make Space Ninja"
|
|
|
|
if (!ticker.mode)
|
|
alert("Wait until the game starts")
|
|
return
|
|
|
|
if(!istype(H))
|
|
return
|
|
|
|
if(alert(src, "You sure?", "Confirm", "Yes", "No") != "Yes")
|
|
return
|
|
|
|
log_admin("[key_name(src)] turned [H.key] into a Space Ninja.")
|
|
H.mind = create_ninja_mind(H.key)
|
|
H.mind_initialize()
|
|
H.equip_space_ninja(1)
|
|
if(istype(H.wear_suit, /obj/item/clothing/suit/space/space_ninja))
|
|
H.wear_suit:randomize_param()
|
|
spawn(0)
|
|
H.wear_suit:ninitialize(10,H)
|
|
|
|
|
|
//ADMIN CREATE NINJA (From Ghost)
|
|
/client/proc/send_space_ninja()
|
|
set category = "Fun"
|
|
set name = "Spawn Space Ninja"
|
|
set desc = "Spawns a space ninja for when you need a teenager with attitude."
|
|
set popup_menu = 0
|
|
|
|
if(!holder)
|
|
src << "Only administrators may use this command."
|
|
return
|
|
if(!ticker.mode)
|
|
alert("The game hasn't started yet!")
|
|
return
|
|
if(alert("Are you sure you want to send in a space ninja?",,"Yes","No")=="No")
|
|
return
|
|
|
|
var/client/C = input("Pick character to spawn as the Space Ninja", "Key", "") as null|anything in clients
|
|
if(!C)
|
|
return
|
|
|
|
var/datum/round_event/ninja/E = new /datum/round_event/ninja()
|
|
E.key=C.key
|
|
|
|
message_admins("<span class='notice'>[key_name_admin(key)] has spawned [key_name_admin(C.key)] as a Space Ninja.</span>")
|
|
log_admin("[key] used Spawn Space Ninja.")
|
|
|
|
return |