osrsbox / osrsbox-db

A complete and up-to-date database of Old School Runescape (OSRS) items, monsters and prayers
https://www.osrsbox.com/projects/osrsbox-db/
GNU General Public License v3.0
224 stars 82 forks source link

Items: Get weapon type directly from wiki rather than manually #199

Closed osrsbox closed 3 years ago

osrsbox commented 3 years ago

Currently the weapon type is manually entered. Instead, set up a method in the item builder to auto parse and determine the weapon type.

osrsbox commented 3 years ago

Closed in 1f912b51562a1acc4a7ea974e61a51c3a5f70a11 Now the item builder will source the weapon type from the page. See: https://github.com/osrsbox/osrsbox-db/blob/1f912b51562a1acc4a7ea974e61a51c3a5f70a11/builders/items/build_item.py#L518