@name Custom Icon Builder
@inputs Scr:wirelink

if(first()) {
    Scr:egpClear()
    function customico_armor(Index,Pos:vector2,Scale:vector2) {
        Scr:egpBox(Index,Pos,Scale)
        Scr:egpAlpha(Index,128)
        
        Scr:egpBox(Index+1,vec2(0,0.1)*Scale,vec2(0.8,0.8)*Scale)
        Scr:egpParent(Index+1,Index)
        Scr:egpColor(Index+1,vec(63,124,137))
        
        Scr:egpBox(Index+2,vec2(0,-0.3)*Scale,vec2(0.9,0.2)*Scale)
        Scr:egpParent(Index+2,Index)
        Scr:egpColor(Index+2,vec(63,124,137))
    }
    
    customico_armor(1,vec2(256),vec2(80,50))
}
