mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-21 20:18:14 +07:00
Quest items will now show up as unique color
This commit is contained in:
parent
d85c3e99e7
commit
b8c4633597
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user