@name Random mats
@inputs E1:entity 
@outputs 
@persist Table:table 
@trigger 
interval(1000)

if (first()) {
    Table = table(
        1 = "models/props_wasteland/dirtwall001a",
        2 = "models/props_c17/metalladder003",
        3 = "models/props_debris/building_template010a"
    )
}

E1:setMaterial(Table[randint(1,Table:count()),string])
