[No GBP] Actually fix random recipes for real (#95895)

## About The Pull Request
Just the fix parts from #95892
Fixes #95876
## Why It's Good For The Game
## Changelog
🆑
fix: metalgen and secret sauce should now generate properly
/🆑

---------

Co-authored-by: l0 <-->
This commit is contained in:
levels0
2026-04-27 18:23:15 +02:00
committed by GitHub
co-authored by l0 <-->
parent 8c37743fc4
commit d2f84512b5
2 changed files with 3 additions and 0 deletions
@@ -44,6 +44,7 @@
//creation time, decides if we are random generating or not
created = recipe_data ? text2num(recipe_data["timestamp"]) : world.realtime
if(daysSince(created) > persistence_period)
created = world.realtime
recipe_data = null
//all reagents