Fixed some housing bugs and Tusken Raider mobile template - see extended

Fixed a housing issue where the structure management terminal would be
returned in the item list and could be deleted via the delete all items
radial.

Fixed item list to display proper names of objects.

Fixed the Tusken Raider mobile template to display the proper creature
name and changed their default weapons from an E11 and a T21 to a Tusken
Rifle.
This commit is contained in:
Seefo
2014-04-12 18:13:11 -04:00
parent ce3735c6c2
commit 6f791819e6
3 changed files with 6 additions and 6 deletions
@@ -151,7 +151,7 @@ public class BuildingObject extends TangibleObject implements IPersistent {
public Vector<TangibleObject> getItemsList() {
Vector<TangibleObject> items = new Vector<TangibleObject>();
getCells().forEach(c -> c.viewChildren(c, true, false, (item) -> {
if(!(item instanceof CreatureObject))
if(!(item instanceof CreatureObject) && item.getTemplate() != "object/tangible/terminal/shared_terminal_player_structure.iff")
items.add((TangibleObject) item);
}));
return items;