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

@@ -3,22 +3,26 @@
name: glass
icon: /Textures/Objects/Materials/Sheets/glass.rsi/glass.png
spawn: SheetGlass1
maxCount: 30
- type: stack
id: ReinforcedGlass
name: reinforced glass
icon: /Textures/Objects/Materials/Sheets/glass.rsi/rglass.png
spawn: SheetRGlass1
maxCount: 30
- type: stack
id: PlasmaGlass
name: plasma glass
icon: /Textures/Objects/Materials/Sheets/glass.rsi/pglass.png
spawn: SheetPGlass1
maxCount: 30
- type: stack
id: ReinforcedPlasmaGlass
name: reinforced plasma glass
icon: /Textures/Objects/Materials/Sheets/glass.rsi/rpglass.png
spawn: SheetRPGlass1
maxCount: 30

View File

@@ -3,9 +3,11 @@
name: steel
icon: /Textures/Objects/Materials/Sheets/metal.rsi/steel.png
spawn: SheetSteel1
maxCount: 30
- type: stack
id: Plasteel
name: plasteel
icon: /Textures/Objects/Materials/Sheets/metal.rsi/plasteel.png
spawn: SheetPlasteel1
maxCount: 30

View File

@@ -3,21 +3,25 @@
name: paper
icon: /Textures/Objects/Materials/Sheets/other.rsi/paper.png
spawn: SheetPaper1
maxCount: 30
- type: stack
id: Plasma
name: plasma
icon: /Textures/Objects/Materials/Sheets/other.rsi/plasma.png
spawn: SheetPlasma1
maxCount: 30
- type: stack
id: Plastic
name: plastic
icon: /Textures/Objects/Materials/Sheets/other.rsi/plastic.png
spawn: SheetPlastic1
maxCount: 30
- type: stack
id: Uranium
name: uranium
icon: /Textures/Objects/Materials/Sheets/other.rsi/uranium.png
spawn: SheetUranium1
spawn: SheetUranium1
maxCount: 30

View File

@@ -3,9 +3,11 @@
name: gold
icon: "/Textures/Objects/Materials/ingots.rsi/gold.png"
spawn: IngotGold1
maxCount: 30
- type: stack
id: Silver
name: silver
icon: "/Textures/Objects/Materials/ingots.rsi/silver.png"
spawn: IngotSilver1
maxCount: 30

View File

@@ -3,33 +3,39 @@
name: biomass
icon: /Textures/Objects/Misc/monkeycube.rsi/cube.png
spawn: MaterialBiomass1
maxCount: 100
- type: stack
id: WoodPlank
name: wood plank
icon: /Textures/Objects/Materials/materials.rsi/wood.png
spawn: MaterialWoodPlank1
maxCount: 30
- type: stack
id: Cloth
name: cloth
icon: /Textures/Objects/Materials/materials.rsi/cloth.png
spawn: MaterialCloth1
maxCount: 30
- type: stack
id: Durathread
name: durathread
icon: /Textures/Objects/Materials/materials.rsi/durathread.png
spawn: MaterialDurathread1
maxCount: 30
- type: stack
id: Diamond
name: diamond
icon: /Textures/Objects/Materials/materials.rsi/diamond.png
spawn: MaterialDiamond1
maxCount: 30
- type: stack
id: Cotton
name: cotton
icon: /Textures/Objects/Materials/materials.rsi/cotton.png
spawn: MaterialCotton1
maxCount: 30

View File

@@ -3,33 +3,39 @@
name: gold ore
icon: /Textures/Objects/Materials/ore.rsi/gold.png
spawn: GoldOre1
maxCount: 30
- type: stack
id: SteelOre
name: steel ore
icon: /Textures/Objects/Materials/ore.rsi/iron.png
spawn: SteelOre1
maxCount: 30
- type: stack
id: PlasmaOre
name: plasma ore
icon: /Textures/Objects/Materials/ore.rsi/plasma.png
spawn: PlasmaOre1
maxCount: 30
- type: stack
id: SilverOre
name: silver ore
icon: /Textures/Objects/Materials/ore.rsi/silver.png
spawn: SilverOre1
maxCount: 30
- type: stack
id: SpaceQuartz
name: space quartz
icon: /Textures/Objects/Materials/ore.rsi/spacequartz.png
spawn: SpaceQuartz1
maxCount: 30
- type: stack
id: UraniumOre
name: uranium ore
icon: /Textures/Objects/Materials/ore.rsi/uranium.png
spawn: UraniumOre1
spawn: UraniumOre1
maxCount: 30

View File

@@ -3,3 +3,4 @@
name: rods
icon: /Textures/Objects/Materials/parts.rsi/rods.png
spawn: PartRodMetal1
maxCount: 30

View File

