Starbound

Starbound

The Bookstore
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
GonDragon  [udvikler] 18. aug. 2017 kl. 7:34
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.
< >
Viser 1-6 af 6 kommentarer
rj2705 18. aug. 2017 kl. 16:31 
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  [udvikler] 18. aug. 2017 kl. 16:38 
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 kl. 17:31 
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  [udvikler] 29. dec. 2017 kl. 17:34 
Can you please put a copy of the patch that you made in pastebin and post it here?
BaileyJam 29. dec. 2017 kl. 17:37 
Oprindeligt skrevet af GonDragon:
Can you please put a copy of the patch that you made in pastebin and post it here?
https://pastebin.com/3t1nHr8L
GonDragon  [udvikler] 13. jan. 2018 kl. 6:55 
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.
< >
Viser 1-6 af 6 kommentarer
Per side: 1530 50