Scripter 3 Posted April 3, 2016 Share Posted April 3, 2016 (edited) public enum Tanner { LEATHER("Cowhide", 324, 148, "Leather"), HARD_LEATHER("Cowhide", 324, 149, "Hard leather"), GREEN_LEATHER("Green dragonhide", 324, 152, "Green dragon leather"), RED_LEATHER("Red dragonhide", 324, 154, "Red dragon leather"), BLUE_LEATHER("Blue dragonhide", 324, 153, "Blue dragon leather"), BLACK_LEATHER("Black dragonhide", 324, 107, "Black dragon leather"); private int parent, child; //WidgetParent, WidgetChild private String startProduct, endProduct; Tanner(String startProduct, int parent, int child, String endProduct) { this.startProduct = startProduct; this.parent = parent; this.child = child; this.endProduct = endProduct; } public int getParent() { return parent; } public int getChild() { return child; } public String getStartProduct() { return startProduct; } public String getEndProduct() { return endProduct; } } refer to http://osbot.org/forum/topic/95545-snippet-a-start-to-an-aio-runecrafter-open-source for an example on usage. Edited April 3, 2016 by Scripter 3 Quote Link to comment Share on other sites More sharing options...