feat(simulation): smuggler inventory — CarriedBy, Take/Place verbs (#424)
Implement physical inventory system per D-065: - CarriedBy(StableId) component marks items as carried by an entity - ItemName and InventorySlot components for display and slot assignment - Take verb: removes TilePosition, adds CarriedBy + InventorySlot - Place verb: removes CarriedBy + InventorySlot, adds TilePosition - Observer snapshot populates player_inventory from carried items query - Info boundary: carried items lack TilePosition, naturally excluded from all spatial queries (visibility, interactions) for other entities - 9-slot capacity (3x3 grid per OQ-24), auto-assigns first free slot - 8 new tests covering take, place, sequential slots, full rejection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ use bevy_ecs::schedule::IntoScheduleConfigs;
|
||||
|
||||
pub mod input;
|
||||
pub mod interaction;
|
||||
pub mod inventory;
|
||||
pub mod monologue;
|
||||
pub mod movement;
|
||||
pub mod path_follow;
|
||||
|
||||
Reference in New Issue
Block a user