diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 05541d5..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -examples/TCA166's[[:space:]]history[[:space:]].zip filter=lfs diff=lfs merge=lfs -text -examples/TCA166's[[:space:]]history.zip filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 78aa822..65304cd 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ And here are the arguments that the utility accepts as of right now: 3. ```--game-path %s``` shows the program where to find your ck3 localization data so that the pages can be completely accurate. Assuming you have the game installed via Steam you can do the following ```--game-path "*YOUR STEAM PATH*/steamapps/common/Crusader Kings III/game"```. 4. ```--zip``` informs the program that the input file is a compressed archive 5. ```--no-vis``` disables all forms of visualisation within the output +6. ```--language``` toggles which localization files shall be used if the game path is provided +7. ```--output %s``` changes where the output folder will be located ## Output example diff --git a/examples/TCA166's history.zip b/examples/TCA166's history.zip index e08344e..0d77712 100644 Binary files a/examples/TCA166's history.zip and b/examples/TCA166's history.zip differ diff --git a/src/main.rs b/src/main.rs index 02ce9e1..48b0ece 100644 --- a/src/main.rs +++ b/src/main.rs @@ -255,7 +255,9 @@ fn main() { let r = i.to_object(); for d in r.get_obj_iter(){ let chr = d.1.as_object(); - game_state.add_character(chr.unwrap()); + if chr.is_some(){ + game_state.add_character(chr.unwrap()); + } } } "vassal_contracts" => {