@name Printer Farm
@inputs [R1 R2 R3]:wirelink 
@outputs U1 U2 U3 U4
@persist 
@trigger 
interval(16)

timer("use",1000)

if (clk("use")) {
    U1 = 1
    U2 = 1
    U3 = 1
} else {
    U1 = 0
    U2 = 0
    U3 = 0
}

findByModel("models/props_combine/combine_mine01.mdl")
Find = findClosest(entity():pos())

if (R1:entity():isOnFire() | R2:entity():isOnFire() | R3:entity():isOnFire()) {
    U4 = 1
} else {U4 = 0}
