Skip to content

Commit

Permalink
Добавление подносов
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyrmik committed Sep 3, 2024
1 parent ffdcdda commit af69130
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/ADT/prototypes/Catalog/store/bobr.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ boobr-grappling-gun-desc = Для лёгкого перемещения вне
boobr-medikit-name = продвинутая аптечка
boobr-medikit-desc = Продвинутый набор для оказания помощи при продвинутых ранах.
uplink-ADTAntagIronTray-name = особо острый поднос
uplink-ADTAntagIronTray-desc = Железный поднос c очень острыми краями.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-ADTIronTray = Поднос
.desc = Железный поднос для хранения и сервировки продуктов.
ent-ADTAntagIronTray = Поднос
.desc = Железный поднос для хранения и сервировки продуктов.
39 changes: 39 additions & 0 deletions Resources/Prototypes/ADT/Entities/Objects/Misc/tray.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
- type: entity
id: ADTIronTray
name: Iron tray
parent: BaseStorageItem
description: An iron tray to store and service food
components:
- type: Sprite
sprite: ADT/Objects/Misc/iron_tray.rsi
state: icon
- type: Storage
grid:
- 0,0,10,7
maxItemSize: Huge
# TODO: ERROR FOOD & Drink нет таких тэгов
# whitelist:
# tags:
# - Food
# - Drink
- type: Item
size: Ginormous
#- type: ItemCooldown
- type: MeleeWeapon
damage:
types:
Blunt: 8
soundHit:
path: "/Audio/Weapons/smash.ogg"

- type: entity
id: ADTAntagIronTray
name: Particularly sharp tray
parent: [ADTIronTray, BaseSyndicateContraband]
description: An iron tray to store and service food
suffix: Антаг
components:
- type: DamageOtherOnHit
damage:
types:
Blunt: 12
18 changes: 18 additions & 0 deletions Resources/Prototypes/Catalog/uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1743,3 +1743,21 @@
blacklist:
components:
- SurplusBundle

- type: listing
id: UplinkADTAntagIronTray
name: uplink-ADTAntagIronTray-name
description: uplink-ADTAntagIronTray-desc
icon: { sprite: ADT/Objects/Misc/iron_tray.rsi, state: icon}
productEntity: ADTAntagIronTray
cost:
Telecrystal: 2
categories:
- UplinkJob
conditions:
- !type:BuyerJobCondition
whitelist:
- Chef
- Clown
- Mime
- Botanist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions Resources/Textures/ADT/Objects/Misc/iron_tray.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by nope_ingeneer",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

0 comments on commit af69130

Please sign in to comment.