<Entity tags="teleportable_NOT,item_physics">
	<UIInfoComponent
		name="$item_chest_treasure_super"
		>
	</UIInfoComponent>

  <PositionSeedComponent />
	
	<PhysicsBodyComponent 
    _tags="enabled_in_world"
    uid="1" 
    allow_sleep="1" 
    angular_damping="0" 
    fixed_rotation="0" 
    is_bullet="1" 
    linear_damping="0"
    auto_clean="1"
    hax_fix_going_through_ground="1"
    on_death_leave_physics_body="0"
    on_death_really_leave_body="0"
  ></PhysicsBodyComponent>
  
  <PhysicsImageShapeComponent 
    body_id="1"
    centered="1"
    image_file="data/buildings_gfx/chest_random_super.png"
    material="wood_prop"
  ></PhysicsImageShapeComponent>

  <ItemComponent
    item_name="Great treasure chest"
    stats_count_as_item_pick_up="0"
    play_spinning_animation="0"
    play_pick_sound="0" >
  </ItemComponent>

  <LuaComponent 
    script_physics_body_modified="data/scripts/items/chest_random_super.lua" 
    execute_times="1"
	>
  </LuaComponent>
  
  <LuaComponent 
    script_item_picked_up="data/scripts/items/chest_random_super.lua" >
  </LuaComponent>

  <LightComponent 
    _tags="enabled_in_world"
    r="255"
    g="255"
    b="255"
    radius="64"
    fade_out_time="0.75" >
  </LightComponent>
  
  <SpriteParticleEmitterComponent 
    _enabled="1" 
    additive="1" 
    angular_velocity="0" 
    camera_bound="1" 
    camera_distance="75" 
    color.a="0.5" 
    color.b="1" 
    color.g="1" 
    color.r="1" 
    color_change.a="-0.5" 
    color_change.b="0" 
    color_change.g="0" 
    color_change.r="0" 
    count_max="1" 
    count_min="1" 
    delay="0" 
    emission_interval_max_frames="6" 
    emission_interval_min_frames="3" 
    emissive="1" 
    entity_file="" 
    entity_velocity_multiplier="0" 
    expand_randomize_position.x="0" 
    expand_randomize_position.y="0" 
    gravity.x="0" 
    gravity.y="0" 
    is_emitting="1" 
    lifetime="1.5" 
    randomize_alpha.max="0" 
    randomize_alpha.min="0" 
    randomize_angular_velocity.max="0" 
    randomize_angular_velocity.min="0" 
    randomize_animation_speed_coeff.max="0" 
    randomize_animation_speed_coeff.min="0" 
    randomize_lifetime.max="0" 
    randomize_lifetime.min="0" 
    randomize_position.max_x="5" 
    randomize_position.max_y="5" 
    randomize_position.min_x="-5" 
    randomize_position.min_y="-5" 
    randomize_position_inside_hitbox="0" 
    randomize_rotation.max="0" 
    randomize_rotation.min="0" 
    randomize_scale.max_x="0" 
    randomize_scale.max_y="0" 
    randomize_scale.min_x="0" 
    randomize_scale.min_y="0" 
    randomize_velocity.max_x="30" 
    randomize_velocity.max_y="30" 
    randomize_velocity.min_x="-30" 
    randomize_velocity.min_y="-30" 
    render_back="0" 
    rotation="1" 
    scale.x="1" 
    scale.y="0" 
    scale_velocity.x="-0.2" 
    scale_velocity.y="4" 
    sprite_centered="0" 
    sprite_file="data/particles/ray.xml" 
    sprite_random_rotation="0" 
    use_rotation_from_entity="0" 
    use_rotation_from_velocity_component="0" 
    use_velocity_as_rotation="1" 
    velocity.x="0" 
    velocity.y="0" 
    velocity_always_away_from_center="1" 
    velocity_slowdown="0" >

  </SpriteParticleEmitterComponent>

</Entity>