This commit is contained in:
Ed
2025-06-23 12:30:57 +03:00
15 changed files with 207 additions and 2 deletions

View File

@@ -72,3 +72,8 @@
license: "CC0-1.0"
copyright: 'by muckypete7 of Freesound.org. Cropped and mixed from stereo to mono.'
source: "https://freesound.org/people/mucky_pete7/sounds/574208/"
- files: ["bear1.ogg, bear2.ogg"]
license: "CC0-1.0"
copyright: 'by husky70 of Freesound.org. Cropped and mixed from stereo to mono.'
source: "https://freesound.org/people/husky70/sounds/170454/"

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
- files: ["bear_scream.ogg"]
license: "CC0-1.0"
copyright: "Created by Piddipop from https://freesound.org/"
source: "https://freesound.org/people/Piddipop/sounds/728101/"

Binary file not shown.

View File

@@ -638,3 +638,10 @@
id: 8114
time: '2025-06-23T09:19:02.0000000+00:00'
url: https://github.com/crystallpunk-14/crystall-punk-14/pull/1462
- author: Nimfar11
changes:
- message: Adds a big and angry bear.
type: Add
id: 8115
time: '2025-06-23T09:25:20.0000000+00:00'
url: https://github.com/crystallpunk-14/crystall-punk-14/pull/1442

View File

@@ -0,0 +1,29 @@
- type: entity
id: CP14ActionBearSpellSprint
parent: CP14ActionSpellBase
name: Sprint
description: Catch up and rip, every predator can accelerate and catch up with its prey.
components:
- type: Sprite
sprite: _CP14/Actions/Spells/physical.rsi
state: sprint
- type: CP14MagicEffectCastSlowdown
speedMultiplier: 1.8
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14DustEffect
- type: Action
icon:
sprite: _CP14/Actions/Spells/physical.rsi
state: sprint
- type: TargetAction
checkCanAccess: false
range: 15
- type: InstantAction
event: !type:CP14ToggleableInstantActionEvent
effectFrequency: 0.2
cooldown: 8
castTime: 3
hidden: true

View File

@@ -204,3 +204,19 @@
- type: ConditionalSpawner
prototypes:
- CP14MobMonsterFlem
- type: entity
name: big bear spawner
id: CP14SpawnMobBigBear
parent: MarkerBase
categories: [ ForkFiltered ]
components:
- type: Sprite
layers:
- sprite: Markers/cross.rsi
state: green
- sprite: _CP14/Mobs/Animals/bear.rsi
state: live
- type: ConditionalSpawner
prototypes:
- CP14MobBigBear

View File

@@ -418,3 +418,102 @@
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/goat_bah.ogg
- type: entity
id: CP14MobBigBear
parent: CP14SimpleMobBase
name: big bear
description: A big, angry-looking bear. Maybe he didn't get enough sleep.
categories: [ ForkFiltered ]
components:
- type: HTN
rootTask:
task: SimpleHostileCompound
blackboard:
NavClimb: !type:Bool
true
NavSmash: !type:Bool
true
- type: NpcFactionMember
factions:
- CP14AggressiveAnimals
- type: NPCUseActionOnTarget
actionId: CP14ActionBearSpellSprint
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
sprite: _CP14/Mobs/Animals/bear.rsi
state: live
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 350
mask:
- MobMask
layer:
- MobLayer
- type: Appearance
- type: MobThresholds
thresholds:
0: Alive
100: Dead
- type: CombatMode
- type: MeleeWeapon
angle: 0
attackRate: 0.8
animation: WeaponArcClaw
soundHit:
path: /Audio/Weapons/Xeno/alien_claw_flesh3.ogg
damage:
types:
Structural: 60
Piercing: 5
Slash: 6
Blunt: 5
bluntStaminaDamageFactor: 2.0
- type: MovementSpeedModifier
baseWalkSpeed: 3
baseSprintSpeed: 3
- type: DamageStateVisuals
states:
Alive:
Base: live
Dead:
Base: dead
- type: Stamina
critThreshold: 300
- type: CP14MagicCasterSlowdown
- type: Butcherable
spawned:
- id: CP14FoodMeatPig # TODO
amount: 5
- type: Bloodstream
bloodMaxVolume: 350
bloodReagent: CP14BloodAnimal
- type: Puller
needsHands: false
- type: Tag
tags:
- FootstepSound
- type: Grammar
attributes:
gender: epicene
- type: ReplacementAccent
accent: genericAggressive
- type: Vocal
sounds:
Unsexed: CP14Bear
- type: SpamEmitSound
minInterval: 20
maxInterval: 40
sound:
collection: CP14Bear
params:
volume: -2
variation: 0.125
- type: SoundWhileAlive
- type: FloorOcclusion

View File

@@ -274,5 +274,19 @@
minGroupSize: 5
maxGroupSize: 15
- type: cp14DemiplaneModifier
id: MobBigBear
levels:
min: 5
max: 10
categories:
Danger: 0.5
requiredTags:
- CP14DemiplaneOpenSky
- CP14DemiplaneHerbals
layers:
- !type:CP14OreDunGen
entity: CP14MobBigBear
count: 1
minGroupSize: 1
maxGroupSize: 1

View File

@@ -19,3 +19,9 @@
- /Audio/_CP14/Animals/flem2.ogg
- /Audio/_CP14/Animals/flem3.ogg
- /Audio/_CP14/Effects/bubbles.ogg
- type: soundCollection
id: CP14Bear
files:
- /Audio/_CP14/Animals/bear1.ogg
- /Audio/_CP14/Animals/bear2.ogg

View File

@@ -31,3 +31,10 @@
Whistle:
collection: Whistles
- type: emoteSounds
id: CP14Bear
params:
variation: 0.125
sounds:
Scream:
path: /Audio/_CP14/Voice/Animal/bear_scream.ogg

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -0,0 +1,18 @@
{
"version": 1,
"size": {
"x": 64,
"y": 64
},
"license": "CC-BY-SA-4.0",
"copyright": "Created by omsoyk",
"states": [
{
"name": "live",
"directions": 4
},
{
"name": "dead"
}
]
}