diff --git a/common/species_archetypes/rg_species_archetypes.txt b/common/species_archetypes/rg_species_archetypes.txt new file mode 100644 index 0000000..f400f9e --- /dev/null +++ b/common/species_archetypes/rg_species_archetypes.txt @@ -0,0 +1,4 @@ +RG_MACHINE = { + species_trait_points = 10 + species_max_traits = 6 +} \ No newline at end of file diff --git a/common/species_classes/rg_species_classes.txt b/common/species_classes/rg_species_classes.txt index ac42802..5eae02f 100644 --- a/common/species_classes/rg_species_classes.txt +++ b/common/species_classes/rg_species_classes.txt @@ -27,4 +27,31 @@ GRAY_SPECIES = { } move_pop_sound_effect = "moving_pop_confirmation" +} + +RG_MACHINE = { + archetype = MACHINE + + playable = { always = no } + randomized = no + # possible = { always = yes } + # possible_secondary = { always = no text = SECONDARY_SPECIES_CLASS_INVALID } + + gender = no + use_climate_preference = no + portrait_modding = no + + leader_age_min = 2 + leader_age_max = 10 + + custom_portraits = { # use custom_portraits instead of portraits so we can put them after the custom_portraits above + portraits = { + "rg_machine_maid" + } + } + + graphical_culture = mammalian_01 + move_pop_sound_effect = "robot_pops_move" + + resources = {} } \ No newline at end of file diff --git a/common/traits/RG_machine_species_trait.txt b/common/traits/RG_machine_species_trait.txt new file mode 100644 index 0000000..a2d3836 --- /dev/null +++ b/common/traits/RG_machine_species_trait.txt @@ -0,0 +1,56 @@ +rg_machine_maid_trait = { + cost = { + base = 0 + } + # custom_tooltip = rg_machine_maid_trait_effect + initial = no + species_potential_add = { always = no } + species_possible_remove = { always = no } + species_possible_merge_add = { always = no } + species_possible_merge_remove = { always = no } + randomized = no + allowed_archetypes = { MACHINE } + sorting_priority = 20 + potential_crossbreeding_chance = 1.0 + + opposites = { + } + + assembling_modifier = { + planet_pop_assemblers_nanites_upkeep_add = 0.1 + } + + # 在灰风主人国家工作提供加成 + triggered_pop_modifier = { + potential = { + exists = owner + owner = { is_same_value = event_target:gray_owner } + } + planet_jobs_produces_mult = 1.1 + } + + ai_weight = { + weight = 0 + } + + assembly_score = { + modifier = { + add = 3 + from.owner = { is_same_value = event_target:gray_owner } + } + modifier = { + mult = 0 + from.owner = { + NOT = { + is_same_value = event_target:gray_owner + } + } + } + + + } + + slave_cost = { + energy = 1000 + } +} \ No newline at end of file diff --git a/events/z_RG_placeholder_event.txt b/events/z_RG_placeholder_event.txt index 88339e9..6498591 100644 --- a/events/z_RG_placeholder_event.txt +++ b/events/z_RG_placeholder_event.txt @@ -2,23 +2,23 @@ namespace = wg_affection # 3.9引用空事件崩溃问题占位 # 3.10已弃用 -country_event = { - id = wg_affection.30000 - title = wg_affection.30000.name - desc = wg_affection.30000.desc - is_triggered_only = yes - diplomatic = yes - show_sound = event_wg_wedding - custom_gui = wg_gray_commu_window - custom_gui_option = wg_gray_commu_option - - immediate = { - set_country_flag = married_gray - } - - option = { - name = wg_affection.30000.a - response_text = wg_affection.30000.response - change_variable = { which = rankpts value = 2 } - } -} \ No newline at end of file +# country_event = { +# id = wg_affection.30000 +# title = wg_affection.30000.name +# desc = wg_affection.30000.desc +# is_triggered_only = yes +# diplomatic = yes +# show_sound = event_wg_wedding +# custom_gui = wg_gray_commu_window +# custom_gui_option = wg_gray_commu_option +# +# immediate = { +# set_country_flag = married_gray +# } +# +# option = { +# name = wg_affection.30000.a +# response_text = wg_affection.30000.response +# change_variable = { which = rankpts value = 2 } +# } +# } \ No newline at end of file diff --git a/gfx/interface/icons/traits/rg_machine_maid_trait.dds b/gfx/interface/icons/traits/rg_machine_maid_trait.dds new file mode 100644 index 0000000..a362334 Binary files /dev/null and b/gfx/interface/icons/traits/rg_machine_maid_trait.dds differ diff --git a/gfx/models/portraits/Gray01.png b/gfx/models/portraits/mamaid01.png similarity index 100% rename from gfx/models/portraits/Gray01.png rename to gfx/models/portraits/mamaid01.png diff --git a/gfx/models/portraits/mamaid02.png b/gfx/models/portraits/mamaid02.png new file mode 100644 index 0000000..16331c4 Binary files /dev/null and b/gfx/models/portraits/mamaid02.png differ diff --git a/gfx/models/portraits/mamaid03.png b/gfx/models/portraits/mamaid03.png new file mode 100644 index 0000000..aaad710 Binary files /dev/null and b/gfx/models/portraits/mamaid03.png differ diff --git a/gfx/models/portraits/mamaid04.png b/gfx/models/portraits/mamaid04.png new file mode 100644 index 0000000..ed7f390 Binary files /dev/null and b/gfx/models/portraits/mamaid04.png differ diff --git a/gfx/models/portraits/mamaid05.png b/gfx/models/portraits/mamaid05.png new file mode 100644 index 0000000..6e64c54 Binary files /dev/null and b/gfx/models/portraits/mamaid05.png differ diff --git a/gfx/models/portraits/mamaid06.png b/gfx/models/portraits/mamaid06.png new file mode 100644 index 0000000..cf1be25 Binary files /dev/null and b/gfx/models/portraits/mamaid06.png differ diff --git a/gfx/models/portraits/mamaid07.png b/gfx/models/portraits/mamaid07.png new file mode 100644 index 0000000..f53b2a3 Binary files /dev/null and b/gfx/models/portraits/mamaid07.png differ diff --git a/gfx/models/portraits/mamaid08.png b/gfx/models/portraits/mamaid08.png new file mode 100644 index 0000000..96949fb Binary files /dev/null and b/gfx/models/portraits/mamaid08.png differ diff --git a/gfx/models/portraits/mamaid09.png b/gfx/models/portraits/mamaid09.png new file mode 100644 index 0000000..42cf7d1 Binary files /dev/null and b/gfx/models/portraits/mamaid09.png differ diff --git a/gfx/portraits/portraits/rg_portraits.txt b/gfx/portraits/portraits/rg_portraits.txt index dc16a45..d129a3f 100644 --- a/gfx/portraits/portraits/rg_portraits.txt +++ b/gfx/portraits/portraits/rg_portraits.txt @@ -2,10 +2,121 @@ portraits = { Gray = { texturefile = "gfx/models/portraits/Gray.png" } - Gray01 = { - texturefile = "gfx/models/portraits/Gray01.png" + rg_machine_maid01 = { + texturefile = "gfx/models/portraits/mamaid01.png" } - Gray02 = { - texturefile = "gfx/models/portraits/Gray02.png" + rg_machine_maid02 = { + texturefile = "gfx/models/portraits/mamaid02.png" + } + rg_machine_maid03 = { + texturefile = "gfx/models/portraits/mamaid03.png" + } + rg_machine_maid04 = { + texturefile = "gfx/models/portraits/mamaid04.png" + } + rg_machine_maid05 = { + texturefile = "gfx/models/portraits/mamaid05.png" + } + rg_machine_maid06 = { + texturefile = "gfx/models/portraits/mamaid06.png" + } + rg_machine_maid07 = { + texturefile = "gfx/models/portraits/mamaid07.png" + } + rg_machine_maid08 = { + texturefile = "gfx/models/portraits/mamaid08.png" + } + rg_machine_maid09 = { + texturefile = "gfx/models/portraits/mamaid09.png" } } + +portrait_groups = { + rg_machine_maid = { + default = rg_machine_maid01 + game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist + add = { + portraits = { + rg_machine_maid01 + rg_machine_maid02 + rg_machine_maid03 + rg_machine_maid04 + rg_machine_maid05 + rg_machine_maid06 + rg_machine_maid07 + rg_machine_maid08 + rg_machine_maid09 + } + } + } + + #species scope + species = { #generic portrait for a species + add = { + portraits = { + rg_machine_maid01 + rg_machine_maid02 + rg_machine_maid03 + rg_machine_maid04 + rg_machine_maid05 + rg_machine_maid06 + rg_machine_maid07 + rg_machine_maid08 + rg_machine_maid09 + } + } + } + + #pop scope + pop = { #for a specific pop + add = { + portraits = { + rg_machine_maid01 + rg_machine_maid02 + rg_machine_maid03 + rg_machine_maid04 + rg_machine_maid05 + rg_machine_maid06 + rg_machine_maid07 + rg_machine_maid08 + rg_machine_maid09 + } + } + } + + #leader scope + leader = { #scientists, generals, admirals, governor + add = { + portraits = { + rg_machine_maid01 + rg_machine_maid02 + rg_machine_maid03 + rg_machine_maid04 + rg_machine_maid05 + rg_machine_maid06 + rg_machine_maid07 + rg_machine_maid08 + rg_machine_maid09 + } + } + } + + + #leader scope + ruler = { + add = { + portraits = { + rg_machine_maid01 + rg_machine_maid02 + rg_machine_maid03 + rg_machine_maid04 + rg_machine_maid05 + rg_machine_maid06 + rg_machine_maid07 + rg_machine_maid08 + rg_machine_maid09 + } + } + } + } +} \ No newline at end of file diff --git a/localisation/simp_chinese/RG_l_simp_chinese.yml b/localisation/simp_chinese/RG_l_simp_chinese.yml index 464c716..beb1a61 100644 --- a/localisation/simp_chinese/RG_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_l_simp_chinese.yml @@ -1,6 +1,7 @@ l_simp_chinese: NAME_Gray:0 "灰风" GRAY_SPECIES:0 "$NAME_Gray$" + RG_MACHINE:0 "§Y纳米构造体§!" gray_army_desc:0 "$NAME_Gray$和她的纳米作战母舰,可以轻易扫平一颗星球" RG_leader_trait_admiral_gray:0 "§Y纳米机器个体§!" RG_leader_trait_admiral_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以自由变换形态重组或快速修复自身。可不要让她做奇怪的事情哦?"