]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Supermatter Grenade Rework (#35122)
authorkeronshb <54602815+keronshb@users.noreply.github.com>
Fri, 14 Feb 2025 15:01:40 +0000 (10:01 -0500)
committerGitHub <noreply@github.com>
Fri, 14 Feb 2025 15:01:40 +0000 (16:01 +0100)
* Renames Supermatter grenade to singularity grenade. Removes explosion from Singularity Grenade.

* Adjusts Singularity Grenade to account for engine changes, small buff to max range

* Adjusts further

* fix order

---------

Co-authored-by: Milon <milonpl.git@proton.me>
Resources/Locale/en-US/store/uplink-catalog.ftl
Resources/Prototypes/Catalog/uplink_catalog.yml
Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml
Resources/Textures/Objects/Weapons/Grenades/singularitygrenade.rsi/icon.png [moved from Resources/Textures/Objects/Weapons/Grenades/supermattergrenade.rsi/icon.png with 100% similarity]
Resources/Textures/Objects/Weapons/Grenades/singularitygrenade.rsi/meta.json [moved from Resources/Textures/Objects/Weapons/Grenades/supermattergrenade.rsi/meta.json with 100% similarity]
Resources/Textures/Objects/Weapons/Grenades/singularitygrenade.rsi/primed.png [moved from Resources/Textures/Objects/Weapons/Grenades/supermattergrenade.rsi/primed.png with 100% similarity]

index 907e47a126670de1d2774689ddda77c73b8496bb..2ff6c16f5ac052358db7896fc5659140778c453a 100644 (file)
@@ -42,8 +42,8 @@ uplink-smoke-grenade-desc = A grenade that releases a huge cloud of smoke, perfe
 uplink-mini-bomb-name = Minibomb
 uplink-mini-bomb-desc = A low-yield, high-impact precision sabotage explosive with a 5 second long fuse. Perfect for quickly destroying a machine, dead body, or whatever else needs to go.
 
-uplink-supermatter-grenade-name = Supermatter Grenade
-uplink-supermatter-grenade-desc = Grenade that simulates delamination of a suppermatter engine, generates powerful gravity well. Explosion comparable to a Mini Bomb.
+uplink-singularity-grenade-name = Singularity Grenade
+uplink-singularity-grenade-desc = Grenade that simulates the power of a singularity, generates powerful gravity well.
 
 uplink-whitehole-grenade-name = Whitehole Grenade
 uplink-whitehole-grenade-desc = Grenade that repulses everything around for about 10 seconds. Very useful in small rooms and for chasing someone.
index 7e3b93978113eba325325d3a2776eb3fd60c2559..7f0f668cb75d74da103201fa0d0b608cad064bc6 100644 (file)
     - UplinkExplosives
 
 - type: listing
-  id: UplinkSupermatterGrenade
-  name: uplink-supermatter-grenade-name
-  description: uplink-supermatter-grenade-desc
-  productEntity: SupermatterGrenade
+  id: UplinkSingularityGrenade
+  name: uplink-singularity-grenade-name
+  description: uplink-singularity-grenade-desc
+  productEntity: SingularityGrenade
   discountCategory: usualDiscounts
   discountDownTo:
     Telecrystal: 3
index 08d6d855a880d85d6d3dec8863db295e82927556..d3a714445efb68a3d1f6519050727f26b5214007 100644 (file)
 
 
 - type: entity
-  name: supermatter grenade
-  description: Grenade that simulates delamination of the supermatter engine, pulling things in a heap and exploding after some time.
-  parent: [GrenadeBase, BaseSyndicateContraband]
-  id: SupermatterGrenade
+  parent: [ GrenadeBase, BaseSyndicateContraband ]
+  id: SingularityGrenade
+  name: singularity grenade
+  description: Grenade that simulates the power of a singularity, pulling things in a heap.
   components:
   - type: Sprite
-    sprite: Objects/Weapons/Grenades/supermattergrenade.rsi
+    sprite: Objects/Weapons/Grenades/singularitygrenade.rsi
   - type: OnUseTimerTrigger
     delay: 3
     beepInterval: 0.46
       path: /Audio/Effects/Grenades/Supermatter/smbeep.ogg
       params:
         volume: -5
-  - type: Explosive
-    explosionType: Default
-    totalIntensity: 200
-    intensitySlope: 30
-    maxIntensity: 120
   - type: SoundOnTrigger
     removeOnTrigger: true
     sound:
         sound:
           path: /Audio/Effects/Grenades/Supermatter/supermatter_loop.ogg
       - type: GravityWell
-        maxRange: 8
-        baseRadialAcceleration: 145
-        baseTangentialAcceleration: 5
-        gravPulsePeriod: 0.01
+        maxRange: 10
+        baseRadialAcceleration: 5
+        baseTangentialAcceleration: .5
+        gravPulsePeriod: 0.03
       - type: SingularityDistortion
         intensity: 150
         falloffPower: 1.5
           path: /Audio/Effects/Grenades/Supermatter/supermatter_end.ogg
           params:
             volume: 5
-      - type: ExplodeOnTrigger
+      - type: DeleteOnTrigger
 
 - type: entity
   name: whitehole grenade
   description: Grenade that repulses everything around for some time.
-  parent: SupermatterGrenade
+  parent: SingularityGrenade
   id: WhiteholeGrenade
   components:
   - type: Sprite