mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-29 19:43:16 +00:00
Fixed SpiderOS chemical injections to work a lot better. Thanks to Muskets and Darem.
Added a new reagent proc (trans_id_to) to transfer a specific reagent from a list to the target. Finished SpiderOS. If anyone plans to revise PDA code, or maybe do something similar, I highly recommend looking at the SpiderOS verb first. Ninjas may now drain energy from exposed wires, ala a powersink. It takes longer than APCs to begin charging and drains slower. Misc bug fixes and improvements. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1460 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -360,9 +360,7 @@ Useful for copy pasta since I'm lazy.*/
|
||||
src.loc = picked
|
||||
|
||||
spawn(0)
|
||||
var/datum/effects/system/spark_spread/spark_system = new /datum/effects/system/spark_spread()
|
||||
spark_system.set_up(5, 0, src.loc)
|
||||
spark_system.start()
|
||||
src:wear_suit:spark_system.start()
|
||||
playsound(src.loc, 'Deconstruct.ogg', 50, 1)
|
||||
playsound(src.loc, "sparks", 50, 1)
|
||||
anim(src.loc,'mob.dmi',src,"phasein")
|
||||
@@ -397,9 +395,7 @@ Useful for copy pasta since I'm lazy.*/
|
||||
src.loc = T
|
||||
|
||||
spawn(0)
|
||||
var/datum/effects/system/spark_spread/spark_system = new /datum/effects/system/spark_spread()
|
||||
spark_system.set_up(5, 0, src.loc)
|
||||
spark_system.start()
|
||||
src:wear_suit:spark_system.start()
|
||||
playsound(src.loc, 'Deconstruct.ogg', 50, 1)
|
||||
playsound(src.loc, 'sparks2.ogg', 50, 1)
|
||||
anim(src.loc,'mob.dmi',src,"phasein")
|
||||
@@ -483,7 +479,7 @@ Useful for copy pasta since I'm lazy.*/
|
||||
|
||||
//Adrenaline Boost
|
||||
//Wakes the user so they are able to do their thing. Also injects a decent dose of radium.
|
||||
//Movement impairing would indicate drugs and the like
|
||||
//Movement impairing would indicate drugs and the like.
|
||||
/mob/proc/ninjaboost()
|
||||
set name = "Adrenaline Boost"
|
||||
set desc = "Inject a secret chemical that will counteract all movement-impairing effects."
|
||||
@@ -499,10 +495,10 @@ Useful for copy pasta since I'm lazy.*/
|
||||
src.paralysis = 0
|
||||
src.stunned = 0
|
||||
src.weakened = 0
|
||||
spawn(10)
|
||||
spawn(30)
|
||||
src.say("A CORNERED FOX IS MORE DANGEROUS THAN A JACKAL!")
|
||||
spawn(70)
|
||||
src.reagents.add_reagent("radium", 15)
|
||||
src.reagents.add_reagent("radium", 20)
|
||||
src << "red You are beginning to feal the after-effects of the injection."
|
||||
|
||||
src:wear_suit:aboost--
|
||||
Reference in New Issue
Block a user