Skip to content

Commit

Permalink
Merge pull request #188 from Fansana/gems
Browse files Browse the repository at this point in the history
Add Dragon Egg From Frontier
  • Loading branch information
Fansana authored Sep 13, 2024
2 parents 91d46c4 + bca3971 commit d48acdc
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 5 deletions.
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"
}
]
}

0 comments on commit d48acdc

Please sign in to comment.