mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-12-03 13:21:34 +00:00
Changed 'name' to 'title' in upgrades code
This commit is contained in:
parent
bfbd41aad4
commit
0bba816641
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:
|
||||
|
||||
```js
|
||||
name: "Make this whatever you want!",
|
||||
title: "Make this whatever you want!",
|
||||
description: "Double your point gain.",
|
||||
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…
Reference in a new issue