diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Explosives/grenades.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Explosives/grenades.yml index 8eb1973058..3e945ab5aa 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Explosives/grenades.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Explosives/grenades.yml @@ -86,3 +86,33 @@ visuals: - type: TimerTriggerVisualizer countdown_sound: /Audio/Effects/countdown.ogg + +- type: entity + name: the nuclear option + description: Please don't throw it, think of the children. + parent: BaseItem + id: NuclearGrenade + components: + - type: Sprite + sprite: Objects/Weapons/Grenades/nukenade.rsi + layers: + - state: icon + map: ["enum.TriggerVisualLayers.Base"] + - type: Icon + sprite: Objects/Weapons/Grenades/nukenade.rsi + state: icon + - type: Item + size: 5 + - type: OnUseTimerTrigger + delay: 5 + - type: Explosive + devastationRange: 25 + heavyImpactRange: 25 + flashRange: 50 + - type: Damageable + - type: Destructible + thresholdvalue: 50 + - type: Appearance + visuals: + - type: TimerTriggerVisualizer + countdown_sound: /Audio/Effects/countdown.ogg diff --git a/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/icon.png b/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/icon.png new file mode 100644 index 0000000000..d6e9ebe4fb Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/icon.png differ diff --git a/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/meta.json b/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/meta.json new file mode 100644 index 0000000000..198dbe1347 --- /dev/null +++ b/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/meta.json @@ -0,0 +1,25 @@ +{ + "version": 1, + "size": { + "x": 32, + "y": 32 + }, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from https://github.com/vgstation-coders/vgstation13/icons/obj/grenade.dmi at commit 8c96d52deed1eeea28a16334eea549369d7f9974", + "states": [ + { + "name": "icon", + "directions": 1, + "delays": [ + [1.0] + ] + }, + { + "name": "primed", + "directions": 1, + "delays": [ + [0.2, 0.2] + ] + } + ] +} diff --git a/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/primed.png b/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/primed.png new file mode 100644 index 0000000000..6938870e05 Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Grenades/nukenade.rsi/primed.png differ