暂存3
This commit is contained in:
22
Source/WulaFallenEmpire/EventSystem/CustomUIDef.cs
Normal file
22
Source/WulaFallenEmpire/EventSystem/CustomUIDef.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user