1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-05-12 04:51:06 +00:00

Docs: Switched code blocks to JS, added clarifications

This commit is contained in:
Acamaeda 2020-10-01 15:57:47 -04:00
parent 7b0e07b7fd
commit 62edbcae09
8 changed files with 23 additions and 6 deletions

View file

@ -2,6 +2,7 @@
Challenges are stored in the following format:
```js
challs: {
rows: # of rows
cols: # of columns
@ -11,6 +12,7 @@ Challenges are stored in the following format:
}
etc
}
```
You can use inChall(layer, id) and hasChall(layer, id) to determine if the player is currently in a challenge,
or has completed the challenge, respectively. These are useful for implementing effects.