1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-01-18 03:31:30 +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:
Harley White 2021-09-07 23:55:13 -04:00 committed by GitHub
commit ec6351e627
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...