In step 1 entities ammo_box supplies nothing. As I scrolled down the properties I adjusted the ammo_box building text. from building_ammo_box to ammo_box. That change gave the magazine icon as the medic plus icon when near. When I pull the ammo_box from editor the building_menu__image text shows building_ammo_box, so take out the word building allows the magazine icon to appear.
The to find I could not refill magazine after unloading first clip. Then I saw the grid_obj__gridType in the med_box properties. I changed that property in the ammo properties from vehicle to interactable. Then restarted editor to add the med and ammo boxes and whalala the rifle was able to refill after emptying the first clip.
ammo_box{
_extends:t="base_fortification_build"
_use:t="base_fortification_build"
_use:t="tutorial_ammunition_box_a"
_use:t="paid_ammo_box_ressuply"
_use:t="undestroyable_ri_extra"
useful_box__maxUseCount:i=500
useful_box__uiPrice:i=0
team:i=1
building_menu__image:t="ammo_box"
grid_obj__gridType:t="interactable"
useful_box__requiredUseCount:i=0
paid_loot__ressuplyDefCost:i=0
}
med_box{
_use:t="tutorial_placed_medic_box_item"
_use:t="placeable_item_in_world"
_use:t="base_ri_building"
_use:t="paid_medkit_box_use"
_use:t="undestroyable_ri_extra"
medic_box__isOpen:b=yes
useful_box__maxUseCount:i=500
paid_box__ressuplyCost:i=0
useful_box__uiPrice:i=0
ri_extra__name:t="dummy_wooden_box_a"
team:i=-1
}
Thx for the tips, tricks and game showcases.