Skip to content

Commit

Permalink
Emag vendors (#479)
Browse files Browse the repository at this point in the history
* Add emag states for backmen vends

* Теперь можно емагать платные торгоматы с напитками и Хэппи Хонк! Они открывают новую категорию с предметами

* Emag states for cigs and coffe vendings
  • Loading branch information
Roudenn authored Feb 20, 2024
1 parent de84cb3 commit 03e23f1
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 14 deletions.
5 changes: 4 additions & 1 deletion Resources/Locale/ru-RU/backmen/store/category.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
store-category-lootbox = Лутбоксы
store-category-lootbox-emag = Лутбоксы (контрабанда)
store-category-HappyHonk = Oбеды
store-category-emag = Контрабанда
store-category-vending-drinks = Hапитки
store-category-vendingcigs = Сигареты
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Drinks
- type: listing
id: DrinkInventoryEmag1
productEntity: DrinkNukieCan
cost:
SpaceCash: 30
categories:
- DrinkVendInventoryEmag
conditions:
- !type:ListingLimitedStockCondition
stock: 2

- type: listing
id: DrinkInventoryEmag2
productEntity: DrinkChangelingStingCan
cost:
SpaceCash: 30
categories:
- DrinkVendInventoryEmag
conditions:
- !type:ListingLimitedStockCondition
stock: 2

# Happy honk
- type: listing
id: HappyHonkInventoryEmag1
productEntity: HappyHonkNukie
cost:
SpaceCash: 100
categories:
- HappyHonkInventoryEmag
conditions:
- !type:ListingLimitedStockCondition
stock: 1

- type: listing
id: HappyHonkInventoryEmag2
productEntity: HappyHonkCluwne
cost:
SpaceCash: 100
categories:
- HappyHonkInventoryEmag
conditions:
- !type:ListingLimitedStockCondition
stock: 1

# Cigs
- type: listing
id: CigaretteMachineInventoryEmag1
productEntity: CigPackSyndicate
cost:
SpaceCash: 50
categories:
- CigaretteMachineInventoryEmag
conditions:
- !type:ListingLimitedStockCondition
stock: 1

# Coffee
- type: listing
id: HotDrinksMachineInventoryEmag1
productEntity: DrinkNothing
cost:
SpaceCash: 30
categories:
- HotDrinksMachineInventoryEmag
conditions:
- !type:ListingLimitedStockCondition
stock: 2
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
id: BackmenVendingLootBox
name: ЛутБоксы
suffix: backmen
description: 123
description: Испытайте удачу и откройте свой лутбокс!
components:
- type: VendingMachine
pack: VendingLootboxInventory
Expand Down Expand Up @@ -83,6 +83,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- CigaretteMachineInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -105,6 +107,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -127,6 +131,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -149,6 +155,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand Down Expand Up @@ -215,6 +223,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- HotDrinksMachineInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand Down Expand Up @@ -369,6 +379,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -391,6 +403,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -413,6 +427,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -435,6 +451,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -457,6 +475,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -479,6 +499,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- DrinkVendInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand All @@ -501,6 +523,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- HappyHonkInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand Down
40 changes: 28 additions & 12 deletions Resources/Prototypes/Backmen/Store/categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

- type: storeCategory
id: HotDrinksMachineInventory
name: store-category-vendingcoffee
name: store-category-vending-drinks

- type: storeCategory
id: RobustSoftdrinksInventory
name: store-category-vendingcola
name: store-category-vending-drinks

- type: storeCategory
id: DiscountDansInventory
Expand All @@ -36,7 +36,7 @@

- type: storeCategory
id: BodaInventory
name: store-category-vendingsovietsoda
name: store-category-vending-drinks

- type: storeCategory
id: VendingYouTool
Expand All @@ -48,40 +48,56 @@

- type: storeCategory
id: VendingLootboxInventoryEmag
name: store-category-lootbox-emag
name: store-category-emag

- type: storeCategory
id: SpaceUpInventory
name: store-category-vendingspaceup
name: store-category-vending-drinks

- type: storeCategory
id: ColaRedInventory
name: store-category-vendingcolared
name: store-category-vending-drinks

- type: storeCategory
id: ShamblersJuiceInventory
name: store-category-vendingshamblersjuice
name: store-category-vending-drinks

- type: storeCategory
id: PwrGameInventory
name: store-category-vendingmachinepwrgame
name: store-category-vending-drinks

- type: storeCategory
id: DrGibbInventory
name: store-category-vendingmachinedrgibb
name: store-category-vending-drinks

- type: storeCategory
id: StarkistInventory
name: store-category-vendingmachinestarkist
name: store-category-vending-drinks

- type: storeCategory
id: HappyHonkInventory
name: store-category-vendingmachineHappyHonk
name: store-category-HappyHonk

- type: storeCategory
id: BoxingDrobeInventory
name: store-category-vendingmachineboxingdrobe

- type: storeCategory
id: BoxingDrobeInventoryEmag
name: store-category-vendingmachineboxingdrobe-emag
name: store-category-emag

- type: storeCategory
id: DrinkVendInventoryEmag
name: store-category-emag

- type: storeCategory
id: HappyHonkInventoryEmag
name: store-category-emag

- type: storeCategory
id: CigaretteMachineInventoryEmag
name: store-category-emag

- type: storeCategory
id: HotDrinksMachineInventoryEmag
name: store-category-emag

0 comments on commit 03e23f1

Please sign in to comment.