RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
BirdhouseData.java
1package com.osroyale.content.skill.impl.hunter.birdhouse;
2
17
18public enum BirdhouseData {
19 BIRDHOUSE(100, new int[] { 5, 15 }, new int[] { 5, 280 }, new int[] { 30554, 30555 }, 1511, 21512),
20 OAK_BIRDHOUSE(125, new int[] { 15, 20 }, new int[] { 14, 420 }, new int[] { 30557, 30558 }, 1521, 21515),
21 WILLOW_BIRDHOUSE(128, new int[] { 25, 25 }, new int[] { 24, 560 }, new int[] { 30560, 30561 }, 1519, 21518),
22 TEAK_BIRDHOUSE(130, new int[] { 35, 30 }, new int[] { 34, 700 }, new int[] { 30563, 30564 }, 6333, 21521),
23 MAPLE_BIRDHOUSE(140, new int[] { 45, 35 }, new int[] { 44, 820 }, new int[] { 31828, 31829 }, 1517, 22192),
24 MAHOGANY_BIRDHOUSE(150, new int[] { 50, 40 }, new int[] { 49, 960 }, new int[] { 31831, 31832 }, 6332, 22195),
25 YEW_BIRDHOUSE(160, new int[] { 60, 45 }, new int[] { 59, 1020 }, new int[] { 31834, 31835 }, 1515, 22198),
26 MAGIC_BIRDHOUSE(170, new int[] { 75, 50 }, new int[] { 74, 1140 }, new int[] { 31837, 31838 }, 1513, 22201),
27 REDWOOD_BIRDHOUSE(175, new int[] { 90, 55 }, new int[] { 89, 1200 }, new int[] { 31840, 31841 }, 19669, 22204),
28 ;
29
30 public int[] craftingData, hunterData, objectData;
31 public int succesRates, logId, birdHouseId;
32
33 BirdhouseData(int succesRates, int[] craftingData, int[] hunterData, int[] objectData, int logId, int birdHouseId) {
34 this.succesRates = succesRates;
35 this.craftingData = craftingData;
36 this.hunterData = hunterData;
37 this.objectData = objectData;
38 this.logId = logId;
39 this.birdHouseId = birdHouseId;
40 }
41
42 public static BirdhouseData forLog(int logId) {
43 for(BirdhouseData birdHouseData : values())
44 if(birdHouseData.logId == logId)
45 return birdHouseData;
46
47 return null;
48 }
49
50 public static BirdhouseData forBirdhouse(int birdHouseId) {
51 for(BirdhouseData birdHouseData : values())
52 if(birdHouseData.birdHouseId == birdHouseId)
53 return birdHouseData;
54
55 return null;
56 }
57}