Skip to content

Commit

Permalink
Felinid
Browse files Browse the repository at this point in the history
  • Loading branch information
Xelasto committed Jan 2, 2024
1 parent 5eb3dbf commit 8bd82ad
Show file tree
Hide file tree
Showing 22 changed files with 538 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Resources/Audio/ADT/Felinid/attributions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
- files: ["cat_hiss1.ogg", "cat_hiss2.ogg"]
license: "CC-BY-4.0"
copyright: "Original sound by https://freesound.org/people/secondbody/ - cut out two clips of cat hissing, cleaned up, and converted to ogg."
source: "https://freesound.org/people/secondbody/sounds/50357/"

- files: ["cat_meow1.ogg", "cat_meow2.ogg", "cat_meow3.ogg"]
license: "CC-BY-3.0"
copyright: "Original sound by https://freesound.org/people/ignotus/ - cut out three clips of cat meowing, cleaned up, and converted to ogg."
source: "https://freesound.org/people/ignotus/sounds/26104/"

- files: ["cat_mew1.ogg", "cat_mew2.ogg"]
license: "CC0-1.0"
copyright: "Original sound by https://freesound.org/people/videog/ - cut out two clips of kittens mewing, cleaned up, and converted to ogg."
source: "https://freesound.org/people/videog/sounds/149191/"

- files: ["cat_purr1.ogg"]
license: "CC-BY-4.0"
copyright: "Original sound by https://freesound.org/people/klangstrand/ - cut out short clip, fade in and out, converted to ogg."
source: "https://freesound.org/people/klangstrand/sounds/213951/"

- files: ["cat_growl1.ogg"]
license: "CC0-1.0"
copyright: "Original sound by https://freesound.org/people/Zabuhailo/ - fade in and out, converted to ogg."
source: "https://freesound.org/people/Zabuhailo/sounds/146968/"
Binary file added Resources/Audio/ADT/Felinid/cat_growl1.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_hiss1.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_hiss2.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_meow1.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_meow2.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_meow3.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_mew1.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_mew2.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_purr1.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_scream1.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_scream2.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_scream3.ogg
Binary file not shown.
Binary file added Resources/Audio/ADT/Felinid/cat_wilhelm.ogg
Binary file not shown.
10 changes: 10 additions & 0 deletions Resources/Prototypes/ADT/Damage/ADTmodifiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,13 @@
coefficients:
Heat: 1.5
Asphyxiation: 2.0

