v1.4.0: adjusted new quantity color for thrown weapons
This commit is contained in:
@@ -228,7 +228,9 @@ public class ItemSlot extends Button {
|
|||||||
|
|
||||||
status.text( item.status() );
|
status.text( item.status() );
|
||||||
|
|
||||||
|
//thrown weapons on their last use show quantity in orange, unless they are single-use
|
||||||
if (item instanceof MissileWeapon
|
if (item instanceof MissileWeapon
|
||||||
|
&& ((MissileWeapon) item).durabilityLeft() <= 50f
|
||||||
&& ((MissileWeapon) item).durabilityLeft() <= ((MissileWeapon) item).durabilityPerUse()){
|
&& ((MissileWeapon) item).durabilityLeft() <= ((MissileWeapon) item).durabilityPerUse()){
|
||||||
status.hardlight(WARNING);
|
status.hardlight(WARNING);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user