Starbound

Starbound

618 ratings
The Bookstore
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
190.901 KB
Aug 12, 2017 @ 6:41pm
Jul 14, 2019 @ 11:39am
6 Change Notes ( view )

Subscribe to download
The Bookstore

In 1 collection by GonDragon
The Bookstore Compendium
8 items
Description
Works in 1.4

Adds a new bookstore to the Outpost.

This mod is intended to be used as a framework, a kind of "Tabula Rasa" for codex entries, where other modders could put their own books, and create their own categories.

A lot of modders add books to the game. Some of them are manuals of how their mod works, others contain lore of the new species and races that they introduce to the game, and others are just silly stories to add some fun content to the game. All the modders that add this kind of content face one problem: How do I give my books to the player?

Some of them have their own "outpost", where they could put shops and bookshelves with the books, but they can't always put all their books there, and not everyone can made their own "outpost". Others find some unimmersive ways, like making the book just appear in the player's ship. Finally, others just leave the job to luck, and let the books appear as "loot" in some dungeons."

This mod offers an optional alternative to that. What does this mean? This means that the modder could make a patch to put his books in the bookstore, and if the user doesn't have this mod, then nothing happens and everything is fine... but if the user has this mod, then they can go to the outpost and buy the books. This mod is also very versatile; if you use it and don't like it, then you can uninstall it without any problems.

Also, I don't want to publish just an empty canvas, so the bookstore offers some of the stock books (one for each race), the colony deed manual, and some story compilations.

But books have more than one use, so... what are books useful for? Sharing lore and instructions are the most common use of books, but they are also useful for other things.
The books are great for starting quests:

You could put a book as loot, a book that tells the legend of a mysterious planet full of pixels... but if the player doesn't have the patience to look for the book through the universe, they could just go to the bookstore and buy it.

Books are also a good way to guide the player a particular way. Instead of just starting a formal quest, a book could say things about new planets, biomes, creatures, and buildings, where to find them, and what you could expect as a prize for finding them. Even some sub-plot or mysterious history could start with a phrase in a book, and end in a formal quest.

You could even add info about the updates of your mod as "News" from a newspaper ("New discoveries in matter", "There is a new gun rounding the world", etc), or codex entries that you could just simply erase from your mod when they become old.

Finally, the books are a good way to learn new recipes, i.e. "How in the world did that Floran learn to build that computer?... Eassy, Floran buyss a sschematicss at the Booksstore".

So, I release these tools for you. However you choose to use it, it's in your hands.

For Modders: If you want to learn how to add a book or a tab to the bookstore, it's pretty easy, just check the instructions at github.[github.com]

P.S.: I want to give a special thank to v6ooo, as I made the interface of the bookstore using his "Many Tabs" mod as a base. I encourage the use of that mod, it's pretty useful. Also to KelpTheGreat, for fix my broken english.

Mods that support / add content to the Bookstore
Please, check the collection:
The Bookstore Compendium
Popular Discussions View All (4)
6
Jan 13, 2018 @ 6:55am
PINNED: Add a book to a tab
GonDragon
5
Jul 30, 2020 @ 2:43pm
PINNED: News Submissions
GonDragon
2
Aug 18, 2017 @ 4:14pm
Help!
the dark empath
129 Comments
Max Payne Feb 29 @ 10:58am 
@GonDragon yeah, I know that mods have built-in priorities
So, the order of installation doesn't matter in this case?
Anyway, I could try and check if everything works fine, some time later
GonDragon  [author] Feb 28 @ 5:21pm 
@Max Payne: As far as I know, this game does not have an user managed load order. The order in which load the mods is determined by their dependencies.
Max Payne Feb 28 @ 6:02am 
Hi guys, in what order should I install Bookstore, Novakid Codices and Gensou's Legacy Lore (if the order matters at all)? I saw a guy commenting somewhere that he installed these mods in wrong order and had some issues, but I can't find it already...
hallucinogenic_fox Feb 14 @ 3:40pm 
@GonDragon: thanks! That's all I really needed. And don't worry about it. I know I'm playing a dead game XD
GonDragon  [author] Feb 2 @ 7:07pm 
@hallucinogenic_fox: Sorry, I don't know what to say, it's been ages since the last time I touched this game. I checked the code of the mod in the line it's causing the error:

input = { {"money", math.floor(self.buyFactor * (root.itemConfig(itemName).config.price or root.assetJson("/merchant.config").defaultItemPrice))} },

I don't remember what the "merchant.config" file is, but I think that the error is most likely related to that: either a mod removes the "defaultItemPrice", or deletes the file entirely, or I don't know.

If that's the issue, I can give you an idea of how to check it yourself. You can use the Notepad++ function "Search in files", and search "merchant.config" in the folder where all the workshop mods are downloaded. You'll end up with a list of mods that touches that file.

Then, you disable all the mods from that list, and run the game. If the error if gonne, use binary search to find the conflicting mod. But, if the error if still there, then... I don't know.
hallucinogenic_fox Feb 2 @ 4:14pm 
hey! need some help. tracked down the error, but not sure what could fix it. could you give me a mod type to sort through, to find the conflicts?

[17:02:37.378] [Error] Exception while invoking lua function 'onInteraction'. (LuaException) Error code 2, [string "/objects/bookstore/bookstore.lua"]:80: attempt to index a nil value
stack traceback:
[C]: in metamethod '__index'
[string "/objects/bookstore/bookstore.lua"]:80: in global 'generateRecipe'
[string "/objects/bookstore/bookstore.lua"]:74: in global 'addRecipes'
[string "/objects/bookstore/bookstore.lua"]:67: in function <[string "/objects/bookstore/bookstore.lua"]:7>
la cam's Dec 7, 2023 @ 7:02am 
ok thanks
GonDragon  [author] Nov 25, 2023 @ 7:36pm 
@la cam's: Check in the description of this mod, a link to a modlist called "The Bookstore Compendium". In that mod list, there is a mod called "Codex". Is an add-on for this mod. With both mods, you can buy every codex entry on the bookstore.
la cam's Nov 25, 2023 @ 8:17am 
hello, I translated a few lines with google translate, I wanted to know if this mod is made to 100% complete the codex of each race? (the steam achievement of the 100 unique codexes) I'm looking for a mod that does it and I came across here. thanks :steamthumbsup:
Ganondwarf Oct 14, 2023 @ 5:32pm 
Cool cool. Yeah, I assumed it wasn't an issue after I realized my mod's actual problem. Thanks @GamesTheMaker for pointing them out for me.