Space Ninja Update

Updating to allow kamikaze mode with Space Ninjas
This commit is contained in:
SamCroswell
2013-10-25 19:56:58 -04:00
parent 42b3335e5c
commit 2ca928274f
4 changed files with 28 additions and 9 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
// BEGIN_INTERNALS
/*
MAP_ICON_TYPE: 0
WINDOW: code\modules\organs\organ.dm;code\modules\mob\living\carbon\species.dm;code\modules\organs\blood.dm;code\setup.dm;code\modules\reagents\Chemistry-Reagents.dm;code\modules\reagents\reagent_containers\syringes.dm;code\modules\reagents\Chemistry-Readme.dm;code\game\objects\items\weapons\mop.dm;code\game\objects\effects\decals\Cleanable\fuel.dm;maps\tgstation-redux-WIP.dmm;code\modules\reagents\reagent_containers\food\snacks.dm;code\modules\reagents\reagent_containers\food\snacks\grown.dm;code\modules\reagents\reagent_containers\food\snacks\meat.dm;code\modules\reagents\Chemistry-Recipes.dm;code\game\objects\items\devices\radio\beacon.dm;code\modules\food\recipes_microwave.dm
LAST_COMPILE_VERSION: 500.1213
DIR: code code\__HELPERS code\_onclick\hud code\datums code\datums\diseases code\datums\diseases\advance code\datums\diseases\advance\symptoms code\game code\game\gamemodes code\game\gamemodes\autotraitor code\game\gamemodes\blob code\game\gamemodes\changeling code\game\gamemodes\cult code\game\gamemodes\extended code\game\gamemodes\malfunction code\game\gamemodes\ninja code\game\gamemodes\nuclear code\game\gamemodes\revolution code\game\gamemodes\traitor code\game\gamemodes\vox code\game\gamemodes\vox\heist code\game\gamemodes\vox\trade code\game\jobs code\game\jobs\job code\game\machinery code\game\machinery\doors code\game\machinery\embedded_controller code\game\machinery\kitchen code\game\machinery\telecomms code\game\mecha code\game\mecha\combat code\game\mecha\equipment code\game\mecha\equipment\weapons code\game\objects code\game\objects\effects code\game\objects\effects\decals\Cleanable code\game\objects\items code\game\objects\items\devices code\game\objects\items\devices\radio code\game\objects\items\weapons code\game\objects\items\weapons\grenades code\game\objects\structures code\game\objects\structures\crates_lockers code\game\objects\structures\crates_lockers\closets code\game\turfs code\modules code\modules\clothing code\modules\clothing\gloves code\modules\clothing\shoes code\modules\clothing\spacesuits code\modules\customitems\definitions code\modules\events code\modules\events\tgevents code\modules\food code\modules\mob code\modules\mob\living code\modules\mob\living\carbon code\modules\mob\living\carbon\human code\modules\mob\living\silicon code\modules\mob\living\silicon\ai code\modules\mob\living\simple_animal code\modules\mob\new_player code\modules\projectiles\guns code\modules\projectiles\guns\energy code\modules\projectiles\projectile code\modules\reagents code\modules\reagents\reagent_containers code\modules\reagents\reagent_containers\food code\modules\reagents\reagent_containers\food\snacks code\WorkInProgress code\WorkInProgress\Cael_Aislinn code\WorkInProgress\Cael_Aislinn\Economy code\WorkInProgress\Cael_Aislinn\Jungle code\WorkInProgress\Cael_Aislinn\Rust icons icons\mob icons\mob\otherHuman maps External
FILE: code\modules\food\recipes_microwave.dm
LAST_COMPILE_TIME: 1382426737
WINDOW: code\game\gamemodes\events\ninja_abilities.dm;code\game\gamemodes\events\ninja_equipment.dm;code\game\gamemodes\events\space_ninja.dm;code\modules\admin\verbs\randomverbs.dm;code\modules\admin\admin_verbs.dm
LAST_COMPILE_VERSION: 500.1207
DIR: code code\_onclick\hud code\datums\diseases code\datums\diseases\advance code\datums\diseases\advance\symptoms code\game code\game\gamemodes code\game\gamemodes\events code\modules code\modules\admin code\modules\admin\verbs code\modules\food
FILE: code\modules\admin\verbs\randomverbs.dm
LAST_COMPILE_TIME: 1382741976
AUTO_FILE_DIR: OFF
*/
// END_INTERNALS
@@ -398,7 +398,7 @@ ________________________________________________________________________________
<li>*<b>Energy Net</b> (<i>2000E</i>) is a non-lethal solution to incapacitating humanoids. The net is made of non-harmful phase energy and will halt movement as long as it remains in effect--it can be destroyed. If the net is not destroyed, after a certain time it will teleport the target to a holding facility for the Spider Clan and then vanish. You will be notified if the net fails or succeeds in capturing a target in this manner. Combine with energy stars or stripping to ensure success. Abduction never looked this leet.</li>
<li>*<b>Adrenaline Boost</b> (<i>1 E. Boost/3</i>) recovers the user from stun, weakness, and paralysis. Also injects 20 units of radium into the bloodstream.</li>
<li>*<b>Smoke Bomb</b> (<i>1 Sm.Bomb/10</i>) is a weak but potentially useful ability. It creates harmful smoke and can be used in tandem with other powers to confuse enemies.</li>
<li>*<b>???</b>: unleash the <b>True Ultimate Power!</b></li>
<li>*<b><a href='byond://?src=\ref[src];choice=32'>???</a></b>: unleash the <b>True Ultimate Power!</b></li>
<h4>IMPORTANT:</h4>
<ul>
<li>*Make sure to toggle Special Interaction from the Ninja Equipment menu to interact differently with certain objects.</li>
@@ -577,7 +577,7 @@ ________________________________________________________________________________
A << "There are no potential [href_list["name"]=="Phase Shift"?"destinations" : "targets"] in view."
if("Unlock Kamikaze")
if(input(U)=="Divine Wind")
if(input(U)=="Divine Wind" && kamikaze_allowed == 1)
if( !(U.stat||U.wear_suit!=src||!s_initialized) )
if( !(cell.charge<=1||s_busy) )
s_busy = 1
@@ -604,7 +604,10 @@ ________________________________________________________________________________
s_busy = 0
return
else
U << "\red ERROR: WRONG PASSWORD!"
if(kamikaze_allowed == 0)
U << "\red ERROR: FUNCTION DISABLED!"
else
U << "\red ERROR: WRONG PASSWORD!"
k_unlock = 0
spideros = 0
s_busy = 0
+2 -1
View File
@@ -97,7 +97,8 @@ var/list/admin_verbs_fun = list(
/client/proc/make_sound,
/client/proc/toggle_random_events,
/client/proc/set_ooc,
/client/proc/editappear
/client/proc/editappear,
/client/proc/toggle_kamikaze
)
var/list/admin_verbs_spawn = list(
/datum/admins/proc/spawn_atom, /*allows us to spawn instances*/
+15
View File
@@ -836,3 +836,18 @@ Traitors and the like can also be revived with the previous role mostly intact.
usr << "Random events disabled"
message_admins("Admin [key_name_admin(usr)] has disabled random events.", 1)
feedback_add_details("admin_verb","TRE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
var/global/kamikaze_allowed = 0
/client/proc/toggle_kamikaze()
set category = "Fun"
set name = "Toggle Kamikaze"
set desc = "Toggles the ability for Ninjas to use Kamikaze mode."
if (kamikaze_allowed == 0)
kamikaze_allowed = 1
usr << "Kamikaze mode globally enabled."
else
kamikaze_allowed = 0
usr << "Kamikaze mode globally disabled."