Changelong:

More tweaks to death commandos.
More work on CentCom.
Fixed turret control issue for AI.
Station blueprints now spawn in CE's locker.
Power control modules placed on the map.
More shield generator stuff by Barhandar: shield walls and shield wall generators now respect bullets and they (bullets) have chance to get past the shield. This also means you can power shield generators through emitters but it takes two to make a generator stable.
Misc map changes.
Re-check gimmick closets so they no longer spawn empty.
Added a new admin button under Special Verbs. Allows to easily respawn a player (as an assistant) if their original body was gibbed. Currently doesn't set player preferences. WIP.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@675 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
noisomehollow@lycos.com
2010-12-20 00:33:10 +00:00
parent 2b33e966d1
commit 7c122ab3cb
12 changed files with 6138 additions and 6013 deletions
+8
View File
@@ -105,6 +105,7 @@
src.verbs += /client/proc/cmd_admin_monkeyize
src.verbs += /client/proc/cmd_admin_robotize
src.verbs += /client/proc/make_cultist // -- TLE
src.verbs += /client/proc/respawn_character //N
src.verbs += /client/proc/Getmob
src.verbs += /client/proc/sendmob
@@ -227,6 +228,7 @@
src.verbs += /client/proc/cmd_admin_monkeyize
src.verbs += /client/proc/cmd_admin_robotize
src.verbs += /client/proc/make_cultist // -- TLE
src.verbs += /client/proc/respawn_character //N
src.verbs += /client/proc/Getmob
src.verbs += /client/proc/sendmob
@@ -350,6 +352,7 @@
src.verbs += /client/proc/cmd_admin_monkeyize
src.verbs += /client/proc/cmd_admin_robotize
//src.verbs += /client/proc/make_cultist // -- TLE
src.verbs += /client/proc/respawn_character //N
src.verbs += /client/proc/Getmob
src.verbs += /client/proc/sendmob
@@ -501,6 +504,7 @@
src.verbs += /client/proc/cmd_admin_monkeyize
src.verbs += /client/proc/cmd_admin_robotize
//src.verbs += /client/proc/make_cultist // -- TLE
src.verbs += /client/proc/respawn_character //N
//src.verbs += /client/proc/Getmob
//src.verbs += /client/proc/sendmob
@@ -642,6 +646,7 @@
//src.verbs += /client/proc/cmd_admin_monkeyize
//src.verbs += /client/proc/cmd_admin_robotize
//src.verbs += /client/proc/make_cultist // -- TLE
//src.verbs += /client/proc/respawn_character //N
//src.verbs += /client/proc/Getmob
//src.verbs += /client/proc/sendmob
@@ -779,6 +784,7 @@
//src.verbs += /client/proc/cmd_admin_monkeyize
//src.verbs += /client/proc/cmd_admin_robotize
//src.verbs += /client/proc/make_cultist // -- TLE
//src.verbs += /client/proc/respawn_character //N
//src.verbs += /client/proc/Getmob
//src.verbs += /client/proc/sendmob
@@ -900,6 +906,7 @@
//src.verbs += /client/proc/cmd_admin_monkeyize
//src.verbs += /client/proc/cmd_admin_robotize
//src.verbs += /client/proc/make_cultist // -- TLE
//src.verbs += /client/proc/respawn_character //N
//src.verbs += /client/proc/Getmob
//src.verbs += /client/proc/sendmob
@@ -1052,6 +1059,7 @@
src.verbs -= /client/proc/cmd_admin_monkeyize
src.verbs -= /client/proc/cmd_admin_robotize
src.verbs -= /client/proc/make_cultist // -- TLE
src.verbs -= /client/proc/respawn_character //N
src.verbs -= /client/proc/Getmob
src.verbs -= /client/proc/sendmob
+1 -1
View File
@@ -1,7 +1,7 @@
/client/proc/only_one()
set category = "Fun"
set name = "THERE CAN BE ONLY ONE"
set desc = "Makes everyone into a traitor and has them fight for the nuke auth. disk."
if(!ticker)
alert("The game hasn't started yet!")
return
+40 -8
View File
@@ -237,24 +237,23 @@ Would like to add a law like "Law x is _______" where x = a number, and _____ is
command_alert("Ion storm detected near the station. Please check all AI-controlled equipment for errors.", "Anomaly Alert")
world << sound('ionstorm.ogg')
/client/proc/spawn_xeno()
/client/proc/spawn_xeno() //Stealth spawns xenos /N
set category = "Fun"
set name = "Spawn Xeno"
set desc = "Spawns a xenomorph for all those boring rounds, without having you to do so manually."
if(!src.authenticated || !src.holder)
src << "Only administrators may use this command."
return
var/list/xeno_list = list()
for(var/obj/landmark/X in world)
if (X.name == "xeno_spawn")
xeno_list+=(X)
if(xeno_list.len) goto NEXT
else
xeno_list.Add(X)
if(!xeno_list.len)
alert("There are no available spots to spawn the xeno. Aborting command.")
return
NEXT
var/obj/spawn_here = pick(xeno_list)
var/mob/living/carbon/alien/humanoid/new_xeno = new /mob/living/carbon/alien/humanoid(spawn_here.loc)
var/obj/landmark/spawn_here = pick(xeno_list)
var/mob/living/carbon/alien/humanoid/new_xeno = new(spawn_here.loc)
new_xeno.plasma = 250
var/list/candidates = list() // Picks a random ghost for the role. Mostly a copy of alien burst code.
@@ -270,7 +269,40 @@ Would like to add a law like "Law x is _______" where x = a number, and _____ is
alert("There are no available ghosts to throw into the xeno. Aborting command.")
del(new_xeno)
return
message_admins("\blue [key_name_admin(usr)] has spawned a filthy xeno at [new_xeno.loc].", 1)
message_admins("\blue [key_name_admin(usr)] has spawned a filthy xeno at [spawn_here.loc].", 1)
//If a guy was gibbed and you want to revive him, this is a good way to do so.
//Works much like entering the game with a new character. Doesn't retain mind. /N
/client/proc/respawn_character()
set category = "Special Verbs"
set name = "Respawn Character"
set desc = "Re-spawn a person that has been gibbed/deleted. They must be a ghost for this to work."
if(!src.authenticated || !src.holder)
src << "Only administrators may use this command."
return
var/input = input(usr, "Please specify which key/client will be respawned. That person will not retain their traitor/other status when respawned.", "What?", "")
if(!input)
return
var/GKEY = input
var/mob/dead/observer/GDEL //to properly delete the mob later on.
for(var/mob/dead/observer/G in world)
if(G.key==input)
GDEL = G
else
alert("There is no such key in the game or the person is not currently a ghost. Aborting command.")
return
var/spawn_here = pick(latejoin)//"JoinLate" is a landmark which is deleted on round start. So, latejoin has to be used instead.
var/mob/living/carbon/human/new_character = new(src)
new_character.loc = spawn_here
// preferences.copy_to(new_character)
new_character.dna.ready_dna(new_character)
new_character.Equip_Rank("Assistant", joined_late=1)
message_admins("\blue [key_name_admin(usr)] has respawned [GKEY] at [new_character.loc].", 1) //Here so it doesn't null name if an admin re-spawns themselves.
new_character.key = GKEY
del(GDEL)
/client/proc/cmd_admin_add_freeform_ai_law()
set category = "Fun"
+3 -1
View File
@@ -3,6 +3,7 @@ var/global/sent_strike_team = 0
/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.authenticated || !src.holder)
src << "Only administrators may use this command."
return
@@ -124,7 +125,8 @@ var/global/sent_strike_team = 0
for (var/obj/landmark/MANUAL)
if (MANUAL.name == "Commando_Manual")
var/obj/item/weapon/paper/PAPER = new /obj/item/weapon/paper(MANUAL.loc)
new /obj/item/weapon/gun/energy/pulse_rifle(MANUAL.loc)
var/obj/item/weapon/paper/PAPER = new(MANUAL.loc)
PAPER.info = "<p><b>Good morning soldier!</b>. This compact guide will familiarize you with standard operating procedure. There are three basic rules to follow:<br>#1 Work as a team.<br>#2 Accomplish your objective at all costs.<br>#3 Leave no witnesses.<br>You are fully equipped and stocked for your mission--before departing on the Spec. Ops. Shuttle due South, make sure that all operatives are ready. Actual mission objective will be relayed to you by Central Command through your headsets.<br>If deemed appropriate, Cent. Com will also allow members of your team to equip assault power-armor for the mission. You will find the armor storage due West of your position. Once you are ready to leave, utilize the Special Operations shuttle console and toggle the hull doors via the other console.</p><p>In the event that the team does not accomplish their assigned objective in a timely manner, or finds no other way to do so, attached below are instructions on how to operate a Nanotrasen Nuclear Device. Your operations <b>LEADER</b> is provided with a nuclear authentication disk and a pin-pointer for this reason. You may easily recognize them by their rank: Lieutenant, Captain, or Major. The nuclear device itself will be present somewhere on your destination.</p><p>Hello and thank you for choosing Nanotrasen for your nuclear information needs. Today's crash course will deal with the operation of a Fission Class Nanotrasen made Nuclear Device.<br>First and foremost, <b>DO NOT TOUCH ANYTHING UNTIL THE BOMB IS IN PLACE.</b> Pressing any button on the compacted bomb will cause it to extend and bolt itself into place. If this is done to unbolt it one must completely log in which at this time may not be possible.<br>To make the device functional:<br>#1 Place bomb in designated detonation zone<br> #2 Extend and anchor bomb (attack with hand).<br>#3 Insert Nuclear Auth. Disk into slot.<br>#4 Type numeric code into keypad ([nuke_code]).<br>Note: If you make a mistake press R to reset the device.<br>#5 Press the E button to log onto the device.<br>You now have activated the device. To deactivate the buttons at anytime, for example when you have already prepped the bomb for detonation, remove the authentication disk OR press the R on the keypad. Now the bomb CAN ONLY be detonated using the timer. A manual detonation is not an option.<br>Note: Toggle off the <b>SAFETY</b>.<br>Use the - - and + + to set a detonation time between 5 seconds and 10 minutes. Then press the timer toggle button to start the countdown. Now remove the authentication disk so that the buttons deactivate.<br>Note: <b>THE BOMB IS STILL SET AND WILL DETONATE</b><br>Now before you remove the disk if you need to move the bomb you can: Toggle off the anchor, move it, and re-anchor.</p><p>The nuclear authorization code is: <b>[nuke_code]</b></p><p><b>Good luck, soldier!</b></p>"
PAPER.name = "Spec. Ops. Manual"