Moving-Castles / this-cursed-machine

Body horror fulfilment center simulator
MIT License
23 stars 3 forks source link

LibMaterial final #249

Closed dk1a closed 2 months ago

pwrstudio commented 2 months ago

There is an issue with the recipes not being found in the frontend.
The findRecipes function comes back empty: https://github.com/dk1a/this-cursed-machine/blob/d2b47eec0b5b1878367cc812fdd355c31b489d9e/packages/client/src/svelte/modules/state/resolver/machines.ts#L162

It seems like the input on the recipes are a different format than the materialId:

Screenshot 2024-04-23 at 12 35 32

Resolution seems to work correct on chain, but the visualisation in the UI breaks.