Skip to content

Commit

Permalink
Space Koi (#239)
Browse files Browse the repository at this point in the history
* add space koi

* delete carp tag
  • Loading branch information
AlokenMaloken authored Nov 5, 2024
1 parent 16700a8 commit fb885be
Show file tree
Hide file tree
Showing 26 changed files with 418 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- type: cargoProduct
id: LivestockSpaceKoi
icon:
sprite: Stories/Mobs/Aliens/Kois/red_black.rsi
state: livestock_icon
product: CrateNPCSpaceKoi
cost: 5000
category: cargoproduct-category-name-livestock
group: market
18 changes: 18 additions & 0 deletions Resources/Prototypes/Stories/Catalog/Fills/Crates/npc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- type: entity
id: CrateNPCSpaceKoi
parent: CrateLivestock
name: ящик космических кои
description: Ящик, содержащий пять космических кои.
components:
- type: StorageFill
contents:
- id: MobRedBlackKoi
amount: 1
- id: MobGoldBlackKoi
amount: 1
- id: MobRedCircleKoi
amount: 1
- id: MobBloodSkeletonKoi
amount: 1
- id: MobSpaceGlowKoi
amount: 1
18 changes: 18 additions & 0 deletions Resources/Prototypes/Stories/Entities/Markers/Spawners/mobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- type: entity
name: спавнер космических кои
id: SpawnSpaceKoi
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- sprite: Stories/Mobs/Aliens/Kois/red_black.rsi
state: livestock_icon
- state: ai
- type: ConditionalSpawner
prototypes:
- MobSpaceGlowKoi
- MobRedBlackKoi
- MobGoldBlackKoi
- MobRedCircleKoi
- MobBloodSkeletonKoi
129 changes: 129 additions & 0 deletions Resources/Prototypes/Stories/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
- type: entity
name: космический кои
id: BaseMobKoi
parent: [ SimpleSpaceMobBase, FlyingMobBase ]
description: Цветастая пародия на космического карпа, выглядит дружелюбно.
abstract: true
components:
- type: Sprite
drawdepth: Mobs
sprite: Stories/Mobs/Aliens/Kois/gold_black.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- type: Physics
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 80
mask:
- FlyingMobMask
layer:
- FlyingMobLayer
- type: MobState
- type: MobThresholds
thresholds:
0: Alive
40: Dead
- type: MovementSpeedModifier
baseWalkSpeed: 2.5
baseSprintSpeed: 3.5
- type: Stamina
critThreshold: 100
- type: DamageStateVisuals
states:
Alive:
Base: alive
Dead:
Base: dead
- type: Butcherable
spawned:
- id: FoodMeat
amount: 1
- type: MeleeWeapon
altDisarm: false
angle: 0
animation: WeaponArcBite
soundHit:
path: /Audio/Effects/bite.ogg
damage:
types:
Blunt: 1
Slash: 7
- type: TypingIndicator
proto: alien
- type: ReplacementAccent
accent: genericAggressive
- type: Speech
speechVerb: LargeMob
- type: InteractionPopup
interactSuccessString: petting-success-carp
interactFailureString: petting-failure-carp
interactFailureSound:
path: /Audio/Effects/bite.ogg
- type: StaticPrice
price: -800


- type: entity
parent: BaseMobKoi
id: MobRedBlackKoi
suffix: "Красно-чёрный"
components:
- type: Sprite
sprite: Stories/Mobs/Aliens/Kois/red_black.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- type: entity
parent: BaseMobKoi
id: MobGoldBlackKoi
suffix: "Чёрно-золотой"
components:
- type: Sprite
sprite: Stories/Mobs/Aliens/Kois/gold_black.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive

- type: entity
parent: BaseMobKoi
id: MobRedCircleKoi
suffix: "Красный круг"
components:
- type: Sprite
sprite: Stories/Mobs/Aliens/Kois/red_circle.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive

- type: entity
parent: BaseMobKoi
id: MobBloodSkeletonKoi
suffix: "Кровавый скелет"
components:
- type: Sprite
sprite: Stories/Mobs/Aliens/Kois/blood_skeleton.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- type: entity
parent: BaseMobKoi
id: MobSpaceGlowKoi
suffix: "Космическое свечение"
components:
- type: Sprite
sprite: Stories/Mobs/Aliens/Kois/space_glow.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: alive
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: unshaded
shader: unshaded
- type: PointLight
radius: 1.2
energy: 2
color: "#4faffb"
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 2,
"license": "CC-BY-SA-3.0",
"copyright": "Made by XcenLegend for Space Stories",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "dead"
},
{
"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
]
]
}
]
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 2,
"license": "CC-BY-SA-3.0",
"copyright": "Made by XcenLegend for Space Stories",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "dead"
},
{
"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
]
]
}
]
}
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Made by XcenLegend for Space Stories",
"states": [
{
"name": "icon"
},
{
"name": "livestock_icon"
},
{
"name": "dead"
},
{
"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
]
]
}
]
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"version": 2,
"license": "CC-BY-SA-3.0",
"copyright": "Made by XcenLegend for Space Stories",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "dead"
},
{
"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
]
]
}
]
}
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.
Loading

0 comments on commit fb885be

Please sign in to comment.