25 lines
684 B
C#
25 lines
684 B
C#
using System.Collections.Generic;
|
|
using Verse;
|
|
|
|
namespace WulaFallenEmpire
|
|
{
|
|
public class CustomUIDef : Def
|
|
{
|
|
public string portraitPath;
|
|
public string characterName;
|
|
public new string description;
|
|
public List<CustomUIOption> options;
|
|
public string backgroundImagePath; // Override default background
|
|
public List<Effect> onOpenEffects;
|
|
public List<Effect> dismissEffects;
|
|
}
|
|
|
|
public class CustomUIOption
|
|
{
|
|
public string label;
|
|
public List<Effect> effects;
|
|
public List<Condition> conditions;
|
|
public string disabledReason; // Custom text to show if conditions aren't met
|
|
}
|
|
}
|