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

[FEATURE] Xeno Maid #888

Merged
merged 9 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Resources/Prototypes/_Backmen/Diseases/noninfectious.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,15 @@
- 2
# possible xeno polymorph
- !type:DiseasePolymorph
probability: 0.050
probability: 0.070
polymorphId: XenoMaidMorph
polymorphMessage: disease-xeno-polymorph
polymorphSound:
path: /Audio/Animals/cat_meow.ogg
stages:
- 2
- !type:DiseasePolymorph
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Необходимо пересмотреть баланс вероятностей трансформации

Общая вероятность всех трансформаций (0.1015 или ~10%) кажется слишком высокой для позднего этапа болезни. Рекомендуется уменьшить вероятности для лучшего игрового баланса.

Предлагаемые изменения:

- probability: 0.070
+ probability: 0.045
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
probability: 0.070
polymorphId: XenoMaidMorph
polymorphMessage: disease-xeno-polymorph
polymorphSound:
path: /Audio/Animals/cat_meow.ogg
stages:
- 2
- !type:DiseasePolymorph
probability: 0.045
polymorphId: XenoMaidMorph
polymorphMessage: disease-xeno-polymorph
polymorphSound:
path: /Audio/Animals/cat_meow.ogg
stages:
- 2
- !type:DiseasePolymorph

probability: 0.030
polymorphId: XenoDroneMorph
polymorphMessage: disease-xeno-polymorph
polymorphSound:
Expand Down
95 changes: 95 additions & 0 deletions Resources/Prototypes/_Backmen/Entities/Mobs/NPCs/xeno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
- type: entity
id: MobMaidXeno
parent: MobXeno
name: горничная ксеноморфа
description: Это чертовски мило, пока она сытная.
components:
- type: LagCompensation
- type: Input
context: "human"
- type: MovedByPressure
- type: DamageOnHighSpeedImpact
damage:
types:
Blunt: 5
soundHit:
path: /Audio/Effects/hit_kick.ogg
- type: Sprite
drawdepth: Mobs
sprite: Backmen/Mobs/Aliens/Xenos/maidxenos.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: running
noRot: true
netsync: false
- type: Clickable
- type: InteractionOutline
- type: SolutionContainerManager
- type: AtmosExposed
- type: MobThresholds
thresholds:
0: Alive
100: Dead
- type: Internals
- type: Damageable
damageContainer: Biological
damageModifierSet: Xenolian
- type: Body
prototype: Animal
- type: Actions
- type: DoAfter
- type: Polymorphable
- type: Buckle
- type: Insulated
- type: Hands
showInHands: true
- type: MobState
allowedStates:
- Alive
- Dead
- type: MovementSpeedModifier
baseWalkSpeed : 2.5
baseSprintSpeed : 4
- type: Stamina
critThreshold: 500
- type: Appearance
- type: Bloodstream
bloodMaxVolume: 0
- type: UnpoweredFlashlight
- type: PointLight
enabled: false
radius: 4
color: "purple"
- type: Puller
needsHands: false
- type: NoSlip
- type: IgnoreSpiderWeb
- type: IntrinsicRadioReceiver
- type: ActiveRadio
channels:
- Hivemind
- type: IntrinsicRadioTransmitter
channels:
- Hivemind
- type: LizardAccent
- type: Speech
speechSounds: Xeno
- type: Eye
drawFov: false
- type: SolutionRegeneration
solution: spray
generated:
reagents:
- ReagentId: Water
Quantity: 10
- type: Access
tags:
- Xeno
- type: LanguageSpeaker
currentLanguage: Xeno
- type: LanguageKnowledge
speaks:
- Xeno
understands:
- Xeno
- TauCetiBasic
11 changes: 11 additions & 0 deletions Resources/Prototypes/_Backmen/Polymorphs/xeno.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# XenoVirus

- type: polymorph
id: XenoMaidMorph
configuration:
entity: MobMaidXeno
forced: true
inventory: Drop
transferName: true
revertOnCrit: true
revertOnDeath: true

- type: polymorph
id: XenoQueenMorph
configuration:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from Yogstation at https://github.com/yogstation13/Yogstation/blob/79ec28fd4d17e03308adee9b06f94850ac1cd5c1/icons/mob/alien.dmi | Modificated @CrimeMoot",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "running",
"directions": 4
},
{
"name": "dead"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading