Quest items will now show up as unique color

This commit is contained in:
Collin Smith 2019-03-10 15:37:34 -07:00
parent d85c3e99e7
commit b8c4633597
2 changed files with 2 additions and 1 deletions

View File

@ -30,4 +30,5 @@ public class ItemEntry extends Excel.Entry {
@Column public boolean stackable;
@Column public boolean useable;
@Column public String usesound;
@Column public int quest;
}

View File

@ -594,7 +594,7 @@ public class Item extends Actor implements Disposable {
case LOW:
case NORMAL:
case HIGH:
if ((flags & RUNEWORD) == RUNEWORD)
if ((flags & RUNEWORD) == RUNEWORD || base.quest > 0)
name.setColor(Riiablo.colors.gold);
if ((flags & (ETHEREAL|SOCKETED)) != 0)
type.setColor(Riiablo.colors.grey);