Hi everyone, just getting to grips with Perchance, love the functionality and simplicity. Not a coder, so coming at this as a newbie.
I’m trying to build a dental patient generator for students to practice diagnosis on. I’ve got a simple version working: https://perchance.org/91ba5azokj But I need some condition-based logic so that the relevant variables only apply to the front or back tooth.
Front tooth If UL1 or LR2, it can link with:
• Mesial, Distal, Buccal or Lingual/Palatal • Composite or Glass Ionomer Cement • Any medical history • Any presenting complaint • Any ‘other’ item
Back tooth If UR6, UR4, LL6 or LR7, it can link with:
• MO, DO, MOD • Amalgam or Composite • Any medical history • Any presenting complaint • Any ‘other’ item
I can’t see how to build this with the plug-ins I’ve explored and having read the tutorials (a few times!). Any tips? I’ve got the information for the medical history, presenting complaints and other items to add later.
https://perchance.org/hmz8js3o3v
i’d say Vione’s is basically ‘the right way’ and i made a noob one, but maybe my noob one will help :)
it isn’t really condition based logic like in real time like you are implying and vioneT answered. It’s more just splitting your types of things in to a box for each type of thing. Also I noticed you had all your lists referenced only in output, but you can reference a list in a list as you see i did with how tooth then is either a back or front tooth and then back tooth has it’s lists and front tooth has it’s lists and they are different from each other. edit: touch edit to see what i did. idk teeth so i made up my own surface types and such.