diff --git a/common/species_archetypes/rg_species_archetypes.txt b/common/species_archetypes/rg_species_archetypes.txt deleted file mode 100644 index f400f9e..0000000 --- a/common/species_archetypes/rg_species_archetypes.txt +++ /dev/null @@ -1,4 +0,0 @@ -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 5eae02f..a63f9a7 100644 --- a/common/species_classes/rg_species_classes.txt +++ b/common/species_classes/rg_species_classes.txt @@ -32,18 +32,21 @@ GRAY_SPECIES = { RG_MACHINE = { archetype = MACHINE - playable = { always = no } + playable = no randomized = no # possible = { always = yes } # possible_secondary = { always = no text = SECONDARY_SPECIES_CLASS_INVALID } gender = no use_climate_preference = no - portrait_modding = no + portrait_modding = yes leader_age_min = 2 leader_age_max = 10 + species_trait_points = 10 + species_max_traits = 6 + custom_portraits = { # use custom_portraits instead of portraits so we can put them after the custom_portraits above portraits = { "rg_machine_maid" diff --git a/common/technology/rg_tech.txt b/common/technology/rg_tech.txt index 3ec1087..a52c659 100644 --- a/common/technology/rg_tech.txt +++ b/common/technology/rg_tech.txt @@ -385,6 +385,23 @@ tech_object_gray_6 = { } } + +tech_gray_machine = { + area = society + cost = 2000 + tier = 5 + is_rare = yes + category = { + biology + } + weight = 0 + ## unlock + ai_weight = { + factor = 0 + } +} + + tech_gray_noway = { cost = 2000 area = physics diff --git a/events/RG_machine_event.txt b/events/RG_machine_event.txt new file mode 100644 index 0000000..bbcfaee --- /dev/null +++ b/events/RG_machine_event.txt @@ -0,0 +1,42 @@ +namespace = rg_maid +country_event = { + id = rg_maid.1 + hide_window = yes + is_triggered_only = yes + immediate = { + if = { + limit = { + NOT = { + exist = event_target:rg_maid_species + } + } + create_species = { + #is_mod = yes + name = 纳米构造体 + plural = root + class = RG_MACHINE + portrait = "rg_machine_maid" + traits = { + trait = trait_machine_unit + trait = rg_machine_maid_trait + trait = trait_robot_mass_produced + } + can_be_modified = yes + homeworld = root + namelist = root + gender = root + effect = { + save_event_target_as = rg_maid_species + } + } + } + capital_scope = { + while = { + count = 5 + create_pop = { + species = event_target:rg_maid_species + } + } + } + } +} \ 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 index a362334..6fa2b9c 100644 Binary files a/gfx/interface/icons/traits/rg_machine_maid_trait.dds and b/gfx/interface/icons/traits/rg_machine_maid_trait.dds differ diff --git a/gfx/models/portraits/mamaid01.png b/gfx/models/portraits/mamaid01.png new file mode 100644 index 0000000..903ab1d Binary files /dev/null and b/gfx/models/portraits/mamaid01.png differ 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/localisation/simp_chinese/RG_l_simp_chinese.yml b/localisation/simp_chinese/RG_l_simp_chinese.yml index beb1a61..fbc3f9d 100644 --- a/localisation/simp_chinese/RG_l_simp_chinese.yml +++ b/localisation/simp_chinese/RG_l_simp_chinese.yml @@ -3,6 +3,8 @@ GRAY_SPECIES:0 "$NAME_Gray$" RG_MACHINE:0 "§Y纳米构造体§!" gray_army_desc:0 "$NAME_Gray$和她的纳米作战母舰,可以轻易扫平一颗星球" + rg_machine_maid_trait:0 "§Y菠萝包网络§!" + rg_machine_maid_trait_desc:0 "这种机械体似乎是由纳米机械所构造的。她们只有有限的个体智能,但每个个体似乎都将心智互相链接组成了一个强大的意识网络。个体的数量越多她们的意识就越强大。" RG_leader_trait_admiral_gray:0 "§Y纳米机器个体§!" RG_leader_trait_admiral_gray_desc:0 "$NAME_Gray$本质上是由千千万万纳米机械所组成的个体,这让她可以自由变换形态重组或快速修复自身。可不要让她做奇怪的事情哦?" RG_leader_trait_admiral_gray_1:0 "§Y纳米机器个体§!"