-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Item Offer Bind #2423
Item Offer Bind #2423
Conversation
itemReceiver.Giver = user; | ||
itemReceiver.Item = item; | ||
_alerts.ShowAlert(target, ItemOfferAlert); | ||
_popupSystem.PopupEntity($"{Name(user)} протягивает {Name(item.Value)} {Name(target)}", user); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Сделай через локаль
.Register<ItemOfferSystem>(); | ||
} | ||
|
||
private bool HandleItemOffer(in PointerInputCmdHandler.PointerInputCmdArgs args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучше назвать как нибудь по типу HandleItemOfferKey
@@ -10,6 +10,7 @@ public static class ContentKeyFunctions | |||
public static readonly BoundKeyFunction ActivateItemInWorld = "ActivateItemInWorld"; | |||
public static readonly BoundKeyFunction AltActivateItemInWorld = "AltActivateItemInWorld"; | |||
public static readonly BoundKeyFunction Drop = "Drop"; | |||
public static readonly BoundKeyFunction ItemOffer = "ItemOffer"; //SS220 ItemOffer bind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Перенести в KeyFunctions220
first time contributor xdd |
я новеньки |
погодите это реально? |
Описание PR
Добавлен бинд на передачу предмета
(p.s После того как я вернулся в игру я заметил, что люди юзают итемоффер от Артура, собственно теперь на него появился удобный бинд, чтобы каждый раз не открывать контекстное меню)
Медиа
_
Проверки
Изменения
🆑 canvaswalker