Saint Chad and Oliver skull
This commit is contained in:
parent
2fb5cc6627
commit
0cb6352cb3
6 changed files with 304 additions and 2 deletions
|
|
@ -306,4 +306,98 @@ create_artifact_ak_mace_effect = {
|
|||
set_variable = ak_mace
|
||||
save_scope_as = epic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
create_artifact_chad_ironside_skull_effect = {
|
||||
$OWNER$ = { save_scope_as = owner }
|
||||
set_artifact_rarity_illustrious = yes
|
||||
|
||||
scope:owner = {
|
||||
create_artifact = {
|
||||
name = skull_saint_chad_name
|
||||
description = skull_saint_chad_desc
|
||||
template = skull_chad_ironside_template
|
||||
type = pedestal
|
||||
visuals = human_skull
|
||||
wealth = scope:wealth
|
||||
quality = scope:quality
|
||||
modifier = skull_saint_chad_modifier
|
||||
decaying = no
|
||||
save_scope_as = newly_created_artifact
|
||||
history = {
|
||||
type = created_before_history
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
scope:newly_created_artifact = {
|
||||
set_variable = { name = historical_unique_artifact value = yes }
|
||||
set_variable = { name = neow_chad_ironside_skull value = yes }
|
||||
save_scope_as = epic
|
||||
|
||||
# Make the initial identity match the first owner.
|
||||
neow_chad_ironside_skull_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
neow_chad_ironside_skull_effect = {
|
||||
if = {
|
||||
limit = {
|
||||
has_variable = neow_chad_ironside_skull
|
||||
exists = artifact_owner
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
artifact_owner = {
|
||||
OR = {
|
||||
has_religion = religion:britannic_religion
|
||||
has_religion = religion:thelema_religion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Britannic or Thelemic interpretation: the Ironside.
|
||||
set_artifact_name = skull_ironside_name
|
||||
set_artifact_description = skull_ironside_desc
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
has_artifact_modifier = skull_saint_chad_modifier
|
||||
}
|
||||
remove_artifact_modifier = skull_saint_chad_modifier
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_artifact_modifier = skull_ironside_modifier
|
||||
}
|
||||
}
|
||||
add_artifact_modifier = skull_ironside_modifier
|
||||
}
|
||||
}
|
||||
else = {
|
||||
# All other owners: Saint Chad.
|
||||
set_artifact_name = skull_saint_chad_name
|
||||
set_artifact_description = skull_saint_chad_desc
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
has_artifact_modifier = skull_ironside_modifier
|
||||
}
|
||||
remove_artifact_modifier = skull_ironside_modifier
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
has_artifact_modifier = skull_saint_chad_modifier
|
||||
}
|
||||
}
|
||||
add_artifact_modifier = skull_saint_chad_modifier
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue