here actual girlsmeet code you can follow..
if "Mind Fucked" in chr.traits:
$g(choice(["...","<Is she drooling?...>","<The dead look in her eyes isn't reassuring...>"]))
elif ct("Dandere"):
$rc("...no...", "...later...maybe...")
elif ct("Optimist") and ct("Lolita"):
$rc("Uhuhu⪠I won't tell you~ ⪠","I'm not going to tell you~ ","It's a secret! ")
What is the syntax for checking several traits at the same time in girlsmeets?
For example, if a girl has either Tomboy or Energetic (or both)?
Is it correct?
if "Tomboy" in chr.traits:
$g(choice(["...","<Is she drooling?...>","<The dead look in her eyes isn't reassuring...>"]))
elif ct("Energetic"):
$rc("...no...", "...later...maybe...")
elif ct("Tomboy") or ct("Energetic"):
not needed as the 2 line above are doing the same unless you want combined response unlike the coder chosed to in this case $rc("Uhuhu⪠I won't tell you~ ⪠","I'm not going to tell you~ ","It's a secret! ")
elif ct("Tomboy") and ct("Energetic"):
AND example to check need for both $rc("Uhuhu⪠I won't tell you~ ⪠","I'm not going to tell you~ ","It's a secret! ")
thats applied example dont look at $g / $rc :p
beware of AND OR result.. might mistake 1 for the other on the conditioning