1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 08:12:39 +00:00
This commit is contained in:
Harley White 2021-09-08 00:01:18 -04:00
commit b602605bda

View file

@ -45,7 +45,7 @@ Given that, let's make our first upgrade! Insert this line in between the bracke
Reload the page, and an upgrade will appear in the layer's tab! It will just be blank though. We need to fill out its features, which works similarly to giving a layer features. Here are the features we'll need: Reload the page, and an upgrade will appear in the layer's tab! It will just be blank though. We need to fill out its features, which works similarly to giving a layer features. Here are the features we'll need:
```js ```js
name: "Make this whatever you want!", title: "Make this whatever you want!",
description: "Double your point gain.", description: "Double your point gain.",
cost: new Decimal(1), cost: new Decimal(1),
``` ```
@ -101,4 +101,4 @@ To implement this effect, we modify gainMult, which returns the multiplier to th
}, },
``` ```
Refresh the page and see your new upgrade! Next time: a new layer... Refresh the page and see your new upgrade! Next time: a new layer...