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

Add Dragon Egg From Frontier #188

Merged
merged 3 commits into from
Sep 13, 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,82 @@
- type: entity
parent: FoodEggBase
id: DragonEgg
name: dragon egg
description: How many did you kill just to get one of these eggs.
components:
- type: Sprite
sprite: Floof/Objects/Consumable/Food/dragon_egg.rsi
state: icon
- type: Item
sprite: Floof/Objects/Consumable/Food/dragon_egg.rsi
size: Large
- type: MultiHandedItem
- type: Food
trash: DragonEggshells
- type: DamageOnHighSpeedImpact
minimumSpeed: 0.1
damage:
types:
Blunt: 1
- type: Damageable
damageContainer: Biological
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 1
behaviors:
- !type:PlaySoundBehavior
sound:
collection: desecration
- !type:SpillBehavior
solution: food
- !type:SpawnEntitiesBehavior
spawn:
DragonEggshells:
min: 1
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: SolutionContainerManager
solutions:
food:
maxVol: 36
reagents:
- data: null
ReagentId: Egg
Quantity: 12
- data: null
ReagentId: Ichor
Quantity: 12
- data: null
ReagentId: Vitamin
Quantity: 12
- type: StaticPrice
price: 20000

- type: entity
name: dragon eggshells
parent: BaseItem
id: DragonEggshells
description: You're walkin' on 'em bud.
components:
- type: Sprite
sprite: Floof/Objects/Consumable/Food/dragon_egg.rsi
state: broken
- type: Food
- type: Item
sprite: Objects/Consumable/Food/egg.rsi
size: Large
- type: SolutionContainerManager
solutions:
food:
maxVol: 2
reagents:
- ReagentId: Egg
Quantity: 1
- type: Tag
tags:
- Egg
- Trash
- type: SpaceGarbage
10 changes: 5 additions & 5 deletions Resources/Prototypes/Floof/Entities/Objects/Lewd/eggs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- type: entity
parent: BaseItem
id: BasicEgg
id: BasicEggEaster
name: basic egg
description: A large and shiny egg, couldn't have been laid by a chicken!
components:
Expand All @@ -10,7 +10,7 @@

- type: entity
parent: BaseItem
id: DragonEgg
id: DragonEggEaster
name: dragon egg
description: A warm and shimmering egg, power could be felt from within...
components:
Expand All @@ -20,7 +20,7 @@

- type: entity
parent: BaseItem
id: VoidEgg
id: VoidEggEaster
name: void egg
description: A void egg. This has to be dangerous, right?
components:
Expand All @@ -30,7 +30,7 @@

- type: entity
parent: BaseItem
id: SlimeEgg
id: SlimeEggEaster
name: slime egg
description: A globby and squishy egg, feels nasty.
components:
Expand All @@ -40,7 +40,7 @@

- type: entity
parent: BaseItem
id: HoneyEgg
id: HoneyEggEaster
name: honeycomb egg
description: An egg covered in a sticky and sweet honey.
components:
Expand Down
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,25 @@
{
"version": 1,
"license": "CC-BY-SA-4.0",
"copyright": "Created by @Stagnation on frontier station discord server",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "broken"
}
]
}
Loading