Login

Fancade Wiki

Updated How to use the shop system?.md (markdown)

... ...
@@ -48,7 +48,7 @@ If the connected Variable is \-1, that means OFF. You can set it to \-1 or 1 to
48 48
49 49
[[/uploads/Captura_7.png]]
50 50
51
But if you set it to No Limit then the upgrade will have no limit and you will be able to buy it how many times you want.
51
But if you set it to No Limit ( which is behind 100) then the upgrade will have no limit and you will be able to buy it how many times you want.
52 52
*Note: "No Limit" comes after Max 100 in that menu.*
53 53
54 54
[[/uploads/Screenshot_20210609-192759.png]]
... ...
@@ -81,7 +81,8 @@ With this in mind you can try to get more complex and have your shop with items
81 81
82 82
# How to use the bought upgrades
83 83
84
To use these, take the saved variable (!Var) you sticked into the Variable input and use it in whatever you want. Normally the variables are equal to the upgrade level of the certain upgrade. For example, if used a Max 5 upgrade then the variable can be equal to the values of 0 through 5. If used a On/Off upgrade, the variable can only equal \-1, 0 or 1. If used a No Limit upgrade, the variable can equal 0 through N (all natural numbers.)
84
To use these, take the saved variable (!Var) you sticked into the Variable input and use it in whatever you want. Normally the variables are equal to the upgrade level of the certain upgrade. For example, if used a Max 5 upgrade then the variable can be equal to the values of 0 through 5. If used a On/Off upgrade, the variable can only equal \-1, 0 or 1. If used a No Limit upgrade, the variable can equal 0 through 16777216 because float rounding
85
rounds down the next number. (pedanticism)
85 86
86 87
# Limits.
87 88
... ...
@@ -91,4 +92,5 @@ To use these, take the saved variable (!Var) you sticked into the Variable input
91 92
## Buggy effects of negative numbers
92 93
Negative values do work with other settings besides on/off, but they change the button to look like OFF. It still works, and the calculation that generates the price just uses the negative number.
93 94
For example, 10 \* 2^\-2 for 10 Double and other fractions are rounded down, here to 2.
94
Linear Prices will give you coins on \-2 and less
95
Linear Prices will actually give you coins on level \-2 and less
96
because of this.
... ...
\ No newline at end of file
Fancade Wiki