Adds Christmas Kobolds: Defenders of The Yule Tree (#4940)

* Adds Christmas Kobolds: Defenders of The Yule Tree

* update comments

* Add candy spear sprite

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* no shoes for now

* Revert "no shoes for now"

This reverts commit 8bece94b57.

* No shoes for now

* maybe

* Ain't

---------

Co-authored-by: Velcroboy <velcroboy333@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Velcroboy
2025-12-18 20:33:03 +01:00
committed by GitHub
co-authored by Velcroboy pre-commit-ci[bot]
parent 1a9a67521f
commit 75fbb95ace
21 changed files with 155 additions and 0 deletions
@@ -0,0 +1,3 @@
ghost-role-information-christmas-kobold-name = Christmas Kobold
ghost-role-information-christmas-kobold-description = Defender of the sacred Yule Tree. You have been called upon to avenge it.
ghost-role-information-christmas-kobold-rules = Someone cut down The Tree of Gifts. Find them and teach them to be jolly by any means necessary.
@@ -333,6 +333,38 @@
receivedPopup: christmas-tree-got-gift
deniedPopup: christmas-tree-no-gift
requiredHoliday: FestiveSeason
# Start Delta V - Add Christmas kobold mob spawn. Plan to remove when we have our own tree variant
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 400
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/tree_fell.ogg
params:
volume: 5
variation: 0.05
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpawnEntitiesBehavior
spawn:
Log:
min: 2
max: 8
- !type:SpawnEntitiesBehavior
spawn:
MobChristmasKobold:
min: 4
max: 8
# End Delta V - Spawn Christmas kobold.
- type: entity
parent: FloraTreeChristmas02
@@ -0,0 +1,28 @@
- type: entity
id: MobChristmasKobold
parent: MobBaseKobold
suffix: Christmas Kobold
components:
- type: CombatMode
- type: HTN
rootTask:
task: SimpleHostileCompound
- type: MobThresholds
thresholds:
0: Alive
100: Critical
200: Dead
- type: NpcFactionMember
factions:
- SimpleHostile
- type: Bloodstream
bloodMaxVolume: 150
bloodReagent: Eggnog
- type: Loadout
prototypes: [ ElfGearMonkey ]
- type: GhostRole
prob: 0.05
makeSentient: true
name: ghost-role-information-christmas-kobold-name
description: ghost-role-information-christmas-kobold-description
rules: ghost-role-information-christmas-kobold-rules
@@ -0,0 +1,8 @@
- type: entity
name: candy spear
parent: Spear
id: SpearCandy
description: A spear made with a hardened sugar.
components:
- type: Sprite
sprite: _DV/Objects/Weapons/Melee/candy_spear.rsi
@@ -0,0 +1,11 @@
- type: microwaveMealRecipe
id: RecipeCandySpear
name: candy spear recipe
result: SpearCandy
secretRecipe: true
time: 20
group: Secret
reagents:
Sugar: 20
solids:
PartRodMetal1: 1
@@ -0,0 +1,8 @@
- type: startingGear
id: ElfGearMonkey
equipment:
head: ClothingHeadHatElf
jumpsuit: ClothingUniformElf
# shoes: ClothingShoesMiscElf #todo needs displacement and inventory template to wear shoes
inhand:
- SpearCandy
Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

@@ -0,0 +1,65 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Sprited by Stxcking",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "spear"
},
{
"name": "spear1"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-left-fill-1",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-right-fill-1",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-left-fill-1",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
},
{
"name": "wielded-inhand-right-fill-1",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-back-fill-1",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
},
{
"name": "equipped-suitstorage-fill-1",
"directions": 4
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B