@name Engine
@inputs 
@outputs 
@persist 
@trigger 
runOnTick(1)

if (first()) {
    holoCreate(1)
    holoModel(1,"models/props_c17/TrapPropeller_Engine.mdl")
    holoPos(1,entity():toWorld(vec(-2.5,0,8)))
    holoAng(1,ang(-90,90,0))
    holoScale(1,vec(1,1,1))
    holoParent(1,entity())
    
    holoCreate(2)
    holoModel(2,"models/items/combine_rifle_ammo01.mdl")
    holoPos(2,entity():toWorld(vec(6,-12,12)))
    holoAng(2,ang(90,-90,0))
    holoScale(2,vec(1.2,1.2,1.3))
    holoParent(2,entity())
    
    holoCreate(3)
    holoModel(3,"models/items/combine_rifle_ammo01.mdl")
    holoPos(3,entity():toWorld(vec(-6,-12,12)))
    holoAng(3,ang(90,-90,0))
    holoScale(3,vec(1.2,1.2,1.3))
    holoParent(3,entity())
    
    for (I = 1,3) {holoMaterial(I,"sprops/sprops_grid_12x12")}
}
