Starbound

Starbound

The Bookstore
 This topic has been pinned, so it's probably important
GonDragon  [developer] 18 Aug, 2017 @ 7:34am
Add a book to a tab
The books are not items per se, but codex that can be represented as items. They are defined in his own .codex file-type, and they have his own unique ID that define them. To make a patch, you only need to use that ID.

The patch, will be in the next form:

[ { "op": "add", "path": "/storeInventory/<category>/-", "value": "<id>-codex" } ]
Were <id> is the unique ID of the codex that you want as a book, and <category> is the tab in wich you want the book to appear. In the base mod, you have three categories, novels, manuals and history, but other mod could add his own tabs.
< >
Showing 1-6 of 6 comments
rj2705 18 Aug, 2017 @ 4:31pm 
so i'm making a mod where you find a book in glitch dungeons. If i add this patch will it crash if bookstore is not installed
GonDragon  [developer] 18 Aug, 2017 @ 4:38pm 
No, that's the idea of the mod. You could add a patch to put a book in the bookstore, even if the bookstore isn't installed.
BaileyJam 29 Dec, 2017 @ 5:31pm 
I don't think this is working, I'm making a mod that ADDS new Codexes to the game, and when I use the item ID, it isn't showing up in the shop. I've checked everything. Please help!
GonDragon  [developer] 29 Dec, 2017 @ 5:34pm 
Can you please put a copy of the patch that you made in pastebin and post it here?
BaileyJam 29 Dec, 2017 @ 5:37pm 
Originally posted by GonDragon:
Can you please put a copy of the patch that you made in pastebin and post it here?
https://pastebin.com/3t1nHr8L
GonDragon  [developer] 13 Jan, 2018 @ 6:55am 
Hi! Sorry for take to long for respond, I've been a little busy lately. Your patch seems well.

Can you try editing the .metadata file of your mod and add "bookstore" to "includes :"?

Maybe your mod is loading before mine, so it try to apply a patch to a file that is not there yet.
< >
Showing 1-6 of 6 comments
Per page: 1530 50