Starbound

Starbound

The Bookstore
131 Comments
MurlocHater 8 Jul, 2024 @ 2:27am 
nevermind my game bugged and didnt flag the quest completion properly
MurlocHater 8 Jul, 2024 @ 1:22am 
this might sound dumb but it isnt appearing for me at all, i have completed the mining facility but i installed the mod while I had the quest so i think that might be what the problem is
Max Payne 29 Feb, 2024 @ 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] 28 Feb, 2024 @ 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 28 Feb, 2024 @ 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 14 Feb, 2024 @ 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] 2 Feb, 2024 @ 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 2 Feb, 2024 @ 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>
coffeebreizh 7 Dec, 2023 @ 7:02am 
ok thanks
GonDragon  [author] 25 Nov, 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.
coffeebreizh 25 Nov, 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 14 Oct, 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.
GonDragon  [author] 14 Oct, 2023 @ 4:13pm 
@JamesTheMaker @Ganondwarf: I checked the files (didn't downloaded the game, so I didn't checked if the bug is there) to remember a little how I made things. The part that is causing issues, is a part of code that I copied from another vanilla store. So, the file merchant.config should have a value "defaultItemPrice"... Maybe another mod is patching this value out for some reason? Or maybe Chucklefish removed that value at some point and I never realized?

I don't know, but is a really small Issue, so I won't be downloading the game to checkit and fix it, sorry :/

If you want to easily check the code of this mod... or if you want to give it a shot and try to fix and publish a fixed version by yourself, all the code and assets are in this Github: https://github.com/GonDragon/Bookstore-Starbound/tree/master
Ganondwarf 14 Oct, 2023 @ 2:11pm 
Alright, I got mine to appear in the Bookstore now due to a different issue on my end, looks like they default to 3 pixels now for me, so not an issue for me looks like, maybe a harmless error unless you just happened to fix it?
Ganondwarf 14 Oct, 2023 @ 1:34pm 
@JamesTheMaker Ooh, interesting. I was trying to figure out how to get my codices to show up in the bookstore a ways back. You must know more about this than I do as I never recognized such an error, maybe that is the culprit?

@GonDragon If fixing it is a hassle/if you want me to try adding a price lmk :)
GonDragon  [author] 12 Oct, 2023 @ 1:06pm 
@JamesTheMaker I'll see this weekend if I could do anything. I don't even remember if I still got the mod original files.
Emmaker 12 Oct, 2023 @ 11:51am 
@GonDragon I just discovered an issue with your mod. On line 82 of the bookstore.lua script, you calculate the price. When the item's price is 0, it looks for a value in merchant.config called "defaultItemPrice." This value does not exist in the specified config file, which causes a nil value error. I specifically discovered this when playing with Jokebound, which adds it's priceless books to the Bookstore. If you could fix this by adding the value to the config, or replacing the function in the script, that would be much appreciated.
GonDragon  [author] 19 Apr, 2022 @ 11:21am 
@Alpha Drako: Thanks! Even if already has been a few years since the last time I touched the game, it's always nice to hear that people still keeps enjoying my mods. :happy_creep:
Alpha Drako 19 Apr, 2022 @ 2:53am 
Just passing here to say that this mod is one of the most lovely mods that I already had the luck to read the description. You're a great modder GonDragon, not because you're a great coder, or a great pixel artist, you're a great modder because you're clearly emotionally connected to the game and the beautiful stories behind it. You're a great modder because you know how to pick a simple, trivial, random stuff, and just turn it into endless possibilities. Just thank you for the great work!
Gared 2 Feb, 2022 @ 6:07am 
@GonDragon Never heard of it, will check it out, thanks!

I've found the "Lecterns!" mod, and it works with FU, seems to do exactly what I'm looking for.
GonDragon  [author] 2 Feb, 2022 @ 5:35am 
@Arkendight I only knew about a Sticky Notes mod.
Gared 2 Feb, 2022 @ 1:32am 
Could anyone bring me up to speed, and suggest a good "book-writing" mod?
I'm a bit at a loss which are outdates, which still work, or where the hidden gems are

Being able to write my own entries within the game and share with my coop partners is a big part of the game for me
Trogdude 29 Jan, 2022 @ 11:30am 
Alright I'll check thank you.
GonDragon  [author] 29 Jan, 2022 @ 10:13am 
@Trogdude: Mmm... the only thing that I can think of, it's a problem with the story flags. The bookstore appears only after completing the Lunar Mine Mission, so you should be able to "force" spawn the bookstore using the admin command "/setuniverseflag outpost_mission1".

If after using the command (you should use it while on your ship), you visit the outpost and the store is there, then that means that some mod, for some reason, is un checking the story flags.

