Skip to content

Commit

Permalink
Jerma (For April 1) (#1142)
Browse files Browse the repository at this point in the history
* Jerma

* Ghost Fix
  • Loading branch information
dvir001 committed Mar 31, 2024
1 parent 3d35c63 commit 683d87b
Show file tree
Hide file tree
Showing 17 changed files with 209 additions and 0 deletions.
Binary file added Resources/Audio/_NF/Jerma/clap.ogg
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/didi.ogg
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/dididi.ogg
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/pog_in_pants.ogg
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/pog_moment.ogg
Binary file not shown.
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/satellite.ogg
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/soup_pizza.ogg
Binary file not shown.
Binary file added Resources/Audio/_NF/Jerma/thats_kinda_pog.ogg
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ ghost-role-information-mistake-description = Ymg' ph'nglui ah li.
ghost-role-information-ert-mailcarrier-name = ERT Mail Carrier
ghost-role-information-ert-mailcarrier-description = Assist with paperworks efforts to resolve the stations issues.
ghost-role-information-jerma-name = Jerma
ghost-role-information-jerma-description = Pog moment
123 changes: 123 additions & 0 deletions Resources/Prototypes/_NF/Entities/Mobs/Player/jerma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
- type: entity
parent: SimpleSpaceMobBase
id: MobJerma
suffix: ""
name: Jerma
description: Its Jerma.
components:
- type: Bloodstream
bloodMaxVolume: 650
- type: GhostRole
allowMovement: true
allowSpeech: true
makeSentient: true
name: ghost-role-information-jerma-name
description: ghost-role-information-jerma-description
- type: GhostTakeoverAvailable
- type: HTN
rootTask:
task: XenoCompound
blackboard:
NavInteract: !type:Bool
true
NavPry: !type:Bool
true
NavSmash: !type:Bool
true
- type: NpcFactionMember
factions:
- Dragon
- type: Speech
speechVerb: LargeMob
- type: CombatMode
- type: MobMover
- type: InputMover
- type: MovementSpeedModifier
baseWalkSpeed: 3
baseSprintSpeed: 5
weightlessModifier: 1.5
- type: Sprite
sprite: _NF/Mobs/Wildcards/jerma.rsi
scale: 0.25, 0.35
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- type: Appearance
- type: DamageStateVisuals
states:
Alive:
Base: alive
Critical:
Base: crit
Dead:
Base: dead
- type: Physics
bodyType: KinematicController
- type: MobState
- type: MobStateActions
actions:
Critical:
- ActionCritSuccumb
- ActionCritLastWords
- type: MobThresholds
thresholds:
0: Alive
450: Critical
500: Dead
- type: Metabolizer
solutionOnBody: false
updateFrequency: 0.25
metabolizerTypes: [ Dragon ]
groups:
- id: Medicine
- id: Poison
- type: Butcherable
spawned:
- id: FoodCakePlain
amount: 2
- type: InteractionPopup
successChance: 0.25 # It's no goose, but you better smell like carp.
interactSuccessString: petting-success-dragon
interactSuccessSound:
collection: Jerma
interactFailureString: petting-failure-dragon
interactFailureSound:
collection: JermaDidi
soundPerceivedByOthers: false # A 75% chance for a loud roar would get old fast.
- type: MeleeWeapon
altDisarm: false
soundHit:
collection: JermaDidi
damage:
types:
Piercing: 15
Slash: 15
- type: Devourer
foodPreference: Humanoid
shouldStoreDevoured: true
chemical: Ichor
healRate: 15.0
whitelist:
components:
- MobState
- Door
tags:
- Wall
- type: Tag
tags:
- CannotSuicide
- DoorBumpOpener
- FootstepSound
- type: Puller
needsHands: false
- type: Grammar
attributes:
gender: epicene
- type: Vocal
sounds:
Male: Jerma
Female: Jerma
Unsexed: Jerma
- type: FootstepModifier
footstepSoundCollection:
collection: JermaClap
20 changes: 20 additions & 0 deletions Resources/Prototypes/_NF/SoundCollections/jerma.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- type: soundCollection
id: Jerma
files:
- /Audio/_NF/Jerma/pog_in_pants.ogg
- /Audio/_NF/Jerma/pog_moment.ogg
- /Audio/_NF/Jerma/pog_moment_right_there.ogg
- /Audio/_NF/Jerma/soup_pizza.ogg
- /Audio/_NF/Jerma/thats_kinda_pog.ogg

- type: soundCollection
id: JermaDidi
files:
- /Audio/_NF/Jerma/didi.ogg
- /Audio/_NF/Jerma/dididi.ogg
- /Audio/_NF/Jerma/satellite.ogg

- type: soundCollection
id: JermaClap
files:
- /Audio/_NF/Jerma/clap.ogg
8 changes: 8 additions & 0 deletions Resources/Prototypes/_NF/Voice/speech_emote_sounds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,11 @@
path: /Audio/Animals/chicken_cluck_happy.ogg
params:
variation: 0.125

- type: emoteSounds
id: Jerma
params:
variation: null
sounds:
Scream:
collection: Jerma
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions Resources/Textures/_NF/Mobs/Wildcards/jerma.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": 1,
"size": {
"x": 128,
"y": 128
},
"license": "CC-BY-SA-3.0",
"copyright": "A mistake",
"states": [
{
"name": "alive",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "crit"
},
{
"name": "dead"
}
]
}

0 comments on commit 683d87b

Please sign in to comment.