Skip to content

Commit

Permalink
Add Laika and security dogs (#190)
Browse files Browse the repository at this point in the history
* Fix warden hat not resprited

haha funny

* Add Laika and security dogs :3

Adds Laika and security dogs to the codebase

* Final edit to capitalisation

Should be all good to go

* Manual revert attributions and license

Floofers unbork what was bork. All happy now

* Update animals.yml

vulpakin -> vulpkanin

Signed-off-by: Tad "Taddy" Johnson <[email protected]>

---------

Signed-off-by: Tad "Taddy" Johnson <[email protected]>
Co-authored-by: Debug <[email protected]>
  • Loading branch information
TadJohnson00 and DebugOk authored Oct 23, 2023
1 parent a380039 commit c83d60f
Show file tree
Hide file tree
Showing 40 changed files with 368 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ent-ArmoryGrand = { ent-CrateArmoryGrand }
.desc = { eng-CraeArmoryGrand.desc }
.desc = { ent-CrateArmoryGrand.desc }
ent-ArmoryUniversal = { ent-CrateArmoryUniversal }
.desc = { ent-CrateArmoryUniversal.desc }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-LivestockSecDog = { ent-CrateNPCSecDog }
.desc = { ent-CrateNPCSecDog.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-CrateNPCSecDog = security dog shipment
.desc = Contains a single mixed-breed dog, trained for security applications.
9 changes: 9 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_livestock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: cargoProduct
id: LivestockSecDog
icon:
sprite: DeltaV/Mobs/Pets/secdog.rsi
state: secdog
product: CrateNPCSecDog
cost: 3500
category: Livestock
group: market
8 changes: 8 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Fills/Crates/npc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: entity
id: CrateNPCSecDog
parent: CrateLivestock
components:
- type: StorageFill
contents:
- id: MobSecDog
amount: 1
111 changes: 111 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
successChance: 0.5
interactSuccessString: petting-success-soft-floofy
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/fox_squeak.ogg
- type: Temperature
Expand All @@ -60,6 +61,116 @@
gender: epicene
- type: Bloodstream
bloodMaxVolume: 100
- type: MobPrice
price: 400
- type: Tag
tags:
- VimPilot

- type: entity
name: security dog
parent: SimpleMobBase
id: MobSecDog
description: Funnily enough, this pig is actually a dog.
components:
- type: GhostRole
makeSentient: true
allowSpeech: true
allowMovement: true
name: "sentient security dog"
description: "Help out the security team by biting the baddies and barking at everything that moves."
- type: GhostTakeoverAvailable
- type: CombatMode
- type: MovementSpeedModifier
baseWalkSpeed : 3.5
baseSprintSpeed : 5.0
- type: NpcFactionMember
factions:
- PetsNT
- type: Sprite
drawdepth: Mobs
sprite: DeltaV/Mobs/Pets/secdog.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: secdog
- type: HTN
rootTask:
task: SimpleHostileCompound
- type: Physics
- type: Speech
speechVerb: Canine
speechSounds: Vulpkanin
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 120 # BIG DOG :3
mask:
- MobMask
layer:
- MobLayer
- type: MobThresholds
thresholds: # BIG DOG. STRONG DOG
0: Alive
100: Critical
300: Dead
- type: StaminaDamageOnHit
damage: 22
- type: MeleeWeapon
hidden: true
soundHit:
path: /Audio/Effects/bite.ogg
angle: 0
attackRate: 0.75
damage:
types:
Slash: 10
- type: SlowOnDamage
speedModifierThresholds:
40: 0.70
80: 0.30
- type: Appearance
- type: Inventory
speciesId: secdog
templateId: secdog
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: DamageStateVisuals
states:
Alive:
Base: secdog
Critical:
Base: secdog_crit
Dead:
Base: secdog_dead
- type: Butcherable
spawned:
- id: FoodMeat
amount: 2
- type: ReplacementAccent
accent: dog
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-dog
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/DeltaV/Voice/Vulpkanin/dog_bark2.ogg
- type: Grammar
attributes:
gender: epicene
- type: Bloodstream
bloodMaxVolume: 300 # BIG DOG. MUCH BLOOD :3
- type: Puller
- type: MobPrice
price: 400
- type: Tag
tags:
- DoorBumpOpener
- VimPilot
30 changes: 30 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/pets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,33 @@
tags:
- CannotSuicide
- VimPilot

- type: entity
name: Laika
parent: MobSecDog
id: MobSecDogLaika
description: Much like her namesake, Laika is a specimen of indeterminate breed, fresh off the streets and ready to tussle.
components:
- type: GhostRole
makeSentient: true
allowSpeech: true
allowMovement: true
name: "Laika"
description: "Security's resident she-dog. Badger the officers for headpats and nip at the heels of violent offenders."
- type: GhostTakeoverAvailable
- type: InteractionPopup
successChance: 1
- type: Butcherable
spawned:
- id: FoodMeat
amount: 2
- type: Grammar
attributes:
proper: true
gender: female
- type: Loadout
prototypes: [ MobSecDogLaikaGear ]
- type: Tag
tags:
- CannotSuicide
- VimPilot
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
- type: inventoryTemplate
id: secdog
slots:
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,1
strippingWindowPos: 1,1
displayName: Mask
whitelist:
tags:
- PetWearable

- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
slotGroup: SecondHotbar
stripTime: 3
uiWindowPos: 2,0
strippingWindowPos: 2,5
displayName: Suit Storage
whitelist:
components:
- GasTank

- name: eyes
slotTexture: glasses
slotFlags: EYES
stripTime: 3
uiWindowPos: 0,0
strippingWindowPos: 0,0
displayName: Eyes
whitelist:
tags:
- SecDogWearable

- name: pocket1
slotTexture: pocket
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 1.5
uiWindowPos: 2,3
strippingWindowPos: 1,4
displayName: Vest
stripHidden: false
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@

#Misc outfit startingGear definitions.

# Laika sec glasses

- type: startingGear
id: MobSecDogLaikaGear
equipment:
eyes: ClothingEyesGlassesSecurity

#Oldstation Roles

- type: startingGear
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/DeltaV/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
- type: Tag
id: MagazinePistolSpecial # For the .38 special ammo and pistol

- type: Tag
id: SecDogWearable # allows Laika to wear meson goggles (and more later?)

- type: Tag
id: SpeedLoaderSpecial
5 changes: 5 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
- type: Clothing
sprite: Clothing/Eyes/Glasses/meson.rsi
- type: EyeProtection
- type: Tag
tags:
- SecDogWearable # DeltaV - let Laika wear meson goggles

- type: entity
parent: ClothingEyesBase
Expand Down Expand Up @@ -127,6 +130,7 @@
tags:
- HamsterWearable
- WhitelistChameleon
- SecDogWearable # DeltaV - let Laika wear sunglasses

- type: entity
parent: ClothingEyesBase
Expand All @@ -145,6 +149,7 @@
tags:
- HamsterWearable
- WhitelistChameleon
- SecDogWearable # DeltaV - let Laika wear secglasses
- type: GuideHelp
guides:
- Security
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Clothing/Head/hats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,9 @@
description: The responsibility weighs heavy, like a barbed crown. # DeltaV - changed description to remove THE LAW
components:
- type: Sprite
sprite: Clothing/Head/Hats/warden.rsi # DeltaV - resprite
sprite: DeltaV/Clothing/Head/Hats/warden.rsi # DeltaV - resprite
- type: Clothing
sprite: Clothing/Head/Hats/warden.rsi # DeltaV - resprite
sprite: DeltaV/Clothing/Head/Hats/warden.rsi # DeltaV - resprite

- type: entity
parent: ClothingHeadBase
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion Resources/Textures/Clothing/Eyes/Glasses/meson.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da. equipped-EYES-secdog modified from equipped-EYES by TJohnson.",
"size": {
"x": 32,
"y": 32
Expand All @@ -14,6 +14,10 @@
"name": "equipped-EYES",
"directions": 4
},
{
"name": "equipped-EYES-secdog",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
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
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da. equipped-EYES-secdog modified from equipped-EYES-hamster by TJohnson.",
"size": {
"x": 32,
"y": 32
Expand All @@ -18,6 +18,10 @@
"name": "equipped-EYES-hamster",
"directions": 4
},
{
"name": "equipped-EYES-secdog",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
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
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/5a73e8f825ff279e82949b9329783a9e3070e2da. equipped-EYES-secdog modified from equipped-EYES by TJohnson.",
"size": {
"x": 32,
"y": 32
Expand All @@ -14,6 +14,10 @@
"name": "equipped-EYES",
"directions": 4
},
{
"name": "equipped-EYES-secdog",
"directions": 4
},
{
"name": "equipped-EYES-hamster",
"directions": 4
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion Resources/Textures/Clothing/Mask/breath.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e. equipped-MASK-secdog modified from equipped-MASK-dog by TJohnson.",
"size": {
"x": 32,
"y": 32
Expand Down Expand Up @@ -30,6 +30,10 @@
"name": "equipped-MASK-dog",
"directions": 4
},
{
"name": "equipped-MASK-secdog",
"directions": 4
},
{
"name": "equipped-MASK-puppy",
"directions": 4
Expand Down
Loading

0 comments on commit c83d60f

Please sign in to comment.