Skip to content

Commit

Permalink
holy
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffiestFloof committed Oct 8, 2023
1 parent d8e4660 commit d89578b
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@
- type: Bloodstream
bloodReagent: DemonsBlood
- type: Damageable
damageContainer: Biological
damageContainer: CorporealSpirit # Nyanotrasen - Corporeal Spirit allows Holy water to do damage
damageModifierSet: Infernal
- type: Temperature
heatDamageThreshold: 4000 #They come from hell, so..
Expand Down
8 changes: 6 additions & 2 deletions Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
sprite: Mobs/Ghosts/revenant.rsi
layers:
- state: active
- type: Reactive # Nyanotrasen - Holy Water affects Revenants
groups:
Acidic: [Touch]
- type: Clickable
- type: StatusEffects
allowed:
Expand All @@ -35,8 +38,9 @@
mask:
- GhostImpassable
- type: MovementIgnoreGravity
- type: Damageable
damageContainer: Biological
- type: Damageable # Nyanotrasen - Corporeal Spirit allows Holy water to do damage
damageContainer: CorporealSpirit
damageModifierSet: CorporealSpirit
- type: Examiner
- type: NoSlip
- type: Actions
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Mobs/Player/familiars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
- type: Access
tags:
- Chapel
- type: Damageable # Nyanotrasen - Corporeal Spirit allows Holy water to do damage
damageContainer: CorporealSpirit
damageModifierSet: CorporealSpirit
- type: MindContainer
showExamineInfo: true
- type: NpcFactionMember
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
interfaces:
- key: enum.StorageUiKey.Key
type: StorageBoundUserInterface
- type: MeleeWeapon # Nyanotrasen - Bibles do Holy damage
damage:
types:
Blunt: 3
Holy: 10
- type: Tag
tags:
- Book
Expand Down
12 changes: 12 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Damage/containers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: damageContainer
id: Spirit
supportedGroups:
- Burn
- Immaterial

- type: damageContainer
id: CorporealSpirit
supportedGroups:
- Burn
- Brute
- Immaterial
4 changes: 4 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Damage/groups.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- type: damageGroup
id: Immaterial
damageTypes:
- Holy
19 changes: 19 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Damage/modifier_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,22 @@
id: CancerMouse
coefficients:
Radiation: -0.25

- type: damageModifierSet
id: Spirit
coefficients:
Cold: 0.0
Shock: 0.2
Heat: 3.0
Holy: 5.0

- type: damageModifierSet
id: CorporealSpirit
coefficients:
Cold: 0.0
Shock: 0.5
Blunt: 0.5
Slash: 0.5
Piercing: 0.5
Heat: 1.5
Holy: 3.0
5 changes: 5 additions & 0 deletions Resources/Prototypes/Nyanotrasen/Damage/types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Only affects magical beings.
- type: damageType
id: Holy
armorCoefficientPrice: 25
armorFlatPrice: 150

0 comments on commit d89578b

Please sign in to comment.