Skip to content

Commit

Permalink
Add Ratvar (#24958)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
MACMAN2003 authored Feb 23, 2024
1 parent 381bb90 commit 2458c87
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Resources/Audio/Misc/attributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
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)"
Expand Down
Binary file added Resources/Audio/Misc/ratvar_reveal.ogg
Binary file not shown.
Binary file added Resources/Audio/Misc/ratvar_rises.ogg
Binary file not shown.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/ratvar/ratvar.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ratvar-has-risen = RATVAR HAS AWOKEN
ratvar-has-risen-sender = ???
94 changes: 94 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/ratvar.yml
Original file line number Diff line number Diff line change
@@ -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
63 changes: 63 additions & 0 deletions Resources/Textures/Mobs/Demons/ratvar.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -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
]
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2458c87

Please sign in to comment.