Starbound

Starbound

619 次評價
The Bookstore
2
   
獎勵
加入最愛
已加入最愛
移除最愛
檔案大小
發佈於
更新時間
190.901 KB
2017 年 8 月 12 日 下午 6:41
2019 年 7 月 14 日 上午 11:39
6 項更新註記 (檢視)

訂閱以下載
The Bookstore

在 GonDragon 的 1 個收藏中
The Bookstore Compendium
8 個項目
描述
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
熱門討論 檢視全部(4)
6
2018 年 1 月 13 日 上午 6:55
置頂: Add a book to a tab
GonDragon
5
2020 年 7 月 30 日 下午 2:43
置頂: News Submissions
GonDragon
2
2017 年 8 月 18 日 下午 4:14
Help!
the dark empath
129 則留言
Max Payne 2 月 29 日 上午 10:58 
@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  [作者] 2 月 28 日 下午 5:21 
@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 2 月 28 日 上午 6:02 
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 2 月 14 日 下午 3:40 
@GonDragon: thanks! That's all I really needed. And don't worry about it. I know I'm playing a dead game XD
GonDragon  [作者] 2 月 2 日 下午 7:07 
@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 2 月 2 日 下午 4:14 
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 2023 年 12 月 7 日 上午 7:02 
ok thanks
GonDragon  [作者] 2023 年 11 月 25 日 下午 7:36 
@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 2023 年 11 月 25 日 上午 8:17 
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 2023 年 10 月 14 日 下午 5:32 
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.