From: Velken <8467292+Velken@users.noreply.github.com> Date: Sun, 7 Dec 2025 13:25:57 +0000 (-0300) Subject: Snap Booms (fake snap pops) (#38654) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c164897ead168e7ef08bc1521d8c8b3eb74d7862;p=space-station-14.git Snap Booms (fake snap pops) (#38654) * snap booms * damage nerf * fixing brain issue of being 8am and i havent slept yet * typo * Update damage and name * Fix linter issues * fixed typo snapPopFake -> snapPopExplosive --------- Co-authored-by: SlamBamActionman --- diff --git a/Resources/Prototypes/Entities/Objects/Fun/snap_pops.yml b/Resources/Prototypes/Entities/Objects/Fun/snap_pops.yml index df567912ec..4392103805 100644 --- a/Resources/Prototypes/Entities/Objects/Fun/snap_pops.yml +++ b/Resources/Prototypes/Entities/Objects/Fun/snap_pops.yml @@ -33,6 +33,9 @@ maxIntensity: 0.01 intensitySlope: 1 totalIntensity: 0.01 + - type: Construction + graph: SnapPopExplosiveGraph + node: snapPop - type: entity parent: BaseStorageItem diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Bombs/funny.yml b/Resources/Prototypes/Entities/Objects/Weapons/Bombs/funny.yml index 298b9d7c12..1618611e2c 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Bombs/funny.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Bombs/funny.yml @@ -131,3 +131,18 @@ - type: Tag tags: - Banana + +- type: entity + parent: SnapPop + id: SnapPopExplosive + suffix: explosive + components: + - type: Explosive + explosionType: Default + maxIntensity: 0.8 + intensitySlope: 1 + totalIntensity: 3.5 + canCreateVacuum: false + - type: Construction + graph: SnapPopExplosiveGraph + node: snapPopExplosive diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/weapons/snappop_explosive.yml b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/snappop_explosive.yml new file mode 100644 index 0000000000..7f6905a7b8 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/snappop_explosive.yml @@ -0,0 +1,25 @@ +- type: constructionGraph + id: SnapPopExplosiveGraph + start: start + graph: + - node: start + edges: + - to: snapPop #have to make a start step to have the behaviour of clicking on a snap pop with gunpowder to make the fake one. Since there is no recipe for them on the construction menu, the materials bellow have no real meaning. + steps: + - material: Gunpowder + amount: 1 + - material: Paper + amount: 4 + doAfter: 4 + - node: snapPop + entity: SnapPop + edges: + - to: snapPopExplosive + steps: + - material: Gunpowder + doAfter: 1 + - node: snapPopExplosive + actions: + - !type:AdminLog + message: "A fake snap pop was crafted" + entity: SnapPopExplosive