natronium / GatorArchipelago

An archipelago world definition for Lil Gator Game
1 stars 0 forks source link

Goal Logic (for minimal accessibility option) #4

Closed roseasromeo closed 2 months ago

roseasromeo commented 2 months ago

The apworld needs to know how the logic for the goal completion condition is if someone wants to set accessibility (a term for what locations/items in the game are reachable in logic) to "minimal".

Also useful to have in case of other goals being implemented client-side.

roseasromeo commented 2 months ago

multiworld.completion_condition[player] = lambda state: state.has("Victory", player)

And set up a Victory event at the correct conditions for the goal