-
Notifications
You must be signed in to change notification settings - Fork 65
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
Togglable tinted windows #66
base: master
Are you sure you want to change the base?
Conversation
тесты не проходят, кушать нельзя |
Resources/Locale/ru-RU/ss14-ru/prototypes/entities/structures/windows/window.ftl
Outdated
Show resolved
Hide resolved
…windows/window.ftl Co-authored-by: AwareFoxy <[email protected]>
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.
norm
Это пиздец |
ТестированиеВыглядит круто, работает классно. Хотя есть пару моментов.
|
поддерживаю |
это я не смогу сделать |
Может я попробую это реализовать когда у меня время появится. Но так впринципе норм. |
Я могу описать как |
lzk блять нахуй ты резолвнул если нихуя не сделал и даже не прокоментил |
|
||
public override void Initialize() | ||
{ | ||
base.Initialize(); |
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.
base.Initialize(); |
SubscribeLocalEvent<ToggleableOccluderComponent, ComponentInit>(OnInit); | ||
} | ||
|
||
private void OnInit(EntityUid uid, ToggleableOccluderComponent comp, ComponentInit 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.
private void OnInit(EntityUid uid, ToggleableOccluderComponent comp, ComponentInit args) | |
private void OnInit(Entity<ToggleableOccluderComponent> entity, ref ComponentInit args) |
_signalSystem.EnsureSinkPorts(uid, comp.OnPort, comp.OffPort, comp.TogglePort); | ||
} | ||
|
||
private void OnSignalReceived(EntityUid uid, ToggleableOccluderComponent comp, ref SignalReceivedEvent 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.
private void OnSignalReceived(EntityUid uid, ToggleableOccluderComponent comp, ref SignalReceivedEvent args) | |
private void OnSignalReceived(Entity<ToggleableOccluderComponent> entity, ref SignalReceivedEvent args) |
@@ -111,6 +111,14 @@ | |||
- type: Occluder | |||
- type: StaticPrice | |||
price: 70 | |||
# Corvax-Next-Togglable-Tinted-Window-Start |
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.
# Corvax-Next-Togglable-Tinted-Window-Start | |
# Corvax-Next-TogglableTintedWindow-Start |
- On | ||
- Off | ||
- Toggle | ||
# Corvax-Next-Togglable-Tinted-Window-End |
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.
# Corvax-Next-Togglable-Tinted-Window-End | |
# Corvax-Next-TogglableTintedWindow-End |
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.
А перевод на это есть?
@@ -1,7 +1,8 @@ | |||
ent-Window = окно | |||
.desc = Смотри не заляпай. | |||
# Corvax-Next-Togglable-Tinted-Window changed desc below |
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.
# Corvax-Next-Togglable-Tinted-Window changed desc below | |
# Corvax-Next-TogglableTintedWindow |
Описание PR
Port space-wizards/space-station-14#30743
Почему / Баланс
cool feature
Ссылка на ветку
Технические детали
not really, don't know
Медиа
2024-08-07_17-32-43.mp4
Критические изменения
no
Список изменений
🆑