diff --git a/Resources/Prototypes/Entities/Effects/acidifer.yml b/Resources/Prototypes/Entities/Effects/acidifer.yml new file mode 100644 index 0000000000..bc2fc3c4c3 --- /dev/null +++ b/Resources/Prototypes/Entities/Effects/acidifer.yml @@ -0,0 +1,26 @@ +- type: entity + id: Acidifier + name: acid + description: Melts you into a puddle of yuck! + components: + - type: Transform + anchored: True + - type: InteractionOutline + - type: Physics + bodyType: Static + - type: Sprite + sprite: /Textures/Effects/acidifier.rsi + state: acid + - type: Fixtures + fixtures: + portalFixture: + shape: + !type:PhysShapeAabb + bounds: "-0.25,-0.48,0.25,0.48" + mask: + - FullTileMask + layer: + - WallLayer + hard: false + - type: TimedDespawn + lifetime: 2.4 diff --git a/Resources/Prototypes/Entities/Objects/Misc/subdermal_implants.yml b/Resources/Prototypes/Entities/Objects/Misc/subdermal_implants.yml index 18edca6c71..1a1b25ed4e 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/subdermal_implants.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/subdermal_implants.yml @@ -274,6 +274,8 @@ - type: TriggerImplantAction - type: GibOnTrigger deleteItems: true + - type: SpawnOnTrigger + proto: Acidifier - type: Tag tags: - SubdermalImplant diff --git a/Resources/Textures/Effects/acidifier.rsi/acid.png b/Resources/Textures/Effects/acidifier.rsi/acid.png new file mode 100644 index 0000000000..53f74e332e Binary files /dev/null and b/Resources/Textures/Effects/acidifier.rsi/acid.png differ diff --git a/Resources/Textures/Effects/acidifier.rsi/meta.json b/Resources/Textures/Effects/acidifier.rsi/meta.json new file mode 100644 index 0000000000..358e92374c --- /dev/null +++ b/Resources/Textures/Effects/acidifier.rsi/meta.json @@ -0,0 +1,30 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "Made by brainfood1183 (github) for ss14", + "states": [ + { + "name": "acid", + "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 + ] + ] + } + ] +} \ No newline at end of file