Event Modifications - ilikegoodfood/CommunityLib GitHub Wiki
Event Modifications
The Community Library modifies the function of some event property and field keys, as well as adding many that were missed in the vanila code, or that operate on other mods.
Modified Keys
Fields
is_elder_tomb
now makes use the of the Community Library's checkIsElderTomb function, to allow mods to identify novel tomb types.is_city_ruins
has been modified to exclude Shipwrecks.
Properties
TELEPORT_TO_ELDER_TOMB
now makes use the of the Community Library's checkIsElderTomb function, to allow mods to identify novel tomb types.
Missed Keys
These keys were missed from the vanilla game.
NOTE: The keys that are DLC-specific are also added to the Base Game, and always return false. This means that events needn't be modified for each version.
// Misising God Fields
god_is_deathgame
god_is_maker
god_is_cordyceps
god_is_evilbeneath
// Missing Agent Fields
is_agent_aristocrat
is_agent_banditking
is_agent_buccaneer
is_agent_exile
is_agent_seeker
is_agent_spellbinder
// Other stat Fields
other_stat_might
other_stat_intrigue
other_stat_lore
other_stat_command
other_command_limit
other_command_limit_currently_used
other_kills
The followingkey is only present in the DLC version of the Community Library:
// Missing Map Fields
awareness_of_underground
Mod Keys
Fields
These keys provide information about content from other mods.
NOTE: They are completely safe to use even when those mods are not enabled.
// Adolia
is_agent_adolia
god_is_adolia
// Bandits & Crime
is_agent_brigand
is_agent_lawbreaker
// Chandalor
god_is_chandalor
// Courtesan
is_agent_courtesan
// Deep Ones Plus
is_agent_fisherman
is_agent_drownedprophet
// Delver
is_agent_delver
// The Duelist
is_agent_duelist
// Escamrak
god_is_escamrak
// Ixthus
is_agent_gawain
god_is_ixthus
// Kalastrophe
god_is_kalastrophe
// Kishi
god_is_kishi
// MEKHANE
is_agent_maxwellist
is_agent_mechanicalchoir
is_agent_patriarch
god_is_mekhane
// Out Of Gods
is_agent_addict
is_agent_fakeupstart
is_agent_representative
god_is_lotus
god_is_muse
god_is_museconventional
god_is_outsider
god_is_paradoxis
// The Living Void
god_is_livingvoid
// The Otherworlder
is_agent_otherworlder
// The Rat King
is_agent_ratking
// The Redeemer
is_agent_redeemer
// The Whisperer
is_agent_whisperer
Properties
CREATE_SHIPWRECK
creates a new shipwreck, or adds to the existing shipwreck as if a new one had been made at that location. Only works on valid target locations.PLUNDER_SHIPWRECK
reduces the integrity of the shipwreck at the selected location, as if the wreck had been plundered.INCREASE_SHIPWRECK_ALLURE
increases the allure of the shipwreck.REINFORCE_SHIPRECK
halts natural decay of the shipwreck at the selected location, but also prevents the shipwrecks from being recovered.DESTROY_SHIPWRECK
destroys the shipwreck at the selected location.REVIVE_PERSON
is used by the Community Library's death-prevention pipeline, and should not be used outside of this context.