generated from nhcarrigan/template
feat: companion system (named NPCs with passive bonuses and personality) #23
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Companions are named NPC characters who join the player's guild hall and provide passive bonuses. Unlike adventurers (which are generic tiered hirelings), companions are unique individuals with names, portraits, backstories, and specific abilities. They add personality to the guild hall and give players collectibles to chase.
Design
Acquiring Companions
Companion Bonuses (examples)
Each companion provides one passive bonus, e.g.:
Guild Hall Display
Data Structure
GameState
unlockedCompanions: string[]— array of companion IDsTask Checklist
Companiontype inpackages/typescompanions.tsdata file (suggest starting with ~10 companions)unlockedCompanions: string[]toGameStateCompanionPanel.tsx— tab showing unlocked + locked companionsGameLayout.tsx✨ This issue was created with help from Hikari~ 🌸