Twine Version: 2.10.0
Harlowe: 3.3.9
I am trying to learn how to use the (seed:) macro but am having troubles putting it into practice and would like someone who knows more could provide some examples of putting it into use and syntax.
The Harlowe manual says " * Seed it based on a player name (inputted via (input-box:) or (prompt:)) to assign a unique challenge to each player that can" — The text does just cut off there, btw
-
How would actually use a prompt to set a seed? I understand how to use the (prompt:) and (input:) macros, but I’m not sure how to format these with the (seed:) macro.
-
How would I ‘call’ forth the seed from the beginning? Like, put it into action… if that makes sense.
Additionally, the example usage is (seed:"aeiouy")(random:1,10) (random:1,10) (random:1,10)
- How would one actually use these random numbers? is it not better to have something tied to them, such that a variable could call to them and be changed in the actual course of playing the game?
I guess this is mainly where I’m asking for example usages. If someone has something downloadable such as the way the manual has some examples, I would be happy to poke around and learn that way, but any written explanations will also be greatly appreciated!
- [editted, removed question because it was so obvious that as soon as I hit post I couldn’t believe what I was asking lol]
- If I wanted to set specific values to a seed, would that be possible?
Such as, if I wanted to set the player stats based on the seed from the beginning.
I attempted a few variations of the following, using brackets and without, but it didn’t seem to work, as long as I had a second (seed:) in the passage, it default to the last (set:). (seed: "seed1")(set: $steelyStats to (dm: "name", "Steely", "HP", 80, "poison", 0, "heartbreak", true, "exes", 0)
I also tried to do something like (seed: "seed123")(set: $steelyStats to (dm: "name", "Steely", "HP", (random:10, 100), "poison", 0, "heartbreak", (either: true,false), "exes", (random:1,5)))
but if I wanted the (random:) and (either:) to be what’s changed based on the seed, how would I set up the macro for that?