-
Notifications
You must be signed in to change notification settings - Fork 48
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
Augmentations #1009
base: master
Are you sure you want to change the base?
Augmentations #1009
Conversation
Reviewer's Guide by SourceryThis PR introduces body augmentations, including applying and removing body modifications. Sequence diagram for applying body modificationsequenceDiagram
actor User
participant UI as PreferencesMenu
participant MW as BodyModificationMiddleware
participant BM as BodyModification
User->>UI: Click 'Apply' on modification
UI->>MW: apply_body_modification(key)
MW->>BM: can_be_applied(user)
BM-->>MW: Return validation result
MW->>MW: Update preferences
MW-->>UI: Return success/failure
UI-->>User: Update interface
Class diagram for body modification systemclassDiagram
class BodyModification {
+String key
+String name
+int cost
+List incompatible_body_modifications
+apply_to_human(target)
+can_be_applied(target)
+get_description()
}
class LimbAmputation {
+String limb_body_zone
+apply_to_human(target)
}
class BodypartProsthesis {
+Type replacement_bodypart_type
+apply_to_human(target)
}
BodyModification <|-- LimbAmputation
BodyModification <|-- BodypartProsthesis
note for BodyModification "Base class for all body modifications"
note for LimbAmputation "Handles limb amputation modifications"
note for BodypartProsthesis "Handles prosthetic replacements"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Гахер, это всё круто но аугменты есть в чертах. Просто задаюсь вопросом зачем это переносить из черт в основной редактор. |
|
А черту tin man трогать не будешь? Там просто самые хуёвые робо органы в игре. |
ВСЕ квирки на аугментации |
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 делает
Начало работы над аугментациями :aga:
Summary by Sourcery
Add body modifications to character preferences.
New Features:
Tests: