TG: (Might very possibly be broken. Didn't port most of the stuff due to it having been rewritten. - Erthilo)

Adds BS12 dismemberment.  Not all features of it are implemented yet, but it
should be equal to our previous system.
Adds greater changeling code, but doesn't change the genome count yet on it.
Renames registered to registered_name on IDs because bs12 had it and it seemed
like a good idea to do last night.  For some reason.
Adds an afterattack to mobs that can be used.  (In fairness, lots of shit in
attack_hand should be in there instead, like stungloves and stuff, to minimize
duplicated code)
Revision: r3537
Author: 	 VivianFoxfoot
This commit is contained in:
Erthilo
2012-05-06 22:53:39 +01:00
parent 0505efb4c4
commit 026074d6c5
43 changed files with 521 additions and 172 deletions
-26
View File
@@ -71,32 +71,6 @@
var/h_b = 245.0
/obj/machinery/computer/secure_data
name = "Security Records"
desc = "Used to view and edit personnel's security records"
icon_state = "security"
req_access = list(access_security)
circuit = "/obj/item/weapon/circuitboard/secure_data"
var/obj/item/weapon/card/id/scan = null
var/obj/item/weapon/disk/records/disk = null
var/authenticated = null
var/rank = null
var/screen = null
var/datum/data/record/active1 = null
var/datum/data/record/active2 = null
var/a_id = null
var/temp = null
var/printing = null
var/can_change_id = 0
var/list/Perp
var/tempname = null
/obj/machinery/computer/secure_data/detective_computer
icon = 'computer.dmi'
icon_state = "messyfiles"
/obj/machinery/computer/security
name = "Security Cameras"
desc = "Used to access the various cameras on the station."
+1
View File
@@ -77,6 +77,7 @@
if(B != src)
del(B)
/obj/effect/decal/cleanable/blood/drip
name = "drips of blood"
desc = "It's red."
+2 -1
View File
@@ -572,7 +572,8 @@
icon_state = "id"
item_state = "card-id"
var/access = list()
var/registered_name = null
var/registered_name = null // The name registered_name on the card
var/assignment = null
var/over_jumpsuit = 1 // If set to 0, it won't display on top of the mob's jumpsuit
var/dorm = 0 // determines if this ID has claimed a dorm already
+3 -3
View File
@@ -740,9 +740,9 @@ Turf and target are seperate in case you want to teleport some distance from a t
pda.name = "PDA-[newname] ([pda.ownjob])"
break
for(var/obj/item/weapon/card/id/id in M.contents)
if(id.registered == oldname)
id.registered = newname
id.name = "[id.registered]'s ID Card ([id.assignment])"
if(id.registered_name == oldname)
id.registered_name = newname
id.name = "[id.registered_name]'s ID Card ([id.assignment])"
break*/
/proc/ionnum()