From 9408fee3c114b8c31618e7dab0ee65e51beb7d18 Mon Sep 17 00:00:00 2001 From: wtclaude Date: Tue, 27 Oct 2026 13:35:55 -0500 Subject: [PATCH 1/2] feat(demo): seed two showcase events, Treasure drop and Payday The demo default set (org lead, 2026-10-27: curated showcase) puts its permissions and NPCs on the rig, where the baseline restores them; events live in the site's database, which every wipe drops, so they belong in the fixture. Both are manual, published, on the demo server: - Treasure drop: rust.dt.start, Easy. - Payday: rust.coins.pay, 500 coins to every linked player, said in chat. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- deploy/demo/seed.json | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/deploy/demo/seed.json b/deploy/demo/seed.json index 326132c..03040a1 100644 --- a/deploy/demo/seed.json +++ b/deploy/demo/seed.json @@ -58,6 +58,51 @@ ] }, "publish": true + }, + { + "title": "Treasure drop", + "summary": "Starts a Dangerous Treasures event: a guarded, burning chest somewhere on the map. Run it from Admin → Events.", + "timezone": "UTC", + "spec": { + "schedule": { "kind": "manual" }, + "phases": [ + { + "key": "main", + "label": "Drop the treasure", + "steps": [ + { "actionId": "rust.dt.start", "params": { "server": "demo", "level": 0 } } + ] + } + ] + }, + "publish": true + }, + { + "title": "Payday", + "summary": "Pays every linked player 500 coins through Economics. Run it from Admin → Events.", + "timezone": "UTC", + "spec": { + "schedule": { "kind": "manual" }, + "phases": [ + { + "key": "main", + "label": "Pay", + "steps": [ + { + "actionId": "rust.coins.pay", + "params": { + "server": "demo", + "amount": 500, + "recipients": "linked", + "message": "Payday! You received {amount} coins.", + "delivery": "chat" + } + } + ] + } + ] + }, + "publish": true } ] }, -- 2.49.1 From 38aef5964e5280ecb00d7ece69cbb549be096513 Mon Sep 17 00:00:00 2001 From: wtclaude Date: Tue, 27 Oct 2026 20:16:27 -0500 Subject: [PATCH 2/2] feat(demo): seed the default set's NPC profiles, factions and chat titles (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; chat styles are never adopted either. They come from the fixture now, through Module-Rust's onDemoSeed (needs the release carrying DM26; an older module ignores these keys): - npcs.factions: bandits and guards, allied; - npcs.profiles: bandit (roamer, rnpc_raider) and guard (sentry, heavy, rnpc_campguard, heals), both on the demo server. Only the fields that differ from RunicNPC's defaults are listed; - chat: [VIP] in gold and [MOD] in green. The baseline's placements (bandit-1, bandit-2, guard-1) spawn again once the site pushes these. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- deploy/demo/seed.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/deploy/demo/seed.json b/deploy/demo/seed.json index 03040a1..5921b23 100644 --- a/deploy/demo/seed.json +++ b/deploy/demo/seed.json @@ -118,6 +118,40 @@ ], "links": [ { "username": "demo-player", "steamId": "$env:DEMO_PLAYER_STEAM_ID", "serverId": "demo" } + ], + "npcs": { + "factions": [{ "a": "bandits", "b": "guards", "relation": "allied" }], + "profiles": [ + { + "name": "bandit", + "servers": ["demo"], + "body": { + "kits": ["rnpc_raider"], + "names": ["Bandit", "Bandit Scout"], + "role": "roamer", + "movement": { "mode": "wander", "radius": 20 }, + "health": 150, + "faction": "bandits" + } + }, + { + "name": "guard", + "servers": ["demo"], + "body": { + "kits": ["rnpc_campguard"], + "names": ["Camp Guard"], + "prefab": "scientistnpc_heavy", + "role": "sentry", + "health": 300, + "faction": "guards", + "kitUse": { "heal": true, "grenades": false, "melee": false, "rockets": false, "flamethrower": false } + } + } + ] + }, + "chat": [ + { "serverId": "demo", "group": "vip", "style": { "Title": "[VIP]", "TitleColor": "#ffaa00", "UsernameColor": "#ffaa00", "Priority": "10" } }, + { "serverId": "demo", "group": "moderator", "style": { "Title": "[MOD]", "TitleColor": "#55ff55", "UsernameColor": "#55ff55", "Priority": "50" } } ] } } -- 2.49.1