mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-24 20:26:55 +01:00
Small bug fixes and UI improvements.
This commit is contained in:
@@ -22,6 +22,7 @@ public class ActorCondition extends JSONElement {
|
||||
private static final long serialVersionUID = -3969824899972048507L;
|
||||
|
||||
public static final Integer CLEAR_AC_MAGNITUDE = -99;
|
||||
public static final Integer FOREVER_DURATION = 999;
|
||||
|
||||
// Available from init state
|
||||
//public String id; inherited.
|
||||
|
||||
@@ -104,7 +104,10 @@ public class Requirement extends JSONElement {
|
||||
|
||||
@Override
|
||||
public String getDesc() {
|
||||
return ((negated != null && negated) ? "NOT " : "")+(type == null ? "" : type.toString()+":")+required_obj_id+(required_value == null ? "" : ":"+required_value.toString());
|
||||
return ((negated != null && negated) ? "NOT " : "")
|
||||
+(type == null ? "" : type.toString()+":")
|
||||
+(required_obj_id == null ? "" : required_obj_id+":")
|
||||
+(required_value == null ? "" : required_value.toString());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user