Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Holy damage #32755

Merged
merged 7 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Resources/Locale/en-US/armor/armor-examine.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ armor-damage-type-cold = Cold
armor-damage-type-poison = Poison
armor-damage-type-shock = Shock
armor-damage-type-structural = Structural
armor-damage-type-holy = Holy
1 change: 1 addition & 0 deletions Resources/Locale/en-US/damage/damage-groups.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ damage-group-burn = Burn
damage-group-airloss = Airloss
damage-group-toxin = Toxin
damage-group-genetic = Genetic
damage-group-metaphysical = Metaphysical
1 change: 1 addition & 0 deletions Resources/Locale/en-US/damage/damage-types.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ damage-type-radiation = Radiation
damage-type-shock = Shock
damage-type-slash = Slash
damage-type-structural = Structural
damage-type-holy = Holy
20 changes: 20 additions & 0 deletions Resources/Prototypes/Damage/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,23 @@
id: ShadowHaze
supportedTypes:
- Heat

- type: damageContainer
id: ManifestedSpirit
supportedGroups:
- Metaphysical
- Brute
supportedTypes:
- Heat
- Shock
- Caustic

- type: damageContainer
id: BiologicalMetaphysical
supportedGroups:
- Brute
- Burn
- Toxin
- Airloss
- Genetic
- Metaphysical
8 changes: 8 additions & 0 deletions Resources/Prototypes/Damage/groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,11 @@
name: damage-group-genetic
damageTypes:
- Cellular

# Metaphysical damage types should be used very sparingly, and likely not affect normal crew entities.
# Revenants and other ghost-like/demonic creatures are more fitting. Healing should never be available via medicine.
- type: damageGroup
id: Metaphysical
name: damage-group-metaphysical
damageTypes:
- Holy
8 changes: 7 additions & 1 deletion Resources/Prototypes/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
Piercing: 0.8
Cold: 0.8
Heat: 0.2
# Holy: 3 If we ever get some holy or magic sort of damage type they should be vulnerable
Holy: 1.5
flatReductions:
Heat: 3

Expand Down Expand Up @@ -273,6 +273,7 @@
Radiation: 0.0
Shock: 0.8
Bloodloss: 0.4
Holy: 1

- type: damageModifierSet
id: Cockroach
Expand Down Expand Up @@ -306,3 +307,8 @@
id: PotassiumIodide
coefficients:
Radiation: 0.1

- type: damageModifierSet
id: ManifestedSpirit
coefficients:
Holy: 2
14 changes: 11 additions & 3 deletions Resources/Prototypes/Damage/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
name: damage-type-blunt
armorCoefficientPrice: 2
armorFlatPrice: 10

- type: damageType
id: Cellular
name: damage-type-cellular
armorCoefficientPrice: 5
armorFlatPrice: 30

- type: damageType
id: Caustic
name: damage-type-caustic
armorCoefficientPrice: 5
armorFlatPrice: 30

- type: damageType
id: Cold
name: damage-type-cold
Expand Down Expand Up @@ -84,3 +84,11 @@
name: damage-type-structural
armorCoefficientPrice: 1
armorFlatPrice: 1

# Metaphysical damage. Damage represents supernatural injuries that emphasize the fantasy elements in the game
- type: damageType
id: Holy
name: damage-type-holy
armorCoefficientPrice: 1
armorFlatPrice: 1

4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2790,7 +2790,7 @@
- type: Bloodstream
bloodReagent: DemonsBlood
- type: Damageable
damageContainer: Biological
damageContainer: BiologicalMetaphysical
damageModifierSet: Infernal
- type: Temperature
heatDamageThreshold: 4000 #They come from hell, so..
Expand Down Expand Up @@ -3380,7 +3380,7 @@
- type: HTN
rootTask:
task: RuminantCompound

- type: entity
name: diona nymph
parent: [SimpleMobBase, StripableInventoryBase]
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/hellspawn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- type: Body
prototype: Animal
- type: Damageable
damageContainer: Biological
damageContainer: BiologicalMetaphysical
damageModifierSet: HellSpawn
- type: MovementSpeedModifier
baseWalkSpeed: 2
Expand Down
6 changes: 5 additions & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
- Stun
- Corporeal
- type: Damageable
damageContainer: Biological
damageContainer: ManifestedSpirit
damageModifierSet: ManifestedSpirit
- type: NoSlip
- type: Eye
drawFov: false
Expand Down Expand Up @@ -75,3 +76,6 @@
- RevenantTheme
- type: Speech
speechVerb: Ghost
- type: Reactive
groups:
Acidic: [Touch]
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
damageOnUntrainedUse: ## What a non-chaplain takes when attempting to heal someone
groups:
Burn: 10
- type: MeleeWeapon
soundHit:
collection: Punch
damage:
types:
Holy: 25
Blunt: 1
- type: Prayable
bibleUserOnly: true
- type: Summonable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
wideAnimationRotation: -150
damage:
types:
Blunt: 0
Holy: 4
- type: Item
size: Small
sprite: Objects/Weapons/Melee/gohei.rsi
9 changes: 9 additions & 0 deletions Resources/Prototypes/Reagents/medicine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,15 @@
methods: [ Touch ]
effects:
- !type:ExtinguishReaction
Acidic:
methods: [ Touch ]
effects:
- !type:HealthChange
scaleByQuantity: true
ignoreResistances: false
damage:
types:
Holy: 0.5
plantMetabolism:
- !type:PlantAdjustWater
amount: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "airloss, brute, toxin and burn edited from /tg/station https://github.com/tgstation/tgstation/tree/master genetic edited from https://iconscout.com/free-icon/dna-2130814 with license CC BY 4.0. malnutrition from https://github.com/space-wizards/space-station-14/tree/73d7837fabb31a7691a1db47ff64903cbec5dd32/Resources/Textures/Interface/Alerts/hunger.rsi",
"copyright": "airloss, brute, toxin and burn edited from /tg/station https://github.com/tgstation/tgstation/tree/master genetic edited from https://iconscout.com/free-icon/dna-2130814 with license CC BY 4.0. malnutrition from https://github.com/space-wizards/space-station-14/tree/73d7837fabb31a7691a1db47ff64903cbec5dd32/Resources/Textures/Interface/Alerts/hunger.rsi, metaphysical created by SlamBamActionman at https://github.com/space-wizards/space-station-14/pull/32755",
"states": [
{
"name": "airloss"
Expand All @@ -27,6 +27,9 @@
},
{
"name": "malnutrition"
},
{
"name": "metaphysical"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading