PATH

A sandbox, console-based game written in NodeJS.

View on GitHub

Biomes

Full list of biomes

Name ID
Plain plain
Cave cave

Syntax

There are multiple properties included in an environment JSON file.

type

{
  "type": "continue"
}

If the type is continue, the game will continue to the same type of biome.

{
  "type": "exit"
}

However, if the type is exit, the game will continue in a different biome type.

action

{
  "action": "go:plain"
}

This sample action will take the player to a plain boime variant when that option is chosen. Actions can hold any commands.

It is also possible to have a callback action if the action does not involve going to another biome.

{
  "action": "give:wood=>go:cave"
}

This sample action will first, give the player wood, and then send the player to a cave biome variant.

Next steps

<== Back (items) Next (commands) ==>

Dev doc

There isn’t a dev doc as of right now, because pretty much everything is covered in this doc.