feat(demo): seed the default set's events, NPCs and chat titles #230
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/demo-default-events"
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?
What & why
The demo's default set (org lead, 2026-10-27: "curated showcase") is the starting point every wipe restores. Groups, permissions and members come back from the rig's baseline through the fresh site's first import. Three parts can't come back that way, so they come from the fixture:
1. Events live in the site database, which every wipe drops. Two are added next to "Server greeting":
rust.dt.startdemo, level 0 (Easy)rust.coins.paydemo, 500 coins, recipientslinked, said in chat2. NPC profiles and factions (DM26). The restored rig's RunicNPC says it is already managed, so a fresh site adopts none of its profiles and its first push empties them. The first three restored wipes (runs 367-369) left
bandit-1,bandit-2andguard-1at "profile missing".modules.rust.npcsnow seeds:bandit: roamer,rnpc_raider;guard: sentry, heavy,rnpc_campguard, heals.Each body lists only what differs from RunicNPC's defaults.
3. Chat titles (DM26). The import never adopts BetterChat styles.
modules.rust.chatseeds[VIP]in gold and[MOD]in green.Parts 2 and 3 are written by Module-Rust#65 (v0.6.1). A module older than that ignores these keys, so merging this first is harmless; they take effect once v0.6.1 is released.
How it was tested
checkFixture(core): no problems. Module-Rust#65'scheckSectionaccepts thenpcsandchatparts, and both profile bodies passnpcProfile.checkBody.201then200for each. The same profiles, factions and chat styles were made through the admin API earlier the same day, and the NPCs spawned.deploy/demo/**), which seeds them for real. The NPC and chat parts need v0.6.1 too.Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
feat(demo): seed two showcase events, Treasure drop and Paydayto feat(demo): seed the default set's events, NPCs and chat titles