@@ -4,6 +4,7 @@
id: Pancake
name: pancake
spawn: FoodBakedPancake
maxCount: 30
# Food Containers
@@ -12,6 +13,7 @@
name: pizza box
icon: Objects/Consumable/Food/Baked/pizza.rsi/box.png
spawn: FoodBoxPizza
maxCount: 30
# Smokeables
@@ -20,33 +22,39 @@
name: rolling paper
icon: /Textures/Objects/Consumable/Smokeables/Cigarettes/paper.rsi/cigpaper.png
spawn: PaperRolling
maxCount: 30
- type: stack
id: CigaretteFilter
name: cigarette filter
icon: /Textures/Objects/Consumable/Smokeables/Cigarettes/paper.rsi/cigfilter.png
spawn: CigaretteFilter
maxCount: 30
- type: stack
id: GroundTobacco
name: ground tobacco
icon: /Textures/Objects/Misc/reagent_fillings.rsi/powderpile.png
spawn: GroundTobacco
maxCount: 5
- type: stack
id: GroundCannabis
name: ground cannabis
icon: /Textures/Objects/Misc/reagent_fillings.rsi/powderpile.png
spawn: GroundCannabis
maxCount: 5
- type: stack
id: LeavesTobaccoDried
name: dried tobacco leaves
icon: /Textures/Objects/Specific/Hydroponics/tobacco.rsi/dried.png
spawn: LeavesTobaccoDried
maxCount: 5
- type: stack
id: LeavesCannabisDried
name: dried cannabis leaves
icon: /Textures/Objects/Specific/Hydroponics/tobacco.rsi/dried.png
spawn: LeavesCannabisDried
maxCount: 5

View File

@@ -2,8 +2,10 @@
id: InflatableWall
name: inflatable wall
spawn: InflatableWallStack1
maxCount: 10
- type: stack
id: InflatableDoor
name: inflatable door
spawn: InflatableDoorStack1
maxCount: 4

View File

