zc
This commit is contained in:
@@ -15,14 +15,17 @@ namespace WulaFallenEmpire
|
||||
public class EventDef : Def
|
||||
{
|
||||
public string portraitPath;
|
||||
[MustTranslate]
|
||||
public string characterName;
|
||||
|
||||
// New system: list of descriptions
|
||||
[MustTranslate]
|
||||
public List<string> descriptions;
|
||||
public DescriptionSelectionMode descriptionMode = DescriptionSelectionMode.Random;
|
||||
public bool hiddenWindow = false;
|
||||
|
||||
// Backwards compatibility: old single description field
|
||||
[MustTranslate]
|
||||
public new string description = null;
|
||||
|
||||
public Vector2 windowSize = Vector2.zero;
|
||||
@@ -66,8 +69,10 @@ namespace WulaFallenEmpire
|
||||
|
||||
public class EventOption
|
||||
{
|
||||
[MustTranslate]
|
||||
public string label;
|
||||
public List<Condition> conditions;
|
||||
[MustTranslate]
|
||||
public string disabledReason;
|
||||
public bool hideWhenDisabled = true;
|
||||
public List<ConditionalEffects> optionEffects;
|
||||
@@ -160,6 +165,7 @@ namespace WulaFallenEmpire
|
||||
public class ConditionalDescription
|
||||
{
|
||||
public List<Condition> conditions;
|
||||
[MustTranslate]
|
||||
public string text;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user