Dropdown list connected to a variable in easy Perchance form.
@dlcnate1@lemmy.world here you go: https://perchance.org/l5eodd9qir#edit There is your thing and these are what is edited:
dropdown = {import:dropdown-list-plugin-v1} playerclass = mage //setting a default dropdownlist variable = playerclass list mage priest wanderer fightingman thief classgearpack some lockpicks in a [leatherstyle] tool roll<br> [thief] ^[playerclass == "thief"] well used whetstone<br> [fightingman] ^[playerclass == "fightingman"] [leatherstyle] book with arcane writing<br> [mage] ^[playerclass == "mage"] [leatherstyle] book with religious iconography<br> [priest] ^[playerclass == "priest"] map of the area, incomplete but fairly detailed<br> [wanderer] ^[playerclass == "wanderer"]
that stuff in classgearpack makes it so it only does that option if playerclass is specific things. did i make the rest of it structurally understandable enough? anything else i should add?
wow, that looks a lot easier than the stuff i tried to do…
that’s working like a charm, now is there a way i can have a random option in there, that doesn’t call for a specific one?
also just made an ability to set an initial selection and about to add a ‘remember’ option to remember what it was last time the page was visited
so optionally something like this tho u dont have to use any of the extra stuff:
dropdownlist variable = playerclass list mage wizard sorceress enchantress witch priest cleric druid warlock saint paladin random initial = saint remember = true
anyway, doing remember now and say anything else you want
thanks, this has been very helpful and the generators are much better now because of it.
done. just add an entry in the list named random or Random or RaNdOm or any capitalization of random and try it :)
if you want it some other way like to be able to custom name the option please say! :)