forked from Superpat/ancientreligions
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* prepare changelog for next version * get started with wine and oil artifacts * stuff and things * removes missed merge conflict refactor religion triggers to use common phrasing * fixes bad nesting of cultural building clauses delete redundant sound file * update changelog * add skeleton of dionysian mysteries for #152 * more #152 work * add localisations and start dionysia work * merge vanilla 2.8 changes cleanup still to be done, but i must sleep * fixing of the things * lol, updates generalstuff.gfx * fixes religious icons fixes atenic government fixes the Convert to Swedish decision being deleted disables some in development decisions * update readme * removes unnecessary on_actions entry
- Loading branch information
Showing
65 changed files
with
15,038 additions
and
5,487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
AncientReligions/common/artifact_spawns/ACR_celtic_artifact_spawns.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Content by Adam 'theStormWeaver/xirsoi' Chevalier |
1 change: 1 addition & 0 deletions
1
AncientReligions/common/artifact_spawns/ACR_egyptian_artifact_spawns.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ACR_egyptian_artifact_spawns.txt |
Empty file.
1 change: 1 addition & 0 deletions
1
AncientReligions/common/artifact_spawns/ACR_hellenic_artifact_spawns.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Content by Adam 'theStormWeaver/xirsoi' Chevalier |
42 changes: 42 additions & 0 deletions
42
AncientReligions/common/artifact_spawns/artifact_spawns.info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Artifact spawns, decides which items are spawned at the begining of the game. | ||
|
||
variables: | ||
|
||
spawn_chance: | ||
mtth, to decide whether an artifact spawn should execute or not. Range is 0-100. Default behavior is to always spawn. | ||
|
||
example: a 50% chance to execute an artifact spawn | ||
spawn_chance = { | ||
value = 50 | ||
} | ||
|
||
weight: | ||
mtth, character scope, evaluates a potential artifact holder score, which is then used for randomizing who gets an artifact. Default behavior is for everyone to have the same chance. | ||
|
||
example: only christians have a chance of getting an artifact | ||
weight = { | ||
value = 0 | ||
additive_modifier = { | ||
value = 100 | ||
religion_group = christian | ||
} | ||
} | ||
|
||
max_amount: | ||
integer, how many artifacts do we hand out? default is 4,294,967,295 | ||
|
||
spawn_date: | ||
date, what date should it claim to have been created? Note that this could be in the future; the spawn chance should be handled in spawn_chance. If a date at or before 1.1.1 is used, it'll state "Unknown Date" | ||
|
||
artifacts: | ||
A list of keys and MTTH for which artifact is spawned. | ||
|
||
example: 50% chance that the person will get a golden_platypus | ||
artifacts ={ | ||
golden_platypus = { | ||
value = 1 | ||
} | ||
crystal_platypus = { | ||
value = 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Content by Adam 'theStormWeaver/xirsoi' Chevalier | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Content by Adam 'theStormWeaver/xirsoi' Chevalier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Content by Adam 'theStormWeaver/xirsoi' Chevalier | ||
# common, uncommon, rare, epic, legendary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Content by Adam 'theStormWeaver/xirsoi' Chevalier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# Artifacts are a scope in and of themselves now. | ||
|
||
# effects | ||
add_artifact = golden_platypus # must be scoped to a character | ||
# a copy of the named artifact is created and added to the scoped character | ||
|
||
any_artifact = { # scope must be a character | ||
# will execute the effect on all artifacts owned by scoped character, and that fulfills the limit | ||
limit = { | ||
has_artifact_flag = rare # example | ||
} | ||
destroy_artifact # example | ||
# the scope of the effect being executed is the artifact, and the PREV scope here is the character who owns the artifact | ||
} | ||
random_artifact = { # scope must be a character | ||
# will execute the effect on one randomly chosen artifact owned by scoped character, and that fulfills the limit | ||
limit = { | ||
quality < 10 #example | ||
} | ||
destroy_artifact # example | ||
# the scope of the effect being executed is the artifact, and the PREV scope here is the character who owns the artifact | ||
} | ||
transfer_artifact = { # scope must be an artifact | ||
from = PREV # from and to should both be characters. if from doesn't own the artifact, to will not receive it | ||
to = PREVPREV | ||
} | ||
|
||
destroy_artifact # scope can be an artifact, or a character. | ||
# if there is no name given, the scope MUST be an artifact, and the PREV scope must be the owner. | ||
# this can be achieved through any_artefact and random_artefact effects | ||
|
||
destroy_artifact = golden_platypus # if an artifact name is given, the scope should be the owner of the artifact. if they own an artifact by that name, it will be destroyed | ||
# if they own more than one, only the first one will be destroyed | ||
# WILL FAIL and add an error message if called on an indestructible artifact | ||
|
||
|
||
|
||
# Triggers | ||
num_of_artifacts = 3 # scope must be a character, returns true if scoped character has at least 3 (in this example) artifacts | ||
has_artifact = golden_platypus # scope must be a character, returns true if scoped character owns an artifact by that name | ||
quality > 10 # scope must be an artifact. | ||
# all comparison operators are available ( <, <=, =, >=, >=) | ||
# returns true if the quality of the scoped artifact compares correctly to the value | ||
|
||
has_artifact_flag # scope must be an artifact | ||
# returns true if the scoped artifact has that flag defined | ||
|
||
is_artifact_active # scope must be an artifact | ||
# returns true if the scoped artifact is currently active | ||
# note that an artifact without an active trigger will always be considered active, even if not owned | ||
# also note that an artifact with an active trigger and without an owner will never be considered active | ||
any_artifact = { # must be scoped to a character | ||
# returns true if any artifact owned by that character fulfills the conditions | ||
quality >= 10 # example | ||
} | ||
|
||
owner / artifact_owner = { # takes an artifact as a scope, returns the current owner of the artifact. either owner or artifact_owner can be used | ||
title = { | ||
tier = emperor | ||
} | ||
} | ||
|
||
original_owner / original_artifact_owner = { # takes an artifact as a scope, returns the original owner of the artifact. either original_owner or original_artifact_owner can be used | ||
title = { | ||
tier = emperor | ||
} | ||
} | ||
|
||
is_indestructible = yes # scope is artifact, returns true if the scoped artifact is indestructible, false otherwise | ||
artifact_type = golden_platypus # takes an artifact as a scope, returns true if the artifact is of the given type, false otherwise | ||
is_artifact_same_type_as = ROOT # takes an artifact as a scope, and an artifact as a target, and returns true if they're the same type, false otherwise | ||
artifact_type_owned_by = ROOT # takes an artifact as a scope, and a character as a target, and returns true if the target character already owns an artifact of the same type | ||
stacking = no # can only have a single copy of this artifact in one's posession. Defaults to "yes" | ||
|
||
#events | ||
on_artifact_inheritance # on action event is sent whenever a character receives an artifact (one event for each artifact) | ||
# Scopes: ROOT is the character, FROM is the artifact, FROMFROM is the old holder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.