mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Improved rigged crate code for some anon on /vg/
Made syringe guns do no damage on behalf of coderbus. Added some new book sprites and updated some books. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5134 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -581,7 +581,7 @@
|
||||
name = "Space Law"
|
||||
desc = "A set of Nanotrasen guidelines for keeping law and order on their space stations."
|
||||
icon_state = "bookSpaceLaw"
|
||||
author = "Nanotrasen Inc."
|
||||
author = "Nanotrasen"
|
||||
title = "Space Law"
|
||||
dat = {"
|
||||
|
||||
@@ -722,8 +722,8 @@
|
||||
|
||||
/obj/item/weapon/book/manual/detective
|
||||
name = "The Film Noir: Proper Procedures for Investigations"
|
||||
icon_state ="bookHacking"
|
||||
author = "NanoTrasen"
|
||||
icon_state ="bookDetective"
|
||||
author = "Nanotrasen"
|
||||
title = "The Film Noir: Proper Procedures for Investigations"
|
||||
dat = {"<html>
|
||||
<head>
|
||||
@@ -759,4 +759,39 @@
|
||||
It really is that easy! Good luck!
|
||||
|
||||
</body>
|
||||
</html>"}
|
||||
|
||||
/obj/item/weapon/book/manual/nuclear
|
||||
name = "Fission Mailed: Nuclear Sabotage 101"
|
||||
icon_state ="bookNuclear"
|
||||
author = "Syndicate"
|
||||
title = "Fission Mailed: Nuclear Sabotage 101"
|
||||
dat = {"<html>
|
||||
Nuclear Explosives 101:<br>
|
||||
Hello and thank you for choosing the Syndicate for your nuclear information needs.<br>
|
||||
Today's crash course will deal with the operation of a Fusion Class Nanotrasen made Nuclear Device.<br>
|
||||
First and foremost, DO NOT TOUCH ANYTHING UNTIL THE BOMB IS IN PLACE.<br>
|
||||
Pressing any button on the compacted bomb will cause it to extend and bolt itself into place.<br>
|
||||
If this is done to unbolt it one must completely log in which at this time may not be possible.<br>
|
||||
To make the nuclear device functional:<br>
|
||||
<li>Place the nuclear device in the designated detonation zone.</li>
|
||||
<li>Extend and anchor the nuclear device from its interface.</li>
|
||||
<li>Insert the nuclear authorisation disk into slot.</li>
|
||||
<li>Type numeric authorisation code into the keypad. This should have been provided. Note: If you make a mistake press R to reset the device.
|
||||
<li>Press the E button to log onto the device.</li>
|
||||
You now have activated the device. To deactivate the buttons at anytime for example when you've already prepped the bomb for detonation remove the auth disk OR press the R on the keypad.<br>
|
||||
Now the bomb CAN ONLY be detonated using the timer. Manual detonation is not an option.<br>
|
||||
Note: Nanotrasen is a pain in the neck.<br>
|
||||
Toggle off the SAFETY.<br>
|
||||
Note: You wouldn't believe how many Syndicate Operatives with doctorates have forgotten this step.<br>
|
||||
So use the - - and + + to set a det time between 5 seconds and 10 minutes.<br>
|
||||
Then press the timer toggle button to start the countdown.<br>
|
||||
Now remove the auth. disk so that the buttons deactivate.<br>
|
||||
Note: THE BOMB IS STILL SET AND WILL DETONATE<br>
|
||||
Now before you remove the disk if you need to move the bomb you can:<br>
|
||||
Toggle off the anchor, move it, and re-anchor.<br><br>
|
||||
Good luck. Remember the order:<br>
|
||||
<b>Disk, Code, Safety, Timer, Disk, RUN!</b><br>
|
||||
Intelligence Analysts believe that normal Nanotrasen procedure is for the Captain to secure the nuclear authorisation disk.<br>
|
||||
Good luck!
|
||||
</html>"}
|
||||
@@ -257,13 +257,7 @@
|
||||
if(rigged && locate(/obj/item/device/radio/electropack) in src)
|
||||
if(isliving(user))
|
||||
var/mob/living/L = user
|
||||
var/protected = 0
|
||||
if(ishuman(L))
|
||||
var/mob/living/carbon/human/H = L
|
||||
if(H.gloves && H.gloves.siemens_coefficient < 0.2)
|
||||
protected = 1
|
||||
if(!protected)
|
||||
L.electrocute_act(17, src)
|
||||
if(L.electrocute_act(17, src))
|
||||
var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread
|
||||
s.set_up(5, 1, src)
|
||||
s.start()
|
||||
@@ -274,13 +268,13 @@
|
||||
/obj/structure/closet/crate/secure/attack_hand(mob/user as mob)
|
||||
if(locked && !broken)
|
||||
if (allowed(user))
|
||||
user << "<span class='notice'>You unlock \the [src].</span>"
|
||||
user << "<span class='notice'>You unlock [src].</span>"
|
||||
src.locked = 0
|
||||
overlays = null
|
||||
overlays += greenlight
|
||||
return
|
||||
else
|
||||
user << "<span class='notice'>\The [src] is locked.</span>"
|
||||
user << "<span class='notice'>[src] is locked.</span>"
|
||||
return
|
||||
else
|
||||
..()
|
||||
|
||||
@@ -82,9 +82,7 @@
|
||||
log_attack("<font color='red'>UNKNOWN shot [M] ([M.ckey]) with a <b>syringegun</b> ([R])</font>")
|
||||
if(D.reagents)
|
||||
D.reagents.trans_to(M, 15)
|
||||
M.take_organ_damage(5)
|
||||
for(var/mob/O in viewers(world.view, D))
|
||||
O.show_message("\red [M.name] is hit by the syringe!", 1)
|
||||
M.visible_message("<span class='danger'>[M] is hit by the syringe!</span>")
|
||||
|
||||
del(D)
|
||||
if(D)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user