feat: API 3, placements from a website (stage 4, D249) #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/stage-4-api3"
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
This is RunicNPC's part of stage 4 (docs/runicnpc/PLAN.md). It is API 3, which the org lead approved as a fifth PR (D249).
RunicNpc_AddPlacement(JObject)creates a placement and names it as/rnpc placedoes (warden-3, D241, D246).yis a point on a map. It is grounded on terrain and rock, never a building or a tree (D245), then checked against the navmesh like any placement.{id, position, built, cost}, or{error}with the sentence/rnpc placewould have said.RunicNpc_RenamePlacementandRunicNpc_RespawnPlacementdo whatrnpc renameandrnpc respawndo.OnRunicNpcPlacementChanged(id, change, previous)is raised on every set, remove and rename, from the API or in game. The bridge uses it to tell the site at once.rnpc placeandherenow share one function with the API, so they refuse with the same sentences.Tested
api3group (25 checks: naming, grounding, refusals, rename, respawn, the hook in game and through the API).rnt.run allpasses 157/157 on both rigs.Pairs with
Rust-Plugins, Rust-Link, Module-Rust and installer
feat/runicnpc-stage4, plus the docs PR.Checklist
checkPlugin.js, the harness on both rigs).Claude Code (Claude Opus 5.5). Commits carry theCo-Authored-Bytrailer.🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY