Constructs now have their respective factions (#90690)

## About The Pull Request

Holy constructs are now part of a new Holy faction, that all Chaplains
get once they choose a sect.
Wizard constructs are now part of the Wizard faction
Juggernaut's Gaunlet Echo spell now respects factions (so ignores cult
as cult, wizards as wizard, and their creator as holy)


https://github.com/user-attachments/assets/e56f958d-fffa-4534-8b39-a95f9d160865

## Why It's Good For The Game

Makes constructs less likely to friendly fire and makes holy constructs
able to use their spells to fight Cult.

## Changelog

🆑 Ezel/Improvedname, JohnFulpWillard
fix: Constructs now have their proper factions, so Wizard constructs
can't hit Wizard Apprentices.
fix: Juggernaut's Gauntlet echo spell now respects factions.
/🆑
This commit is contained in:
John Willard
2025-04-19 20:13:12 +02:00
committed by GitHub
parent 5769be29d7
commit 2ef9be35d9
8 changed files with 16 additions and 1 deletions
@@ -48,6 +48,7 @@
// Alternate artificer themes
/mob/living/basic/construct/artificer/angelic
desc = "A bulbous construct dedicated to building and maintaining holy armies."
faction = list(FACTION_HOLY)
theme = THEME_HOLY
construct_spells = list(
/datum/action/cooldown/spell/conjure/soulstone/purified,
@@ -61,6 +62,7 @@
ADD_TRAIT(src, TRAIT_ANGELIC, INNATE_TRAIT)
/mob/living/basic/construct/artificer/mystic
faction = list(ROLE_WIZARD)
theme = THEME_WIZARD
construct_spells = list(
/datum/action/cooldown/spell/conjure/cult_floor,
@@ -54,6 +54,7 @@
// Alternate juggernaut themes
/mob/living/basic/construct/juggernaut/angelic
faction = list(FACTION_HOLY)
theme = THEME_HOLY
/mob/living/basic/construct/juggernaut/angelic/Initialize(mapload)
@@ -61,4 +62,5 @@
ADD_TRAIT(src, TRAIT_ANGELIC, INNATE_TRAIT)
/mob/living/basic/construct/juggernaut/mystic
faction = list(ROLE_WIZARD)
theme = THEME_WIZARD
@@ -32,6 +32,7 @@
// Alternate wraith themes
/mob/living/basic/construct/wraith/angelic
faction = list(FACTION_HOLY)
theme = THEME_HOLY
construct_spells = list(
/datum/action/cooldown/spell/jaunt/ethereal_jaunt/shift/angelic,
@@ -43,6 +44,7 @@
ADD_TRAIT(src, TRAIT_ANGELIC, INNATE_TRAIT)
/mob/living/basic/construct/wraith/mystic
faction = list(ROLE_WIZARD)
theme = THEME_WIZARD
construct_spells = list(
/datum/action/cooldown/spell/jaunt/ethereal_jaunt/shift/mystic,