1
0
Fork 0
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:
Ben 2021-08-13 16:11:49 -06:00 committed by GitHub
parent bfbd41aad4
commit 0bba816641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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:
```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...