u/Additional_Bag_5304

Best way to go about generating daily “To-do” lists?

I’m making a game in which the player runs a zoo, so has habitats, and can place animals into these habitats.

The system I’m struggling on is the daily to-do list I want to generate for the player. Ideally, each time the day starts, the code finds which enclosures have animals, and adds tasks such as “feed” and “clean” for every occupied enclosure, which then gets “ticked off” when the player completes them.

I’m very new to gml, so I wanted to ask for some points about how to go about this. Would I use a data structure, if so, which one? I assume there would have to be a loop involved to loop through the enclosures, probably adding tasks to an array once occupied enclosures are found, and then somehow displaying these to the hud?

I’m not asking for outright code, just some pointers about what to research and some ideas about how to wrap my head around this. Thanks so much in advance!

reddit.com
u/Additional_Bag_5304 — 4 days ago