Added stat tracking for cyborg frames built, cyborgs created, MMIs filled, AIs created, and cyborg modules chosen.

cyborg_frames_built
cyborgs_created
mmis_filled
ais_created

standard_cyborgs
service_cyborgs
miner_cyborgs
medical_cyborgs
security_cyborgs
engineering_cyborgs
janitor_cyborgs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3064 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
petethegoat@gmail.com
2012-02-09 02:27:54 +00:00
parent abe5e4ba9d
commit 24e2aedab8
5 changed files with 14 additions and 0 deletions
@@ -41,6 +41,9 @@
icon_state = "mmi_full"
locked = 1
feedback_inc("mmis_filled",1)
return
if((istype(O,/obj/item/weapon/card/id)||istype(O,/obj/item/device/pda)) && brainmob)
@@ -71,6 +71,7 @@
hands.icon_state = "standard"
icon_state = "robot"
modtype = "Stand"
feedback_inc("standard_cyborgs",1)
if("Service")
module = new /obj/item/weapon/robot_module/butler(src)
@@ -87,12 +88,14 @@
else
icon_state = "Service2"
modtype = "Butler"
feedback_inc("service_cyborgs",1)
if("Miner")
module = new /obj/item/weapon/robot_module/miner(src)
hands.icon_state = "miner"
icon_state = "Miner"
modtype = "Miner"
feedback_inc("miner_cyborgs",1)
if("Medical")
module = new /obj/item/weapon/robot_module/medical(src)
@@ -100,24 +103,28 @@
icon_state = "surgeon"
modtype = "Med"
nopush = 1
feedback_inc("medical_cyborgs",1)
if("Security")
module = new /obj/item/weapon/robot_module/security(src)
hands.icon_state = "security"
icon_state = "bloodhound"
modtype = "Sec"
feedback_inc("security_cyborgs",1)
if("Engineering")
module = new /obj/item/weapon/robot_module/engineering(src)
hands.icon_state = "engineer"
icon_state = "landmate"
modtype = "Eng"
feedback_inc("engineering_cyborgs",1)
if("Janitor")
module = new /obj/item/weapon/robot_module/janitor(src)
hands.icon_state = "janitor"
icon_state = "mopgearrex"
modtype = "Jan"
feedback_inc("janitor_cyborgs",1)
overlays -= "eyes" //Takes off the eyes that it started with
updateicon()