The Rat King [Antag] (#8706)
* vending machine go spit * who's da rat, bozo * fixes * crown + fixes * aaaa * aa * lololol * removing vending shit + most annoying fix alive * paul review * moony fixes * sloth review * Minor diseasesystem fix * inverse moment * A * Also reduce args allocations Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
8
Resources/Locale/en-US/animals/rat-king/rat-king.ftl
Normal file
@@ -0,0 +1,8 @@
|
||||
rat-king-raise-army-name = Raise Army
|
||||
rat-king-raise-army-description = Spend some hunger to summon an allied rat to help defend you.
|
||||
|
||||
rat-king-domain-name = Rat King's Domain
|
||||
rat-king-domain-description = Spend some hunger to infect those around you with the plague.
|
||||
rat-king-domain-popup = A cloud of plague is released into the air!
|
||||
|
||||
rat-king-too-hungry = You are too hungry to use this ability!
|
||||
@@ -0,0 +1 @@
|
||||
station-event-mouse-migration-announcement = We have detected an oncoming migration of rodents to the station. Please stay out of maintenance tunnels and try and avoid excessive contact.
|
||||
@@ -168,6 +168,31 @@
|
||||
- !type:DiseaseReagentCure
|
||||
reagent: DemonsBlood
|
||||
|
||||
- type: disease
|
||||
id: Plague
|
||||
name: plague
|
||||
cureResist: 0.1
|
||||
effects:
|
||||
- !type:DiseaseVomit
|
||||
probability: 0.005
|
||||
- !type:DiseasePopUp
|
||||
probability: 0.025
|
||||
- !type:DiseaseSnough
|
||||
probability: 0.025
|
||||
snoughMessage: disease-cough
|
||||
snoughSound:
|
||||
collection: Coughs
|
||||
- !type:DiseaseHealthChange
|
||||
probability: 0.05
|
||||
damage:
|
||||
types:
|
||||
Poison: 2
|
||||
cures:
|
||||
- !type:DiseaseBedrestCure
|
||||
maxLength: 120
|
||||
- !type:DiseaseJustWaitCure
|
||||
maxLength: 240
|
||||
|
||||
- type: disease
|
||||
id: OwOnavirus
|
||||
name: OwOnavirus
|
||||
|
||||
@@ -112,6 +112,19 @@
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Misc/cone.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
id: ClothingHeadHatFancyCrown
|
||||
name: fancy crown
|
||||
description: It smells like dead rat.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Misc/fancycrown.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Misc/fancycrown.rsi
|
||||
- type: MobPrice
|
||||
price: 3000
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
id: ClothingHeadHatCatEars
|
||||
|
||||
189
Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml
Normal file
@@ -0,0 +1,189 @@
|
||||
- type: entity
|
||||
name: Rat King
|
||||
id: MobRatKing
|
||||
parent: SimpleMobBase
|
||||
description: He's da rat. He make da roolz.
|
||||
components:
|
||||
- type: CombatMode
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed : 3.75
|
||||
baseSprintSpeed : 3.75
|
||||
- type: UtilityAI
|
||||
behaviorSets:
|
||||
- Idle
|
||||
- UnarmedAttackHostiles
|
||||
- type: Reactive
|
||||
groups:
|
||||
Flammable: [Touch]
|
||||
Extinguish: [Touch]
|
||||
- type: AiFactionTag
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Animals/regalrat.rsi
|
||||
layers:
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: regalrat
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.25
|
||||
mass: 120
|
||||
mask:
|
||||
- MobMask
|
||||
layer:
|
||||
- MobLayer
|
||||
- type: MobState
|
||||
thresholds:
|
||||
0: !type:NormalMobState {}
|
||||
150: !type:CriticalMobState {}
|
||||
200: !type:DeadMobState {}
|
||||
- type: MeleeWeapon
|
||||
range: 1
|
||||
arcwidth: 0
|
||||
arc: claw
|
||||
damage:
|
||||
types:
|
||||
Slash: 12
|
||||
Piercing: 8
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: DamageStateVisualizer
|
||||
rotate: true
|
||||
normal: regalrat
|
||||
crit: dead
|
||||
dead: dead
|
||||
- type: Puller
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: Rat King
|
||||
description: You are the Rat King, scavenge food in order to produce rat minions to do your bidding.
|
||||
rules: You are an antagonist, scavenge, attack, and grow your hoarde!
|
||||
- type: Tag
|
||||
tags:
|
||||
- CannotSuicide
|
||||
- DoorBumpOpener
|
||||
- FootstepSound
|
||||
- type: NoSlip
|
||||
- type: RatKing
|
||||
actionRaiseArmy:
|
||||
useDelay: 4
|
||||
icon: Interface/Actions/ratKingArmy.png
|
||||
name: rat-king-raise-army-name
|
||||
description: rat-king-raise-army-description
|
||||
itemIconStyle: NoItem
|
||||
event: !type:RatKingRaiseArmyActionEvent
|
||||
hungerPerArmyUse: 25
|
||||
actionDomain:
|
||||
useDelay: 10
|
||||
icon: Interface/Actions/ratKingDomain.png
|
||||
name: rat-king-domain-name
|
||||
description: rat-king-domain-description
|
||||
itemIconStyle: NoItem
|
||||
event: !type:RatKingDomainActionEvent
|
||||
hungerPerDomainUse: 50
|
||||
- type: Access #he's so baller he gets his own access. NT got nothing on him
|
||||
tags:
|
||||
- Maintenance
|
||||
- Service
|
||||
- type: Butcherable
|
||||
spawned:
|
||||
- id: ClothingHeadHatFancyCrown #how did that get there?
|
||||
amount: 1
|
||||
- type: DiseaseCarrier
|
||||
carrierDiseases:
|
||||
- Plague
|
||||
- type: SlowOnDamage
|
||||
speedModifierThresholds:
|
||||
50: 0.9
|
||||
75: 0.8
|
||||
100: 0.7
|
||||
- type: MobPrice
|
||||
price: 2500 # rat wealth
|
||||
|
||||
- type: entity
|
||||
name: Rat Servant
|
||||
id: MobRatServant
|
||||
parent: SimpleMobBase
|
||||
description: He's da mini rat. He don't make da roolz.
|
||||
components:
|
||||
- type: CombatMode
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed : 4
|
||||
baseSprintSpeed : 4
|
||||
- type: UtilityAI
|
||||
behaviorSets:
|
||||
- Idle
|
||||
- UnarmedAttackHostiles
|
||||
- type: Reactive
|
||||
groups:
|
||||
Flammable: [Touch]
|
||||
Extinguish: [Touch]
|
||||
- type: AiFactionTag
|
||||
factions:
|
||||
- SimpleHostile
|
||||
- type: Sprite
|
||||
drawdepth: SmallMobs
|
||||
sprite: Mobs/Animals/mouse.rsi
|
||||
layers:
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: mouse-3
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.2
|
||||
mass: 10
|
||||
mask:
|
||||
- SmallMobMask
|
||||
layer:
|
||||
- SmallMobLayer
|
||||
- type: MobState
|
||||
thresholds:
|
||||
0: !type:NormalMobState {}
|
||||
25: !type:CriticalMobState {}
|
||||
50: !type:DeadMobState {}
|
||||
- type: MeleeWeapon
|
||||
range: 1
|
||||
arcwidth: 0
|
||||
arc: claw
|
||||
damage:
|
||||
types:
|
||||
Slash: 5
|
||||
Piercing: 2
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: DamageStateVisualizer
|
||||
rotate: true
|
||||
normal: mouse-3
|
||||
crit: dead-3
|
||||
dead: splat-3
|
||||
- type: Puller
|
||||
- type: DiseaseCarrier
|
||||
carrierDiseases:
|
||||
- Plague
|
||||
- type: Vocal
|
||||
# mice are gender neutral who cares
|
||||
maleScream: /Audio/Animals/mouse_squeak.ogg
|
||||
femaleScream: /Audio/Animals/mouse_squeak.ogg
|
||||
wilhelmProbability: 0.001
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: Rat Servant
|
||||
description: You are a Rat Servant. You must follow your king's orders.
|
||||
rules: You are an antagonist, scavenge, attack, and serve your king!
|
||||
- type: Tag
|
||||
tags:
|
||||
- CannotSuicide
|
||||
- DoorBumpOpener
|
||||
- FootstepSound
|
||||
- type: NoSlip
|
||||
- type: MobPrice
|
||||
price: 500 # rat wealth
|
||||
|
||||
|
After Width: | Height: | Size: 251 B |
BIN
Resources/Textures/Clothing/Head/Misc/fancycrown.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 598 B |
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "equipped-HELMET",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,6 +24,12 @@
|
||||
},
|
||||
{
|
||||
"name": "manifest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ratKingArmy"
|
||||
},
|
||||
{
|
||||
"name": "ratKingDomain"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
BIN
Resources/Textures/Interface/Actions/ratKingArmy.png
Normal file
|
After Width: | Height: | Size: 388 B |
BIN
Resources/Textures/Interface/Actions/ratKingDomain.png
Normal file
|
After Width: | Height: | Size: 658 B |
BIN
Resources/Textures/Mobs/Animals/mouse.rsi/dead-3.png
Normal file
|
After Width: | Height: | Size: 431 B |
BIN
Resources/Textures/Mobs/Animals/mouse.rsi/icon-3.png
Normal file
|
After Width: | Height: | Size: 404 B |
@@ -15,6 +15,9 @@
|
||||
},
|
||||
{
|
||||
"name": "icon-2"
|
||||
},
|
||||
{
|
||||
"name": "icon-3"
|
||||
},
|
||||
{
|
||||
"name": "mouse-0",
|
||||
@@ -93,6 +96,32 @@
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mouse-3",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dead-0"
|
||||
@@ -102,6 +131,9 @@
|
||||
},
|
||||
{
|
||||
"name": "dead-2"
|
||||
},
|
||||
{
|
||||
"name": "dead-3"
|
||||
},
|
||||
{
|
||||
"name": "splat-0"
|
||||
@@ -111,6 +143,9 @@
|
||||
},
|
||||
{
|
||||
"name": "splat-2"
|
||||
},
|
||||
{
|
||||
"name": "splat-3"
|
||||
},
|
||||
{
|
||||
"name": "0-equipped-HELMET",
|
||||
|
||||
BIN
Resources/Textures/Mobs/Animals/mouse.rsi/mouse-3.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Resources/Textures/Mobs/Animals/mouse.rsi/splat-3.png
Normal file
|
After Width: | Height: | Size: 535 B |
BIN
Resources/Textures/Mobs/Animals/regalrat.rsi/dead.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Resources/Textures/Mobs/Animals/regalrat.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
21
Resources/Textures/Mobs/Animals/regalrat.rsi/meta.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from https://github.com/tgstation/tgstation/commit/53d1f1477d22a11a99c6c6924977cd431075761b",
|
||||
"states": [
|
||||
{
|
||||
"name": "dead"
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "regalrat",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Mobs/Animals/regalrat.rsi/regalrat.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |