Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space Koi #239

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading