robotex140 / Hydrocraft

28 stars 40 forks source link

Wasteland Survival Guide #26

Closed HugoQwerty closed 2 years ago

HugoQwerty commented 2 years ago

So, I was thinking - could we create an in-game book that is a collection of the player characters knowledge, then use that as the sole ingredient in recipes, but add the real requirements to the OnTest lua function.

For example, add a Gather Flowers recipe which only needs the Wasteland Survival Guide, but the OnTest functions checks if the player has read the Flower Field Guide - and if they haven't read it the the recipe is unavailable.

Would this help us add features without needing add our own custom menus?

We could add as many recipes as we want, and instead of having to carry around the book that taught the skill (the field guides, for example) they just use the Wasteland Survival Guide. Maybe make it weightless, and undroppable (although I don't know how to do that).

Maybe add a 'I've written that down' message for when a player learns a new thing.