# Bird's-eye view of a DungeonScript file

A DungeonScript file is divided into 8 sections:

## WinConditions

Here are the possible formats of win conditions:

     (neko puzzle - you win if there's no fruit left)
    No Fruit

    (sokoban - you win if every target point has a crate on it)
    All Target On Crate

    (you win if Love exists somewhere)
    Some Love

    (you win if there's some gold in the chest)
    Some gold on chest

    (you win if all gold has been taken from the chest)
    No gold on chest

If you have multiple win conditions, they all have to be satisfied.

These should do for most games, but if you want more advanced control over winning and losing, then you can specify your own win rules using commands.