mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-05-01 14:01:09 +00:00
Automated rows and cols
This commit is contained in:
parent
9fe4a17a38
commit
e18f1bdd47
10 changed files with 29 additions and 24 deletions
|
@ -13,8 +13,6 @@ Achievements should be formatted like this:
|
|||
|
||||
```js
|
||||
achievements: {
|
||||
rows: # of rows,
|
||||
cols: # of columns,
|
||||
11: {
|
||||
name: "Blah",
|
||||
more features
|
||||
|
|
|
@ -14,8 +14,6 @@ Buyables should be formatted like this:
|
|||
|
||||
```js
|
||||
buyables: {
|
||||
rows: # of rows,
|
||||
cols: # of columns,
|
||||
11: {
|
||||
cost(x) { return new Decimal(1).mul(x || getBuyableAmt(this.layer, this.id)) },
|
||||
display() { return "Blah" },
|
||||
|
|
|
@ -12,8 +12,6 @@ Challenges are stored in the following format:
|
|||
|
||||
```js
|
||||
challenges: {
|
||||
rows: # of rows,
|
||||
cols: # of columns,
|
||||
11: {
|
||||
name: "Ouch",
|
||||
challengeDescription: "description of ouchie",
|
||||
|
|
|
@ -16,8 +16,6 @@ Clickables should be formatted like this:
|
|||
|
||||
```js
|
||||
clickables: {
|
||||
rows: # of rows,
|
||||
cols: # of columns,
|
||||
11: {
|
||||
display() {return "Blah"},
|
||||
etc
|
||||
|
|
|
@ -12,8 +12,6 @@ Upgrades are stored in the following format:
|
|||
|
||||
```js
|
||||
upgrades: {
|
||||
rows: # of rows,
|
||||
cols: # of columns,
|
||||
11: {
|
||||
description: "Blah",
|
||||
cost: new Decimal(100),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue