* frogs

* uee

* yep
This commit is contained in:
Nim
2025-02-05 09:51:50 +02:00
committed by GitHub
parent 11a4ed5439
commit 4becbd2c12
23 changed files with 315 additions and 4 deletions

View File

@@ -58,8 +58,12 @@
copyright: 'by egomassive of Freesound.org.'
source: "https://freesound.org/people/egomassive/sounds/536728/"
- files: ["ghost_ambi.ogg"]
license: "CC0-1.0"
copyright: 'by Litruv of Freesound.org.'
source: "https://freesound.org/people/Litruv/sounds/175944/"
- files: ["frog1.ogg, frog2.ogg, frog3.ogg"]
license: "CC-BY-4.0"
copyright: 'by iainmccurdy of Freesound.org. Cropped and mixed from stereo to mono.'
source: "https://freesound.org/people/iainmccurdy/sounds/743820/"

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -73,6 +73,22 @@
prototypes:
- CP14MobBoar
- type: entity
name: frog spawner
id: CP14SpawnMobFrog
parent: MarkerBase
categories: [ ForkFiltered ]
components:
- type: Sprite
layers:
- sprite: Markers/cross.rsi
state: green
- sprite: _CP14/Mobs/Animals/frog.rsi
state: frog
- type: ConditionalSpawner
prototypes:
- CP14MobFrog
# Dino
- type: entity

View File

@@ -209,3 +209,109 @@
path: /Audio/Animals/pig_oink.ogg
- type: StealTarget
stealGroup: CP14Boar
- type: entity
name: frog
parent: SimpleMobBase
id: CP14MobFrog
description: Green and constantly jumping frog, and perhaps thanks to it mosquitoes have not completely filled the marshes.
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Neutrals
- type: MovementSpeedModifier
baseWalkSpeed: 3
baseSprintSpeed: 5
- type: Sprite
drawdepth: SmallMobs
layers:
- map: ["enum.DamageStateVisualLayers.Base", "movement"]
sprite: _CP14/Mobs/Animals/frog.rsi
state: frog
- type: Clothing
quickEquip: false
sprite: _CP14/Mobs/Animals/frog_helmet.rsi
equippedPrefix: 0
slots:
- HEAD
- type: SpriteMovement
movementLayers:
movement:
state: frog_moving
noMovementLayers:
movement:
state: frog_blinks
- type: Item
size: Normal
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Mouse_burning
- type: Speech
speechVerb: SmallMob
- type: Appearance
- type: Physics
- type: FloorOcclusion
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.2
density: 5
mask:
- SmallMobMask
layer:
- SmallMobLayer
- type: MobThresholds
thresholds:
0: Alive
10: Dead
- type: DamageStateVisuals
states:
Alive:
Base: frog
Dead:
Base: frog_dead
- type: Butcherable
butcherDelay: 2
spawned:
- id: CP14FoodMeatFrogLeg
amount: 2
- type: MeleeWeapon
angle: 0
animation: WeaponArcBite
damage:
types:
Slash: 0
- type: InteractionPopup
successChance: 0.6
interactSuccessString: petting-success-frog
interactFailureString: petting-failure-generic
interactSuccessSpawn: EffectHearts
interactSuccessSound:
path: /Audio/Animals/frog_ribbit.ogg
- type: CanEscapeInventory
- type: Bloodstream
bloodMaxVolume: 30
bloodReagent: CP14Blood
- type: Tag
tags:
- CP14Mosquito
- type: Destructible
thresholds:
- trigger:
!type:DamageTypeTrigger
damageType: Blunt
damage: 60
behaviors:
- !type:GibBehavior { }
- type: SpamEmitSound
minInterval: 10
maxInterval: 20
sound:
collection: CP14Frog
params:
volume: -8
variation: 0.125
- type: SoundWhileAlive

View File

