AI/Staff/StaffDefinition.cs
[AssetType( Name = "Staff Definition", Extension = "sdef" )]
public class StaffDefinition : GameResource
{
[Property] public string DisplayName { get; set; }
[Property] public string Description { get; set; }
[Property] public Texture Icon { get; set; }
[Property] public string Silkicon { get; set; }
/// <summary>
/// The prefab this staff should use.
/// </summary>
[Property] public GameObject Prefab { get; set; }
/// <summary>
/// How much it costs to initially hire this member of staff.
/// </summary>
[Property] public int HireCost { get; set; }
/// <summary>
/// How much this member of staff must be paid every day.
/// </summary>
[Property] public int Wages { get; set; }
protected override Bitmap CreateAssetTypeIcon( int width, int height )
{
return CreateSimpleAssetTypeIcon( "badge", width, height );
}
}