-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
112 additions
and
5 deletions.
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
Resources/Prototypes/Floof/Entities/Objects/Consumable/Food/dragon_egg.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+584 Bytes
Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/broken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+513 Bytes
Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1010 Bytes
Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1010 Bytes
Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |