mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Moved the "spawn strike team" verb stuff into the secrets panel (fun).
Added a birthday cake to the bar for Pete's birthday *shhh* git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5045 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -416,6 +416,7 @@ var/global/floorIsLava = 0
|
|||||||
<A href='?src=\ref[src];secretsfun=aliens'>Trigger an Alien infestation</A><BR>
|
<A href='?src=\ref[src];secretsfun=aliens'>Trigger an Alien infestation</A><BR>
|
||||||
<A href='?src=\ref[src];secretsfun=alien_silent'>Spawn an Alien silently</A><BR>
|
<A href='?src=\ref[src];secretsfun=alien_silent'>Spawn an Alien silently</A><BR>
|
||||||
<A href='?src=\ref[src];secretsfun=spaceninja'>Send in a space ninja</A><BR>
|
<A href='?src=\ref[src];secretsfun=spaceninja'>Send in a space ninja</A><BR>
|
||||||
|
<A href='?src=\ref[src];secretsfun=striketeam'>Send in a strike team</A><BR>
|
||||||
<A href='?src=\ref[src];secretsfun=carp'>Trigger an Carp migration</A><BR>
|
<A href='?src=\ref[src];secretsfun=carp'>Trigger an Carp migration</A><BR>
|
||||||
<A href='?src=\ref[src];secretsfun=radiation'>Irradiate the station</A><BR>
|
<A href='?src=\ref[src];secretsfun=radiation'>Irradiate the station</A><BR>
|
||||||
<A href='?src=\ref[src];secretsfun=prison_break'>Trigger a Prison Break</A><BR>
|
<A href='?src=\ref[src];secretsfun=prison_break'>Trigger a Prison Break</A><BR>
|
||||||
|
|||||||
@@ -71,7 +71,6 @@ var/list/admin_verbs_fun = list(
|
|||||||
/client/proc/cmd_admin_dress,
|
/client/proc/cmd_admin_dress,
|
||||||
/client/proc/cmd_admin_gib_self,
|
/client/proc/cmd_admin_gib_self,
|
||||||
/client/proc/drop_bomb,
|
/client/proc/drop_bomb,
|
||||||
/client/proc/strike_team,
|
|
||||||
/client/proc/cinematic,
|
/client/proc/cinematic,
|
||||||
/client/proc/triple_ai,
|
/client/proc/triple_ai,
|
||||||
/client/proc/one_click_antag,
|
/client/proc/one_click_antag,
|
||||||
@@ -168,7 +167,6 @@ var/list/admin_verbs_hideable = list(
|
|||||||
/client/proc/cmd_admin_dress,
|
/client/proc/cmd_admin_dress,
|
||||||
/client/proc/cmd_admin_gib_self,
|
/client/proc/cmd_admin_gib_self,
|
||||||
/client/proc/drop_bomb,
|
/client/proc/drop_bomb,
|
||||||
/client/proc/strike_team,
|
|
||||||
/client/proc/cinematic,
|
/client/proc/cinematic,
|
||||||
/client/proc/triple_ai,
|
/client/proc/triple_ai,
|
||||||
/datum/admins/proc/toggle_aliens,
|
/datum/admins/proc/toggle_aliens,
|
||||||
|
|||||||
@@ -1595,6 +1595,10 @@
|
|||||||
spawn(0)
|
spawn(0)
|
||||||
H.corgize()
|
H.corgize()
|
||||||
ok = 1
|
ok = 1
|
||||||
|
if("striketeam")
|
||||||
|
if(usr.client.strike_team())
|
||||||
|
feedback_inc("admin_secrets_fun_used",1)
|
||||||
|
feedback_add_details("admin_secrets_fun_used","Strike")
|
||||||
if("gravity")
|
if("gravity")
|
||||||
if(!(ticker && ticker.mode))
|
if(!(ticker && ticker.mode))
|
||||||
usr << "Please wait until the game starts! Not sure how it will work otherwise."
|
usr << "Please wait until the game starts! Not sure how it will work otherwise."
|
||||||
|
|||||||
@@ -3,22 +3,16 @@
|
|||||||
var/const/commandos_possible = 6 //if more Commandos are needed in the future
|
var/const/commandos_possible = 6 //if more Commandos are needed in the future
|
||||||
var/global/sent_strike_team = 0
|
var/global/sent_strike_team = 0
|
||||||
/client/proc/strike_team()
|
/client/proc/strike_team()
|
||||||
set category = "Fun"
|
|
||||||
set name = "Spawn Death Squad"
|
|
||||||
set desc = "Spawns a squad of commandos in CentCom if you want to run an admin event."
|
|
||||||
if(!src.holder)
|
|
||||||
src << "Only administrators may use this command."
|
|
||||||
return
|
|
||||||
if(!ticker)
|
if(!ticker)
|
||||||
alert("The game hasn't started yet!")
|
usr << "<font color='red'>The game hasn't started yet!</font>"
|
||||||
return
|
return
|
||||||
if(world.time < 6000)
|
if(world.time < 6000)
|
||||||
alert("Not so fast, buddy. Wait a few minutes until the game gets going. There are [(6000-world.time)/10] seconds remaining.")
|
usr << "<font color='red'>There are [(6000-world.time)/10] seconds remaining before it may be called.</font>"
|
||||||
return
|
return
|
||||||
if(sent_strike_team == 1)
|
if(sent_strike_team == 1)
|
||||||
alert("CentCom is already sending a team, Mr. Dumbass.")
|
usr << "<font color='red'>CentCom is already sending a team.</font>"
|
||||||
return
|
return
|
||||||
if(alert("Do you want to send in the CentCom death squad? Once enabled, this is irreversible.",,"Yes","No")=="No")
|
if(alert("Do you want to send in the CentCom death squad? Once enabled, this is irreversible.",,"Yes","No")!="Yes")
|
||||||
return
|
return
|
||||||
alert("This 'mode' will go on until everyone is dead or the station is destroyed. You may also admin-call the evac shuttle when appropriate. Spawned commandos have internals cameras which are viewable through a monitor inside the Spec. Ops. Office. Assigning the team's detailed task is recommended from there. While you will be able to manually pick the candidates from active ghosts, their assignment in the squad will be random.")
|
alert("This 'mode' will go on until everyone is dead or the station is destroyed. You may also admin-call the evac shuttle when appropriate. Spawned commandos have internals cameras which are viewable through a monitor inside the Spec. Ops. Office. Assigning the team's detailed task is recommended from there. While you will be able to manually pick the candidates from active ghosts, their assignment in the squad will be random.")
|
||||||
|
|
||||||
@@ -30,7 +24,7 @@ var/global/sent_strike_team = 0
|
|||||||
return
|
return
|
||||||
|
|
||||||
if(sent_strike_team)
|
if(sent_strike_team)
|
||||||
src << "Looks like someone beat you to it."
|
usr << "Looks like someone beat you to it."
|
||||||
return
|
return
|
||||||
|
|
||||||
sent_strike_team = 1
|
sent_strike_team = 1
|
||||||
@@ -100,7 +94,7 @@ var/global/sent_strike_team = 0
|
|||||||
|
|
||||||
message_admins("\blue [key_name_admin(usr)] has spawned a CentCom strike squad.", 1)
|
message_admins("\blue [key_name_admin(usr)] has spawned a CentCom strike squad.", 1)
|
||||||
log_admin("[key_name(usr)] used Spawn Death Squad.")
|
log_admin("[key_name(usr)] used Spawn Death Squad.")
|
||||||
feedback_add_details("admin_verb","DTHS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
return 1
|
||||||
|
|
||||||
/client/proc/create_death_commando(obj/spawn_location, leader_selected = 0)
|
/client/proc/create_death_commando(obj/spawn_location, leader_selected = 0)
|
||||||
var/mob/living/carbon/human/new_commando = new(spawn_location.loc)
|
var/mob/living/carbon/human/new_commando = new(spawn_location.loc)
|
||||||
|
|||||||
@@ -2000,7 +2000,7 @@
|
|||||||
"aMx" = (/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 10},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
"aMx" = (/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 10},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
||||||
"aMy" = (/obj/machinery/disposal,/obj/structure/disposalpipe/trunk{dir = 4},/obj/item/device/radio/intercom{pixel_y = 25},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
"aMy" = (/obj/machinery/disposal,/obj/structure/disposalpipe/trunk{dir = 4},/obj/item/device/radio/intercom{pixel_y = 25},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
||||||
"aMz" = (/obj/structure/disposalpipe/segment{dir = 8; icon_state = "pipe-c"},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
"aMz" = (/obj/structure/disposalpipe/segment{dir = 8; icon_state = "pipe-c"},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
||||||
"aMA" = (/obj/item/weapon/packageWrap,/obj/machinery/firealarm{dir = 4; pixel_x = 24},/obj/structure/table,/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
"aMA" = (/obj/item/weapon/packageWrap,/obj/machinery/firealarm{dir = 4; pixel_x = 24},/obj/structure/table,/obj/item/weapon/reagent_containers/food/snacks/sliceable/birthdaycake{name = "Pete's Birthday Cake"},/turf/simulated/floor{icon_state = "bar"},/area/crew_quarters/bar)
|
||||||
"aMB" = (/obj/machinery/door/airlock{name = "Kitchen cold room"; req_access_txt = "28"},/obj/structure/disposalpipe/segment,/obj/structure/cable{d1 = 1; d2 = 2; icon_state = "1-2"; tag = ""},/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,/turf/simulated/floor{icon_state = "showroomfloor"},/area/crew_quarters/kitchen)
|
"aMB" = (/obj/machinery/door/airlock{name = "Kitchen cold room"; req_access_txt = "28"},/obj/structure/disposalpipe/segment,/obj/structure/cable{d1 = 1; d2 = 2; icon_state = "1-2"; tag = ""},/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden,/turf/simulated/floor{icon_state = "showroomfloor"},/area/crew_quarters/kitchen)
|
||||||
"aMC" = (/obj/machinery/atmospherics/pipe/simple{color = "blue"; icon_state = "intact-b-f"; level = 1; name = "pipe"},/turf/simulated/wall,/area/crew_quarters/kitchen)
|
"aMC" = (/obj/machinery/atmospherics/pipe/simple{color = "blue"; icon_state = "intact-b-f"; level = 1; name = "pipe"},/turf/simulated/wall,/area/crew_quarters/kitchen)
|
||||||
"aMD" = (/obj/machinery/hydroponics,/obj/machinery/light{icon_state = "tube1"; dir = 8},/turf/simulated/floor{icon_state = "dark"},/area/hydroponics)
|
"aMD" = (/obj/machinery/hydroponics,/obj/machinery/light{icon_state = "tube1"; dir = 8},/turf/simulated/floor{icon_state = "dark"},/area/hydroponics)
|
||||||
|
|||||||
Reference in New Issue
Block a user