Skip to content

Alternative IMP Background Selection#296

Merged
kitty624 merged 10 commits into
1dot13:masterfrom
kitty624:Backgrounds
Mar 19, 2024
Merged

Alternative IMP Background Selection#296
kitty624 merged 10 commits into
1dot13:masterfrom
kitty624:Backgrounds

Conversation

@kitty624
Copy link
Copy Markdown
Contributor

  • two new options in ja2options.ini
    ALTERNATIVE IMP CREATION
  • adds new additional backgrounds, exclusive to this option
  • which IMP backgrounds will be available at selection is determined by previously made choices for skills, character traits and disablities
  • if a tag in background is contradicting to content of skill/character/disability, it won't be shown at selection
  • what's considered contradicting is based on what's been found in code for conntent of skill/character/disability
  • i.e. HeatIntolerant adds a penalty for desert and tropical sectors, so don't show backgrounds that add bonus for those sectortypes instead
  • a new tag <alt_impcreation, has been added to backgrounds for this as well
  • if that tag is found, it will be considered as additional IMP background exclusive to the option

REDUCED IMP CREATION

  • same as above, but this time only the new additional backgrounds will be avaialable at selection
  • same rules for possible restrictions to be shown

ALTERNATIVE IMP CREATION is required for REDUCED IMP CREATION to work

For ja2options.ini, a new category, "Backgrounds" was created.
This will contain the two new options and the general option to enable backgrounds

Accompanying changes in gamedir:

INIEditorJA2Options.xml
ja2options.ini
backgrounds.xml

fixed checks for major and minor traits determining available IMP backgrounds

edited disability trait case HEAT INTOLERANT

added case DEAF at disability traits
- two new options in ja2options.ini
 ALTERNATIVE IMP CREATION
- adds new additional backgrounds, exclusive to this option
- which IMP backgrounds will be available at selection is determined by previously made choices for skills, character traits and disablities
- if a tag in background is contradicting to content of skill/character/disability, it won't be shown at selection
- what's considered contradicting is based on what's been found in code for conntent of skill/character/disability
- i.e. HeatIntolerant adds a penalty for desert and tropical sectors, so don't show backgrounds that add bonus for those sectortypes instead
- a new tag <alt_impcreation, has been added to backgrounds for this as well
- if that tag is found, it will be considered as additional IMP background exclusive to the option

REDUCED IMP CREATION
- same as above, but this time only the new additional backgrounds will be avaialable at selection
- same rules for possible restrictions to be shown

ALTERNATIVE IMP CREATION is required for REDUCED IMP CREATION to work

For ja2options.ini, a new category, "Backgrounds" was created.
This will contain the two new options and the general option to enable backgrounds

Accompanying changes in gamedir:

INIEditorJA2Options.xml
ja2options.ini
backgrounds.xml
@kitty624 kitty624 merged commit fad3a27 into 1dot13:master Mar 19, 2024
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.

1 participant