I was expecting that since the build distance, drop distance, and reach distance are all zero, making building, dropping, and interacting with items impossible, that picking up items from the ground would also be impossible; however, this was not the case. I believe that the game should also prevent the player-entity from picking up items on the ground when all of these parameters are set to zero.
To be specific, I have defined the following entity:
Code: Select all
{
type = "player",
name = "orbital-uplink",
icon = "__base__/graphics/icons/player.png",
flags = {"placeable-off-grid", "not-on-map", "not-repairable"},
max_health = 0,
healing_per_tick = 0,
collision_box = {{-0, -0}, {0, 0}},
selection_box = {{-0, -0}, {0, 0}},
crafting_categories = {},
mining_categories = {},
inventory_size = 0,
build_distance = 0,
drop_item_distance = 0,
reach_distance = 0,
reach_resource_distance = 0,
ticks_to_keep_gun = 0,
ticks_to_keep_aiming_direction = 0,
damage_hit_tint = {r = 0, g = 0, b = 0, a = 0},
running_speed = 1,
distance_per_frame = 0.13,
maximum_corner_sliding_distance = 0.7,
subgroup = "creatures",
order="z",
eat =
{
{
filename = "__base__/sound/eat.ogg",
volume = 0
}
},
heartbeat =
{
{
filename = "__base__/sound/heartbeat.ogg",
volume = 0
}
},
animations = {
level1 = null,
level2addon = null,
level3addon = null,
},
light = {{ intensity=0, size=0 }},
mining_speed = 0,
collision_mask = {},
mining_with_hands_particles_animation_positions = {},
mining_with_tool_particles_animation_positions = {},
running_sound_animation_positions = {}
}