mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
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:
@@ -154,6 +154,7 @@
|
|||||||
playsound(loc, 'Screwdriver.ogg', 50, 1)
|
playsound(loc, 'Screwdriver.ogg', 50, 1)
|
||||||
user << "\blue You connect the monitor."
|
user << "\blue You connect the monitor."
|
||||||
new /mob/living/silicon/ai ( loc, laws, brain )
|
new /mob/living/silicon/ai ( loc, laws, brain )
|
||||||
|
feedback_inc("ais_created",1)
|
||||||
del(src)
|
del(src)
|
||||||
|
|
||||||
/obj/structure/AIcore/deactivated
|
/obj/structure/AIcore/deactivated
|
||||||
|
|||||||
@@ -90,6 +90,7 @@
|
|||||||
if(src.l_arm && src.r_arm)
|
if(src.l_arm && src.r_arm)
|
||||||
if(src.l_leg && src.r_leg)
|
if(src.l_leg && src.r_leg)
|
||||||
if(src.chest && src.head)
|
if(src.chest && src.head)
|
||||||
|
feedback_inc("cyborg_frames_built",1)
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
@@ -206,6 +207,8 @@
|
|||||||
W.loc = O//Should fix cybros run time erroring when blown up. It got deleted before, along with the frame.
|
W.loc = O//Should fix cybros run time erroring when blown up. It got deleted before, along with the frame.
|
||||||
O.mmi = W
|
O.mmi = W
|
||||||
|
|
||||||
|
feedback_inc("cyborgs_created",1)
|
||||||
|
|
||||||
del(src)
|
del(src)
|
||||||
else
|
else
|
||||||
user << "\blue The MMI must go in after everything else!"
|
user << "\blue The MMI must go in after everything else!"
|
||||||
|
|||||||
@@ -41,6 +41,9 @@
|
|||||||
icon_state = "mmi_full"
|
icon_state = "mmi_full"
|
||||||
|
|
||||||
locked = 1
|
locked = 1
|
||||||
|
|
||||||
|
feedback_inc("mmis_filled",1)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if((istype(O,/obj/item/weapon/card/id)||istype(O,/obj/item/device/pda)) && brainmob)
|
if((istype(O,/obj/item/weapon/card/id)||istype(O,/obj/item/device/pda)) && brainmob)
|
||||||
|
|||||||
@@ -71,6 +71,7 @@
|
|||||||
hands.icon_state = "standard"
|
hands.icon_state = "standard"
|
||||||
icon_state = "robot"
|
icon_state = "robot"
|
||||||
modtype = "Stand"
|
modtype = "Stand"
|
||||||
|
feedback_inc("standard_cyborgs",1)
|
||||||
|
|
||||||
if("Service")
|
if("Service")
|
||||||
module = new /obj/item/weapon/robot_module/butler(src)
|
module = new /obj/item/weapon/robot_module/butler(src)
|
||||||
@@ -87,12 +88,14 @@
|
|||||||
else
|
else
|
||||||
icon_state = "Service2"
|
icon_state = "Service2"
|
||||||
modtype = "Butler"
|
modtype = "Butler"
|
||||||
|
feedback_inc("service_cyborgs",1)
|
||||||
|
|
||||||
if("Miner")
|
if("Miner")
|
||||||
module = new /obj/item/weapon/robot_module/miner(src)
|
module = new /obj/item/weapon/robot_module/miner(src)
|
||||||
hands.icon_state = "miner"
|
hands.icon_state = "miner"
|
||||||
icon_state = "Miner"
|
icon_state = "Miner"
|
||||||
modtype = "Miner"
|
modtype = "Miner"
|
||||||
|
feedback_inc("miner_cyborgs",1)
|
||||||
|
|
||||||
if("Medical")
|
if("Medical")
|
||||||
module = new /obj/item/weapon/robot_module/medical(src)
|
module = new /obj/item/weapon/robot_module/medical(src)
|
||||||
@@ -100,24 +103,28 @@
|
|||||||
icon_state = "surgeon"
|
icon_state = "surgeon"
|
||||||
modtype = "Med"
|
modtype = "Med"
|
||||||
nopush = 1
|
nopush = 1
|
||||||
|
feedback_inc("medical_cyborgs",1)
|
||||||
|
|
||||||
if("Security")
|
if("Security")
|
||||||
module = new /obj/item/weapon/robot_module/security(src)
|
module = new /obj/item/weapon/robot_module/security(src)
|
||||||
hands.icon_state = "security"
|
hands.icon_state = "security"
|
||||||
icon_state = "bloodhound"
|
icon_state = "bloodhound"
|
||||||
modtype = "Sec"
|
modtype = "Sec"
|
||||||
|
feedback_inc("security_cyborgs",1)
|
||||||
|
|
||||||
if("Engineering")
|
if("Engineering")
|
||||||
module = new /obj/item/weapon/robot_module/engineering(src)
|
module = new /obj/item/weapon/robot_module/engineering(src)
|
||||||
hands.icon_state = "engineer"
|
hands.icon_state = "engineer"
|
||||||
icon_state = "landmate"
|
icon_state = "landmate"
|
||||||
modtype = "Eng"
|
modtype = "Eng"
|
||||||
|
feedback_inc("engineering_cyborgs",1)
|
||||||
|
|
||||||
if("Janitor")
|
if("Janitor")
|
||||||
module = new /obj/item/weapon/robot_module/janitor(src)
|
module = new /obj/item/weapon/robot_module/janitor(src)
|
||||||
hands.icon_state = "janitor"
|
hands.icon_state = "janitor"
|
||||||
icon_state = "mopgearrex"
|
icon_state = "mopgearrex"
|
||||||
modtype = "Jan"
|
modtype = "Jan"
|
||||||
|
feedback_inc("janitor_cyborgs",1)
|
||||||
|
|
||||||
overlays -= "eyes" //Takes off the eyes that it started with
|
overlays -= "eyes" //Takes off the eyes that it started with
|
||||||
updateicon()
|
updateicon()
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user