Skip to content

Comments

First wave of EU5 support#313

Merged
amtep merged 15 commits intoamtep:mainfrom
kaiser-chris:feature/eu5
Feb 20, 2026
Merged

First wave of EU5 support#313
amtep merged 15 commits intoamtep:mainfrom
kaiser-chris:feature/eu5

Conversation

@kaiser-chris
Copy link
Contributor

No description provided.

Copy link
Owner

@amtep amtep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some style issues but nothing to prevent merging :)

#[cfg(feature = "vic3")] MobilizationOption,
#[cfg(feature = "vic3")] MobilizationOptionGroup,
#[cfg(feature = "vic3")] ModifierTypeDefinition,
#[cfg(any(feature = "vic3", feature = "eu5"))] ModifierTypeDefinition,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This item and its path should be moved to the shared items section

#[cfg(feature = "vic3")]
Item::ModifierTypeDefinition => "common/modifier_type_definitions/",
#[cfg(any(feature = "vic3", feature = "eu5"))]
Item::ModifierTypeDefinition => match Game::game() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The match isn't needed since both paths are the same

#[cfg(feature = "ck3")] BuildingFlag,
#[cfg(feature = "ck3")] BuildingGfx,
#[cfg(feature = "ck3")] CasusBelli,
#[cfg(any(feature = "ck3", feature = "eu5"))] CasusBelli,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This item and its path should be moved to the shared section

Item::BuildingCategory => "common/building_categories/",
#[cfg(feature = "eu5")]
Item::PopType => "common/pop_types/",
Item::ArtistType => "common/artist_types/",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to keep these sections sorted alphabetically

@amtep amtep merged commit 42f9c3f into amtep:main Feb 20, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants