Rewrites the DNA-cost limitation to work off of absorbed dna count (the objective tracker) instead of the length of the dna list.

Changeling Regeneration now has two steps, so that changelings can decide when to use it rather than popping up after a timer.
Fixed an issue with the chem UI indicator showing up for non-lings.
This commit is contained in:
Cheridan
2013-07-07 18:15:47 -05:00
parent c76bcf4708
commit 103401d90e
6 changed files with 88 additions and 70 deletions
@@ -280,6 +280,7 @@
lingchemdisplay.icon_state = "power_display"
lingchemdisplay.screen_loc = ui_lingchemdisplay
lingchemdisplay.layer = 20
lingchemdisplay.invisibility = 101
mymob.blind = new /obj/screen()
mymob.blind.icon = 'icons/mob/screen_full.dmi'
@@ -142,6 +142,13 @@
mymob.pullin.name = "pull"
mymob.pullin.screen_loc = ui_pull_resist
lingchemdisplay = new /obj/screen()
lingchemdisplay.name = "chemical storage"
lingchemdisplay.icon_state = "power_display"
lingchemdisplay.screen_loc = ui_lingchemdisplay
lingchemdisplay.layer = 20
lingchemdisplay.invisibility = 101
mymob.blind = new /obj/screen()
mymob.blind.icon = 'icons/mob/screen_full.dmi'
mymob.blind.icon_state = "blackimageoverlay"
@@ -350,7 +350,7 @@
if (client.statpanel == "Status")
if(mind.changeling)
stat("Chemical Storage", "[mind.changeling.chem_charges]/[mind.changeling.chem_storage]")
stat("Genetic Damage Time", mind.changeling.geneticdamage)
stat("Absorbed DNA", mind.changeling.absorbedcount)
return