|
After making this I just found out there was something almost identical to it already here: https://www.rune-server.ee/runescape...iary-dump.html
Oh well, will post anyway :/
https://www.dropbox.com/s/nwuba2z023...iary.json?dl=1
Format:
Credits: Nomac for sending me the dumps via discord pms, me for converting them from some randy text format to json formatCode:{ "name": "Unicorn", "id": 89, "description": "Horse with a horn.", "weakness": "Arrow", "attackable": true, "aggressive": false, "poisonous": false, "experience": 32.1, "lifePoints": 550, "combatLevel": 15, "defenceLevel": 11, "attackLevel": 1, "magicLevel": 11, "rangedLevel": 1, "slayerLevelRequirement": 0, "size": 2, "membersOnly": false, "slayerCategory": "n/a", "areas": [ "RuneScape Surface" ], "animations": { "death": 6377, "attack": 6376 } },
edit: god damn spelled Beastiary wrong
Ah yeh Nomac used this for the dump quite sure, it was in this style of formatting before like in the link:
ClanMate{name=Rosaline, rank=Owner, experience=463143387, kills=0}
Is that a standard format? Didn't want to parse that lol
Hmm, funky toString method
Fucking hell lmfao thought u were memeing. Oh well, not gonna forget nowCode:@Override public String toString() { return MoreObjects.toStringHelper(this) .add("name", name) .add("id", id) .add("description", description) .add("weakness", getWeakness().orElse("n/a")) .add("attackable", attackable) .add("aggressive", aggressive) .add("poisonous", poisonous) .add("experience", getExperience()) .add("lifePoints", lifePoints) .add("combatLevel", combatLevel) .add("defenceLevel", defenceLevel) .add("attackLevel", attackLevel) .add("magicLevel", magicLevel) .add("rangedLevel", rangedLevel) .add("slayerLevelRequirement", requiredSlayerLevel) .add("size", size) .add("membersOnly", membersOnly) .add("slayerCategory", getSlayerCategory().orElse("n/a")) .add("areas", Arrays.toString(areas)) .add("animations", animations) .toString(); }
https://www.baeldung.com/whats-new-in-guava-18, see section 2: MoreObjects Utility Class
just dump the data and store it in whatever format you want
At the time I didn't have the library / know it existed, Nomac sent me a data dump in that format so I did what I could. We should be asking why he had a dump in that format himself though
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |