Added coloring to the 'Used in Collection' attribute for collection items

This commit is contained in:
Seefo
2014-06-21 23:03:15 -04:00
parent 6400a7b9b0
commit 0b315503f0
2 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -754,11 +754,12 @@ public class LootService implements INetworkDispatch {
setSTFParams(droppedItem, STFparams);
}
if (addToCollection!=null){
if (addToCollection!=null) {
droppedItem.getAttributes().put("@obj_attr_n:collection_name", "@collection_n:"+addToCollection);
//droppedItem.getAttributes().put("@obj_attr_n:collection_name", "\\#FFFF00 @collection_n:"+addToCollection + " \\#FFFFFF ");
//core.collectionService.addCollection(actor, "new_prof_officer_master")
droppedItem.setAttachment("radial_filename", "item/collection/loot_collection");
droppedItem.setAttachment("AddToCollection", addToCollection);
//System.out.println("collection");
}