You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Changed from blue `#!lua Color3.new(90 / 255, 142 / 255, 233 / 255)` to red `#!lua Color3.new(90 / 255, 142 / 255, 233 / 255)`
16
16
17
17

18
+
19
+
## Increasing Hotbar Slots and Inventory Rows
20
+
21
+
Purse shows a set number of hotbar slots and inventory rows based on the device.
22
+
23
+

24
+
/// caption
25
+
Computer, console, and VR have 10 hotbar slots and 4 inventory rows
26
+
///
27
+
28
+

29
+
/// caption
30
+
Phone and tablet devices have 3 hotbar slots and 2 inventory rows
31
+
///
32
+
33
+
It's possible to increase the number of hotbar slots and inventory rows shown by changing the constants in the source code.
34
+
35
+
!!! note
36
+
37
+
Formerly VR devices used different constants for hotbar slots and inventory rows but now use the same as computer and console devices.
38
+
39
+
`HOTBAR_SLOTS_VR` and `INVENTORY_ROWS_VR` are no longer used but are still included in the code. VR devices now use `INVENTORY_ROWS_FULL` and `HOTBAR_SLOTS_FULL`.
40
+
41
+
```lua linenums="62"
42
+
--8<-- "src/init.luau:62:72"
43
+
```
44
+
45
+
Constants suffixed with `_FULL` are for computer, console, and VR devices while constants suffixed with `_MINI` are for phone and tablet devices.
46
+
47
+
The following code sample changes phone and tablet devices to have 5 hotbar slots.
48
+
49
+
```lua linenums="62" hl_lines="3"
50
+
--8<-- "src/init.luau:62:63"
51
+
localHOTBAR_SLOTS_MINI=5-- (1)!
52
+
--8<-- "src/init.luau:65:66"
53
+
```
54
+
55
+
1. Changed from 3 hotbar slots to 5 hotbar slots
56
+
57
+

Copy file name to clipboardExpand all lines: docs/philosophy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ The basic rundown is that **Purse aims to be as close to the CoreGui** while **S
4
4
5
5
[Satchel]: https://satchel.luau.page
6
6
7
-
## Design principles
7
+
## Design Principles
8
8
9
9
***As close to CoreGui as possible**: Purse aims to be as similar to Roblox's CoreGui as possible so players barely notice the difference
10
10
***Sync with upstream**: We document changes and keep track of any deviations from the [CoreGui Backpack upstream] which allows us to easily sync to the upstream.
0 commit comments