]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add Ratvar (#24958)
authorMACMAN2003 <macman2003c@gmail.com>
Fri, 23 Feb 2024 01:42:00 +0000 (17:42 -0800)
committerGitHub <noreply@github.com>
Fri, 23 Feb 2024 01:42:00 +0000 (04:42 +0300)
* Create ratvar.yml

* restore balance to the universe

* scale issues

mfw nar-sie is smaller

* spawner + spawn anim

a shitty spawn anim is better than no spawn anim

* undenseify

no longer as dense as a dying neutron star

Resources/Audio/Misc/attributions.yml
Resources/Audio/Misc/ratvar_reveal.ogg [new file with mode: 0644]
Resources/Audio/Misc/ratvar_rises.ogg [new file with mode: 0644]
Resources/Locale/en-US/ratvar/ratvar.ftl [new file with mode: 0644]
Resources/Prototypes/Entities/Mobs/Player/ratvar.yml [new file with mode: 0644]
Resources/Textures/Mobs/Demons/ratvar.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Mobs/Demons/ratvar.rsi/ratvar.png [new file with mode: 0644]
Resources/Textures/Mobs/Demons/ratvar.rsi/spawn.png [new file with mode: 0644]

index 2599cf8083c068440ab104cd04f9aaeb5dc714ce..db13d28d83892ba7cb18bd5c3328232d94de73a3 100644 (file)
   copyright: "Taken from TG station."
   source: "https://github.com/tgstation/tgstation/blob/b44fcdedfb7c7d8425bd75b9caf71644a86375d1/sound/creatures/narsie_rises.ogg"
 
+- files: ["ratvar_rises.ogg"]
+  license: "CC-BY-SA-3.0"
+  copyright: "Taken from TG station."
+  source: "https://github.com/tgstation/tgstation/blob/2f63c779cb43543cfde76fa7ddaeacfde185fded/sound/effects/ratvar_rises.ogg"
+
+- files: ["ratvar_reveal.ogg"]
+  license: "CC-BY-SA-3.0"
+  copyright: "Taken from TG station."
+  source: "https://github.com/tgstation/tgstation/blob/2f63c779cb43543cfde76fa7ddaeacfde185fded/sound/effects/ratvar_reveal.ogg"
+
 - files: ["epsilon.ogg"]
   license: "CC-BY-SA-3.0"
   copyright: "Made by dj-34 (https://github.com/dj-34)"
diff --git a/Resources/Audio/Misc/ratvar_reveal.ogg b/Resources/Audio/Misc/ratvar_reveal.ogg
new file mode 100644 (file)
index 0000000..e70cd98
Binary files /dev/null and b/Resources/Audio/Misc/ratvar_reveal.ogg differ
diff --git a/Resources/Audio/Misc/ratvar_rises.ogg b/Resources/Audio/Misc/ratvar_rises.ogg
new file mode 100644 (file)
index 0000000..4c22d25
Binary files /dev/null and b/Resources/Audio/Misc/ratvar_rises.ogg differ
diff --git a/Resources/Locale/en-US/ratvar/ratvar.ftl b/Resources/Locale/en-US/ratvar/ratvar.ftl
new file mode 100644 (file)
index 0000000..aad9497
--- /dev/null
@@ -0,0 +1,2 @@
+ratvar-has-risen = RATVAR HAS AWOKEN
+ratvar-has-risen-sender = ???
diff --git a/Resources/Prototypes/Entities/Mobs/Player/ratvar.yml b/Resources/Prototypes/Entities/Mobs/Player/ratvar.yml
new file mode 100644 (file)
index 0000000..5a45bff
--- /dev/null
@@ -0,0 +1,94 @@
+- type: entity
+  abstract: true
+  id: MobRatvarBase #can't have the clockwork justiciar be associated with his (im)mortal enemy
+  name: Ratvar
+  description: Your mind aches as it fails to understand the complex mechanics of what is before you.
+  components:
+  - type: Sprite
+    sprite: Mobs/Demons/ratvar.rsi
+    drawdepth: Ghosts
+    scale: 1.15,1.15
+    layers:
+    - state: ratvar
+      shader: unshaded
+
+- type: entity
+  parent: MobRatvarBase
+  id: MobRatvarSpawn
+  suffix: Spawn
+  components:
+  - type: Sprite
+    layers:
+    - state: spawn
+      shader: unshaded
+  - type: TimedDespawn
+    lifetime: 3.5
+  - type: SpawnOnDespawn
+    prototype: MobRatvar
+
+- type: entity
+  parent: [MobRatvarBase, BaseMob]
+  id: MobRatvar
+  components:
+  - type: AnnounceOnSpawn
+    message: ratvar-has-risen
+    sender: ratvar-has-risen-sender
+    sound:
+      path: /Audio/Misc/ratvar_reveal.ogg
+    color: "#BE8700"
+  - type: CargoSellBlacklist
+  - type: ContentEye
+    maxZoom: 2.0,2.0
+  - type: Fixtures
+    fixtures:
+      EventHorizonCollider:
+        shape:
+          !type:PhysShapeCircle
+            radius: 5
+        hard: false
+        restitution: 0.8
+        density: 1
+        mask:
+        - AllMask
+        layer:
+        - AllMask
+      EventHorizonConsumer:
+        shape:
+          !type:PhysShapeCircle
+            radius: 5
+        hard: false
+        mask:
+        - AllMask
+        layer:
+        - AllMask
+  - type: Input
+    context: "ghost"
+  - type: MovementIgnoreGravity
+  - type: IntrinsicRadioReceiver
+  - type: ActiveRadio
+    channels:
+    - Binary
+    - Common
+    - Command
+    - CentCom
+    - Engineering
+    - Medical
+    - Science
+    - Security
+    - Service
+    - Supply
+    - Syndicate
+    globalReceive: true
+  - type: Physics
+    bodyType: Dynamic
+    bodyStatus: InAir
+  - type: CanMoveInAir
+  - type: EventHorizon
+    radius: 5
+    canBreachContainment: true
+  - type: GravityWell
+    baseRadialAcceleration: 6
+    maxRange: 8
+  - type: WarpPoint
+    follow: true
+    location: Ratvar
\ No newline at end of file
diff --git a/Resources/Textures/Mobs/Demons/ratvar.rsi/meta.json b/Resources/Textures/Mobs/Demons/ratvar.rsi/meta.json
new file mode 100644 (file)
index 0000000..3d85e4a
--- /dev/null
@@ -0,0 +1,63 @@
+{
+  "version": 1,
+  "license": "CC-BY-SA-3.0",
+  "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/blob/a28a7680cba9142ab80abc5ed480474ed0310462/icons/effects/512x512.dmi spawn animation kitbashed by MACMAN2003",
+  "size": {
+    "x": 512,
+    "y": 512
+  },
+  "states": [
+    {
+      "name": "ratvar",
+      "delays": [
+        [
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1,
+          0.1
+        ]
+      ]
+    },
+       {
+         "name": "spawn",
+         "delays": [
+           [
+                 0.3,
+                 0.3,
+                 0.25,
+                 0.25,
+                 1,
+                 
+                 0.3,
+                 0.3,
+                 0.2,
+                 0.1,
+                 0.05,
+                 
+                 0.05,
+                 0.05,
+                 0.05,
+                 0.05,
+                 0.05,
+                 
+                 0.05,
+                 0.05,
+                 0.05,
+                 0.05
+               ]
+         ]
+       }
+  ]
+}
\ No newline at end of file
diff --git a/Resources/Textures/Mobs/Demons/ratvar.rsi/ratvar.png b/Resources/Textures/Mobs/Demons/ratvar.rsi/ratvar.png
new file mode 100644 (file)
index 0000000..bee7cdd
Binary files /dev/null and b/Resources/Textures/Mobs/Demons/ratvar.rsi/ratvar.png differ
diff --git a/Resources/Textures/Mobs/Demons/ratvar.rsi/spawn.png b/Resources/Textures/Mobs/Demons/ratvar.rsi/spawn.png
new file mode 100644 (file)
index 0000000..4f1c25b
Binary files /dev/null and b/Resources/Textures/Mobs/Demons/ratvar.rsi/spawn.png differ