If it's not that, I don't know what could it be. Maybe on your Starbound.log there may be any clue of what the problem is.
Trogdude 28 Jan, 2022 @ 9:55pm 
I have the outpost overhaul as well as the patch for your store so it should appear. I tested this without the patch and the overhaul and I still got the same result. I dont know if I have any other mods that remotely even touches the outpost other than music and background mods.
GonDragon  [author] 28 Jan, 2022 @ 9:45pm 
@Trogdude: Do you have any mod that touches the Outpost? Generally speaking, it should be compatible with most mods, But if any mod spawns a room in the same place, or totally changes the outpost, it may be a conflict.
Trogdude 28 Jan, 2022 @ 7:20pm 
I have completed the lunar mine mission, and the bookstore isnt appearing. Is there something I missed or are there some mods that may conflict with this?
Kazeel_Amataka 7 Oct, 2020 @ 11:58am 
Awesome!
GonDragon  [author] 30 Jul, 2020 @ 3:05pm 
@Armok: Whoops. Fixed.
Armok 30 Jul, 2020 @ 3:02pm 
@GonDragon seems like the link posted at the bottom of the page links back to this page instead of the mod collection :P maybe you should fix that?
GonDragon  [author] 30 Jul, 2020 @ 2:56pm 
@Armok: Nice. I added those mods to the "Bookstore Compendium" mod list.:flowey:
Armok 30 Jul, 2020 @ 2:28pm 
@GonDragon I've made a compatch addon between my mod (project redemption) and your bookstore mod here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2151304194&searchtext=bookstore

maybe you could also link this mod too since it has built in support for the bookstore mod?:https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1824175379
GonDragon  [author] 7 Jul, 2020 @ 10:03am 
@FreakOfYourNature:
Hi! You must patch the bookstore object itself. So, the patch file should be:

/objects/bookstore/bookstore.object.patch

If you are not seeing your codexes on the store after the patch, make sure that you added
"includes" : ["bookstore"]
To your metadata file, as your mod should load after mine to be able to patch it.
FreakOfYourNature 7 Jul, 2020 @ 9:51am 
Sorry if this is a stupid question, but what should I call the .patch files, and where in my mod should I put them? Im making a custom race mod for personal use, and I've added new codexes. Your instructions on making the .patch files seem pretty simple and clear, but I don't know where to put them...
WillowGhostSong 28 Apr, 2020 @ 5:38pm 
okay cool I just didn't want to lose the bounty hunter quest ability in the process since I like those missions and I tend to use the outpost cooking table to learn recipes until I can scan one and make my own
GonDragon  [author] 28 Apr, 2020 @ 5:50am 
@ObscureNeurosis: Nope. It's underground, on an empty section.
WillowGhostSong 28 Apr, 2020 @ 3:51am 
um question this doesn't replace the cooking tables and such in the outpost does it?
GonDragon  [author] 16 Jan, 2020 @ 1:34pm 
@no: The bookstore appears after beating the Lunar facility mission.
Zersetzung 16 Jan, 2020 @ 12:29pm 
the bookstore isnt there, any ideas what this mod is incompatible with?
Fuyuno 12 Oct, 2019 @ 1:25am 
oh i thought it was one of those "choose which but not both" things xD
weird how my game doesn't just crash lol - thank you, i'll sub to it right away
GonDragon  [author] 11 Oct, 2019 @ 2:34pm 
@Fuyuno: The problem seems to be that you have installed the Gensou's legacy lore Bookstore Addon , but not the actual Gensou's legacy lore Mod . So, the Bookstore script try to add books that do not exist, and crash.
GonDragon  [author] 11 Oct, 2019 @ 4:05am 
@Fuyuno: Send me your log file.
Fuyuno 10 Oct, 2019 @ 9:24pm 
for some reason, i can't interact with the shop at all - it's there, but only the newskid can be interacted with - any ideas?
(i already finished the main mission ages ago)
GonDragon  [author] 14 Jul, 2019 @ 11:42am 
@CloudNine The mod works perfect on 1.4.3, and do not touch the peacekeeper poster at all. Remember that both, the Peacekeeper poster and the Bookstore, appears only after beating the lunar facility mission.
CloudNine 13 Jul, 2019 @ 9:41pm 
This is the only outpost mod I have, and I have version 1.4.3, but the peacekeeper poster is gone.
Uninstalling until fixed.
GonDragon  [author] 17 Jun, 2019 @ 6:58am 
@Team Legacy X - Neos : I just checked, and it works perfectly in 1.4 without changes.
Team Legacy X - Neos 16 Jun, 2019 @ 4:16pm 
Same Here - Outpost Broken Currently
greensniperhat 16 Jun, 2019 @ 5:38am 
Hi, since this mod affects the outpost, I gotta ask: does this mod needs updating to show the new 1.4 peacekeeper poster on the outpost?
Jokiu 24 Mar, 2019 @ 10:49am 
Oh my God that's it! What I needed to do was reinstall the same mods but in the proper order! Wow... It feels so much like a no-brainer now but I didn't know the order in which the mods were downloaded made such a huge difference.