Skip to content

Modder reference

emuengine edited this page Aug 18, 2026 · 7 revisions

Mod IDs

Component Unique ID
SMAPI mod EmuEngine.MayorMod
Content Patcher pack EmuEngine.MayorModCP

Progress flags

Flag Description
EmuEngine.MayorModCP_RunningForMayor The player has registered.
EmuEngine.MayorModCP_VotingDay The election day is today.
EmuEngine.MayorModCP_HasVoted This farmer has cast their vote.
EmuEngine.MayorModCP_WonMayorElection Player has won the election but not mayor yet.
EmuEngine.MayorModCP_LostMayorElection Player has lost the election
EmuEngine.MayorModCP_ElectedAsMayor The player is the mayor
EmuEngine.MayorModCP_IsCouncilDay Today is a council meeting day
EmuEngine.MayorModCP_TownCleanup Tidy town initiative passed
EmuEngine.MayorModCP_RiverCleanup Clean river initiative passed
EmuEngine.MayorModCP_SecurityOnGuard Public safety meeting passed
EmuEngine.MayorModCP_StrategicReserve Strategic supply reserve meeting passed
EmuEngine.MayorModCP_ModNeedsReset A total mod reset is pending for the next day
EmuEngine.MayorModCP_CouncilMeetingPlanned<ID> A council meeting with the agenda is scheduled

Council Meeting IDs

These Ids are prefixed with "EmuEngine.MayorModCP_CouncilMeetingPlanned" to get the full flag. They are used for the council event trigger.

ID Description
Intro Intro meeting for council members.
TownCleanup Meeting about town cleanup.
RiverCleanup Meeting about river cleanup.
SaloonHours Meeting about increasing Saloon hours.
StrategicReserve Meeting about creating a strategic reserve in case of disaster.
TownRoads Meeting about adding more roads.
TownSecurity Meeting about town security and adding Officer Mike as a guard on the mines.

Harmony Patches

Custom event commands

Clone this wiki locally