diff --git a/changelog.md b/changelog.md index c34e7d3..1a064b3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # The Modding Tree changelog: +- Particle +- Added marked feature to buyables, clickables, and challenges. By default, stars multi-completion challenges when maxed. +- Improved number formatting more. + # v2.5.6 - 5/14/21 - You can now use non-numeric ids for upgrades, buyables, etc. - Fixed an exploit that let you buy an extra buyable. diff --git a/docs/buyables.md b/docs/buyables.md index 2c1d84d..12854eb 100644 --- a/docs/buyables.md +++ b/docs/buyables.md @@ -52,6 +52,8 @@ Features: - purchaseLimit: **optional**. The limit on how many of the buyable can be bought. The default is no limit. +- marked: **optional** Adds a mark to the corner of the buyable. If it's "true" it will be a star, but it can also be an image URL. + - layer: **assigned automagically**. It's the same value as the name of this layer, so you can do `player[this.layer].points` or similar. - id: **assigned automagically**. It's the "key" which the buyable was stored under, for convenient access. The buyable in the example's id is 11. diff --git a/docs/challenges.md b/docs/challenges.md index 9c02d55..e61e04b 100644 --- a/docs/challenges.md +++ b/docs/challenges.md @@ -58,6 +58,8 @@ Individual Challenges can have these features: - style: **optional**. Applies CSS to this challenge, in the form of an object where the keys are CSS attributes, and the values are the values for those attributes (both as strings). +- marked: **optional** Adds a mark to the corner of the challenge. If it's "true" it will be a star, but it can also be an image URL. By default, if the challenge has multiple completions, it will be starred at max completions. + - layer: **assigned automagically**. It's the same value as the name of this layer, so you can do player[this.layer].points or similar - id: **assigned automagically**. It's the "key" which the challenge was stored under, for convenient access. The challenge in the example's id is 11. diff --git a/docs/clickables.md b/docs/clickables.md index 3173a15..d685dee 100644 --- a/docs/clickables.md +++ b/docs/clickables.md @@ -42,6 +42,8 @@ Features: - style: **optional**. Applies CSS to this clickable, in the form of an object where the keys are CSS attributes, and the values are the values for those attributes (both as strings). +- marked: **optional** Adds a mark to the corner of the clickable. If it's "true" it will be a star, but it can also be an image URL. + - layer: **assigned automagically**. It's the same value as the name of this layer, so you can do `player[this.layer].points` or similar. - id: **assigned automagically**. It's the "key" which the clickable was stored under, for convenient access. The clickable in the example's id is 11. diff --git a/index.html b/index.html index b2d7423..772e26e 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,7 @@ -
+