Skip to content

Commit

Permalink
Add sugar/fruits to wheat farms
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsenii Venherak committed Feb 6, 2025
1 parent 54b5fe2 commit b830a0a
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 72 deletions.
1 change: 1 addition & 0 deletions common/buildings/02_agro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ building_wheat_farm = {
production_method_groups = {
pmg_base_building_wheat_farm
pmg_harvesting_process_wheat_farm
pmg_secondary_building_wheat_farm
}

required_construction = construction_cost_low
Expand Down
17 changes: 3 additions & 14 deletions common/history/buildings/02_east_europe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@
add_ownership={
country={
country="c:RUS"
levels=10
levels=20
}
}
subsidized=yes
Expand Down Expand Up @@ -955,7 +955,7 @@
add_ownership={
country={
country="c:RUS"
levels=20
levels=25
}
}
subsidized=yes
Expand Down Expand Up @@ -5301,17 +5301,6 @@
}
s:STATE_PODOLIA={
region_state:RUS={
create_building={
building="building_sugar_plantation"
add_ownership={
country={
country="c:RUS"
levels=40
}
}
reserves=1
activate_production_methods={ "pm_default_building_sugar_plantation" "pm_manual_harvesting_plantation" "pm_no_transport_plantation" }
}
create_building={
building="building_food_industry"
add_ownership={
Expand Down Expand Up @@ -5341,7 +5330,7 @@
add_ownership={
country={
country="c:RUS"
levels=15
levels=30
}
}
subsidized=yes
Expand Down
66 changes: 10 additions & 56 deletions common/production_method_groups/02_agro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ pmg_harvesting_process_rye_farm = {
}
}

pmg_ownership_rye_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_farm
pm_publicly_traded_farm
pm_government_run_farm
pm_worker_cooperatives_farm
}
}

# Wheat Farms
pmg_base_building_wheat_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
Expand All @@ -49,6 +39,16 @@ pmg_base_building_wheat_farm = {
}
}


pmg_secondary_building_wheat_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_refining.dds"
production_methods = {
pm_no_secondary
pm_citrus_orchards
}
}


pmg_harvesting_process_wheat_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
Expand All @@ -60,15 +60,6 @@ pmg_harvesting_process_wheat_farm = {
}
}

pmg_ownership_wheat_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_farm
pm_publicly_traded_farm
pm_government_run_farm
pm_worker_cooperatives_farm
}
}

# Rice Farms
pmg_base_building_rice_farm = {
Expand Down Expand Up @@ -96,15 +87,6 @@ pmg_harvesting_process_rice_farm = {
}
}

pmg_ownership_rice_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_farm
pm_publicly_traded_farm
pm_government_run_farm
pm_worker_cooperatives_farm
}
}

# Maize Farms
pmg_base_building_maize_farm = {
Expand Down Expand Up @@ -132,16 +114,6 @@ pmg_harvesting_process_maize_farm = {
}
}

pmg_ownership_maize_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_farm
pm_publicly_traded_farm
pm_government_run_farm
pm_worker_cooperatives_farm
}
}

# Millet Farms
pmg_base_building_millet_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
Expand All @@ -168,15 +140,6 @@ pmg_harvesting_process_millet_farm = {
}
}

pmg_ownership_millet_farm = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_farm
pm_publicly_traded_farm
pm_government_run_farm
pm_worker_cooperatives_farm
}
}

# Livestock Ranches
pmg_base_slaughtering_livestock_ranch = {
Expand Down Expand Up @@ -216,12 +179,3 @@ pmg_packaging_livestock_ranch = {
}
}

pmg_ownership_livestock_ranch = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_farm
pm_publicly_traded_farm
pm_government_run_farm
pm_worker_cooperatives_farm
}
}
16 changes: 16 additions & 0 deletions common/production_methods/02_agro.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,22 @@ pm_seeds = {
}
}

pm_no_secondary = {
texture = "gfx/interface/icons/production_method_icons/no_orchards.dds"
}

pm_citrus_orchards = {
texture = "gfx/interface/icons/production_method_icons/orchards.dds"

building_modifiers = {
workforce_scaled = {
goods_output_grain_add = -10
goods_output_fruit_add = 5
goods_output_sugar_add = 5
}
}
}

# Rice PMs
pm_simple_farming_building_rice_farm = {
texture = "gfx/interface/icons/production_method_icons/agriculture/simple_farming_base.dds"
Expand Down
2 changes: 1 addition & 1 deletion common/scripted_effects/cwp_onaction_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ onaction_urbanization_modifier = {
}
add = -0.75 # Shifts the value to be between -0.75 and 0.25
multiply = 150 # Scales up value to be between -112.5 and 37.5
min = -75
min = 0
max = 25
round = yes # Modifier ends up being between 75% and -25% birth rate
}
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion localization/english/CWP/CWP_inventions_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@
intravenous_anesthetic_desc: "An anesthetic that is administered through a vein, inducing a state of unconsciousness or sedation for medical procedures and surgeries."

invitro_fertilization: "Invitro Fertilization"
invitro_fertilization_desc: "A medical procedure that involves fertilizing an egg with sperm outside the body, commonly used to treat infertility and assist with pregnancy in cases of reproductive disorders."
invitro_fertilization_desc: "A medical procedure that involves fertilizing an egg with sperm outside the body, commonly used to treat in fertility and assist with pregnancy in cases of reproductive disorders."

iot_sensors: "Iot Sensors"
iot_sensors_desc: "Sensors that are embedded in objects and connected to the internet, allowing for remote monitoring and control of devices and systems, with applications in smart homes, healthcare, and industrial automation."
Expand Down

0 comments on commit b830a0a

Please sign in to comment.