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:
parent
7b0e07b7fd
commit
62edbcae09
8 changed files with 23 additions and 6 deletions
docs
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue