修改工厂
(接下来是修改工厂,这个比较讨厌,本人的思路是先把所有民用工厂军用工厂和造船厂都删掉,然后按照军用:民用,3:1的比例在内陆造工厂,海岸领地全是造船厂,地块空格在8以上的造工厂,8以下不造)
(删掉所有工厂)
option = {
name = "political.90.b"
every_owned_state = {
limit = {
is_core_of = THIS
}
remove_building = {
type = arms_factory
level = 25
}
remove_building = {
type = industrial_complex
level = 25
}
remove_building = {
type = dockyard
level = 25
}
}
}
(size的数从大至小11,9,7这样的排列可以完美的填满,科技升满工厂空格×2,所以12块空格造24个工厂)
option = {
name = "political.90.c"
#12 slots
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = dockyard
size > 11
}
}
add_building_construction = {
type = dockyard
level = 24
instant_build = yes
}
}
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = arms_factory
size > 11
}
}
add_building_construction = {
type = arms_factory
level = 15
instant_build = yes
}
add_building_construction = {
type = industrial_complex
level = 9
instant_build = yes
}
}
#10 slots
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = dockyard
size > 9
}
}
add_building_construction = {
type = dockyard
level = 20
instant_build = yes
}
}
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = arms_factory
size > 9
}
}
add_building_construction = {
type = arms_factory
level = 15
instant_build = yes
}
add_building_construction = {
type = industrial_complex
level = 5
instant_build = yes
}
}
#8 slots
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = dockyard
size > 7
}
}
add_building_construction = {
type = dockyard
level = 16
instant_build = yes
}
}
every_owned_state = {
limit = {
is_core_of = THIS
free_building_slots = {
building = arms_factory
size > 7
}
}
add_building_construction = {
type = arms_factory
level = 10
instant_build = yes
}
add_building_construction = {
type = industrial_complex
level = 6
instant_build = yes
}
}
}
}
(上面的事件港口设施的没做,港口设施必须要用地块代码一个个加,弄不出通用的方法)