@name 
@inputs R:entity Money
@outputs Price:string Use
@persist E T:string
@trigger 
if(first()){Use = 0}
if(~R) {
    if(R:isShipment()) {
        holoCreate(1)
        holoModel(1, R:shipmentModel())
        holoPos(1, entity():pos() + vec(10,0,-20))
        holoAng(1,ang(0,90,0))
        holoParent(1, entity())
        E = R:shipmentPrice()/10 + 500
    }else{
        holoDelete(1)
    }
}
Price = E:toString()

if(Money==E){
    Use = 1
    Money=0
    timer("reset",500)
}
if(clk("reset")){Use=0}
