Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add vanilla tech tree #37

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

trym-b
Copy link
Collaborator

@trym-b trym-b commented Mar 28, 2024

Motivation

To prepare for adding a pre-1836 tech tree, the
technologies that are used implicitly by the mod
should be explicitly added. This will make it
easier to see what changes are added when new
technologies are added.

Changes

Vanilla technologies in 10_production.txt,
20_military.txt and 30_society.txt are simply
overwritten. This is to avoid later upstream
changes breaks the mod.

This change also fixes the following error:

[jomini_script_system.cpp:262]: Script system
error!
Error: has_journal_entry trigger [ Invalid
database object 'je_risorgimento' ]
Script location: file:
common/technology/technologies/30_society.txt
line: 668

Future work

  • Incorporate add new eras (1736-1836)
  • Incorporate the existing new technologies track etc, properly into this new structure

# Motivation

To prepare for adding a pre-1836 tech tree, the
technologies that are used implicitly by the mod
should be explicitly added. This will make it
easier to see what changes are added when new
technologies are added.

# Changes

Vanilla technologies in `10_production.txt`,
`20_military.txt` and `30_society.txt` are simply
overwritten. This is to avoid later upstream
changes breaks the mod.

This change also fixes the following error:

```
[jomini_script_system.cpp:262]: Script system
error!
Error: has_journal_entry trigger [ Invalid
database object 'je_risorgimento' ]
Script location: file:
common/technology/technologies/30_society.txt
line: 668
```

# Future work

* Incorporate add new eras (1736-1836)
* Incorporate the existing new technologies
  `track` etc, properly into this new structure
@AndHope AndHope merged commit 669d23e into main Mar 28, 2024
1 check passed
@AndHope AndHope deleted the refactor/add-current-tech-tree-to-mod branch March 28, 2024 12:10
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.

None yet

2 participants