Login

Fancade Wiki

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

... ...
@@ -18,10 +18,10 @@ To use the menu items, first take a block out of the inventory, and after placin
18 18
19 19
[[/uploads/Captura_de_pantalla_2021-06-02_142338.png]]
20 20
21
The Picture input is the object that will appear when looking at the according "Upgrade it" references.
21
The Picture input is the object that will appear when looking at the according places in the Shop.
22 22
23 23
The Variable input uses a variable to save the current state of the upgrade.
24
You will need to use a saved variable (!Var) for this one or it'll be completely useless.
24
You will need to use a saved variable (!Var) for this or it'll be completely useless.
25 25
26 26
There's also other options when you select the block:
27 27
... ...
@@ -31,7 +31,7 @@ Name: how the item will be named in the shop.
31 31
32 32
[[/uploads/Captura_3.png]]
33 33
34
If the block isn't connected to something else and/or neither there's no object connected to the Picture input nor a Variable then it'll show as title on a new page.
34
If there's no Variable connected to the Variable input then it'll show as a title on a new page.
35 35
36 36
[[/uploads/Captura_4.png]]
37 37
... ...
@@ -44,10 +44,12 @@ The corresponding object in the shop system will have to be upgraded 2 times to
44 44
[[/uploads/Captura_6.png]]
45 45
46 46
If you leave it as On/Off, you'll be able to upgrade it once, and toggle it on and off, like an extra mode or a cheat code.
47
If the connected Variable is \-1,that means OFF. You can set it to \-1 or 1 to avoid the purchase.
47 48
48 49
[[/uploads/Captura_7.png]]
49 50
50
But if you leave it in No Limit then the upgrade will literally 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 then the upgrade will have no limit and you will be able to buy it how many times you want.
52
*Note: "No Limit" comes after Max 100 in that menu.*
51 53
52 54
[[/uploads/Screenshot_20210609-192759.png]]
53 55
... ...
@@ -69,9 +71,14 @@ And you even get a bigger price if you keep clicking after 10 Double! The existi
69 71
70 72
# How to use the bought upgrades
71 73
72
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 0 or 1. If used a No Limit upgrade, the variable can equal 0 through N (all natural numbers.)
74
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.)
73 75
74 76
# Limits
75 77
76 78
- 6 Pages
77
- 100 Items (including Titles)
... ...
\ No newline at end of file
0
- 100 Items (including Titles)
1
2
## Buggy effects of negative numbers
3
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.
4
For example, 10 \* 2^\-2 for 10 Double and other fractions are rounded down, here to 2.
5
Linear Prices will give you coins on \-2 and less
Fancade Wiki