-
Notifications
You must be signed in to change notification settings - Fork 51
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
Autohiss preference #1105
base: master
Are you sure you want to change the base?
Autohiss preference #1105
Conversation
Перенеси в модуль |
не мержить до тех пор, пока @Dekupich не сможет пофиксить в таярах конфликт. Он будет свободен вечером |
modular_bandastation/autohiss/code/autohiss_speechmod_component.dm
Outdated
Show resolved
Hide resolved
modular_bandastation/autohiss/code/autohiss_speechmod_component.dm
Outdated
Show resolved
Hide resolved
modular_bandastation/autohiss/code/autohiss_speechmod_component.dm
Outdated
Show resolved
Hide resolved
modular_bandastation/autohiss/code/autohiss_speechmod_component.dm
Outdated
Show resolved
Hide resolved
modular_bandastation/autohiss/code/autohiss_speechmod_component.dm
Outdated
Show resolved
Hide resolved
Reviewer's Guide by SourceryThis pull request introduces a toggleable autohiss feature, which allows players to disable automatic hissing sounds. The feature is implemented by adding a toggle to the speechmod component and a preference to control it. Sequence diagram for toggling autohisssequenceDiagram
actor User
participant M as Mob
participant SM as SpeechMod
participant Mind as Mind
User->>M: Toggle speechmods
M->>M: get_effecting_speechmods()
M->>SM: get_parent_name()
M->>Mind: toggle_speechmode(speechmod)
Mind-->>User: Display toggle status message
Class diagram for speechmod component changesclassDiagram
class SpeechMod {
+toggleable: bool
+targeted: mob
+set_target_mob(mob)
+add_to_speechmods_list(mob, list)
+get_parent_name()
+handle_speech(source, args)
+update_mob_verb(status)
}
class Mind {
+disabled_speechmode_parent_types: list
+toggle_speechmode(speechmod)
}
class Mob {
+get_effecting_speechmods()
+toggle_speechmods()
}
SpeechMod --> Mind: uses
Mob --> SpeechMod: has
note for SpeechMod "New toggleable property
and related methods"
note for Mind "Stores disabled
speechmod types"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
Что этот PR делает
Добавлена возможность отключения автошипения в настройках персонажа и в игре через панель IC.
Почему это хорошо для игры
Я хочу шипеть по-своему, да и ТТСу бывает плохо, когда стакается шипение друг на друга (шанс автошипения 100%)
Changelog
🆑
add: Добавлена возможность отключения автошипения в настройках персонажа и в игре через панель IC ("Переключить модификатор речи"). Автошипение привязывается к разуму персонажа. Рекомендуется оставлять включенным. На текущий момент автошипение можно выключить у языка ящера и у мухи. Вульпы и таяры следующие.
/:cl: