stack cleanup and mild refactoring (#11717)

* stack cleanup

* fix tests and ulong

* somehow did half a commit

* ulong got usmall. (it's ints now)

* sussy baka cleanup

* mirror's review

* make da tests pass again

* shadowcommander review

* sloth por favor

* Update StoreSystem.Ui.cs
This commit is contained in:
Nemanja
2022-11-08 21:24:23 -05:00
committed by GitHub
parent eebb31493c
commit 9428d4b341
31 changed files with 252 additions and 115 deletions

View File

@@ -131,7 +131,6 @@
- type: Stack
stackType: Biomass
count: 100
max: 100
- type: Sprite
sprite: /Textures/Objects/Misc/monkeycube.rsi
state: cube

View File

@@ -11,7 +11,6 @@
price: 0
- type: Stack
stackType: Credit
max: 1000000 # if you somehow get this rich consider buying a second station
count: 1
- type: Sprite
sprite: Objects/Economy/cash.rsi

View File

@@ -26,7 +26,6 @@
components:
- type: Stack
stackType: LeavesCannabisDried
max: 5
count: 1
- type: SolutionContainerManager
solutions:
@@ -46,7 +45,6 @@
components:
- type: Stack
stackType: GroundCannabis
max: 5
count: 1
- type: SolutionContainerManager
solutions:
@@ -84,7 +82,6 @@
components:
- type: Stack
stackType: LeavesTobaccoDried
max: 5
count: 1
- type: SolutionContainerManager
solutions:
@@ -104,7 +101,6 @@
components:
- type: Stack
stackType: GroundTobacco
max: 5
count: 1
- type: SolutionContainerManager
solutions:

View File

@@ -36,7 +36,6 @@
path: "/Audio/Items/Medical/ointment_end.ogg"
- type: Stack
stackType: Ointment
max: 10
count: 10
- type: StackPrice
price: 10
@@ -64,7 +63,6 @@
path: "/Audio/Items/Medical/brutepack_end.ogg"
- type: Stack
stackType: Brutepack
max: 10
count: 10
- type: StackPrice
price: 10
@@ -96,7 +94,6 @@
path: "/Audio/Items/Medical/brutepack_end.ogg"
- type: Stack
stackType: Gauze
max: 10
count: 10
- type: StackPrice
price: 10
@@ -120,7 +117,6 @@
state: cream
- type: Stack
stackType: AloeCream
max: 10
count: 10
# Pills

View File

@@ -13,7 +13,6 @@
sprite: Objects/Specific/Syndicate/telecrystal.rsi
- type: Stack
count: 20
max: 999999 # todo: add support for unlimited stacks
stackType: Telecrystal
- type: StackPrice
price: 200

View File

@@ -8,7 +8,6 @@
- type: Stack
stackType: InflatableWall
count: 10
max: 10
- type: Sprite
sprite: Objects/Misc/inflatable_wall.rsi
state: item_wall
@@ -42,7 +41,6 @@
- type: Stack
stackType: InflatableDoor
count: 4
max: 4
- type: Sprite
sprite: Objects/Misc/inflatable_door.rsi
state: item_door