diff options
| author | historia <[not public]> | 2026-07-13 16:10:40 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-13 16:10:40 -0400 |
| commit | 3274b700a6f655b8ecc3505e814ac5d782ae6ffe (patch) | |
| tree | e669b47726f8cb93b75c7df85997cc8556009f20 /internal/admin/static/hazardeditor.js | |
| parent | 93a412aed2b11406399504c81d6d19ed1341908a (diff) | |
| download | thehouseoficarus-3274b700a6f655b8ecc3505e814ac5d782ae6ffe.tar.gz | |
feat(admin): reminder text for color tags and item variables, improve placeholder text
Diffstat (limited to 'internal/admin/static/hazardeditor.js')
| -rw-r--r-- | internal/admin/static/hazardeditor.js | 5 |
1 files changed, 4 insertions, 1 deletions
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 += '</div>'; + if (sec.id === 'core') { + h += ced_renderTagHelp('color'); + } } h += '</div>'; } |
