[Feature] Item Imports #2

Open
opened 2026-05-09 21:55:09 +02:00 by oli4 · 3 comments
Collaborator

It would be nice to have the SRD Items ready for import.
Especially the xxxx's packs would be a nice import.
Possibly one could also add per-class item lists to import, though that probably rather be part of a character builder...

It would be nice to have the SRD Items ready for import. Especially the xxxx's packs would be a nice import. Possibly one could also add per-class item lists to import, though that probably rather be part of a character builder...

I do agree this would be nice to have. Having items be importable with books and the ability to use pre-defined items is something that should be included eventually.

The end-goal here would naturally be to have all SRD items accessible in Spellbook without imports.

I do agree this would be nice to have. Having items be importable with books and the ability to use pre-defined items is something that should be included eventually. The end-goal here would naturally be to have all SRD items accessible in Spellbook without imports.

I've now started implementing this.

aa46914c8a adds some of the necessary interface for this and df55fd35a0 makes the items searchable.

With d5e234f824, a base set of items has now been added including all Artisan's Tools and all Other Tools included in the SRD, which already addresses part of this issue, though they still cannot easily be added to a character (duplicating the included item, exporting the duplicate and then importing it to the target character technically works but is really clunky).

Things that are still missing for this feature to be actually useful:

  • The option to use a pre-defined item when adding items to characters (implemented with dd37531f32)
  • Allow importing items with Books (implemented with 57fcd33655)
  • Allow searching items by their Source book (implemented with 5d272e82b9)
  • The option to add an item to a character from the Items-list (implemented with 27cc59a202)

Related nice-to haves:

  • Add the remaining non-magical items from the SRD 5.2 (implemented with 54f0dc5060)
  • Solution for items with sub-variants (e.g. Arrows, Bolts, etc. for Ammunition) (implemented with 54f8bb2061)
  • Add the Magical items from the SRD 5.2 (WIP: #8)
  • Automatically add starter items for classes
  • Add all 5e items separately (similar to spells)

(I will try to update this list as new features are added)

I've now started implementing this. aa46914c8af936fdaafda09bc92ebde15fd743f9 adds some of the necessary interface for this and df55fd35a08e6dd85c7517e134de2d457194a104 makes the items searchable. With d5e234f8244f3dc7556db42a4187e68ae62b6171, a base set of items has now been added including all `Artisan's Tools` and all `Other Tools` included in the SRD, which already addresses part of this issue, though they still cannot easily be added to a character (duplicating the included item, exporting the duplicate and then importing it to the target character technically works but is really clunky). Things that are still missing for this feature to be actually useful: - [x] The option to use a pre-defined item when adding items to characters (implemented with dd37531f323b33703320818ba1ad78f35c35d124) - [x] Allow importing items with Books (implemented with 57fcd3365519d98bfe174f60c66c3ff966d58214) - [x] Allow searching items by their Source book (implemented with 5d272e82b97d24a3d2a22c327713b931b2a0866e) - [x] The option to add an item to a character from the Items-list (implemented with 27cc59a202677369a23c1e1aa5d93c24c831cafc) Related nice-to haves: - [x] Add the remaining non-magical items from the SRD 5.2 (implemented with 54f0dc50604a0615ec2208be13a12c14d58f2caf) - [x] Solution for items with sub-variants (e.g. Arrows, Bolts, etc. for Ammunition) (implemented with 54f8bb2061c822a56bb1f31876e428fc96d41213) - [ ] Add the Magical items from the SRD 5.2 (WIP: #8) - [ ] Automatically add starter items for classes - [ ] Add all 5e items separately (similar to spells) (I will try to update this list as new features are added)

The basic features have now been implemented and will be part of the next release (1.0.3-Beta). I will leave this issue open for feature reference until each nice-to have is either implemented or is deemed out of scope for Spellbook.

The basic features have now been implemented and will be part of the next release (1.0.3-Beta). I will leave this issue open for feature reference until each nice-to have is either implemented or is deemed out of scope for Spellbook.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PhoenixPhantom/Spellbook#2
No description provided.