Skip to content
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

Снежки #179

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

CaptainSqrBeard
Copy link

Описание PR

Добавлены снежки. Их можно метать в людей и наносить урон по стамине.

Добавлен снежколеп, создающий снежки при клике на тайл снега. Его можно напечатать на автолате.

Почему / Баланс

Просто предмет для веселья на манер боксёрских перчаток.

Ссылка на ветку

Предложка: https://discord.com/channels/919301044784226385/1309045735894941788
(хотя предложка тут скорее просто источник некоторого вдохновения)

Ветка: https://discord.com/channels/919301044784226385/1319812837924667392

Технические детали

Destructible.Thresholds.Behaviors.SpillBehavior получил новое поле, дающее приглушить звук от выплёскивания реагентов.

Новый компонент FromTileCrafterComponent и система FromTileCrafterSystem для спавна при помощи объекта с этим компонентом по клику на определённые тайлы.

Медиа

ss14_snowballs.mp4

Критические изменения

Список изменений
🆑 csqrb

  • add: Добавлены снежки! Для их получения используйте снежколеп из автолата.

Copy link

github-actions bot commented Dec 21, 2024

RSI Diff Bot; head commit a706e92 merging into d6b89e7
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_CorvaxNext/Objects/Misc/snowball.rsi

State Old New Status
snowball Added

Resources/Textures/_CorvaxNext/Objects/Misc/snowball_maker.rsi

State Old New Status
inhand-left Added
inhand-right Added
snowball-maker Added

Edit: diff updated after a706e92

Comment on lines +43 to +46
public override DoAfterEvent Clone()
{
return this;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Самый неглубокий Clone()

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

чо

Comment on lines +37 to +41
public FromTileCraftDoAfterEvent(NetEntity grid, Vector2i gridTile)
{
Grid = grid;
GridTile = gridTile;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

primery constructor

Copy link
Author

@CaptainSqrBeard CaptainSqrBeard Dec 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

сам примеряй

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ну primary, блин

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я попробовал сделать это и у меня перестала билдится игра, хз

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

так и не разобрался в чём проблема

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: Localization Изменяет локализацию Changes: Sprites S: Needs Review ПРу необходим ревью size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants