diff --git a/Resources/Prototypes/Floof/Entities/Objects/Consumable/Food/dragon_egg.yml b/Resources/Prototypes/Floof/Entities/Objects/Consumable/Food/dragon_egg.yml new file mode 100644 index 00000000000..751f50afa86 --- /dev/null +++ b/Resources/Prototypes/Floof/Entities/Objects/Consumable/Food/dragon_egg.yml @@ -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 diff --git a/Resources/Prototypes/Floof/Entities/Objects/Lewd/eggs.yml b/Resources/Prototypes/Floof/Entities/Objects/Lewd/eggs.yml index 8d1c005f8a2..13bb43925b3 100644 --- a/Resources/Prototypes/Floof/Entities/Objects/Lewd/eggs.yml +++ b/Resources/Prototypes/Floof/Entities/Objects/Lewd/eggs.yml @@ -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: @@ -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: @@ -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: @@ -30,7 +30,7 @@ - type: entity parent: BaseItem - id: SlimeEgg + id: SlimeEggEaster name: slime egg description: A globby and squishy egg, feels nasty. components: @@ -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: diff --git a/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/broken.png b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/broken.png new file mode 100644 index 00000000000..63966bcebc8 Binary files /dev/null and b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/broken.png differ diff --git a/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/icon.png b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/icon.png new file mode 100644 index 00000000000..70ec593acf6 Binary files /dev/null and b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/icon.png differ diff --git a/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-left.png b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-left.png new file mode 100644 index 00000000000..34d3e60783b Binary files /dev/null and b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-left.png differ diff --git a/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-right.png b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-right.png new file mode 100644 index 00000000000..34d3e60783b Binary files /dev/null and b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/inhand-right.png differ diff --git a/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/meta.json b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/meta.json new file mode 100644 index 00000000000..b9e6aee76a4 --- /dev/null +++ b/Resources/Textures/Floof/Objects/Consumable/Food/dragon_egg.rsi/meta.json @@ -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" + } + ] +}