Closed ghost closed 10 months ago
Could you hand me the cached Methalox json file in the patch manager cache?
Scratch that, I see the issue
thanks
is this the recommended way to patch the ingredients list, using indexes instead of names?
@use "builtin:dictionary";
:resources #Methalox {
ingredients[0]: $value:set(unitsPerRecipeUnit,0.5);
}
i tried the name lookups solution that worked for :parts > requiredResources
but it doesn't seem to apply here
:resources #Methalox {
* > ingredients > .Methane { unitsPerRecipeUnit: 0.5; }
}
:resources #Methalox > #methane {
}
Though i may have gotten the capitalization wrong
yep thats great
lastly, how can we add a new recipe? as the isRecipe
flag is above the data object in the addressables and this seems to be a different class, im unsure how to define that inside :resources
yep thats great
lastly, how can we add a new recipe? as the
isRecipe
flag is above the data object in the addressables and this seems to be a different class, im unsure how to define that inside:resources
@new("RecipeName",true) :resources { }
The resource generator takes an optional isRecipe parameter
ok got it ty
resources work as expected, but recipes can't be accessed
using
:resources .recipe { ... }
has the same result