feat(vagrant): notification system — Inspect modal, pickup-float, toast events, game-log
- manifest: bump to v0.10.0; add deps lib-core.notify, lib-core.notify-display,
lib-core.world-overlay (all v0.1.0)
- Inspect action migrated from engine.print to notify.post{tags={"inspect"}, data={...}};
routes to modal detail-panel via notify-display detail-channel
- Pickup callback: world_overlay.spawn fires "+1 <name>" float anchored on player
(yellow, rise_px=24, ttl=1.2s) + notify.post pickup event-toast/log entry
- Drop action (right-click menu): notify.post{tags={"drop","inventory"}} added
after existing relocate+close_menu logic
- Setup block: 3 channels (inspect/events/log), 2 panel widgets
(inspect-detail/game-log), 3 attach_mode calls; L bound to game-log panel
- M.update: notify_display.update + world_overlay.update after panel.update pause-guard
- M.draw: camera_handle constructed after camera.finish(); world_overlay.render between
camera.finish and panel.render; notify_display.render at end (toasts on top)
- README: version 0.10.0, Requires expanded, Controls section updated, changelog entry added
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"id": "vagrant-skeleton",
|
||||
"version": "0.9.1",
|
||||
"version": "0.10.0",
|
||||
"kind": "module",
|
||||
"api": "^0.1",
|
||||
"ci_frames": 60,
|
||||
@@ -19,6 +19,9 @@
|
||||
{"id": "lib-core.actor", "version": "0.1.0"},
|
||||
{"id": "lib-core.panel", "version": "0.1.0"},
|
||||
{"id": "lib-core.inventory-list-display", "version": "0.1.1"},
|
||||
{"id": "lib-core.notify", "version": "0.1.0"},
|
||||
{"id": "lib-core.notify-display", "version": "0.1.0"},
|
||||
{"id": "lib-core.world-overlay", "version": "0.1.0"},
|
||||
{"id": "lib-core.maps","version":"0.5.7"},
|
||||
{"id": "lib-core.puppet", "version": "0.5.0"},
|
||||
{"id": "lib-core.interaction", "version": "0.1.0"},
|
||||
|
||||
Reference in New Issue
Block a user