-
Notifications
You must be signed in to change notification settings - Fork 5
Start parsing equipment stat blocks #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…lities#2) * Fix facilities * Use itemsExtractor to get tool ids * Filter out nulls
|
@AntonyGarand I think I'd like to reorganize how Monster data is captured. In addition to the schema change I already pushed, I think I'd like to capture drop tables as their own json, to let us do the monster spawn information, which references a drop table by name, Goblins for example Curious how you feel about that. |
|
Sounds good to me! |
src/types/item.ts
Outdated
| str: number; | ||
| rangedStr: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: str is the only shortened word: Any downsides to use the full strength instead?
|
Set the initial code for the monster spawn extractor, still need to do the typing. |
I'd like to try doing some combat calculations, so I need the equipment stats, I'll also be doing it for the monsters.
I included moving the weight scoring to it's own function in this.
{ "id": 20408, "aliases": [], "name": "Dark bow", "examine": "A bow from a darker dimension.", "image": "File:Dark bow equipped.png", "isEquipable": true, "isAlchable": false, "isOnGrandExchange": false, "isTradeable": false, "isMembers": false, "isStackable": false, "options": [], "relatedItems": [], "value": 500, "weight": 1.814, "limit": 8, "equipmentStats": { "attackStab": 0, "attackSlash": 0, "attackCrush": 0, "attackMagic": 0, "attackRanged": 95, "defendStab": 0, "defendSlash": 0, "defendCrush": 0, "defendMagic": 0, "defendRanged": 0, "str": 0, "rangedStr": 0, "magicDamage": 0, "prayer": 0, "slot": "2h", "speed": 9, "attackRange": 10, "combatStyle": "Bow" }, "isInMainGame": true }