POLARIS: 3000% human/update_icons() improvement

Using overlays in lists and a mutable_appearance
This commit is contained in:
Arokha Sieyes
2018-01-15 21:39:47 -05:00
parent 60c07e348b
commit 10aabd98da
39 changed files with 216 additions and 149 deletions
+2 -2
View File
@@ -989,8 +989,8 @@ var/list/admin_verbs_event_manager = list(
else
M.gender = NEUTER
M.update_hair()
M.update_body()
M.update_hair(FALSE)
M.update_icons_body()
M.check_dna(M)
/client/proc/playernotes()
+5 -1
View File
@@ -1001,7 +1001,11 @@
//strip their stuff and stick it in the crate
for(var/obj/item/I in M)
M.drop_from_inventory(I, locker)
M.update_icons()
if(ishuman(M))
var/mob/living/carbon/human/H = M
H.update_icons_layers() //Cheaper
else
M.update_icons()
//so they black out before warping
M.Paralyse(5)
+1 -1
View File
@@ -482,7 +482,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
data_core.manifest_inject(new_character)
//A redraw for good measure
new_character.update_icons()
new_character.update_icons_all()
//If we're announcing their arrival
if(announce)