US-YW6: Import Items from yWriter
Novel writing app that bridges outlining and drafting. Built with Rust
Status: Beta
Brought to you by:
smithandweb
Originally created by: smith-and-web
Originally owned by: smith-and-web
As a yWriter user,
I want to have my items database imported into Kindling,
So that important objects are tracked as references.
Parent Epic: [#123]
<ITEMS>
<ITEM>
<ID>1</ID>
<Name>Grandmother's Jade Pendant</Name>
<Desc>A small jade dragon on a gold chain. The pendant was given to Sarah's
grandmother by her father before she left China. It contains a hidden compartment
that Sarah doesn't know about.</Desc>
<Aka>The Dragon Pendant; the jade necklace</Aka>
<Tags>jewelry;heirloom;macguffin</Tags>
<Image>items/pendant.jpg</Image>
</ITEM>
</ITEMS>
Scenes reference items by ID:
<SCENE>
<ID>1</ID>
<Items>1;2</Items> <!-- Semicolon-delimited item IDs -->
</SCENE>
Open question: Should Items be:
type: item)?For now, recommend treating as separate entity type, similar to Characters and Locations.
| yWriter Field | Kindling Field |
|---|---|
<Name> |
Item name |
<Desc> |
Description |
<Aka> |
Aliases (metadata) |
<Tags> |
Tags |
<Image> |
Image path (for future use) |
<ITEMS> section<Items> IDs
Originally posted by: smith-and-web
Partial implementation in PR [#140]: Items are parsed from the yWriter file but not stored in Kindling since there's no Item model. This would require adding an Item entity to the data model. Keeping open for future implementation if needed.
Related
Tickets:
#140Originally posted by: smith-and-web
Merged via https://github.com/smith-and-web/kindling/pull/162.
yWriter item import now maps:
aliasestagsimageIncludes unit test coverage for item field mapping.
Ticket changed by: smith-and-web