- type: damageModifierSet
id: Felinid # мяу
coefficients:
Blunt: 1.0
Piercing: 1.15
Slash: 1.30
Cold: 1.5
Heat: 2.0
Poison: 1.1
49 changes: 49 additions & 0 deletions Resources/Prototypes/ADT/Felinid/Body/Prototypes/felinid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: body
id: Felinid
name: "felinid"
root: torso
slots:
head:
part: HeadHuman
connections:
- torso
organs:
brain: OrganHumanBrain
eyes: OrganHumanEyes
torso:
part: TorsoHuman
connections:
- left arm
- right arm
- left leg
- right leg
organs:
heart: OrganAnimalHeart
lungs: OrganHumanLungs
stomach: OrganReptilianStomach
liver: OrganAnimalLiver
kidneys: OrganHumanKidneys
right arm:
part: RightArmHuman
connections:
- right hand
left arm:
part: LeftArmHuman
connections:
- left hand
right hand:
part: RightHandHuman
left hand:
part: LeftHandHuman
right leg:
part: RightLegHuman
connections:
- right foot
left leg:
part: LeftLegHuman
connections:
- left foot
right foot:
part: RightFootHuman
left foot:
part: LeftFootHuman
70 changes: 70 additions & 0 deletions Resources/Prototypes/ADT/Felinid/Mobs/Player/felinid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
- type: entity
save: false
name: Урист МакФелинид
parent: MobFelinidBase
id: MobFelinid
components:
- type: CombatMode
- type: InteractionPopup
successChance: 1
interactSuccessString: petting-success-generic
interactSuccessSound: /Audio/ADT/Felinid/cat_purr1.ogg
messagePerceivedByOthers: petting-success-soft-floofy-others
interactSuccessSpawn: EffectHearts
interactDelay: 5
- type: MindContainer
showExamineInfo: true
- type: Input
context: "human"
- type: MobMover
- type: InputMover
- type: Respirator
damage:
types:
Asphyxiation: 1.9
damageRecovery:
types:
Asphyxiation: -1.9
- type: Reactive
groups:
Flammable: [ Touch ]
Extinguish: [ Touch ]
Acidic: [Touch, Ingestion]
reactions:
- reagents: [Water, SpaceCleaner]
methods: [Touch]
effects:
- !type:WashCreamPieReaction
- type: StatusEffects
allowed:
- Stun
- KnockedDown
- SlowedDown
- Stutter
- SeeingRainbows
- Electrocution
- Drunk
- SlurredSpeech
- RatvarianLanguage
- PressureImmunity
- Muted
- ForcedSleep
- TemporaryBlindness
- Pacified
- StaminaModifier
- type: Alerts
- type: Actions
- type: Eye
- type: OwOAccent
- type: CameraRecoil
- type: Examiner
- type: CanHostGuardian
- type: NpcFactionMember
factions:
- NanoTrasen
- type: Vocal
wilhelm: "/Audio/ADT/Felinid/cat_wilhelm.ogg"
sounds:
Male: MaleFelinid
Female: FemaleFelinid
Unsexed: MaleFelinid
169 changes: 169 additions & 0 deletions Resources/Prototypes/ADT/Felinid/Mobs/Species/felinid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
- type: entity
save: false
name: Base felinid
parent: BaseMobHuman
id: MobFelinidBase
abstract: true
components:
- type: Sprite
netsync: false
noRot: true
drawdepth: Mobs
scale: 0.8, 0.8
layers:
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
- map: [ "enum.HumanoidVisualLayers.Snout" ]
- map: [ "enum.HumanoidVisualLayers.Eyes" ]
- map: [ "enum.HumanoidVisualLayers.RArm" ]
- map: [ "enum.HumanoidVisualLayers.LArm" ]
- map: [ "enum.HumanoidVisualLayers.RLeg" ]
- map: [ "enum.HumanoidVisualLayers.LLeg" ]
- shader: StencilClear
sprite: Mobs/Species/Human/parts.rsi
state: l_leg
- shader: StencilMask
map: ["enum.HumanoidVisualLayers.StencilMask"]
sprite: Mobs/Customization/masking_helpers.rsi
state: unisex_full
visible: false
- map: [ "underwearb" ] #Sirena
- map: [ "underweart" ] #Sirena
- map: ["enum.HumanoidVisualLayers.LFoot"]
- map: ["enum.HumanoidVisualLayers.RFoot"]
- map: [ "socks" ] #Sirena
- map: [ "jumpsuit" ]
- map: [ "enum.HumanoidVisualLayers.LHand" ]
- map: [ "enum.HumanoidVisualLayers.RHand" ]
- map: [ "id" ]
- map: [ "gloves" ]
- map: [ "shoes" ]
- map: [ "ears" ]
- map: [ "outerClothing" ]
- map: [ "eyes" ]
- map: [ "belt" ]
- map: [ "neck" ]
- map: [ "back" ]
- map: [ "enum.HumanoidVisualLayers.FacialHair" ]
- map: [ "enum.HumanoidVisualLayers.Hair" ]
- map: [ "enum.HumanoidVisualLayers.HeadSide" ]
- map: [ "enum.HumanoidVisualLayers.HeadTop" ]
- map: [ "enum.HumanoidVisualLayers.Tail" ]
- map: [ "mask" ]
- map: [ "head" ]
- map: [ "pocket1" ]
- map: [ "pocket2" ]
- map: ["enum.HumanoidVisualLayers.Handcuffs"]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- map: [ "clownedon" ]
sprite: "Effects/creampie.rsi"
state: "creampie_human"
visible: false
- type: HumanoidAppearance
species: Felinid
- type: Fixtures
fixtures: # TODO: This needs a second fixture just for mob collisions.
fix1:
shape:
!type:PhysShapeCircle
radius: 0.30
density: 160
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
- type: Body
prototype: Felinid
- type: Damageable
damageContainer: Biological
damageModifierSet: Felinid
- type: MeleeWeapon
soundHit:
collection: Punch
animation: WeaponArcClaw
damage:
types:
Blunt: 0.9
Slash: 5
- type: Blindable
- type: Speech
speechSounds: Alto
- type: DamageOnHighSpeedImpact
damage:
types:
Blunt: 0.9
soundHit:
path: /Audio/Effects/hit_kick.ogg
- type: Perishable
- type: Butcherable
butcheringType: Spike # TODO human.
spawned:
- id: FoodMeat
amount: 5

