//! Cargo systems: carry visual cycling and haul encumbrance. use bevy::prelude::*; use crate::entities::cargo::components::{CarryVisualState, HaulSlot}; use crate::entities::item::inventory::constants::ENCUMBERED_SPEED_MULTIPLIER; use crate::entities::item::inventory::InventoryChangedEvent; use crate::entities::shared_components::Ambulatory; /// Cycle the carry visual sprite while the entity's HaulSlot is occupied. /// When empty, ensure the normal sprite is restored. /// /// Runs in Update (visual only, no game state change). pub fn carry_visual_system( time: Res