From 3274b700a6f655b8ecc3505e814ac5d782ae6ffe Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 13 Jul 2026 16:10:40 -0400 Subject: feat(admin): reminder text for color tags and item variables, improve placeholder text --- internal/admin/static/hazardeditor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'internal/admin/static/hazardeditor.js') diff --git a/internal/admin/static/hazardeditor.js b/internal/admin/static/hazardeditor.js index 89586ac..1f5fdf3 100644 --- a/internal/admin/static/hazardeditor.js +++ b/internal/admin/static/hazardeditor.js @@ -13,7 +13,7 @@ var HAZARD_SECTIONS = [ ['warn_message', 'Warn Message', 'text', 'The air grows thick with toxic fumes...', 'wide'], ['hit_message', 'Hit Message', 'text', 'You cough and choke on the toxic gas!'], ['miss_message', 'Miss Message', 'text', 'You hold your breath and avoid the fumes.'], - ['required_item', 'Required Item', 'search', 'e.g. gas_mask', '', null, 'items'], + ['required_item', 'Required Item', 'search', 'gas_mask', '', null, 'items'], ] }, { @@ -146,6 +146,9 @@ function renderCard(sec, data) { h += renderField(sec, f, data, -1); }); h += ''; + if (sec.id === 'core') { + h += ced_renderTagHelp('color'); + } } h += ''; } -- cgit v1.2.3