Skip to content

Commit

Permalink
Update units, gfx, interface & map/adjacency_rules.txt (#1662)
Browse files Browse the repository at this point in the history
* Finish updating units & interface

* Update countrypoliticsview.gfx

* Update adjacency_rules.txt
  • Loading branch information
cetvrtak authored Nov 15, 2023
1 parent 31a68cf commit cfe8e5d
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions data/blank_mod/common/units/names_ships/ICE_ship_names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ default = {
GFX_light_plane_4_medium
}
}

pool = {
models = {
light_plane_entity
}
}

}
cv_small_plane_airframe = {
pool = {
Expand All @@ -24,6 +31,11 @@ default = {
GFX_light_plane_6_medium
}
}
pool = {
models = {
light_plane_entity
}
}
}
medium_plane_airframe = {
pool = {
Expand All @@ -38,6 +50,11 @@ default = {
GFX_medium_plane_1_medium
}
}
pool = {
models = {
medium_plane_entity
}
}
}
large_plane_airframe = {
pool = {
Expand All @@ -49,5 +66,10 @@ default = {
GFX_iw_large_airframe_medium
}
}
pool = {
models = {
heavy_plane_entity
}
}
}
}
10 changes: 10 additions & 0 deletions data/blank_mod/interface/countrypoliticsview.gfx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ spriteTypes = {
name = "GFX_autonomy_personal_union_icon"
textureFile = "gfx/interface/autonomy/autonomy_personal_union_puppet.dds"
}

spriteType = {
name = "GFX_autonomy_aat_defense_council_member_icon"
textureFile = "gfx/interface/autonomy/autonomy_colony_icon.dds"
}

#-------------

Expand Down Expand Up @@ -424,6 +429,11 @@ spriteTypes = {
noOfFrames = 2
}

spriteType = {
name = "GFX_idea_entry_bg_4"
texturefile = "gfx/interface/idea_entry_bg_4.dds"
}

spriteType = {
name = "GFX_pol_factions_strip"
texturefile = "gfx\\interface\\pol_factions_strip.tga"
Expand Down
32 changes: 16 additions & 16 deletions data/blank_mod/map/adjacency_rules.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Adjacency rules determine if an army, navy or trade can pass through the adjacency (e.g. a canal or strait).
# Adjacency rules determine if an army, navy or trade can pass through the adjacency (e.g. a canal or strait).
#
# If two countries at war control provinces in the adjacency it is considered contested.
# The optional triggers is_enemy, is_friend and is_neutral are evaluated in order and if one evaluates to true the corresponding rule is used.
# If is_enemy and is_friend evaluates to false the neutral rule is used. In this case the is_neutral trigger will not be evaluated at all.
# If is_friend and is_neutral evaluates to false the enemy rule is used.
# If is_enemy and is_neutral evaluates to false the friend rule is used.
# If any adjacency province controller is at war with the country the enemy rule is used, unless is_enemy evaluates to false, then the neutral rule is used.
# If any adjacency province controller is an ally of is giving military access to the country the friend rule is used, unless is_friend evaluates to false, then the neutral rule is used.
# Otherwise the neutral rule is used, unless is_neutral evaluates to false, then the enemy rule is used.
# If two countries at war control provinces in the adjacency it is considered contested.
# The optional triggers is_enemy, is_friend and is_neutral are evaluated in order and if one evaluates to true the corresponding rule is used.
# If is_enemy and is_friend evaluates to false the neutral rule is used. In this case the is_neutral trigger will not be evaluated at all.
# If is_friend and is_neutral evaluates to false the enemy rule is used.
# If is_enemy and is_neutral evaluates to false the friend rule is used.
# If any adjacency province controller is at war with the country the enemy rule is used, unless is_enemy evaluates to false, then the neutral rule is used.
# If any adjacency province controller is an ally of is giving military access to the country the friend rule is used, unless is_friend evaluates to false, then the neutral rule is used.
# Otherwise the neutral rule is used, unless is_neutral evaluates to false, then the enemy rule is used.
#
# The 'name' property is how you refer to the rule in adjacencies.csv
# The 'name' property is how you refer to the rule in adjacencies.csv

#Suez Canal
adjacency_rule =
Expand Down Expand Up @@ -137,8 +137,8 @@ adjacency_rule =

required_provinces = { 6287 3277 3325 3260 394 }

icon = 2455
offset = { -26 0 -13 }
icon = 2431
offset = { -2 0 -7 }
}

#Panama Canal
Expand Down Expand Up @@ -314,15 +314,15 @@ adjacency_rule =
trade = yes
}

required_provinces = { 11366 317 3231 }
required_provinces = { 317 3231 3368 6257 6389 }

is_disabled = {
has_global_flag = KIEL_CANAL_UNBUILT
tooltip = canal_unbuilt_tt
}

icon = 11366
offset = { 5 0 -6 }
icon = 6389
offset = { -9 0 2 }
}
#Strait of Hormuz
adjacency_rule =
Expand Down Expand Up @@ -402,4 +402,4 @@ adjacency_rule =

icon = 6979
offset = { 9 0 6 }
}
}

0 comments on commit cfe8e5d

Please sign in to comment.