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

[Port] Telescope System / Система Прицеливания #8

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

Spatison
Copy link
Member

@Spatison Spatison commented Aug 21, 2024

Описание PR

Порт системы прицеливания.


Медиа

Список

Example Media Embed


Изменения

🆑 Spatison

  • add: Added telescope system / Добавлена система прицеливания
  • tweak: Now you can aim from Hristov / Теперь можно прицеливаться из Христова

Content.Shared/_White/Telescope/SharedTelescopeSystem.cs Outdated Show resolved Hide resolved
Comment on lines +96 to +104
public void SetParameters(Entity<TelescopeComponent> ent, float? divisor = null, float? lerpAmount = null)
{
var telescope = ent.Comp;

telescope.Divisor = divisor ?? telescope.Divisor;
telescope.LerpAmount = lerpAmount ?? telescope.LerpAmount;

Dirty(ent.Owner, telescope);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

этот метод нигде не используется, не думаю, что он нужен особо.

Copy link
Member Author

Choose a reason for hiding this comment

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

Этот метод нужен для аспекта

@Remuchi Remuchi merged commit 5fc774e into master Aug 23, 2024
12 checks passed
@Remuchi Remuchi deleted the telescope branch August 23, 2024 01:45
riddleridou added a commit that referenced this pull request Aug 23, 2024
VMSolidus added a commit to Simple-Station/Einstein-Engines that referenced this pull request Sep 19, 2024
# Description

Port of WWhiteDreamProject/wwdpublic#2
And now also WWhiteDreamProject/wwdpublic#8
Because Lying Down System is dependent on the Telescope System.

# TODO

- [x] Reconcile the code with core code, do code cleanup. I'll undraft
this when I'm done. Probably not going to be tonight, because I will
have to get some sleep soon to get up early for my calculus classes.

# Changelog

:cl: Spatison (White Dream)
- add: Added lying down system / Добавлена система лежания
- tweak: Lying down now uses do-afters that are visible to other people
to indicate what is going on.
- add: Added telescope system / Добавлена система прицеливания
- tweak: Now you can aim from Hristov / Теперь можно прицеливаться из
Христова

---------

Signed-off-by: VMSolidus <[email protected]>
Co-authored-by: Spatison <[email protected]>
Co-authored-by: DEATHB4DEFEAT <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants