#Beginners recipe help

6 messages · Page 1 of 1 (latest)

sand pasture
#

I have a mod that adds only 1 new recipe for items that already exist by default.
A recipe that makes 1 outpost lamp from 1 torch, in mode without a crafting table (plain).
The problem is that without admin mode, I don't see them in the list of recipes.

Here is "player.config.patch" file :

[
{"op":"add","path":"/defaultBlueprints/tier1/-","value":{"item":"SPoutpostlamp"}}
]

Here is "SPoutpostlamp.recipe" file :

{
  "input" :[
    { "item" : "torch", "count" : 1 }
  ],  
  "output" : { "item" : "outpostlamp", "count" : 1 },
  "groups" : [ "plain", "lights", "all" ]
}

For the group parameter, I used different combinations, but none of them helped.

"[ "plain", "objects", "all" ]"        - taken from campfire recipe.
"[ "plain", "lights", "all" ]"        - taken from torch recipe.
"[ "plain", "all" ]"
"[ "plain" ]"

Please tell me where the problem is.

dawn geyser
#

item id in player.config.patch and recipe output dont match

#

one is SPoutpostlamp and the other is just outpostlamp

sand pasture
# dawn geyser one is SPoutpostlamp and the other is just outpostlamp

Are you saying that it doesn’t matter that there is already such a recipe for “outpostlamp” in the game itself.
Do I just need to rename the thing in player.config.patch SPoutpostlampoutpostlamp) without changing the name of the recipe file SPoutpostlamp.recipe?
Should the recipe file name also need to be changed?

dawn geyser
#

filename doesnt matter

sand pasture