Trading Outpost now has half buy-only and half sell-only pallets (#25955)

* Added new Buy & Sell specific cargo pallets

* Remapped trading outpost with new pallets, tweaked texture

* Removed debug message

* Fixed/Compacted conditional checking to let old pallets still work for backwards compatability

* Update Content.Server/Cargo/Components/CargoPalletComponent.cs

Alright, updating all the references to it.

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

* Changed textures, changed to enum instead of string for pallet type check

* Few minor code tweaks/formatting fixes

* Missed the prototype change

* Update Content.Server/Cargo/Components/CargoPalletComponent.cs

* Update Content.Server/Cargo/Systems/CargoSystem.Shuttle.cs

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
wafehling
2024-03-13 18:26:25 -05:00
committed by GitHub
parent 85e0a5328a
commit c0bbbc33c1
8 changed files with 282 additions and 179 deletions

View File

@@ -21,6 +21,7 @@
mask:
- MachineMask
- type: CargoPallet
palletType: All
- type: StaticPrice
price: 100
- type: Sprite
@@ -53,3 +54,33 @@
- type: GuideHelp
guides:
- Cargo
- type: entity
id: CargoPalletSell
name: cargo selling pallet
description: Designates valid items to sell with a selling computer, or to CentCom when a shuttle is recalled.
parent: CargoPallet
components:
- type: CargoPallet
palletType: sell
- type: Sprite
drawdepth: FloorTiles
layers:
- sprite: Structures/cargo_pallets.rsi
state: cargo_pallet_sell
- type: entity
id: CargoPalletBuy
name: cargo buying pallet
description: Designates where orders will appear when purchased.
parent: CargoPallet
components:
- type: CargoPallet
palletType: buy
- type: Sprite
drawdepth: FloorTiles
layers:
- sprite: Structures/cargo_pallets.rsi
state: cargo_pallet_buy