Теперь предметы можно передавать из рук в руки (#462)

* add: Теперь предеты можно передовать из рук в руки

* Кудато не туда уехало
This commit is contained in:
Spatison
2024-07-18 01:33:28 +03:00
committed by GitHub
parent 8cfb81bbac
commit d32eb158d4
27 changed files with 579 additions and 1 deletions

View File

@@ -113,3 +113,6 @@ alerts-revenant-corporeal-desc = You have manifested physically. People around y
alerts-changeling-chemicals-name = Chemicals
alerts-changeling-chemicals-desc = Our chemicals.
alerts-offer-name = Offer
alerts-offer-desc = Someone offers you an item.

View File

@@ -41,6 +41,7 @@ ui-options-volume-percent = { TOSTRING($volume, "P0") }
ui-options-show-held-item = Show held item next to cursor
ui-options-show-combat-mode-indicators = Show combat mode indicators with cursor
ui-options-show-offer-mode-indicators = Show offer mode indicators with cursor
ui-options-opaque-storage-window = Opaque storage window
ui-options-show-ooc-patron-color = Show OOC Patreon color
ui-options-show-looc-on-head = Show LOOC chat above characters head
@@ -136,6 +137,7 @@ ui-options-function-examine-entity = Examine
ui-options-function-swap-hands = Swap hands
ui-options-function-move-stored-item = Move stored item
ui-options-function-rotate-stored-item = Rotate stored item
ui-options-function-offer-item = Offer something
ui-options-function-lie-down = Lie down/Get up
ui-options-function-auto-get-up = Automatically get up when falling
ui-options-function-save-item-location = Save item location

View File

@@ -0,0 +1,9 @@
offer-item-empty-hand = You don't have anything in your hand to give!
offer-item-try-give = You offer {THE($item)} to {$target}
offer-item-try-give-target = {$user} offers you {THE($item)}
offer-item-try-give-target = {$user} offers you a {THE($item)}
offer-item-give = You handed {THE($item)} to {$target}
offer-item-give-other = {$user} handed {THE($item)} to {$target}
offer-item-give-target = {$user} handed you {THE($item)}
offer-item-no-give = You stop offering {THE($item)} to {$target}
offer-item-no-give-target = {$user} is no longer offering {THE($item)} to you

View File

@@ -113,3 +113,6 @@ alerts-changeling-chemicals-desc = Наши химикаты.
alerts-cult-buff-name = Усиление
alerts-cult-buff-desc = Подготовка заклинаний крови занимает гораздо меньше времени, и вы не теряете столько крови при этом. Также вы неуязвимы к низкому давлению.
alerts-offer-name = Предложение
alerts-offer-desc = Кто-то предлагает вам предмет.

View File

@@ -41,6 +41,7 @@ ui-options-volume-percent = { TOSTRING($volume, "P0") }
ui-options-show-held-item = Показать удерживаемый элемент рядом с курсором?
ui-options-show-combat-mode-indicators = Показать индикатор боевого режима рядом с курсором
ui-options-show-offer-mode-indicators = Показывать индикаторы передачи предмета рядом с курсором
ui-options-opaque-storage-window = Непрозрачность окна хранилища
ui-options-show-looc-on-head = Показывать LOOC-чат над головами персонажей
ui-options-fancy-speech = Показывать имена в облачках с текстом
@@ -142,6 +143,7 @@ ui-options-function-lie-down = Лечь/встать
ui-options-function-auto-get-up = Автоматически вставать при падении
ui-options-function-save-item-location = Сохранить позицию предмета
ui-options-static-storage-ui = Закрепить интерфейс хранилища на хотбаре
ui-options-function-offer-item = Передать что-то
ui-options-function-smart-equip-backpack = Умная экипировка в рюкзак
ui-options-function-smart-equip-belt = Умная экипировка на пояс

View File

@@ -0,0 +1,9 @@
offer-item-empty-hand = У тебя в руках нет ничего, что ты мог бы отдать!
offer-item-full-hand = Ваша рука занята
offer-item-try-give = Вы предлагаете {$item} {$target}
offer-item-try-give-target = {$user} предлагает вам {$item}
offer-item-give = Вы передали {THE($item)} {$target}
offer-item-give-other = {$user} передал {$item} {$target}
offer-item-give-target = {$user} передал вам ($item)
offer-item-no-give = Вы прекращаете предлагать {$item} {$target}
offer-item-no-give-target = {$user} прекращает предлагать вам ($item)

View File

@@ -27,6 +27,7 @@
- category: Thirst
- alertType: Magboots
- alertType: Pacified
- alertType: Offer
- type: entity
id: AlertSpriteView
@@ -490,3 +491,13 @@
icons: [ /Textures/Interface/Alerts/bleeding.png ]
name: alerts-bleeding-name
description: alerts-bleeding-desc
# WD-EDIT
- type: alert
id: Offer
onClick: !type:AcceptOffer { }
icons:
- sprite: /Textures/White/Interface/Alerts/offer_item.rsi
state: offer_item
name: alerts-offer-name
description: alerts-offer-desc

View File

@@ -260,6 +260,7 @@
- type: CharacterInformation
- type: Penetrated
- type: Mood
- type: OfferItem # WD-EDIT
- type: entity
save: false

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/ss220-space/Paradise/blob/master220/icons/mob/screen_alert.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "offer_item"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "https://github.com/ss220-space/Paradise/blob/master220/icons/misc/mouse_icons/give_item.dmi",
"size": {
"x": 64,
"y": 64
},
"states": [
{
"name": "give_item"
}
]
}

View File

@@ -258,6 +258,9 @@ binds:
type: State
key: V
mod1: Shift
- function: OfferItem
type: State
key: F
- function: ShowDebugConsole
type: State
key: Tilde