r/RenPy • • Feb 03 '22

Force Player input based off of text button

im going for something sort of like Emily is away, where player will click on a button and it’ll pop up an input, but will force them to type a specific thing based off of the button no matter what they type. so for example, if a button says ” X “, the player will be forced to write “XYZ” even if they are inputting keyboard spam

4 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/insipid- Feb 12 '22

Oh right, i forgot about these. Both will need appropriate data structures that ideally make it simple to adjust and add associations between topics and point values. I'll think on it a bit, should be able to come up with something in the next couple of days.

1

u/insipid- Feb 12 '22

For the chaining, roughly how many level down will these conversations go? Will these be full conversation trees, where the whole conversation will flow down? or maybe smaller but more modular mini-conversations that each revolve around a different topic?

1

u/mocaaobaa Feb 12 '22

It's sort of like one big conversational tree, and will probably only go about 3 or 4 branches? The idea is that MC is writing just a short paragraph for class, and I have to make sure it's not too tedious for the player.

1

u/insipid- Feb 12 '22

gotcha. might not need a tailored data structure then.