I messed up bad. I just found out that my mods are broken. People have been downloading my broken mods. I need to fix this. The folder structure for the mods is as follows from an unpacked .pak file. contents\assets\recipes contents\assets\items Another mod I unpacked to see folder structure has it differently, but I'm told another mod of mine has this folder structure and works, leading me to believe it's a problem with my patch files. Here's the code from a broken mod's patch file, which is intended to teach recipes for graffiti on picking up a coal. contents\assets\items\generic\crafting\coalore.item.patch Code: [ { "op": "add", "path": "/learnBlueprintsOnPickup", "value": [ "chalktally", "nowayout", "prisongraffiti1", "prisongraffiti2", "prisongraffiti3", "prisongraffiti4", "prisongraffiti5", "prisongraffiti6", "prisongraffiti7", "thewayisblocked", "turnback" ] } ] Please help. My credibility as a modder is already tarnished, and if I don't fix this soon, that will be a second mistake.
I don't think you can add multiple entries together like that. You could do a "replace" operation like that, but not add. Code: [ { "op": "add", "path": "/learnBlueprintsOnPickup/-", "value": "chalktally" }, { "op": "add", "path": "/learnBlueprintsOnPickup/-", "value": "nowayout" } ] etc edit: I should elaborate. You can add like that when adding a non-existing path aka if "/learnBlueprintsOnPickup" didn't already exist. You can't add to an existing path that way. You'd have to do what this snippet showed to add to an existing path. edit2: This would solve that dilemma nicely, assuming the patch itself is your main problem. Code: [ [ { "op" : "test", "path" : "/learnBlueprintsOnPickup", "inverse" : true }, { "op" : "add", "path" : "/learnBlueprintsOnPickup", "value" : [ ] } ], [ { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "chalktally" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "nowayout" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti1" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti2" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti3" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti4" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti5" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti6" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "prisongraffiti7" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "thewayisblocked" }, { "op" : "add", "path" : "/learnBlueprintsOnPickup/-", "value" : "turnback" } ] ] The first batch tests for the "/learnBlueprintsOnPickup" path, and adds it if not present. The second batch adds all your entries to the "/learnBlueprintsOnPickup" path. "-" means that it would add it at the end of the list. Now your REAL problem is not adding in "The cake is a LIE" graffiti. That's certainly going to harm your reputation more than a few silly errors. Oh yeah, I should ask (well lazarus78 already did ask about logs) about your recipes. Are you sure the recipes themselves are good? Sharing your log is generally a must in these cases. As well as any files that COULD be points of failure. For that matter, we're having to assume what the problem is, because you didn't mention what is or isn't actually occurring.
My logs aren't saying anything about a broken anything. There was an access violation when I beamed to my planet once, but I blame that on the capture pod in the pedestal, as it only seems to happen when I have a pet on display. The characters on my computer learn the recipes just fine when they pick up coal. I have the .pak file for the mod installed in my mods folder. It just seems like anyone who downloads my mod from the Steam workshop isn't getting anything. My recipes were edited from a version previously posted for a problem I had with that. Also, "The cake is a LIE" graffiti? Is that vanilla? I can't find it on the wiki. What's the item name for it? I intended to include ALL the graffiti. I'll try the code you posted and have my sister playtest it, because my computer sure isn't accurate. Then again, it would be an easy fix if I unlearned the recipes. EDIT: I think it works now. I just removed the mod from my mods folder, remade the mod like you showed me, and removed the spaces and exclamation point from my mod's Steam file name. I loaded a character who had never unlocked the recipes, picked up a coal, and those glorious green words filled the bottom of my screen.
You don't need to unlearn anything(assuming you can anyhow). Test by getting a new character and acquiring that item. You could use /admin /spawnitem myItem 1000 to get 1000 "myItem" Also "The cake is a lie" is a meme from Portal not Starbound. I'm afraid my joke has failed. Although you didn't link your mod, I think I know which Steam workshop mod we're talking about. I'll download it and figure out what's going on. edit: I downloaded it and looked at everything. Seems fine. I see you already changed over to the patch provided. In any case, I learned the recipes right after adding the mod. Also I installed the unpacked contents for this in a mostly clean install of Starbound for what that matters. But point is it worked fine.
No, I got it. I just thought there was actually a graffiti tag of that. Any PC gamer knows that one. Also, yes. I'm currently working on "I Can't Believe It's Not Oil!". It's my last one to fix. I had no idea this was so complicated. Forget adding weapons and armor for now. I still have to nail recipes down. EDIT: Okay, I think they're working. I'm having some random guy who contacted me confirm. This whole thing has been a toothache.