Hi guys,
Full disclaimer: I'm new to modding Paradox games
As it seems at the moment, if I make a mod which changes 00_tile_blockers.txt and another guy also changes this same file with his mod, our mods would be incompatible? Even though I add 2 more tile blockers and he changes the tile blockers already present.
Could we load mods in order? (append if parameter is new, replace if different, kind of like modifying a HashMap?).
Ideally we'd never change the original files.
If I have the following:
Original in 00_tile_blockers.txt
MOD 1 in MOD1_tile_blockers.txt
and MOD 2 in MOD2_tile_blockers.txt
I'd expect that if loaded in Original -> MOD 1 -> MOD 2 order, I'd end up with
Full disclaimer: I'm new to modding Paradox games
As it seems at the moment, if I make a mod which changes 00_tile_blockers.txt and another guy also changes this same file with his mod, our mods would be incompatible? Even though I add 2 more tile blockers and he changes the tile blockers already present.
Could we load mods in order? (append if parameter is new, replace if different, kind of like modifying a HashMap?).
Ideally we'd never change the original files.
If I have the following:
Original in 00_tile_blockers.txt
Code:
tb_mountain_range = {
time = 100
cost = {
energy = 100
minerals = 100
}
# ...
prerequisites = { "tech_tb_mountain_range" }
}
tb_active_volcano = {
time = 100
cost = {
energy = 100
minerals = 100
}
# ...
prerequisites = { "tech_tb_volcano" }
}
MOD 1 in MOD1_tile_blockers.txt
Code:
tb_mountain_range = {
time = 100
cost = {
energy = 0 #Destroying a mount should give you a bunch of minerals!
minerals = 200 #But destroying is probably energy intensive
}
# ...
prerequisites = { "tech_tb_mountain_range" }
}
tb_active_volcano = {
time = 100
cost = {
energy = 0 #Destroying a volcano should give you a bunch of minerals!
minerals = 50 #And you can generate some energy form the heat to power your destruction!
}
# ...
prerequisites = { "tech_tb_volcano" }
}
and MOD 2 in MOD2_tile_blockers.txt
Code:
tb_mountain_range = {
time = 100
cost = {
energy = 100
minerals = 100
}
# ...
prerequisites = { "tech_tb_mountain_range" }
}
tb_new_tile_blocker = {
time = 100
cost = {
energy = 100
minerals = 200
}
# ...
prerequisites = { "tech_tb_new_tile_blocker_remover" }
}
I'd expect that if loaded in Original -> MOD 1 -> MOD 2 order, I'd end up with
Code:
tb_mountain_range = { #From MOD2 (MOD1 replaced original and then MOD2 replaced MOD1)
time = 100
cost = {
energy = 100
minerals = 100
}
# ...
prerequisites = { "tech_tb_mountain_range" }
}
tb_active_volcano = { #From MOD1 (MOD1 replaced original)
time = 100
cost = {
energy = 0 #Destroying a volcano should give you a bunch of minerals!
minerals = 50 #And you can generate some energy form the heat to power your destruction!
}
# ...
prerequisites = { "tech_tb_volcano" }
}
tb_new_tile_blocker = { #From MOD2 (MOD2 appended to original file)
time = 100
cost = {
energy = 100
minerals = 200
}
# ...
prerequisites = { "tech_tb_new_tile_blocker_remover" }
}
Last edited: