Skip to main content

CONTAINER_RANGE_M

Constant CONTAINER_RANGE_M 

Source
pub const CONTAINER_RANGE_M: f32 = 3.0;
Expand description

Max distance (m) a placed chest can be browsed/moved-into from the inventory UI. Mirrors flatland_sim::interaction::CONTAINER_INTERACTION_RADIUS_M so the client only ever shows chests the server will actually let you use — this is what makes a chest disappear from the menu as soon as you walk away.