移植旧世界商品
行动本版本变更

移植旧世界商品

move_ow_good_to_new_locationin_game/common/generic_actions/columbian_exchange.txt:392

我们可以在美洲的一处治下地点移植一种传统商品进行生产,由于当地人不喜欢我们这样做,我们需要从头开始发展原产的适配建筑

需要极地气候select trigger 4炎热干旱气候select trigger 4寒冷干旱气候select trigger 4大陆性气候select trigger 4地中海气候select trigger 4海洋性气候select trigger 4亚热带气候select trigger 4热带气候select trigger 4蜂蜡商品select trigger 4丁香商品select trigger 4咖啡商品select trigger 4棉花商品select trigger 4

定义in_game/common/generic_actions/columbian_exchange.txt:392

393type = situation
395ai_tick = monthly
396ai_tick_frequency = 60
397automation_tick = never
398automation_tick_frequency = 12
400maximum_targets_in_one_tick = 20
401disallowed_duplicates_of_targets_for_ai = {
target_location
}
403potential = {
}
406allow = {
407scope:actor ?= {
408any_market_present_in_country = {
409has_old_world_goods_in_market = yes
}
}
}
414price = price:move_good_to_new_location
416select_trigger = {
417looking_for_a = situation
418target_flag = recipient
419name = "choose_situation" 选择局势:
420column = {
420data = name
}
421visible = {
423situation_is_active = yes
}
}
428select_trigger = {
429looking_for_a = goods
430target_flag = target_good
431ai_interaction_source_list = {
432every_goods = {
433limit = {
434has_origin_in_old_world = yes
}
436save_temporary_scope_as = temp_good
437scope:actor = {
438random_market_present_in_country = {
439limit = {
440goods_demand_in_market(scope:temp_good) > "goods_supply_in_market(scope:temp_good)"
}
442scope:temp_good = {
443add_to_list = source
445if = {
446limit = {
447is_food = yes
}
449add_to_list = source
}
}
}
}
}
}
456name = "spread_select_goods" 选择要移植的商品
457none_available_msg_key = "move_ow_good_to_new_location_no_available_good"
458column = {
458data = name
}
459visible = {
460has_origin_in_old_world = yes
}
}
465select_trigger = {
466looking_for_a = region
467source = actor
468target_flag = target_region
469name = "choose_a_region" 选择一个地区
470none_available_msg_key = "no_regions_available"
471column = {
471data = name
}
472visible = {
473OR = {
474continent = continent:america
475continent = continent:oceania
476this = region:macaronesia_region
}
478scope:actor = {
479owns_or_has_subject_in = prev
}
}
}
484select_trigger = {
485looking_for_a = location
486source = target_region
487source_flags = only_actual_locations
488target_flag = target_location
489ai_interaction_source_list = {
490scope:target_region = {
491every_area_in_region = {
492limit = {
493scope:actor = {
493owns_or_has_subject_in = prev
}
}
495every_province_definition_in_area = {
496limit = {
497scope:actor = {
497owns_or_has_subject_in = prev
}
499raw_material_amount(scope:target_good) < 2
}
501every_ownable_location_in_province_definition = {
502limit = {
503owner ?= {
504is_subject_or_below_of = scope:actor
}
507NOT = {
507raw_material ?= scope:target_good
}
}
509add_to_list = source
}
}
}
}
}
515name = "choose_location" 选择一个地点
516none_available_msg_key = "move_ow_good_to_new_location_no_available_location"
517column = {
517data = name
}
518column = {
518data = raw_material
}
519visible = {
520is_ownable = yes
521has_owner = yes
522OR = {
523owner ?= scope:actor
524top_owner ?= scope:actor
}
526OR = {
527continent = continent:america
528continent = continent:oceania
529region = region:macaronesia_region
}
532trigger_if = {
533limit = {
534scope:target_good = goods:cotton
}
536NOT = {
536raw_material ?= goods:cotton
}
537NOR = {
538vegetation = desert
539vegetation = jungle
540vegetation = forest
}
542OR = {
543topography = flatland
}
545OR = {
546climate = subtropical
547climate = tropical
548climate = arid
549climate = cold_arid
550climate = mediterranean
}
}
554trigger_if = {
555limit = {
556scope:target_good = goods:wheat
}
558NOT = {
558raw_material ?= goods:wheat
}
559NOR = {
560vegetation = desert
561vegetation = jungle
562vegetation = forest
}
564OR = {
565topography = flatland
566topography = plateau
}
568OR = {
569climate = subtropical
570climate = continental
571climate = mediterranean
572climate = oceanic
573climate = cold_arid
}
}
577trigger_if = {
578limit = {
579scope:target_good = goods:millet
}
581NOT = {
581raw_material ?= goods:millet
}
582NOR = {
583vegetation = desert
584vegetation = jungle
585vegetation = forest
}
587OR = {
588topography = flatland
589topography = hills
590topography = plateau
}
592OR = {}
}
603trigger_if = {
604limit = {
605scope:target_good = goods:olives
}
607NOT = {
607raw_material ?= goods:olives
}
608NOR = {
609vegetation = desert
610vegetation = jungle
611vegetation = forest
}
613OR = {
614topography = flatland
615topography = hills
616topography = plateau
}
618OR = {
619climate = mediterranean
620climate = cold_arid
}
}
624trigger_if = {
625limit = {
626scope:target_good = goods:coffee
}
628NOT = {
628raw_material ?= goods:coffee
}
629OR = {
630vegetation = woods
631vegetation = jungle
632vegetation = forest
}
634OR = {
635topography = flatland
636topography = hills
637topography = plateau
638topography = mountains
}
640OR = {
641climate = subtropical
642climate = tropical
}
644NOR = {
645region = region:east_coast_region
646region = region:great_plains_region
647region = region:caribbean_region
}
}
651trigger_if = {
652limit = {
653scope:target_good = goods:rice
}
655NOT = {
655raw_material ?= goods:rice
}
656OR = {
657vegetation = farmland
658vegetation = grasslands
659vegetation = woods
660vegetation = jungle
661vegetation = forest
}
663OR = {
664topography = flatland
665topography = wetlands
}
667OR = {
668climate = subtropical
669climate = tropical
}
671NOR = {
672region = region:east_coast_region
}
}
676trigger_if = {
677limit = {
678scope:target_good = goods:sugar
}
680NOT = {
680raw_material ?= goods:sugar
}
681NOR = {
682vegetation = desert
683vegetation = sparse
}
685OR = {
686topography = plateau
687topography = flatland
688topography = wetlands
}
690OR = {
691climate = tropical
692climate = subtropical
693climate = mediterranean
}
}
697trigger_if = {
698limit = {
699scope:target_good = goods:wine
}
701NOT = {
701raw_material ?= goods:wine
}
702NOR = {
703vegetation = jungle
704vegetation = forest
}
706OR = {
707topography = plateau
708topography = flatland
709topography = hills
710topography = mountains
}
712OR = {
713climate = cold_arid
714climate = mediterranean
715climate = oceanic
716climate = continental
}
718NOR = {
719region = region:great_plains_region
720region = region:caribbean_region
}
}
724trigger_if = {
725limit = {
726scope:target_good = goods:horses
}
728NOT = {
728raw_material ?= goods:horses
}
729NOR = {
730vegetation = jungle
731vegetation = forest
}
733OR = {
734topography = plateau
735topography = flatland
736topography = hills
}
738OR = {
739climate = cold_arid
740climate = arid
741climate = mediterranean
742climate = oceanic
743climate = continental
744climate = subtropical
}
}
748trigger_if = {
749limit = {
750scope:target_good = goods:wool
}
752NOT = {
752raw_material ?= goods:wool
}
753NOR = {
754vegetation = jungle
755vegetation = desert
}
757OR = {
758topography = flatland
759topography = hills
760topography = plateau
}
762OR = {
763climate = cold_arid
764climate = arid
765climate = mediterranean
766climate = oceanic
767climate = continental
768climate = subtropical
}
770NOR = {
771climate = arctic
772climate = tropical
}
}
776trigger_if = {
777limit = {
778scope:target_good = goods:livestock
}
780NOT = {
780raw_material ?= goods:livestock
}
781NOR = {
782vegetation = jungle
783vegetation = forest
784vegetation = woods
}
786OR = {
787topography = plateau
788topography = flatland
789topography = hills
}
791NOR = {
792climate = arctic
}
}
796trigger_if = {
797limit = {
798scope:target_good = goods:saffron
}
800NOT = {
800raw_material ?= goods:saffron
}
801OR = {
802vegetation = sparse
803vegetation = grasslands
804vegetation = farmland
}
806OR = {
807topography = plateau
808topography = flatland
809topography = hills
}
811OR = {
812climate = arid
813climate = cold_arid
814climate = mediterranean
}
}
818trigger_if = {
819limit = {
820scope:target_good = goods:pepper
}
822NOT = {
822raw_material ?= goods:pepper
}
823OR = {
824vegetation = jungle
825vegetation = woods
826vegetation = forest
}
828OR = {
829topography = plateau
830topography = flatland
831topography = hills
}
833climate = tropical
}
836trigger_if = {
837limit = {
838scope:target_good = goods:cloves
}
840NOT = {
840raw_material ?= goods:cloves
}
841vegetation = jungle
842OR = {
843topography = plateau
844topography = flatland
845topography = hills
}
847climate = tropical
}
850trigger_if = {
851limit = {
852scope:target_good = goods:beeswax
}
854NOT = {
854raw_material ?= goods:beeswax
}
855NOR = {
856vegetation = desert
}
858NOR = {
859climate = arctic
}
}
}
}
865effect = {
866scope:target_location ?= {
867change_max_raw_material_workers = {
868value = rgo_workers
869subtract = 1
870min = 0
871multiply = -1
}
873change_prosperity = prosperity_weak_penalty (-0.1)
874change_raw_material = scope:target_good
}
}
878ai_will_do = {
881add = 200
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明