rm CAR, add simple patching makefle

This commit is contained in:
Aleksey Chubukov 2023-11-08 23:40:04 +04:00
parent 0cd7579510
commit a0be653c9b
5 changed files with 30 additions and 98 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.directory

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
all: patch/tree/map/definition.csv
VANILLA_SRC ?= ../vanilla
patch/tree:
mkdir $@
patch/tree/map: patch/tree
mkdir $@
patch/work/map_definition.csv: $(VANILLA_SRC)/map/definition.csv
cp -v $< $@
patch/tree/map/definition.csv: patch/work/map_definition.csv patch/patches/map_definition.patch | patch/tree/map
cp -v $< $@
patch -u --binary -N $^

View File

@ -1,98 +0,0 @@
capital = 660
# Starting tech
set_technology = {
infantry_weapons = 1
}
set_convoys = 0
recruit_character = CAR_awt
recruit_character = CAR_acd2
recruit_character = CAR_nt
recruit_character = CAR_aco2
recruit_character = CAR_acas
recruit_character = CAR_acr
recruit_character = CAR_mt
recruit_character = CAR_stc
recruit_character = CAR_aa2
recruit_character = CAR_ncm
recruit_character = CAR_communist_guy
recruit_character = CAR_ncs
recruit_character = CAR_pot
recruit_character = CAR_nccr
recruit_character = CAR_fascist_guy
recruit_character = CAR_coi
recruit_character = CAR_ai2
recruit_character = CAR_democratic_guy
recruit_character = CAR_ar
recruit_character = CAR_acgs
1939.1.1 = {
#generic focuses
complete_national_focus = army_effort
complete_national_focus = equipment_effort
complete_national_focus = motorization_effort
complete_national_focus = aviation_effort
complete_national_focus = naval_effort
complete_national_focus = large_navy
complete_national_focus = industrial_effort
complete_national_focus = construction_effort
complete_national_focus = production_effort
set_technology = {
tech_support = 1
tech_recon = 1
support_weapons = 1
gw_artillery = 1
#doctrines
air_superiority = 1
grand_battle_plan = 1
trench_warfare = 1
fleet_in_being = 1
battlefleet_concentration = 1
convoy_sailing = 1
#electronics
electronic_mechanical_engineering = 1
radio = 1
radio_detection = 1
mechanical_computing = 1
computing_machine = 1
#industry
basic_machine_tools = 1
improved_machine_tools = 1
advanced_machine_tools = 1
fuel_silos = 1
construction1 = 1
construction2 = 1
dispersed_industry = 1
dispersed_industry2 = 1
}
}
set_politics = {
ruling_party = neutrality
last_election = "1936.1.1"
election_frequency = 48
elections_allowed = no
}
set_popularities = {
democratic = 25
fascism = 20
communism = 5
neutrality = 50
}
1939.1.1 = {
set_party_name = {
ideology = democratic
long_name = CAR_democratic_party_long
name = CAR_democratic_party
}
}

2
patch/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/work
/tree

View File

@ -0,0 +1,13 @@
--- patch/work/definition.csv.orig 2023-11-08 22:47:20.217836132 +0400
+++ patch/work/definition.csv.edit 2023-11-08 22:49:01.142836928 +0400
@@ -1083,9 +1083,9 @@
1082;5;78;95;land;false;plains;6
1083;5;78;145;land;false;forest;6
1084;5;81;5;land;false;plains;6
1085;5;81;60;land;true;jungle;4
-1086;5;81;210;land;false;desert;7
+1086;5;81;210;land;false;urban;7
1087;5;84;25;land;false;plains;6
1088;5;84;70;land;true;plains;7
1089;5;84;175;land;true;hills;6
1090;5;87;35;land;false;mountain;1