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

The security dog - Muhtar. The third try. #26191

Closed
wants to merge 13 commits into from
Closed
4 changes: 4 additions & 0 deletions Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ ghost-role-information-cerberus-name = Cerberus, Evil Familiar
ghost-role-information-cerberus-description = Obey your master. Spread chaos.
ghost-role-information-cerberus-rules = You are an intelligent, demonic dog. Try to help the chaplain and any of his flock. As an antagonist, you're otherwise unrestrained.

ghost-role-information-muhtar-name = Muhtar
ghost-role-information-muhtar-descriprion = Obey the security, stop criminals and be a good boy.
ghost-role-information-muhtar-rules = You are a trained security dog. [color=red]OBEY[/color] the orders from security. [color=red]The higher[/color] rank of the security officer, [color=red]the higher[/color] priority of his orders.

ghost-role-information-ert-leader-name = ERT Leader
ghost-role-information-ert-leader-description = Lead a team of specialists to resolve the station's issues.

Expand Down
13 changes: 13 additions & 0 deletions Resources/Prototypes/Entities/Markers/Spawners/mobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,19 @@
prototypes:
- MobMcGriff

- type: entity
name: Muhtar Spawner
id: SpawnMobMuhtar
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: ai
- type: ConditionalSpawner
prototypes:
- MobMuhtar

- type: entity
name: Sloth Paperwork Spawner
id: SpawnMobSlothPaperwork
Expand Down
104 changes: 104 additions & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2592,6 +2592,110 @@
attributes:
gender: epicene

- type: entity
name: Muhtar
parent: SimpleMobBase
id: MobMuhtar
description: "Man's best friend. And the worst enemy of the enemy of NanoTrasen."
components:
- type: Sprite
drawdepth: Mobs
sprite: Mobs/Pets/muhtar.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: muhtar
- type: Physics
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 20
mask:
- MobMask
layer:
- MobLayer
- type: Inventory
speciesId: sheepdog
templateId: pet
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: DamageStateVisuals
states:
Alive:
Base: muhtar
Critical:
Base: muhtar_dead
Dead:
Base: muhtar_dead
- type: Butcherable
spawned:
- id: FoodMeat
amount: 2
- type: ReplacementAccent
accent: dog
- type: InteractionPopup
successChance: 1
interactSuccessString: petting-success-dog # It mustn't react at it at all.
interactFailureString: petting-failure-generic
- type: Grammar
attributes:
proper: true
gender: male
- type: Tag
tags:
- CannotSuicide
- VimPilot
- FootstepSound
- DoorBumpOpener
- type: GhostTakeoverAvailable
- type: GhostRole
makeSentient: true
allowMovement: true
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 36000
name: ghost-role-information-muhtar-name
description: ghost-role-information-muhtar-descriprion
rules: ghost-role-information-muhtar-rules
- type: MeleeWeapon
altDisarm: false
Copy link
Contributor

Choose a reason for hiding this comment

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

Why false? Disarming seems pretty in-line for a police dog.

Copy link
Author

Choose a reason for hiding this comment

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

Why false? Disarming seems pretty in-line for a police dog.

Playtesters' told me that it was hard to hit anybody with LMB. Moreover it has 30 stamina damage, it wont be that hard to stamcrit anybody.

Copy link
Author

Choose a reason for hiding this comment

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

And I actualy dont see a way of any dog disarming anybody without harming them. Is it even possible when human is resisting?

soundHit:
collection: AlienClaw
angle: 0
animation: WeaponArcBite
damage:
types:
Slash: 5
Piercing: 5
- type: StaminaDamageOnHit
damage: 30 #Sheepdogs are ment to stun people, not to kill them.
- type: MovementSpeedModifier
baseSprintSpeed: 5
baseWalkSpeed: 2.5
- type: MobState
allowedStates:
- Alive
- Critical
- Dead
- type: MobThresholds
thresholds:
0: Alive
75: Critical
140: Dead
- type: SlowOnDamage
speedModifierThresholds:
50: 0.5
- type: Stamina
critThreshold: 150
- type: Puller
needsHands: false

- type: entity
name: cat
parent: SimpleMobBase
Expand Down
18 changes: 18 additions & 0 deletions Resources/Textures/Mobs/Pets/muhtar.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/ss220-space/Paradise/commit/ad0f9d53331522a4f6d9bb0ab3327e472b582362",
"states":[
{
"name": "muhtar",
"directions": 4
},
{
"name": "muhtar_dead"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading