Skip to content

Commit

Permalink
Goblin speech bubble
Browse files Browse the repository at this point in the history
  • Loading branch information
ErhardSteinhauer committed Apr 29, 2024
1 parent d651507 commit f464f9f
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 3 deletions.
22 changes: 22 additions & 0 deletions Resources/Prototypes/_NF/Entities/Mobs/Species/goblin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
damage:
types:
Slash: 3
Poison: 1
- type: Speech
speechSounds: Alto
- type: DamageOnHighSpeedImpact
Expand Down Expand Up @@ -60,6 +61,27 @@
# tallDensity: 185
- type: ReplacementAccent
accent: goblin_accent
- type: TypingIndicator
proto: goblin
- type: SlowOnDamage
speedModifierThresholds:
60: 0.85 # 0.7 is base speed.
80: 0.75 # 0.5 is base speed.
- type: Reactive
groups:
Flammable: [ Touch ]
Extinguish: [ Touch ]
reactions:
- reagents: [ Water, SpaceCleaner, SoapReagent ]
methods: [ Touch ]
effects:
- !type:WashCreamPieReaction
- reagents: [ Water, SpaceCleaner, SoapReagent ]
methods: [ Touch ]
effects:
- !type:Emote
emote: Scream
probability: 0.2

- type: entity
save: false
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/_NF/typing_indicator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- type: typingIndicator
id: goblin
spritePath: /Textures/_NF/Effects/speech.rsi
typingState: goblin0
offset: 0, 0.2
6 changes: 3 additions & 3 deletions Resources/ServerInfo/Guidebook/Mobs/Goblin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

They can [color=#ffa500]only[/color] eat meat and fruits, but can eat raw meat and drink blood without any ill effects.

Their small stature allows goblins to dive into toilets and mailing units.
Their small stature allows goblins to dive into toilets and mailing units. They don't like to be sprayed with water or space cleaner.

Their unarmed attacks deal Slash damage instead of Blunt.
Their unarmed attacks deal [color=red]Slash[/color] and [color=lime]Toxin[/color] damage instead of Blunt.

Due to their unusual dietary choices goblins take [color=green]20% less Toxin damage[/color], but because of their small size they take [color=#ffa500]10% more Brute (Blunt/Slash/Piercing) damage[/color].
Due to their unusual dietary choices goblins take [color=lime]20% less Toxin damage[/color], but because of their small size they take [color=#ffa500]10% more Brute (Blunt/Slash/Piercing) damage[/color].

</Document>
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.
28 changes: 28 additions & 0 deletions Resources/Textures/_NF/Effects/speech.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Goblin speech bubble by ErhardSteinhauer",
"states": [
{
"name": "goblin0",
"delays": [
[
0.2,
0.3,
0.3,
0.5
]
]
},
{
"name": "goblin1"
},
{
"name": "goblin2"
}
]
}

0 comments on commit f464f9f

Please sign in to comment.