1
0
Fork 0

feat(events): add staffing, upkeep, and upgrade event types

Adds staff:hired/terminated/headcount-set, staff:salary-paid/unpaid, structure:upgraded/maintenance-paid/maintenance-unpaid/upkeep-short event types and registers npc-staffing as an event target collection.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jason Fraley 2026-09-06 01:24:02 -04:00
parent 86464b528a
commit 854c525b07
3 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,7 @@ const TARGET_COLLECTIONS = [
{ label: "Game Structures", value: "game-structures" },
{ label: "Game Vehicles", value: "game-vehicles" },
{ label: "Game NPCs", value: "game-npcs" },
{ label: "NPC Staffing", value: "npc-staffing" },
{ label: "Structures", value: "structures" },
{ label: "Resources", value: "resources" },
{ label: "Assets", value: "assets" },

View file

@ -20,6 +20,7 @@ interface GameEventInput {
| "game-structures"
| "game-vehicles"
| "game-npcs"
| "npc-staffing"
| "shipments"
| "bank-accounts"
| "bank-transactions"

View file

@ -16,6 +16,17 @@ export const EventTypes = {
// Structure
StructureResize: "structure:resize",
StructureUpgraded: "structure:upgraded",
UpkeepShort: "structure:upkeep-short",
// Staffing
StaffHired: "staff:hired",
StaffTerminated: "staff:terminated",
StaffHeadcountSet: "staff:headcount-set",
SalaryPaid: "staff:salary-paid",
SalaryUnpaid: "staff:salary-unpaid",
MaintenancePaid: "structure:maintenance-paid",
MaintenanceUnpaid: "structure:maintenance-unpaid",
// Finance
FinanceDeposit: "finance:deposit",