Cleans up round end summary.
Removes duplication of traitor summaries.
Attempts to improve how the traitor purchase log is presented.
Ghosts made manifest now have different names and assignments, otherwise one would get messages like "Anguished Phantom played as an Anguished Phantom".
Instead the message is "Anguished Phantom played as a Manifest Ghost".
This commit is contained in:
PsiOmega
2014-12-08 17:06:36 +01:00
parent e66f5ed765
commit 87998f7eb1
8 changed files with 28 additions and 21 deletions
+2 -6
View File
@@ -128,11 +128,7 @@ datum/nano_item_lists
var/mob/living/carbon/human/A = usr
A.put_in_any_hand_if_possible(I)
if(istype(I ,/obj/item/weapon/storage/box/) && I.contents.len>0)
for(var/atom/o in I)
purchase_log += "\icon[o]"
else
purchase_log += "\icon[I]"
purchase_log[UI] = purchase_log[UI] + 1
return 1
return 0
@@ -192,7 +188,7 @@ datum/nano_item_lists
data["menu"] = nanoui_menu
data["nano_items"] = nanoui_items
data += nanoui_data
// update the ui if it exists, returns null if no ui is passed/found
ui = nanomanager.try_update_ui(user, src, ui_key, ui, data, force_open)
if (!ui)