aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit 636dd287b447ed575004b31f9027672ff6050fc6
parent 09c7b8b0db706c525d889b18941b88c914f3ee8d
Author: anon <anon@example.com>
Date:   Sat, 24 Oct 2026 04:55:50 +0000

Correct control editor guidance for native IP spending

Diffstat:
MTODO.md | 6+++---
Mserver/control.go | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -661,9 +661,9 @@ and unresolved indoor lifecycle are explicit in [flight](docs/vehicles.md#yalmah ## Complete coverage beyond first examples -- [ ] Refresh the control editor's skill guidance. Check: it accurately explains - current native IP spending and administrative stat edits; `server/control.go` - still says native IP spending is not implemented. +- [x] Refresh the control editor's skill guidance. Check: it accurately explains + native IP spending and administrative stat edits. The deployed editor now + distinguishes capped IP purchases from setting administrative stat values. - [x] Show readable item tables below the control panel's character YAML editor. Check: inventory and equipment rows show slot, item name and a link to the exact item instance; empty slots are clear, and the YAML remains editable. diff --git a/server/control.go b/server/control.go @@ -75,7 +75,7 @@ func (server *server) userPage(w http.ResponseWriter, r *http.Request) { controlMap(w, data.ID) fmt.Fprint(w, "<h2>Character data</h2><p>This YAML document edits the character in the world database. Slots contain item IDs or null. Saving reconnects an online character. ID is fixed; position is XYZ and rotation is XYZW.</p>") fmt.Fprintf(w, "<form method='post' action='control/users/%d'><p><label>Character:<br><textarea name='data' rows='40' cols='100' required>%s</textarea></label></p><button>Save character</button></form>", data.ID, html.EscapeString(string(contents))) - fmt.Fprint(w, "<p>Inventory uses inventory_slot_1 through inventory_slot_30; equipment uses named weapons, clothes and implants positions. Slots contain item IDs or null. Clearing a slot unassigns its item. <a href='control/items'>Browse and create item instances</a>. Container slots are edited on the container's item page. improvement_points is the available IP balance; native IP spending is not implemented.</p>") + fmt.Fprint(w, "<p>Inventory uses inventory_slot_1 through inventory_slot_30; equipment uses named weapons, clothes and implants positions. Slots contain item IDs or null. Clearing a slot unassigns its item. <a href='control/items'>Browse and create item instances</a>. Container slots are edited on the container's item page. improvement_points is the available IP balance. Native skill spending deducts IP and enforces training caps; editing stats here sets their values directly.</p>") fmt.Fprint(w, itemTables.String()) fmt.Fprint(w, "</body></html>") }