Crusader Kings II

Crusader Kings II

Not enough ratings
Expanded Decisions: Character Search Helper
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
13.434 KB
6 Sep @ 11:29am
19 Oct @ 3:34am
4 Change Notes ( view )

Subscribe to download
Expanded Decisions: Character Search Helper

In 5 collections by jonjowett
Required Mods for PDXRPTG games on "CK2 Multiplayer" Discord
9 items
Expanded Decisions Mod Family - Compatible with the base game
19 items
Expanded Decisions Mod Family - Total Compatibility
7 items
jonjowett's Modlist - Single Player, Base Game
44 items
jonjowett's Modlist - Single Player, PDXRPTG
13 items
Description
Summary:

This mod adds dynamic traits to characters, making it easier to search for them using the in-game "character finder".

The specific trait names allow you to perform wide searches with simple queries. (Eg: "CSH-V" for everyone with >=300 gold.)

You can turn off these traits temporarily via an intrigue menu decision. (Eg: if you want to avoid clutter or increase performance.) (NB: In multiplayer games, only the host can do this.)

For performance reasons, these traits are gradually updated once per year per character. If necessary, you can force a global update via an intrigue menu decision. (NB: In multiplayer games, only the host can do this.)



Searchable Traits:
NB: To avoid cluttering your own character's profile, these custom traits will not be added to any human players.
Foes
  • The "CSH-Foe" trait is added to all characters who are "foes" (ie. valid duelling targets) of a human player.
    • (Because sometimes you want a duel opponent, so you can increase your skill, but you can't locate any valid targets. Eg: If you have few/no rivals.)
  • Multiplayer support: The trait is only visible if the character is your foe. (Your fellow players' foes will not show up in search results.)
Wealth
  • Added to all characters who have more than a trivial amount of cash.
  • Specific thresholds:
    • "CSH-Rich" : 100-300 gold
    • "CSH-VRich" : 300-1k gold
    • "CSH-VVRich" : 1k-3k gold
    • "CSH-VVVRich" : 3k-10k gold
    • "CSH-VVVVRich" : >10k gold
Artifacts
  • "CSH-Q..." traits are added to all characters who have an artifact of the specified quality.
    • (Eg: A character with an artifact of quality 3 will have the "CSH-Q3" trait.)
  • Intrigue menu decisions allow you to hide these traits if you already own the artifact in question.
    • (IE: Since it's often pointless to own more than one of any artifact, you can use the intrigue menu filters in conjunction with the "CSH-Q..." traits to locate artifacts which you do not already own.)
  • Supports artifacts up to quality 9 (ie. granular support for most modded artifacts)
    • (Owners of artifacts with quality >= 9 receive the "CSH-Q9" trait - ie. extremely high-quality modded artifacts are supported, but they cannot be differentiated.)
Compatibility/Impact:
The aim of the "Expanded Decisions" mod family is to be as compatible as possible with vanilla CK2 (and other mods), and to avoid making the game easier.
  • Required CK2 version: 3.3.5.1
  • Achievement compatible: No
  • Safe to add to existing game: Yes
  • Safe to remove from existing game: Yes
  • Changes to vanilla files: None
  • Mod compatibility: Should be compatible with all other mods
  • Changes to AI behaviour: None
  • Decrease in game difficulty: Minor
  • Localisation: English only
  • Mod development status: Complete
    • New searchable traits may be added in the future, if they seem like a good idea.
    • I am not an artist. If the trait icons bother you, and you want to provide better ones, let me know!
Other Versions / Alternate Download / Reuse:
  • All of my CK2 mods are version-controlled via a Github repository[github.com] (eg. if you want earlier/beta versions of any of my mods).
  • I also publish a zip version[github.com] of this mod on Github.
  • All of my mods are published on Github under the MIT license, and I'm following the same logic here on the workshop. Essentially, you're welcome to reuse my mods in any way you wish as long as you provide attribution (eg. credit and/or a link).
5 Comments
jonjowett  [author] 9 Sep @ 4:15am 
Excellent, thanks :-)
Stengaardian 8 Sep @ 4:54pm 
I don't know which one did it, or if i were just dumb before, but today it worked like a charm. Awesome mod! :D
jonjowett  [author] 7 Sep @ 1:42pm 
I couldn't see any obvious problems with the code. (random=no is set everywhere, so it shouldn't be given to random characters on startup/event; and the logic assigning the traits is extremely simple.)

However, just in case there is some undocumented problem with the "wealth" condition, I rewrote the comparisons in pre-2.8 style. (There's an outside chance that "wealth" works properly with the ">" operator but not the "<" operator, and that this hasn't yet been noticed by the community.)

I also rewrote the logic so that no trait will be assigned if the game engine has a problem with ordinality of numbers. (Previously, I assumed that "wealth is NOT less than 10000" means "wealth is greater than or equal to 10000". This assumption is no longer present: the >=10000 test is now explicit.)

Hopefully one of these fixes will solve the problem :-)
jonjowett  [author] 7 Sep @ 1:12pm 
That's odd. Does it persist after you do a manual update (via intrigue menu decision)?
Stengaardian 7 Sep @ 12:33pm 
For me this seems to add the wealth traits rather randomly. For example it claims that a widow with 3.7 wealth to he name is very very very very rich.