public override IEnumerable<Gizmo> GetGizmos()
{
int groupKeyBase = 700000200;
List<Gizmo> gizmoList = new List<Gizmo>();
foreach (Gizmo gizmo in base.GetGizmos())
{
gizmoList.Add(gizmo);
}
if (this.Faction != Faction.OfPlayer)
{
return gizmoList;
}
if (this.campfirePartyIsStarted == false)
{
Command_Action startCampfirePartyGizmo = new Command_Action();
startCampfirePartyGizmo.icon = startCampfirePartyGizmoIcon;
startCampfirePartyGizmo.defaultDesc = "Start campfire party.";
startCampfirePartyGizmo.defaultLabel = "Start campfire party.";
startCampfirePartyGizmo.activateSound = SoundDef.Named("Click");
startCampfirePartyGizmo.action = new Action(TryToStartCampfireParty);
startCampfirePartyGizmo.groupKey = groupKeyBase + 1;
gizmoList.Add(startCampfirePartyGizmo);
}
// TODO: add a tribal-style party. People run in circle around pyre and get a combat bonus! Only available if allied with a local tribe.
return gizmoList;
}