RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
Leather.java
1
package
com.osroyale.content.skill.impl.crafting.impl;
2
3
import
com.osroyale.content.skill.impl.crafting.Craftable;
4
import
com.osroyale.content.skill.impl.crafting.CraftableItem;
5
import
com.osroyale.game.world.items.Item;
6
43
44
public
enum
Leather implements
Craftable
{
45
LEATHER_GLOVES(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1059),
new
Item(1741), 1, 13.8)),
46
LEATHER_BOOTS(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1061),
new
Item(1741), 7, 16.25)),
47
LEATHER_COWL(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1167),
new
Item(1741), 9, 18.5)),
48
LEATHER_VANBRACES(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1063),
new
Item(1741), 11, 22.0)),
49
LEATHER_BODY(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1129),
new
Item(1741), 14, 25.0)),
50
LEATHER_CHAPS(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1095),
new
Item(1741), 18, 27.0)),
51
LEATHER_COIF(
new
Item(1733),
new
Item(1741),
new
CraftableItem
(
new
Item(1169),
new
Item(1741), 38, 37.0));
52
53
private
final
Item use;
54
private
final
Item with;
55
private
final
CraftableItem
[] items;
56
57
Leather(Item use, Item with,
CraftableItem
... items) {
58
this.use = use;
59
this.with = with;
60
this.items = items;
61
}
62
63
@Override
64
public
int
getAnimation
() {
65
return
1249;
66
}
67
68
@Override
69
public
Item
getUse
() {
70
return
use;
71
}
72
73
@Override
74
public
Item
getWith
() {
75
return
with;
76
}
77
78
@Override
79
public
CraftableItem
[]
getCraftableItems
() {
80
return
items;
81
}
82
83
@Override
84
public
String
getProductionMessage
() {
85
return
null
;
86
}
87
88
@Override
89
public
Item[]
getIngredients
(
int
index) {
90
return
new
Item[] {
new
Item(1734, items[index].getRequiredItem().getAmount()), items[index].getRequiredItem() };
91
}
92
93
@Override
94
public
String
getName
() {
95
return
"Leather"
;
96
}
97
}
com.osroyale.content.skill.impl.crafting.CraftableItem
Definition
CraftableItem.java:40
com.osroyale.content.skill.impl.crafting.impl.Leather.getIngredients
Item[] getIngredients(int index)
Definition
Leather.java:89
com.osroyale.content.skill.impl.crafting.impl.Leather.getAnimation
int getAnimation()
Definition
Leather.java:64
com.osroyale.content.skill.impl.crafting.impl.Leather.getCraftableItems
CraftableItem[] getCraftableItems()
Definition
Leather.java:79
com.osroyale.content.skill.impl.crafting.impl.Leather.getUse
Item getUse()
Definition
Leather.java:69
com.osroyale.content.skill.impl.crafting.impl.Leather.getName
String getName()
Definition
Leather.java:94
com.osroyale.content.skill.impl.crafting.impl.Leather.getProductionMessage
String getProductionMessage()
Definition
Leather.java:84
com.osroyale.content.skill.impl.crafting.impl.Leather.getWith
Item getWith()
Definition
Leather.java:74
com.osroyale.content.skill.impl.crafting.Craftable
Definition
Craftable.java:10