mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Fixed loot system message, added functions to TangibleObject to obtain different variants of the object's name
This commit is contained in:
@@ -512,6 +512,24 @@ public class TangibleObject extends SWGObject implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
// Returns the STF-based name
|
||||
public String getProperName()
|
||||
{
|
||||
return "@" + getStfFilename() + ":" + getStfName();
|
||||
}
|
||||
|
||||
// Returns the current, true name of the Object
|
||||
public String getTrueName()
|
||||
{
|
||||
return getCustomName() != null ? getCustomName() : getProperName();
|
||||
}
|
||||
|
||||
// Returns the STF-based description
|
||||
public String getProperDescription()
|
||||
{
|
||||
return "@" + getDetailFilename() + ":" + getDetailName();
|
||||
}
|
||||
|
||||
public List<LootGroup> getLootGroups() {
|
||||
return lootGroups;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user