Search found 6 matches

by shrexylexy
Thu Jun 09, 2022 7:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Error with Jumping to a label based off of list position
Replies: 4
Views: 294

Re: Syntax Error with Jumping to a label based off of list position

Thank you! I have made the adjustments and am now facing the error below: While running game code: File "game/script.rpy", line 147, in script if classorder[0] == "00 piece": File "game/script.rpy", line 147, in <module> if classorder[0] == "00 piece": IndexEr...
by shrexylexy
Thu Jun 09, 2022 5:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Error with Jumping to a label based off of list position
Replies: 4
Views: 294

Syntax Error with Jumping to a label based off of list position

Hi all! I am still working on creating a schedule builder but am now running into a new issue (thus a new post for people who may be searching for the specific problem). I have a drag and drop system set up. Currently, the name of the draggable that is in the first droppable spot is stored as the fi...
by shrexylexy
Thu Jun 09, 2022 1:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Comparing Specific Content within an Index of Two Lists (if list_a[0] == pie && list_b == cherry)
Replies: 5
Views: 488

Re: Comparing Specific Content within an Index of Two Lists (if list_a[0] == pie && list_b == cherry)

Hi all! this is what I have for my code: def orderofclasses(): if order[0] == "00 piece" and time[0] == "00": #if the first piece is the first in the list and ison the first time droppable jump Cowboy1 It keeps telling me that the jump Cowboy1 has a syntax error. and points to th...
by shrexylexy
Wed May 25, 2022 10:03 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Comparing Specific Content within an Index of Two Lists (if list_a[0] == pie && list_b == cherry)
Replies: 5
Views: 488

Re: Comparing Specific Content within an Index of Two Lists (if list_a[0] == pie && list_b == cherry)

Amazing, thank you!! That's a lot simpler than I thought. I was definitely overcomplicating things. I'll try it out and update with my progress in case future people have the same problems I did :)
by shrexylexy
Tue May 24, 2022 7:23 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Comparing Specific Content within an Index of Two Lists (if list_a[0] == pie && list_b == cherry)
Replies: 5
Views: 488

[Solved] Comparing Specific Content within an Index of Two Lists (if list_a[0] == pie && list_b == cherry)

Hello! I'm fairly new to Ren'PY and working within Python for these projects. I am looking to see if there is a way to compare specific indexes of two different lists. Essentially I am creating a class scheduler and need to obtain the order of the classes. I have the schedule creator as a drag and d...