mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-01-30 07:01:48 +00:00
Merge pull request #42 from The-Society-Of-Optimistic-Snails/master
Changed 'name' to 'title' in upgrades code
This commit is contained in:
commit
ec6351e627
1 changed files with 2 additions and 2 deletions
|
@ -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...
|
||||||
|
|
Loading…
Add table
Reference in a new issue