aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/templates/objects.html
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-30 19:27:37 -0400
committerhistoria <[not public]>2026-06-30 19:27:37 -0400
commitfee376102192dc6f24297a7b11324636ace3a07d (patch)
tree6c777cc71208b429eebdbdc5864b353d4af34a09 /internal/admin/templates/objects.html
parent98bdef072c843fdd8ccdf85a9b54ab9d32d34187 (diff)
downloadthehouseoficarus-fee376102192dc6f24297a7b11324636ace3a07d.tar.gz
feat: admin gui object CRUD is much nicer
Diffstat (limited to 'internal/admin/templates/objects.html')
-rw-r--r--internal/admin/templates/objects.html17
1 files changed, 3 insertions, 14 deletions
diff --git a/internal/admin/templates/objects.html b/internal/admin/templates/objects.html
index 91aca09..ac9b6be 100644
--- a/internal/admin/templates/objects.html
+++ b/internal/admin/templates/objects.html
@@ -10,20 +10,9 @@
</div>
</div>
<script src="/static/editor.js"></script>
+<script src="/static/talktree.js"></script>
+<script src="/static/objecteditor.js"></script>
<script>
-initEditor('objects', [
- {key:'name',label:'Name',type:'text'},
- {key:'color',label:'Color',type:'color'},
- {key:'aliases',label:'Aliases (comma sep)',type:'text'},
- {key:'hidden',label:'Hidden',type:'checkbox'},
- {key:'inroom_description',label:'In-Room Description',type:'text'},
- {key:'description',label:'Description',type:'textarea'},
- {key:'removal_item',label:'Removal Item ID',type:'text'},
- {key:'steal_table',label:'Steal Table ID',type:'text'},
- {key:'steal_level',label:'Steal Level',type:'number'},
- {key:'steal_xp',label:'Steal XP',type:'number'},
- {key:'steal_speed',label:'Steal Speed',type:'number'},
- {key:'guard_mob',label:'Guard Mob ID',type:'text'}
-]);
+initObjectEditor();
</script>
{{end}}