@@ -2,258 +2,316 @@
id: FloorTileSteel
name: steel tile
spawn: FloorTileItemSteel
maxCount: 30
- type: stack
id: FloorTileMetalDiamond
name: steel tile
spawn: FloorTileItemMetalDiamond
maxCount: 30
- type: stack
id: FloorTileWood
name: wood floor
spawn: FloorTileItemWood
maxCount: 30
- type: stack
id: FloorTileWhite
name: white tile
spawn: FloorTileItemWhite
maxCount: 30
- type: stack
id: FloorTileDark
name: dark tile
spawn: FloorTileItemDark
maxCount: 30
- type: stack
id: FloorTileTechmaint
name: techmaint floor
spawn: FloorTileItemTechmaint
maxCount: 30
- type: stack
id: FloorTileFreezer
name: freezer tile
spawn: FloorTileItemFreezer
maxCount: 30
- type: stack
id: FloorTileShowroom
name: showroom tile
spawn: FloorTileItemShowroom
maxCount: 30
- type: stack
id: FloorTileGCircuit
name: green-circuit floor
spawn: FloorTileItemGCircuit
maxCount: 30
- type: stack
id: FloorTileGold
name: gold floor
spawn: FloorTileItemGold
maxCount: 30
- type: stack
id: FloorTileReinforced
name: reinforced tile
spawn: FloorTileItemReinforced
maxCount: 30
- type: stack
id: FloorTileMono
name: mono tile
spawn: FloorTileItemMono
maxCount: 30
- type: stack
id: FloorTileLino
name: linoleum floor
spawn: FloorTileItemLino
maxCount: 30
- type: stack
id: FloorTileHydro
name: hydro tile
spawn: FloorTileItemHydro
maxCount: 30
- type: stack
id: FloorTileDirty
name: dirty tile
spawn: FloorTileItemDirty
maxCount: 30
- type: stack
id: FloorTileStackShuttleWhite
name: white shuttle tile
spawn: FloorTileItemShuttleWhite
maxCount: 30
- type: stack
id: FloorTileStackShuttleBlue
name: blue shuttle tile
spawn: FloorTileItemShuttleBlue
maxCount: 30
- type: stack
id: FloorTileStackShuttleOrange
name: orange shuttle tile
spawn: FloorTileItemShuttleOrange
maxCount: 30
- type: stack
id: FloorTileStackShuttlePurple
name: purple shuttle tile
spawn: FloorTileItemShuttlePurple
maxCount: 30
- type: stack
id: FloorTileStackShuttleRed
name: red shuttle tile
spawn: FloorTileItemShuttleRed
maxCount: 30
- type: stack
id: FloorTileStackEighties
name: eighties floor tile
spawn: FloorTileItemEighties
maxCount: 30
- type: stack
id: FloorTileStackArcadeBlue
name: blue arcade tile
spawn: FloorTileItemArcadeBlue
maxCount: 30
- type: stack
id: FloorTileStackArcadeBlue2
name: blue arcade tile
spawn: FloorTileItemArcadeBlue2
maxCount: 30
- type: stack
id: FloorTileStackArcadeRed
name: red arcade tile
spawn: FloorTileItemArcadeRed
maxCount: 30
- type: stack
id: FloorCarpetRed
name: red carpet tile
spawn: FloorCarpetItemRed
maxCount: 30
- type: stack
id: FloorCarpetBlack
name: block carpet tile
spawn: FloorCarpetItemBlack
maxCount: 30
- type: stack
id: FloorCarpetBlue
name: blue carpet tile
spawn: FloorCarpetItemBlue
maxCount: 30
- type: stack
id: FloorCarpetGreen
name: green carpet tile
spawn: FloorCarpetItemGreen
maxCount: 30
- type: stack
id: FloorCarpetOrange
name: orange carpet tile
spawn: FloorCarpetItemOrange
maxCount: 30
- type: stack
id: FloorCarpetSkyBlue
name: skyblue carpet tile
spawn: FloorCarpetItemSkyBlue
maxCount: 30
- type: stack
id: FloorCarpetPurple
name: purple carpet tile
spawn: FloorCarpetItemPurple
maxCount: 30
- type: stack
id: FloorCarpetPink
name: pink carpet tile
spawn: FloorCarpetItemPink
maxCount: 30
- type: stack
id: FloorTileStackCarpetClown
name: clown carpet tile
spawn: FloorTileItemCarpetClown
maxCount: 30
- type: stack
id: FloorTileStackCarpetOffice
name: office carpet tile
spawn: FloorTileItemCarpetOffice
maxCount: 30
- type: stack
id: FloorTileStackBoxing
name: boxing ring tile
spawn: FloorTileItemBoxing
maxCount: 30
- type: stack
id: FloorTileStackGym
name: gym floor tile
spawn: FloorTileItemGym
maxCount: 30
- type: stack
id: FloorTileElevatorShaft
name: elevator shaft tile
spawn: FloorTileItemElevatorShaft
maxCount: 30
- type: stack
id: FloorTileRockVault
name: rock vault tile
spawn: FloorTileItemRockVault
maxCount: 30
- type: stack
id: FloorTileBlue
name: blue floor tile
spawn: FloorTileItemBlue
maxCount: 30
- type: stack
id: FloorTileBar
name: item bar floor tile
spawn: FloorTileItemBar
maxCount: 30
- type: stack
id: FloorTileClown
name: clown floor tile
spawn: FloorTileItemClown
maxCount: 30
- type: stack
id: FloorTileMime
name: mime floor tile
spawn: FloorTileItemMime
maxCount: 30
- type: stack
id: FloorTileKitchen
name: kitchen floor tile
spawn: FloorTileItemKitchen
maxCount: 30
- type: stack
id: FloorTileLaundry
name: laundry floor tile
spawn: FloorTileItemLaundry
maxCount: 30
- type: stack
id: FloorTileSilver
name: silver floor tile
spawn: FloorTileItemSilver
maxCount: 30
- type: stack
id: FloorTileGCircuit
name: gcircuit floor tile
spawn: FloorTileItemGCircuit
maxCount: 30
- type: stack
id: FloorTileBCircuit
name: bcircuit floor tile
spawn: FloorTileItemBCircuit
maxCount: 30
- type: stack
id: FloorTileGrass
name: grass floor tile
spawn: FloorTileItemGrass
maxCount: 30
- type: stack
id: FloorTileGrassJungle
name: grass jungle floor tile
spawn: FloorTileItemGrassJungle
maxCount: 30
- type: stack
id: FloorTileSnow
name: snow floor tile
spawn: FloorTileItemSnow
maxCount: 30
- type: stack
id: FloorTileWoodPattern
name: wood pattern floor
spawn: FloorTileItemWoodPattern
maxCount: 30
- type: stack
id: FloorTileSteelMaint
name: steel maint floor
spawn: FloorTileItemSteelMaint
maxCount: 30
- type: stack
id: FloorTileGratingMaint
name: grating maint floor
spawn: FloorTileItemGratingMaint
maxCount: 30

View File

@@ -3,21 +3,25 @@
name: ointment
icon: "/Textures/Objects/Specific/Medical/medical.rsi/ointment.png"
spawn: Ointment
maxCount: 10
- type: stack
id: AloeCream
name: aloe cream
icon: "/Textures/Objects/Specific/Hydroponics/aloe.rsi/cream.png"
spawn: AloeCream
maxCount: 10
- type: stack
id: Gauze
name: gauze
icon: "/Textures/Objects/Specific/Medical/medical.rsi/gauze.png"
spawn: Gauze
maxCount: 10
- type: stack
id: Brutepack
name: brutepack
icon: "/Textures/Objects/Specific/Medical/medical.rsi/gauze.png"
spawn: Brutepack
maxCount: 10

View File

@@ -3,15 +3,18 @@
name: lv cable
icon: "/Textures/Objects/Tools/cable-coils.rsi/coil-30.png"
spawn: CableApcStack1
maxCount: 30
- type: stack
id: CableMV
name: mv cable
icon: "/Textures/Objects/Tools/cable-coils.rsi/coilmv-30.png"
spawn: CableMVStack1
maxCount: 30
- type: stack
id: CableHV
name: hv cable
icon: "/Textures/Objects/Tools/cable-coils.rsi/coilhv-30.png"
spawn: CableHVStack1
maxCount: 30