@name ShipmentProtection
@inputs 
@outputs 
@persist I [Find Prop]:array Props:entity 
@trigger 
interval(100)
runOnLast(1)

findIncludePlayerProps(owner())
findByClass("spawned_shipment")
Find = findToArray()

if (I < Find:count() & propCanCreate()) {
    I++
    Props = propSpawn("models/hunter/blocks/cube075x075x075.mdl",Find[I,entity]:pos() + vec(1,-1,12),1)
    Props:setMaterial("models/props_combine/health_charger_glass")
    Prop:pushEntity(Props)
} elseif (last()) {Prop:propDelete()}
