Skip to content

Commit

Permalink
Emag states for cigs and coffe vendings
Browse files Browse the repository at this point in the history
  • Loading branch information
Roudenn committed Feb 19, 2024
1 parent 2703de1 commit 2001dbc
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/backmen/store/category.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
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
Expand Up @@ -43,3 +43,27 @@
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 @@ -83,6 +83,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- CigaretteMachineInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand Down Expand Up @@ -221,6 +223,8 @@
balance:
SpaceCash: 0
- type: BuyStoreBank
emagCategories:
- HotDrinksMachineInventoryEmag
- type: ActivatableUI
key: enum.StoreUiKey.Key
singleUser: true
Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/Backmen/Store/categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,11 @@
- 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 2001dbc

Please sign in to comment.