ContentLib recipe patch for programmable splitter unsuccessful
Context (which everyone probably knows already but whatever): there is a bug with the programmable splitter which causes it to use its pre-1.0 recipe when trying to attach it to a conveyor lift. I tried to fix this using a recipe patch according to the instructions on the ContentLib wiki, but it didn't work. The patch did load successfully, and when I tested it by changing the building name ("programmable splitter" --> "poop socket"), that change was reflected in the build menu. (Though not in the quick access wheel, weirdly.) However, it did not fix the problem I was trying to address.
The debug log confirmed that the patch loaded successfully and none of the (few) error messages seemed related. I am attaching a zip of the debug log, as well as a screenshot of the patch I used and its file location.
8 Replies
1. you seem to have skipped this step: https://docs.ficsit.app/contentlib/latest/Tutorials/Setup.html#_get_a_good_text_editor
2. you only need to include fields you want to modify, so including the name is not helpful here
3. you are modifying the normal version of the recipe, did you try the lift recipe?
/Script/Engine.Blueprint'/Game/FactoryGame/Recipes/Buildings/Recipe_ConveyorAttachmentSplitterProgrammableLift.Recipe_ConveyorAttachmentSplitterProgrammableLift'
it is probably not changing in the quick switch wheel because recipe names are overrides on the building descriptor name; if you actually want to rename it you should rename the building descriptor instead/Game/FactoryGame/Recipes/Buildings/Recipe_ConveyorAttachmentSplitterProgrammable.Recipe_ConveyorAttachmentSplitterProgrammable_C
is different from
/Game/FactoryGame/Recipes/Buildings/Recipe_ConveyorAttachmentSplitterProgrammableLift.Recipe_ConveyorAttachmentSplitterProgrammableLift_C
The buildables are actually not identical and neither are their recipes
(actually not sure if i can share jsons here)you can, but the one you did should not use the Name field because it isn't intending to change it
yeah i also noticed it wont work to show the difference ingame
Solution
there, this would be the right patch for lift programmable splitters
wrong schema, that is an old one, should be
https://raw.githubusercontent.com/budak7273/ContentLib_Documentation/main/JsonSchemas/CL_Recipe.jsonah... it doesnt affect how it executes though afaik.
but yes, i should use the new schema.
I looked for a separate lift recipe in the community resources json, but apparently I missed it. Thanks both of you.
Per #1: I skipped it initially, but later ran my code through the online one which found no problems (other than the top line being a comment.)
