Skip to content

Commit

Permalink
more #152 work
Browse files Browse the repository at this point in the history
  • Loading branch information
xirsoi committed Sep 4, 2017
1 parent 351f058 commit c9f1a5f
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 1 deletion.
26 changes: 25 additions & 1 deletion AncientReligions/common/societies/ACR_secret_societies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ mysteries_dionysus = {
limit = 100
startup_limit = 10
decisions = {

hold_tristeria # secret rites
}
}

Expand Down Expand Up @@ -1054,6 +1054,10 @@ mysteries_dionysus = {
name = intrigue
value = 1
}
has_trait = {
trait = possessed
value = 5
}
has_trait = {
trait = genius
value = 4
Expand Down Expand Up @@ -1082,6 +1086,10 @@ mysteries_dionysus = {
trait = seductress
value = 3
}
has_trait = {
trait = socializer
value = 3
}
has_trait = {
trait = drunkard
value = 2
Expand All @@ -1090,6 +1098,10 @@ mysteries_dionysus = {
trait = lustful
value = 1
}
has_trait = {
trait = gluttonous
value = 1
}
has_trait = {
trait = arbitrary
value = 1
Expand All @@ -1106,6 +1118,10 @@ mysteries_dionysus = {
member_score = {
value = 10

modifier = {
trait = possessed
factor = 1.4
}
modifier = {
trait = genius
factor = 1.3
Expand Down Expand Up @@ -1134,6 +1150,10 @@ mysteries_dionysus = {
trait = seductress
factor = 1.3
}
modifier = {
trait = socializer
factor = 1.3
}
modifier = {
trait = drunkard
factor = 1.2
Expand All @@ -1142,6 +1162,10 @@ mysteries_dionysus = {
trait = lustful
factor = 1.1
}
modifier = {
trait = gluttonous
factor = 1.1
}
modifier = {
trait = arbitrary
factor = 1.1
Expand Down
38 changes: 38 additions & 0 deletions AncientReligions/decisions/ACR_hellenic_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,44 @@ decisions = {
}
}
}

hold_dionysia = { # public rites of dionysus
only_playable = yes

potential = {
tier = COUNT
religion = hellenic_pagan
}

allow = {
scaled_wealth = 0.1
custom_tooltip = {
text = not_already_holding_dionysia
hidden_tooltip = {
NOT = {
has_character_flag = ancrel_holding_dionysia
}
}
}
OR = {
month = 3
month = 12
}
}

effect = {
scaled_wealth = -0.1
set_character_flag = ancrel_holding_dionysia
}

revoke_allowed = {
always = no
}

ai_will_do = {
factor = 0
}
}
}

targetted_decisions = {
Expand Down
69 changes: 69 additions & 0 deletions AncientReligions/decisions/ACR_other_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,81 @@ decisions = {
effect = {
wealth = -200
add_character_modifier = { name = ancrel_winery days = -1 }
if = {
limit = {
society_member_of = shezmu_cult
}
add_society_currency_minor_effect = yes
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
modifier = {
factor = 0.001 # slow it down
always = yes
}
modifier = {
factor = 0
NOT = {
wealth = 400
}
}
modifier = {
factor = 10000
society_member_of = shezmu_cult
}
}
}

build_oilworks = {
is_high_prio = yes
potential = {
OR = {
has_focus = seduction
trait = hedonist
trait = lustful
society_member_of = shezmu_cult
}
NOR = {
has_character_modifier = ancrel_winery
has_character_modifier = ancrel_oilworks
}
}
allowed = {
wealth = 200
}
effect = {
wealth = -200
add_character_modifier = { name = ancrel_oilworks days = -1 }
if = {
limit = {
society_member_of = shezmu_cult
}
add_society_currency_minor_effect = yes
}
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
modifier = {
factor = 0.001 # slow it down
always = yes
}
modifier = {
factor = 0
NOT = {
wealth = 400
}
}
modifier = {
factor = 10000
society_member_of = shezmu_cult
}
}
}
}
Expand Down
38 changes: 38 additions & 0 deletions AncientReligions/decisions/ACR_society_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,44 @@ title_decisions = {
always = no
}

ai_will_do = {
factor = 0
}
}
}

decisions = {
hold_tristeria = { # secret rites of dionysus
only_playable = yes

potential = {
tier = COUNT
society_member_of = mysteries_dionysus
}

allow = {
wealth = 10
custom_tooltip = {
text = not_already_holding_tristeria
hidden_tooltip = {
NOT = {
has_character_flag = ancrel_holding_tristeria
}
}
}
}

effect = {
set_character_flag = ancrel_holding_tristeria
wealth = -10
# fire starting event (sends invites)
# pre-fire emergency cleanup event
}

revoke_allowed = {
always = no
}

ai_will_do = {
factor = 0
}
Expand Down

0 comments on commit c9f1a5f

Please sign in to comment.