- type: entity
save: false
name: Felinid Dummy
parent: MobHumanDummy
id: MobFelinidDummy
noSpawn: true
description: A dummy felinid meant to be used in character setup.
components:
- type: Sprite
netsync: false
noRot: true
drawdepth: Mobs
scale: 1, 1
layers:
# TODO BODY Turn these into individual body parts?
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
- map: [ "enum.HumanoidVisualLayers.Snout" ]
- map: [ "enum.HumanoidVisualLayers.Eyes" ]
- map: [ "enum.HumanoidVisualLayers.RArm" ]
- map: [ "enum.HumanoidVisualLayers.LArm" ]
- map: [ "enum.HumanoidVisualLayers.RLeg" ]
- map: [ "enum.HumanoidVisualLayers.LLeg" ]
- shader: StencilClear
sprite: Mobs/Species/Human/parts.rsi
state: l_leg
- shader: StencilMask
map: ["enum.HumanoidVisualLayers.StencilMask"]
sprite: Mobs/Customization/masking_helpers.rsi
state: unisex_full
visible: false
- map: [ "underwearb" ] #Sirena
- map: [ "underweart" ] #Sirena
- map: ["enum.HumanoidVisualLayers.LFoot"]
- map: ["enum.HumanoidVisualLayers.RFoot"]
- map: [ "socks" ] #Sirena
- map: [ "jumpsuit" ]
- map: [ "enum.HumanoidVisualLayers.LHand" ]
- map: [ "enum.HumanoidVisualLayers.RHand" ]
- map: [ "enum.HumanoidVisualLayers.Handcuffs" ]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- map: [ "id" ]
- map: [ "gloves" ]
- map: [ "shoes" ]
- map: [ "ears" ]
- map: [ "outerClothing" ]
- map: [ "eyes" ]
- map: [ "belt" ]
- map: [ "neck" ]
- map: [ "back" ]
- map: [ "enum.HumanoidVisualLayers.FacialHair" ]
- map: [ "enum.HumanoidVisualLayers.Hair" ]
- map: [ "enum.HumanoidVisualLayers.HeadSide" ]
- map: [ "enum.HumanoidVisualLayers.HeadTop" ]
- map: [ "enum.HumanoidVisualLayers.Tail" ]
- map: [ "mask" ]
- map: [ "head" ]
- map: [ "pocket1" ]
- map: [ "pocket2" ]
35 changes: 35 additions & 0 deletions Resources/Prototypes/ADT/Felinid/Sound/sound_collections.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- type: soundCollection
id: FelinidScreams
files:
- /Audio/ADT/Felinid/cat_scream1.ogg
- /Audio/ADT/Felinid/cat_scream2.ogg
- /Audio/ADT/Felinid/cat_scream3.ogg

- type: soundCollection
id: FelinidHisses
files:
- /Audio/ADT/Felinid/cat_hiss1.ogg
- /Audio/ADT/Felinid/cat_hiss2.ogg

- type: soundCollection
id: FelinidMeows
files:
- /Audio/ADT/Felinid/cat_meow1.ogg
- /Audio/ADT/Felinid/cat_meow2.ogg
- /Audio/ADT/Felinid/cat_meow3.ogg

- type: soundCollection
id: FelinidMews
files:
- /Audio/ADT/Felinid/cat_mew1.ogg
- /Audio/ADT/Felinid/cat_mew2.ogg

- type: soundCollection
id: FelinidGrowls
files:
- /Audio/ADT/Felinid/cat_growl1.ogg

- type: soundCollection
id: FelinidPurrs
files:
- /Audio/ADT/Felinid/cat_purr1.ogg
Loading

0 comments on commit 8bd82ad

Please sign in to comment.