help needed (dynamic odds) [resolved]

https://perchance.org/w9j95c3c6i

Here's the code in question:

For some reason, this is not evaluating correctly, and even when g DOES equal Male, it can still be selected. This is happening with other parts of the generator too. I've also tried putting it in ^[if (g != "Male") {1} else {0}] format, but that has the same issue.

Anyone have any ideas? I did try reloading the page just in case it was a stored info thing, but alas.

1 points · 2 comments · view on lemmy.world

2 Comments

VioneT@lemmy.world · 2 pts · 2y (1 reply)

You have the items in gender to be male, female, nonbinary, etc., and not Male, Female, Nonbinary in which you are checking male to Male which is not equal/same, you need to have the dynamic odds check lowercased.

Lesbian^[g == "female" || g == "nonbinary"]
Lesbian^[g != "male"]
lembasbreadenthusiast@lemmy.world · 1 pts · 2y

Thanks!