This commit is contained in:
2022-10-27 19:03:00 +02:00
parent 3058b2561c
commit c9fe42c3ea
3 changed files with 137 additions and 19 deletions

View File

@@ -5,22 +5,17 @@ spaces = [] # a room must have at least one space
[space]
id = 2
size = [2, 4]
doors = [] # a space has at least one entrance and one exit to other spaces either within the same room or from/to another room
passages = [] # a space may contain passages to other spaces
modules = [] # a space may have modules
[passage]
id = 3
exit = 4 # the exit door of this passage
entry = 5 # the entry door of this passage
exit = "Door Module A" # the exit of this passage
entry = "Door Module B" # the entry of this passage
type = "portal" # elevator, moving platform, etc.
[door]
id = 4
passage = 3
[module]
name = "Module A"
size = [1, 1]
position = [0, 1]
rotation = 90
types = [] # a module must have at least one type
@@ -29,30 +24,45 @@ time-estimation = 342 # estimated amount of seconds to complete this puzzle
requirements = [] # a module may have requirements
[[types]]
description = "dexterity"
description = "door"
[[types]]
description = "precision"
description = "puzzle/dexterity"
[[types]]
description = "combination"
description = "puzzle/precision"
[[types]]
description = "iteration"
description = "puzzle/combination"
[[types]]
description = "puzzle/iteration"
[[requirements]]
name = "minimum space"
name = "area"
size = [1, 1]
[[requirements]]
name = "connected module" # in the same room as another module
module = "Module B"
[[requirements]]
name = "object" # an object is required to be posessed
provided = false # whether this module provides this object itself
name = "space size"
size = [4, 2]
[[requirements]]
name = "space around" # space that is not directly occupied by the module but must be available
size = [2, 2]
[[requirements]]
name = "existence" # in the same room as another module
module = "Module B"
where = "current" # current: in this space, anywhere: in this space or any previously visited space
[[requirements]]
name = "facing" # must be facing another module
module = "Module B"
type = "exact" # exact: exactly opposite of, raycast: must be visible from
[[requirements]]
name = "minimum space size"
name = "object" # an object is required to be posessed
provided = false # whether this module provides this object itself
[[relations]] # a collection relation with an arbitrary number of modules
name = "paintings"
modules = []
[[relations]] # a group relation with named modules
name = "Puzzle A"
crank = "Crank Module A"
balloon = "Balloon Module B"
hint = "Hidden Module C"
[object]
name = "Object A"