@@ -163,7 +163,7 @@
id: CP14FoodMeatLambCutlet
parent: CP14FoodMeatSliceBase
name: lamb cutlet
description: the result of mixing sliced lamb and egg - a raw round cutlet.
description: The result of mixing sliced lamb and egg - a raw round cutlet.
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/meat.rsi
@@ -210,4 +210,52 @@
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1
transformTo: CP14Ash1
- type: entity
id: CP14FoodMeatFrogLeg
parent: CP14FoodMeatBase
name: frog leg
description: They say they eat it somewhere.
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/meat.rsi
state: frog_leg
- type: Item
size: Tiny
- type: SolutionContainerManager
solutions:
food:
maxVol: 5
reagents:
- ReagentId: Nutriment
Quantity: 3
- ReagentId: UncookedAnimalProteins
Quantity: 1
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14FoodMeatFrogLegCooked
- type: entity
id: CP14FoodMeatFrogLegCooked
parent: CP14FoodMeatFrogLeg
name: cooked frog leg
description: It even seems edible.
components:
- type: Sprite
sprite: _CP14/Objects/Consumable/Food/meat.rsi
state: frog_leg_cooked
- type: SolutionContainerManager
solutions:
food:
maxVol: 5
reagents:
- ReagentId: Nutriment
Quantity: 3
- ReagentId: Protein
Quantity: 1
- type: CP14TemperatureTransformation
entries:
- temperatureRange: 400, 500
transformTo: CP14Ash1

View File

@@ -8,6 +8,7 @@
- CP14DemiplaneHerbals
- CP14DemiplaneUnderground
- CP14DemiplaneWater
- CP14DemiplaneAnimalsSwamp
- type: dungeonConfig
id: CP14DemiplaneSwampGeode

View File

@@ -72,6 +72,27 @@
minGroupSize: 2
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: Frog
tiers:
- 1
- 2
generationWeight: 0.4
categories:
Reward: 0.2
requiredTags:
- CP14DemiplaneAnimalsSwamp
layers:
- !type:OreDunGen
tileMask:
- CP14FloorGrass
- CP14FloorGrassLight
- CP14FloorGrassTall
entity: CP14MobFrog
count: 3
minGroupSize: 2
maxGroupSize: 3
# TIER 2
- type: cp14DemiplaneModifier

View File

@@ -7,6 +7,9 @@
- type: Tag
id: CP14DemiplanePeacefulAnimals
- type: Tag
id: CP14DemiplaneAnimalsSwamp
- type: Tag
id: CP14DemiplaneHerbals

View File

@@ -4,3 +4,10 @@
- /Audio/_CP14/Animals/dino1.ogg
- /Audio/_CP14/Animals/dino2.ogg
- /Audio/_CP14/Animals/dino3.ogg
- type: soundCollection
id: CP14Frog
files:
- /Audio/_CP14/Animals/frog1.ogg
- /Audio/_CP14/Animals/frog2.ogg
- /Audio/_CP14/Animals/frog3.ogg

View File

@@ -27,6 +27,9 @@
- type: npcFaction
id: CP14PeacefulAnimals
- type: npcFaction
id: CP14Neutrals
- type: npcFaction
id: CP14AggressiveAnimals
hostile:

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

View File

@@ -0,0 +1,81 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "All right reserved",
"copyright": "Created by Max Gab (Github)",
"states": [
{
"name": "icon"
},
{
"name": "frog",
"directions": 4
},
{
"name": "frog_moving",
"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": "frog_blinks",
"directions": 4,
"delays": [
[
2.5,
0.2
],
[
2.5,
0.2
],
[
2.5,
0.2
],
[
2.5,
0.2
]
]
},
{
"name": "frog_dead"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

View File

@@ -0,0 +1,15 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "Created by Max Gab (Github)",
"size": {
"x": 48,
"y": 48
},
"states": [
{
"name": "0-equipped-HELMET",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "All right reserved",
"copyright": "sheepmeat and sheepmeat_cooked By omsoyk, sheepmeat_slice and sheepmeat_slice_cooked by TheShuEd, cutlet and cutlet_cooked and meat_slice by Artista.rar",
"copyright": "sheepmeat and sheepmeat_cooked By omsoyk, sheepmeat_slice and sheepmeat_slice_cooked, frog_leg_cooked by TheShuEd, cutlet and cutlet_cooked and meat_slice by Artista.rar, frog_leg by Max Gab",
"size": {
"x": 32,
"y": 32
@@ -39,6 +39,12 @@
},
{
"name": "sheepmeat_slice3_cooked"
},
{
"name": "frog_leg"
},
{
"name": "frog_leg_cooked"
}
]
}