Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Tastyfish
2011-12-18 06:12:21 -05:00
17 changed files with 202 additions and 113 deletions
+16 -17
View File
@@ -103,7 +103,7 @@
var/mob/living/carbon/monkey/target = null
/obj/effect/sign/securearea
desc = "A warning sign which reads 'SECURE AREA'. This obviously applies to a nun-Clown."
desc = "A warning sign which reads 'SECURE AREA'"
name = "SECURE AREA"
icon = 'decals.dmi'
icon_state = "securearea"
@@ -150,8 +150,8 @@
pixel_y = -1
/obj/effect/sign/fire
desc = "A warning sign which reads 'HOT! HOT! AAAH! I'M BURNING!'"
name = "HOT! HOT! AAAH! I'M BURNING!"
desc = "A warning sign which reads 'EXTREME TEMPERATURES'"
name = "EXTREME TEMPERATURES"
icon = 'decals.dmi'
icon_state = "fire"
anchored = 1.0
@@ -212,7 +212,7 @@
del(src)*/
/obj/effect/sign/maltesefalcon1 //The sign is 64x32, so it needs two tiles. ;3
desc = "The Maltese Falcon, Space Bar and Grill. Now with added monkey."
desc = "The Maltese Falcon, Space Bar and Grill."
name = "The Maltese Falcon"
icon = 'decals.dmi'
icon_state = "maltesefalcon1"
@@ -221,7 +221,7 @@
density = 0
/obj/effect/sign/maltesefalcon2
desc = "The Maltese Falcon, Space Bar and Grill. Now with added monkey."
desc = "The Maltese Falcon, Space Bar and Grill."
name = "The Maltese Falcon"
icon = 'decals.dmi'
icon_state = "maltesefalcon2"
@@ -289,7 +289,7 @@
/obj/item/device/multitool
name = "multitool"
desc = "Used for pulsing wires to test which to cut. Not recommended by doctors."
desc = "Used for pulsing wires to test which to cut."
icon_state = "multitool"
flags = FPRINT | TABLEPASS| CONDUCT
force = 5.0
@@ -297,7 +297,6 @@
throwforce = 5.0
throw_range = 15
throw_speed = 3
desc = "You can use this on airlocks or APCs to try to hack them without cutting wires."
m_amt = 50
g_amt = 20
origin_tech = "magnets=1;engineering=1"
@@ -445,7 +444,7 @@
anchored =1
var/netnum = 0
name = "power cable"
desc = "A flexible superconducting cable for heavy-duty power transfer. Comes in clown colors now."
desc = "A flexible superconducting cable for heavy-duty power transfer."
icon = 'power_cond_red.dmi'
icon_state = "0-1"
var/d1 = 0
@@ -473,7 +472,7 @@
/obj/structure/morgue
name = "morgue"
desc = "Used to keep bodies in untill someone fetches them."
desc = "Used to keep bodies in until someone fetches them."
icon = 'stationobjs.dmi'
icon_state = "morgue1"
density = 1
@@ -482,7 +481,7 @@
/obj/structure/crematorium
name = "crematorium"
desc = "A human incinerator. Works well on barbeque nights."
desc = "An incinerator."
icon = 'stationobjs.dmi'
icon_state = "crema1"
density = 1
@@ -494,7 +493,7 @@
/obj/effect/mine
name = "Mine"
desc = "I Better stay away from that thing."
desc = "I'd better stay away from that thing."
density = 1
anchored = 1
layer = 3
@@ -544,7 +543,7 @@
/obj/effect/portal
name = "portal"
desc = "Looks unstable. Best to test it with the clown."
desc = "Looks unstable."
icon = 'stationobjs.dmi'
icon_state = "portal"
density = 1
@@ -610,7 +609,7 @@
/obj/structure/stool/chair/e_chair
name = "electrified chair"
desc = "Looks absolutely SHOCKING!"
desc = "Looks absolutely terrifying!"
icon_state = "e_chair0"
var/atom/movable/overlay/overl = null
var/on = 0.0
@@ -811,7 +810,7 @@
//BEGIN BRAINS=====================================================
/obj/item/brain
name = "brain"
desc = "A piece of juicy meat found in a persons head."
desc = "A piece of complex biomass found in a persons head."
icon = 'surgery.dmi'
icon_state = "brain2"
flags = TABLEPASS
@@ -902,7 +901,7 @@
name = "desk clutter"
icon = 'items.dmi'
icon_state = "deskclutter"
desc = "Some clutter the detective has accumalated over the years..."
desc = "Some clutter the desk has accumulated over the years..."
anchored = 1
/obj/item/mouse_drag_pointer = MOUSE_ACTIVE_POINTER
@@ -979,7 +978,7 @@
/obj/item/stack/rods
name = "metal rods"
desc = "Some rods. Can be used for building, or something."
desc = "Some rods. Can be used for building."
singular_name = "metal rod"
icon_state = "rods"
flags = FPRINT | TABLEPASS| CONDUCT
@@ -1023,7 +1022,7 @@
/obj/item/stack/sheet/glass
name = "glass"
desc = "HOLY HELL! That is a lot of glass."
desc = "That is a lot of glass."
singular_name = "glass sheet"
icon_state = "sheet-glass"
g_amt = 3750
+2 -2
View File
@@ -15,7 +15,7 @@
/obj/structure/closet/acloset
name = "Strange closet"
desc = "It looks alien!"
desc = "It looks weird!"
icon_state = "acloset"
icon_closed = "acloset"
icon_opened = "aclosetopen"
@@ -75,7 +75,7 @@
/obj/structure/closet/fireaxecabinet
name = "Fire Axe Cabinet"
desc = "There is small label that reads \"For Emergency use only\" along with details for safe use of the axe. As if."
desc = "There is small label that reads \"For Emergency use only\" along with details for safe use of the axe."
var/obj/item/weapon/fireaxe/fireaxe = new/obj/item/weapon/fireaxe
icon_state = "fireaxe1000"
icon_closed = "fireaxe1000"
+1 -1
View File
@@ -152,7 +152,7 @@
/obj/machinery/computer/pod
name = "Pod Launch Control"
desc = "A controll for launching pods. Some people prefer firing Mechas."
desc = "A control for launching pods."
icon_state = "computer_generic"
var/id = 1.0
var/obj/machinery/mass_driver/connected = null
+4 -4
View File
@@ -28,7 +28,7 @@
/obj/effect/decal/point
name = "point"
desc = "It is an arrow hanging in mid-air. There may be a wizard about."
desc = "It is an arrow hanging in mid-air."
icon = 'screen1.dmi'
icon_state = "arrow"
layer = 16.0
@@ -41,7 +41,7 @@
/obj/effect/decal/cleanable/blood
name = "Blood"
desc = "It's red. Its Gooye. It is the chefs cooking perhaps."
desc = "It's red and disgusting."
density = 0
anchored = 1
layer = 2
@@ -94,7 +94,7 @@
/obj/effect/decal/cleanable/xenoblood
name = "xeno blood"
desc = "It's green. Must be more of the chefs cooking."
desc = "It's green. What the hell?"
density = 0
anchored = 1
layer = 2
@@ -242,7 +242,7 @@
//Vomit (sorry)
/obj/effect/decal/cleanable/vomit
name = "Vomit"
desc = "Gosh, how unpleasant."
desc = "Geez, unpleasant."
density = 0
anchored = 1
layer = 2
+1 -1
View File
@@ -33,7 +33,7 @@
/obj/machinery/door/poddoor
name = "Podlock"
desc = "Why it no open!!!"
desc = "A type of powerful blast door."
icon = 'rapid_pdoor.dmi'
icon_state = "pdoor1"
var/id = 1.0
+8 -11
View File
@@ -44,7 +44,7 @@
/obj/machinery/camera
name = "Security Camera"
desc = "This is used to monitor rooms. Can see through walls."
desc = "This is used to monitor rooms."
icon = 'monitors.dmi'
icon_state = "camera"
var/network = "SS13"
@@ -61,7 +61,7 @@
active_power_usage = 10
/obj/machinery/dispenser
desc = "A simple yet bulky one-way storage device for gas tanks. Holds 10 plasma and 10 oxygen tanks."
desc = "A simple yet bulky one-way storage device for gas tanks. Holds plasma and oxygen tanks."
name = "Tank Storage Unit"
icon = 'objects.dmi'
icon_state = "dispenser"
@@ -101,7 +101,7 @@
/obj/machinery/firealarm
name = "Fire Alarm"
desc = "Pull this in case of emergency. Thus keep pulling this forever."
desc = "Pull this in case of emergency."
icon = 'monitors.dmi'
icon_state = "fire0"
var/detecting = 1.0
@@ -133,7 +133,7 @@
/obj/machinery/igniter
name = "igniter"
desc = "Fun for igniting plasma."
desc = "Might as well make that detonator, right?"
icon = 'stationobjs.dmi'
icon_state = "igniter1"
var/id = null
@@ -198,7 +198,7 @@
/obj/machinery/scan_console
name = "DNA Scanner Access Console"
desc = "Scand DNA."
desc = "Scan DNA."
icon = 'computer.dmi'
icon_state = "scanner"
density = 1
@@ -220,7 +220,7 @@
/obj/machinery/scan_consolenew
name = "DNA Modifier Access Console"
desc = "Scand DNA."
desc = "Scan DNA."
icon = 'computer.dmi'
icon_state = "scanner"
density = 1
@@ -258,7 +258,6 @@
/obj/machinery/door_control
name = "Remote Door Control"
desc = "This controls doors."
icon = 'stationobjs.dmi'
icon_state = "doorctrl0"
desc = "A remote control switch for a door."
@@ -270,7 +269,6 @@
/obj/machinery/driver_button
name = "Mass Driver Button"
desc = "FIRE AWAY!"
icon = 'objects.dmi'
icon_state = "launcherbtt"
desc = "A remote control switch for a Mass Driver."
@@ -283,7 +281,6 @@
/obj/machinery/ignition_switch
name = "Ignition Switch"
desc = "Activates that igniter."
icon = 'objects.dmi'
icon_state = "launcherbtt"
desc = "A remote control switch for a mounted igniter."
@@ -312,7 +309,7 @@
/obj/machinery/teleport/station
name = "station"
desc = "The station thingy of a teleport thingy."
desc = "The station's hub of a teleport system."
icon_state = "controller"
var/active = 0
var/engaged = 0
@@ -378,7 +375,7 @@
/obj/machinery/power/monitor
name = "Power Monitoring Computer"
desc = "Used to monitor the power. Pretty useless."
desc = "Used to monitor the power."
icon = 'computer.dmi'
icon_state = "power"
density = 1
+13 -13
View File
@@ -14,7 +14,7 @@
/obj/item/weapon/storage/trashbag
name = "trash bag"
desc = "for picking up all those pens"
desc = "For picking up all that trash..."
icon_state = "trashbag"
item_state = "trashbag"
w_class = 4.0
@@ -31,7 +31,7 @@
*/
/obj/item/weapon/storage/pill_bottle
name = "pill bottle"
desc = "This is told to hold untold horrors of pulls."
desc = "A reasonable place to put your pills.."
icon_state = "pill_canister"
icon = 'chemical.dmi'
item_state = "contsolid"
@@ -69,7 +69,7 @@
item_state = "syringe_kit"
/obj/item/weapon/storage/backpack/clown
name = "Giggles Von Honkerton"
name = "clown's backpack"
desc = "The backpack made by Honk. Co."
icon_state = "clownpack"
@@ -100,7 +100,7 @@
/obj/item/weapon/storage/briefcase
name = "briefcase"
desc = "Used by the lawyer to robust security in the court room."
desc = "Used by the lawyer in the court room."
icon_state = "briefcase"
flags = FPRINT | TABLEPASS| CONDUCT
force = 8.0
@@ -136,7 +136,7 @@
/obj/item/weapon/storage/firstaid/fire
name = "Fire First Aid"
desc = "A kit for when you 'accidently' set toxins on fire and burn yourself."
desc = "A kit for when you accidently burn yourself."
icon_state = "ointment"
item_state = "firstaid-ointment"
@@ -151,13 +151,13 @@
/obj/item/weapon/storage/firstaid/toxin
name = "Toxin First Aid"
desc = "Used to treat when you have a high amoutn of toxins in your body."
desc = "Used to treat when you have a high amount of toxins in your body."
icon_state = "antitoxin"
item_state = "firstaid-toxin"
/obj/item/weapon/storage/firstaid/o2
name = "Oxygen Deprivation First Aid"
desc = "A box full of oxygen goodies."
desc = "A box full of oxygenating goodies."
icon_state = "o2"
item_state = "firstaid-o2"
@@ -175,7 +175,7 @@
/obj/item/weapon/storage/gl_kit
name = "Prescription Glasses"
desc = "This box contains nerd glasses."
desc = "This box contains vision correcting glasses."
icon_state = "glasses"
item_state = "syringe_kit"
@@ -189,7 +189,7 @@
/obj/item/weapon/storage/id_kit
name = "Spare IDs"
desc = "Has so many empty IDs."
desc = "Has so many blank IDs."
icon_state = "id"
item_state = "syringe_kit"
@@ -201,19 +201,19 @@
/obj/item/weapon/storage/injectbox
name = "DNA-Injectors"
desc = "This box contains injectors it seems."
desc = "This box contains injectors, it seems."
icon_state = "box"
item_state = "syringe_kit"
/obj/item/weapon/storage/stma_kit
name = "Sterile Masks"
desc = "This box contains masks of sterility."
desc = "This box contains masks of +2 constitution." //I made it better. --SkyMarshal
icon_state = "latex"
item_state = "syringe_kit"
/obj/item/weapon/storage/trackimp_kit
name = "Tracking Implant Kit"
desc = "Box full of scum-bag tracking utensils."
desc = "Box full of tracking utensils."
icon_state = "implant"
item_state = "syringe_kit"
@@ -225,7 +225,7 @@
/obj/item/weapon/storage/toolbox
name = "toolbox"
desc = "Danger. Very robust."
desc = "Danger. Very heavy."
icon = 'storage.dmi'
icon_state = "red"
item_state = "toolbox_red"
+1 -1
View File
@@ -241,7 +241,7 @@
/obj/item/toy/crayonbox
name = "box of crayons"
desc = "A box of crayons for all your rune drawing needs."
desc = "A box of crayons for all your drawing needs."
icon = 'crayons.dmi'
icon_state = "crayonbox"
w_class = 2.0
+59 -21
View File
@@ -13,7 +13,7 @@
/obj/item/weapon/shield/riot
name = "riot shield"
desc = "A shield adept at blocking blunt objects from connecting with the torso of the shield wielder."
desc = "A shield adept at blocking blunt objects."
icon = 'weapons.dmi'
icon_state = "riot"
flags = FPRINT | TABLEPASS| CONDUCT| ONBACK
@@ -29,7 +29,7 @@
IsShield()
return 1
/obj/item/weapon/sord
/*/obj/item/weapon/sord
name = "SORD"
desc = "This thing is so unspeakably shitty you are having a hard time even holding it."
icon_state = "sord"
@@ -37,11 +37,11 @@
flags = FPRINT | ONBELT | TABLEPASS
force = 2
throwforce = 1
w_class = 3
w_class = 3 */
/obj/item/weapon/claymore
name = "claymore"
desc = "what are you standing around staring at this for? get to killing!"
desc = "BLOOD FOR THE BLOOD GOD." //SKULLS FOR THE SKULL THRONE. --SkyMarshal
icon_state = "claymore"
item_state = "claymore"
flags = FPRINT | ONBELT | TABLEPASS
@@ -54,7 +54,7 @@
/obj/item/weapon/bodybag
name = "body bag"
desc = "Bag mixed with a bit of body."
desc = "A bag used to deal with a corpse."
icon = 'closet.dmi'
icon_state = "bodybag"
flags = FPRINT | TABLEPASS| CONDUCT
@@ -170,7 +170,7 @@
/obj/item/weapon/melee/baton
name = "Stun Baton"
desc = "A stun baton for hitting people with."
desc = "The police baton of the future."
icon_state = "stunbaton"
item_state = "baton"
flags = FPRINT | ONBELT | TABLEPASS
@@ -182,7 +182,7 @@
var/status = 0
origin_tech = "combat=2"
/obj/item/weapon/melee/chainofcommand
/*/obj/item/weapon/melee/chainofcommand
name = "Chain of Command"
desc = "The Captain is first and all other heads are last."
icon_state = "chainofcommand"
@@ -194,7 +194,7 @@
var/charges = 50.0
var/maximum_charges = 50.0
var/status = 1
origin_tech = "combat=4"
origin_tech = "combat=4" */
/obj/item/weapon/melee/energy
var/active = 0
@@ -214,7 +214,7 @@
/obj/item/weapon/melee/energy/sword
var/color
name = "energy sword"
desc = "May the force be within you."
desc = "It cuts AND cooks at the same time!."
icon_state = "sword0"
force = 3.0
throwforce = 5.0
@@ -272,7 +272,7 @@
icon_state = "soapnt"
/obj/item/weapon/soap/deluxe
desc = "A deluxe Waffle Co. brand bar of soap. Smells of comdoms."
desc = "A deluxe Waffle Co. brand bar of soap." //What is this I don't even. "Smells of comdoms." --SkyMarshal
icon_state = "soapdeluxe"
/obj/item/weapon/soap/syndie
@@ -443,15 +443,15 @@
data = "Clown Land"
/obj/item/weapon/card/emag
desc = "It's a card with a magnetic strip attached to some circuitry."
name = "cryptographic sequencer"
desc = "An identification card. Seems to have some funny chip on it, though."
name = "modified identification card"
icon_state = "emag"
item_state = "card-id"
origin_tech = "magnets=2;syndicate=2"
/obj/item/weapon/card/id
name = "identification card"
desc = "An identification card. No shit."
desc = "An identification card."
icon_state = "id"
item_state = "card-id"
var/access = list()
@@ -525,7 +525,7 @@
throw_range = 10
origin_tech = "combat=3;materials=3;engineering=3"
/obj/item/weapon/pepperspray
/obj/item/weapon/pepperspray //This is riot control
desc = "Manufactred by UhangInc., used to blind and down an opponent quickly."
icon = 'weapons.dmi'
name = "pepperspray"
@@ -537,6 +537,23 @@
throw_speed = 2
throw_range = 10
var/catch = 1
var/BottleSize = 1
var/ReagentAmount = 30
/obj/item/weapon/pepperspray/small //And this is for personal defense.
desc = "This appears to be a small, nonlethal, single use personal defense weapon. Hurts like a bitch, though."
icon = 'weapons.dmi'
name = "mace"
icon_state = "pepperspray"
item_state = "pepperspray"
flags = ONBELT|TABLEPASS|OPENCONTAINER|FPRINT|USEDELAY
throwforce = 3
w_class = 1.0
throw_speed = 2
throw_range = 10
catch = 1
BottleSize = 0
ReagentAmount = 1
/obj/item/weapon/clipboard
name = "clipboard"
@@ -602,7 +619,7 @@
/obj/item/weapon/fireaxe // DEM AXES MAN, marker -Agouri
icon_state = "fireaxe0"
name = "Fire axe"
desc = "Truly, the tool of a madman. Who would possibly think to fight fire with an axe?"
desc = "A tool for breaking down those obstructions that stop you from fighting that fire." //Less ROBUST. --SkyMarshal
force = 5
w_class = 4.0
flags = ONBACK
@@ -612,7 +629,7 @@
/obj/item/weapon/cane
name = "cane"
desc = "A cane used by a true gentlemen. Or a clown."
desc = "A cane used by a true gentlemen."
icon = 'weapons.dmi'
icon_state = "cane"
flags = FPRINT | TABLEPASS| CONDUCT
@@ -645,7 +662,7 @@
/obj/item/weapon/extinguisher
name = "fire extinguisher"
desc = "Contains water....dangit..."
desc = "Contains water..."
icon = 'items.dmi'
icon_state = "fire_extinguisher0"
var/last_use = 1.0
@@ -776,7 +793,7 @@
/obj/item/weapon/mop
desc = "The world of janitalia wouldn't be complete without a mop."
desc = "The world of the janitor wouldn't be complete without a mop."
name = "mop"
icon = 'janitor.dmi'
icon_state = "mop"
@@ -909,7 +926,7 @@
throw_range = 15
/obj/item/weapon/pen/sleepypen
desc = "It's a normal black ink pen with a sharp point and a carefully engraved \"Waffle Co.\""
desc = "It's a normal black ink pen with a sharp point."
flags = FPRINT | ONBELT | TABLEPASS | OPENCONTAINER
origin_tech = "materials=2;biotech=1;syndicate=7"
@@ -1239,7 +1256,7 @@
/obj/item/weapon/kitchen/rollingpin
name = "rolling pin"
desc = "Used to knock out the Bartender."
desc = "Used to flatten dough."
icon_state = "rolling_pin"
force = 8.0
throwforce = 10.0
@@ -1265,7 +1282,7 @@
name = "Butcher's Cleaver"
icon = 'kitchen.dmi'
icon_state = "butch"
desc = "A huge thing used for chopping and chopping up meat. This includes clowns and clown-by-products."
desc = "A huge thing used for chopping and chopping up meat."
flags = FPRINT | TABLEPASS | CONDUCT
force = 15.0
w_class = 2.0
@@ -1493,6 +1510,13 @@
icon_state = "mousetraparmed"
armed = 1
/obj/item/weapon/dice/d4 // -- SkyMarshal
name = "d4"
desc = "A dice with four sides."
sides = 4
icon_state = "d20"
item_state = "dice"
/obj/item/weapon/dice // -- TLE
name = "d6"
desc = "A dice with six sides."
@@ -1500,6 +1524,20 @@
icon_state = "dice"
item_state = "dice"
/obj/item/weapon/dice/d8 // -- SkyMarshal
name = "d8"
desc = "A dice with eight sides."
sides = 8
icon_state = "d20"
item_state = "dice"
/obj/item/weapon/dice/d12 // -- SkyMarshal
name = "d12"
desc = "A dice with twelve sides."
sides = 12
icon_state = "d20"
item_state = "dice"
/obj/item/weapon/dice/d20 // -- TLE
name = "d20"
desc = "A dice with...hell that is many sides."
+5 -3
View File
@@ -73,16 +73,18 @@
H.equip_if_possible(new /obj/item/clothing/shoes/brown(H), H.slot_shoes)
H.equip_if_possible(new /obj/item/device/pda/detective(H), H.slot_belt)
H.equip_if_possible(new /obj/item/clothing/head/det_hat(H), H.slot_head)
var/obj/item/clothing/mask/cigarette/CIG = new /obj/item/clothing/mask/cigarette(H)
/* var/obj/item/clothing/mask/cigarette/CIG = new /obj/item/clothing/mask/cigarette(H)
CIG.light("")
H.equip_if_possible(CIG, H.slot_wear_mask)
H.equip_if_possible(CIG, H.slot_wear_mask) */
//Fuck that thing. --SkyMarshal
H.equip_if_possible(new /obj/item/clothing/gloves/black(H), H.slot_gloves)
H.equip_if_possible(new /obj/item/weapon/storage/fcard_kit(H.back), H.slot_in_backpack)
H.equip_if_possible(new /obj/item/weapon/fcardholder(H), H.slot_in_backpack)
H.equip_if_possible(new /obj/item/clothing/suit/det_suit(H), H.slot_wear_suit)
H.equip_if_possible(new /obj/item/device/detective_scanner(H), H.slot_in_backpack)
H.equip_if_possible(new /obj/item/weapon/zippo(H), H.slot_l_store)
H.equip_if_possible(new /obj/item/weapon/reagent_containers/food/snacks/candy_corn(H), H.slot_h_store)
// H.equip_if_possible(new /obj/item/weapon/reagent_containers/food/snacks/candy_corn(H), H.slot_h_store)
// No... just no. --SkyMarshal
var/obj/item/weapon/implant/loyalty/L = new/obj/item/weapon/implant/loyalty(H)
L.imp_in = H
L.implanted = 1
+29 -3
View File
@@ -18,10 +18,36 @@
if(1.0)
dat += text("<A href='?src=\ref[];choice=Search Records'>Search Records</A><BR>\n<A href='?src=\ref[];choice=List Records'>List Records</A><BR>\n<A href='?src=\ref[];choice=Search Fingerprints'>Search Fingerprints</A><BR>\n<A href='?src=\ref[];choice=New Record (General)'>New General Record</A><BR>\n<BR>\n<A href='?src=\ref[];choice=Record Maintenance'>Record Maintenance</A><BR>\n<A href='?src=\ref[];choice=Log Out'>{Log Out}</A><BR>\n", src, src, src, src, src, src)
if(2.0)
dat += "<B>Record List</B>:<HR>"
dat += {"<B>Record List</B>:<HR>
<table style="text-align:center;" border="1" cellspacing="0">
<tr>
<th>Name (ID#)</th>
<th>Rank</th>
<th>Fingerprints</th>
<th>Criminal Status</th>
</tr>"}
for(var/datum/data/record/R in data_core.general)
dat += text("<A href='?src=\ref[];choice=Browse Record;d_rec=\ref[]'>[]: []<BR>", src, R, R.fields["id"], R.fields["name"])
dat += text("<HR><A href='?src=\ref[];choice=Return'>Back</A>", src)
var/crimstat = ""
for(var/datum/data/record/E in data_core.security)
if ((E.fields["name"] == R.fields["name"] || E.fields["id"] == R.fields["id"]))
crimstat = E.fields["criminal"]
var/background
switch(crimstat)
if("*Arrest*")
background = "'background-color:#DC143C;'"
if("Incarcerated")
background = "'background-color:#CD853F;'"
if("Parolled")
background = "'background-color:#CD853F;'"
if("Released")
background = "'background-color:#3BB9FF;'"
if("None")
background = "'background-color:#00FF7F;'"
dat += text("<tr style=[]><td><A href='?src=\ref[];choice=Browse Record;d_rec=\ref[]'>[] (ID:[])</a></td>", background, src, R, R.fields["name"], R.fields["id"])
dat += text("<td>[]</td>", R.fields["rank"])
dat += text("<td>[]</td>", R.fields["fingerprint"])
dat += text("<td>[]</td></tr>", crimstat)
dat += text("</table><br><HR><A href='?src=\ref[];choice=Return'>Back</A>", src)
if(3.0)
dat += text("<B>Records Maintenance</B><HR>\n<A href='?src=\ref[];choice=Delete All Records'>Delete All Records</A><BR>\n<BR>\n<A href='?src=\ref[];choice=Return'>Back</A>", src, src)
if(4.0)
@@ -134,6 +134,7 @@
new /obj/item/weapon/fcardholder(src)
new /obj/item/weapon/clipboard(src)
new /obj/item/device/detective_scanner(src)
new /obj/item/weapon/pepperspray/small(src)
return
@@ -14,15 +14,14 @@ MOP
return
/obj/item/weapon/cleaner/attack_self(var/mob/user as mob)
switch(catch)
if(0)
user << "\blue You flip the safety back on."
catch = 1
return
if(1)
user << "\blue You flip the safety off."
catch = 0
return
if(catch)
user << "\blue You flip the safety off."
catch = 0
return
else
user << "\blue You flip the safety on."
catch = 1
return
/obj/item/weapon/cleaner/afterattack(atom/A as mob|obj, mob/user as mob)
if (istype(A, /obj/item/weapon/storage ))
@@ -179,25 +178,26 @@ MOP
return
//Pepper spray, set up to make the 2 different types
/obj/item/weapon/pepperspray/New()
var/datum/reagents/R = new/datum/reagents(45)
var/datum/reagents/R = new/datum/reagents(ReagentAmount)
reagents = R
R.my_atom = src
R.add_reagent("condensedcapsaicin", 45)
R.add_reagent("condensedcapsaicin", ReagentAmount)
/obj/item/weapon/pepperspray/attack(mob/living/carbon/human/M as mob, mob/user as mob)
return
/obj/item/weapon/pepperspray/attack_self(var/mob/user as mob)
switch(catch)
if(0)
user << "\blue You flip the safety on."
catch = 1
return
if(1)
user << "\blue You flip the safety off."
catch = 0
return
if(catch)
user << "\blue You flip the safety off."
catch = 0
return
else
user << "\blue You flip the safety on."
catch = 1
return
/obj/item/weapon/pepperspray/afterattack(atom/A as mob|obj, mob/user as mob)
if (istype(A, /obj/item/weapon/storage ))
@@ -205,8 +205,8 @@ MOP
if (istype(A, /obj/effect/proc_holder/spell ))
return
else if (istype(A, /obj/structure/reagent_dispensers/peppertank) && get_dist(src,A) <= 1)
if(src.reagents.total_volume < 45)
A.reagents.trans_to(src, 45 - src.reagents.total_volume)
if(src.reagents.total_volume < ReagentAmount)
A.reagents.trans_to(src, ReagentAmount - src.reagents.total_volume)
user << "\blue Pepper spray refilled"
playsound(src.loc, 'refill.ogg', 50, 1, -6)
return
@@ -221,14 +221,23 @@ MOP
return
playsound(src.loc, 'spray2.ogg', 50, 1, -6)
var/Sprays[3]
for(var/i=1, i<=3, i++) // intialize sprays
var/SprayNum = 0 //Setting up the differentiation for the 2 bottles. --SkyMarshal
var/SprayAmt = 0
if(BottleSize)
SprayNum = 3
SprayAmt = 5
else
SprayNum = 1
SprayAmt = 1
var/Sprays[SprayNum]
for(var/i=1, i<=SprayNum, i++) // intialize sprays
if(src.reagents.total_volume < 1) break
var/obj/effect/decal/D = new/obj/effect/decal(get_turf(src))
D.name = "chemicals"
D.icon = 'chempuff.dmi'
D.create_reagents(5)
src.reagents.trans_to(D, 5)
D.create_reagents(SprayAmt)
src.reagents.trans_to(D, SprayAmt)
var/rgbcolor[3]
var/finalcolor
@@ -263,11 +272,23 @@ MOP
var/obj/effect/decal/D = Sprays[i]
if(!D) continue
var/turf/my_target = null
// Spreads the sprays a little bit
var/turf/my_target = pick(the_targets)
if(i == 1)
my_target = T
else
my_target = pick(the_targets)
the_targets -= my_target
for(var/j=1, j<=rand(6,8), j++)
var/Dist = 0
if(BottleSize)
Dist = rand(6,8)
else
Dist = rand(2,3)
for(var/j=1, j<=Dist, j++)
step_towards(D, my_target)
D.reagents.reaction(get_turf(D))
for(var/atom/t in get_turf(D))
@@ -287,9 +308,14 @@ MOP
/obj/item/weapon/pepperspray/examine()
set src in usr
usr << text("\icon[] [] units of pepperspray left!", src, src.reagents.total_volume)
..()
return
if(BottleSize)
usr << text("\icon[] [] units of pepperspray left!", src, src.reagents.total_volume)
..()
return
else
usr << text("\icon[] [] use(s) remaining!", src, src.reagents.total_volume)
..()
return
// MOP
+3 -3
View File
@@ -1709,13 +1709,13 @@ datum
M << "\red Your glasses protect you from most of the pepperspray!"
M:emote("scream")
M.eye_blurry = max(M.eye_blurry, 20)
M.eye_blind = max(M.eye_blind, 6)
M.eye_blind = max(M.eye_blind, 4)
return
M:emote("scream")
M << "\red You're sprayed directly in the eyes with pepperspray!"
M.eye_blurry = max(M.eye_blurry, 60)
M.eye_blind = max(M.eye_blind, 20)
M:paralysis = max(M:paralysis, 16)
M.eye_blind = max(M.eye_blind, 12)
M:weakened = max(M:weakened, 20)
M.drop_item()
frostoil
+1 -1
View File
@@ -2740,7 +2740,7 @@
icon_state = "peppertank"
anchored = 1
density = 0
amount_per_transfer_from_this = 45
amount_per_transfer_from_this = 30
New()
..()
reagents.add_reagent("condensedcapsaicin",1000)