diff --git a/1.6/1.6/Assemblies/ArachnaeSwarm.dll b/1.6/1.6/Assemblies/ArachnaeSwarm.dll index 38c1417..e5afa35 100644 Binary files a/1.6/1.6/Assemblies/ArachnaeSwarm.dll and b/1.6/1.6/Assemblies/ArachnaeSwarm.dll differ diff --git a/1.6/1.6/Defs/EvolutionDefs/ARA_Evolution.xml b/1.6/1.6/Defs/EvolutionDefs/ARA_Evolution.xml index 3ddf89f..cabfc61 100644 --- a/1.6/1.6/Defs/EvolutionDefs/ARA_Evolution.xml +++ b/1.6/1.6/Defs/EvolutionDefs/ARA_Evolution.xml @@ -70,13 +70,10 @@ true 1 - @@ -164,13 +161,10 @@ true 1 - @@ -293,13 +287,10 @@ true 1 - @@ -393,13 +384,10 @@ true 1 - @@ -562,6 +550,11 @@ +
  • + Medicine + Major + 350000 +
  • CompAbilityEffect_GiveHediff ARA_Myrmecocystus_Production_Medicine @@ -569,13 +562,10 @@ true 1
  • -
    @@ -678,13 +668,20 @@ true 1 - @@ -720,6 +717,7 @@ + ARA_Smokepop_Base @@ -818,13 +816,10 @@ true 1 - @@ -900,7 +895,7 @@ - + ARA_ShieldHead_Base diff --git a/1.6/1.6/Defs/RecipeDefs/ARA_Recipes.xml b/1.6/1.6/Defs/RecipeDefs/ARA_Recipes.xml new file mode 100644 index 0000000..7793eae --- /dev/null +++ b/1.6/1.6/Defs/RecipeDefs/ARA_Recipes.xml @@ -0,0 +1,139 @@ + + + + Surgery + Recipe_Surgery + MedicalOperationSpeed + Medicine + 16 + SurgeryOutcomeBase + Recipe_InstallImplant + + 2500 + + + 5 + + +
  • ArachnaeNode_Race_Myrmecocystus
  • +
  • ArachnaeNode_Race_ShieldHead
  • +
  • ArachnaeNode_Race_WeaponSmith
  • +
  • ArachnaeNode_Race_Fighter
  • +
  • ArachnaeNode_Race_Facehugger
  • +
  • ArachnaeNode_Race_Smokepop
  • +
  • ArachnaeNode_Race_Skyraider
  • +
    + +
  • +
  • Medicine
  • + 2 + +
    + + +
  • Medicine
  • +
    +
    +
    + + + ARA_Surgery_Install_Plasteel + + 为阿拉克涅虫族的甲壳植入玻璃钢,当甲壳素继续生长时,这些玻璃钢会被甲壳包裹,以形成更坚固的外骨骼,增强虫族的防御力。 + + ARA_Plasteel_Shell_Hediff + + 正在实施定向变异 + +
  • + + +
  • Plasteel
  • + + + 20 + +
    + +
  • ARA_Chitin_Shell
  • +
    + + +
  • Plasteel
  • +
    +
    + ARA_Plasteel_Shell_Hediff +
    + + ARA_Plasteel_Shell_Hediff + + Hediff_Implant + 阿拉克涅虫族通过直接将玻璃钢植入甲壳,使其获得了更强大的防御力。 + + ARA_Surgery_Install_Plasteel + + + true + + +
  • + + 0.3 + 0.3 + + + 0.75 + 0 + +
  • +
    +
    + + + ARA_Surgery_Install_Huge_Stomach + + 诱发阿拉克涅虫族的定向变异,使其储存营养的胃囊增大,以储存更多食物。 + + ARA_Huge_Stomach_Hediff + + 正在实施定向变异 + +
  • + + +
  • ARA_Activated_Bacterium
  • + + + 6 + +
    + +
  • stomach
  • +
    + + +
  • ARA_Activated_Bacterium
  • +
    +
    + ARA_Huge_Stomach_Hediff +
    + + ARA_Huge_Stomach_Hediff + + Hediff_Implant + 阿拉克涅虫族的定向变异赐予其更大的胃囊,以装下更多的营养。 + + ARA_Surgery_Install_Huge_Stomach + + + true + + +
  • + + 2 + +
  • +
    +
    +
    \ No newline at end of file diff --git a/1.6/1.6/Defs/ResearchProjectDefs/ARA_ResearchProjects.xml b/1.6/1.6/Defs/ResearchProjectDefs/ARA_ResearchProjects.xml index d9091ee..6169065 100644 --- a/1.6/1.6/Defs/ResearchProjectDefs/ARA_ResearchProjects.xml +++ b/1.6/1.6/Defs/ResearchProjectDefs/ARA_ResearchProjects.xml @@ -299,7 +299,7 @@ 允许虫族建造一种利用活体钜菌和生物质产出阿拉克涅虫蜜的建筑。 150 8.00 - 2.10 + 1.60 ARA_ResearchBench
  • ARA_Technology_8VXI
  • diff --git a/1.6/1.6/Defs/ThingDef_Races/ARA_RaceNodeSwarm.xml b/1.6/1.6/Defs/ThingDef_Races/ARA_RaceNodeSwarm.xml index 23b3602..e61cbef 100644 --- a/1.6/1.6/Defs/ThingDef_Races/ARA_RaceNodeSwarm.xml +++ b/1.6/1.6/Defs/ThingDef_Races/ARA_RaceNodeSwarm.xml @@ -615,6 +615,8 @@ +
  • ARA_Surgery_Install_Plasteel
  • +
  • ARA_Surgery_Install_Huge_Stomach
  • diff --git a/1.6/1.6/Languages/ChineseSimplified (简体中文)/Keyed/ArachnaeSwarm_Keys.xml b/1.6/1.6/Languages/ChineseSimplified (简体中文)/Keyed/ArachnaeSwarm_Keys.xml index 9643b1f..a93bd7e 100644 --- a/1.6/1.6/Languages/ChineseSimplified (简体中文)/Keyed/ArachnaeSwarm_Keys.xml +++ b/1.6/1.6/Languages/ChineseSimplified (简体中文)/Keyed/ArachnaeSwarm_Keys.xml @@ -27,4 +27,6 @@ {TRAP} 被触发! {PAWN}生成了{THING}。 + + {USER_labelShort}通过进化将{1}技能从{2}级转变至{3}级,并改变了热情。 \ No newline at end of file diff --git a/Content/Textures/ArachnaeSwarm/Building/ARA_JellyVat.png b/Content/Textures/ArachnaeSwarm/Building/ARA_JellyVat.png index 79cc281..ce40c37 100644 Binary files a/Content/Textures/ArachnaeSwarm/Building/ARA_JellyVat.png and b/Content/Textures/ArachnaeSwarm/Building/ARA_JellyVat.png differ diff --git a/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/.suo b/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/.suo index 2db859a..3d71dc9 100644 Binary files a/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/.suo and b/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/.suo differ diff --git a/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/DocumentLayout.json b/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/DocumentLayout.json index 6c9c884..505e3c1 100644 --- a/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/DocumentLayout.json +++ b/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/DocumentLayout.json @@ -1,16 +1,7 @@ { "Version": 1, "WorkspaceRootPath": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\building_comps\\ara_nutrientvat\\building_nutrientvat.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:building_comps\\ara_nutrientvat\\building_nutrientvat.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|e:\\steamlibrary\\steamapps\\common\\rimworld\\mods\\arachnaeswarm\\source\\arachnaeswarm\\ara_hediffdefof.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:ara_hediffdefof.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - } - ], + "Documents": [], "DocumentGroupContainers": [ { "Orientation": 0, @@ -18,37 +9,11 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 2, + "SelectedChildIndex": -1, "Children": [ { "$type": "Bookmark", "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" - }, - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "ARA_HediffDefOf.cs", - "DocumentMoniker": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\ARA_HediffDefOf.cs", - "RelativeDocumentMoniker": "ARA_HediffDefOf.cs", - "ToolTip": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\ARA_HediffDefOf.cs", - "RelativeToolTip": "ARA_HediffDefOf.cs", - "ViewState": "AgIAAAAAAAAAAAAAAADwvwcAAAAnAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-09-24T14:28:58.313Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "Building_NutrientVat.cs", - "DocumentMoniker": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Building_Comps\\ARA_NutrientVat\\Building_NutrientVat.cs", - "RelativeDocumentMoniker": "Building_Comps\\ARA_NutrientVat\\Building_NutrientVat.cs", - "ToolTip": "E:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\Building_Comps\\ARA_NutrientVat\\Building_NutrientVat.cs", - "RelativeToolTip": "Building_Comps\\ARA_NutrientVat\\Building_NutrientVat.cs", - "ViewState": "AgIAAFkAAAAAAAAAAAASwIsAAAAJAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-09-23T16:34:34.794Z", - "EditorCaption": "" } ] } diff --git a/Source/ArachnaeSwarm/Abilities/ARA_AddExtraExp/CompAbilityEffect_AddExtraExp.cs b/Source/ArachnaeSwarm/Abilities/ARA_AddExtraExp/CompAbilityEffect_AddExtraExp.cs new file mode 100644 index 0000000..b4b2655 --- /dev/null +++ b/Source/ArachnaeSwarm/Abilities/ARA_AddExtraExp/CompAbilityEffect_AddExtraExp.cs @@ -0,0 +1,57 @@ +using Verse; +using RimWorld; +using System.Linq; + +namespace ArachnaeSwarm +{ + public class CompAbilityEffect_AddExtraExp : CompAbilityEffect + { + public new CompProperties_AbilityAddExtraExp Props => (CompProperties_AbilityAddExtraExp)props; + + public override void Apply(LocalTargetInfo target, LocalTargetInfo dest) + { + base.Apply(target, dest); + + Pawn user = parent.pawn; + if (user == null) return; + + // 1. 技能经验增益 + int levelBefore = user.skills.GetSkill(Props.skill).GetLevel(); + user.skills.Learn(Props.skill, Props.xpGainAmount, direct: true); + int levelAfter = user.skills.GetSkill(Props.skill).GetLevel(); + + // 2. 热情设置 + SkillRecord targetSkillRecord = user.skills.GetSkill(Props.skill); + if (targetSkillRecord != null && !targetSkillRecord.TotallyDisabled) + { + if (targetSkillRecord.passion != Props.passionGained) + { + targetSkillRecord.passion = Props.passionGained; + } + } + + // 发送通知 + if (PawnUtility.ShouldSendNotificationAbout(user)) + { + Messages.Message("AbilitySkillChanged".Translate( + user.LabelShort, + Props.skill.LabelCap, + levelBefore, + levelAfter, + user.Named("USER")), + user, + MessageTypeDefOf.PositiveEvent); + } + } + + public override bool Valid(LocalTargetInfo target, bool throwMessages = false) + { + Pawn user = parent.pawn; + if (user == null || user.skills == null) + return false; + + return base.Valid(target, throwMessages); + } + } + +} \ No newline at end of file diff --git a/Source/ArachnaeSwarm/Abilities/ARA_AddExtraExp/CompProperties_AddExtraExp.cs b/Source/ArachnaeSwarm/Abilities/ARA_AddExtraExp/CompProperties_AddExtraExp.cs new file mode 100644 index 0000000..5b0c316 --- /dev/null +++ b/Source/ArachnaeSwarm/Abilities/ARA_AddExtraExp/CompProperties_AddExtraExp.cs @@ -0,0 +1,17 @@ +using Verse; +using RimWorld; + +namespace ArachnaeSwarm +{ + public class CompProperties_AbilityAddExtraExp : CompProperties_AbilityEffect + { + public SkillDef skill; + public Passion passionGained = Passion.Major; // 可配置获得的热情等级,默认为大火 + public float xpGainAmount = 50000f; + + public CompProperties_AbilityAddExtraExp() + { + compClass = typeof(CompAbilityEffect_AddExtraExp); + } + } +} \ No newline at end of file diff --git a/Source/ArachnaeSwarm/ArachnaeSwarm.csproj b/Source/ArachnaeSwarm/ArachnaeSwarm.csproj index 8e06086..ee6a3d3 100644 --- a/Source/ArachnaeSwarm/ArachnaeSwarm.csproj +++ b/Source/ArachnaeSwarm/ArachnaeSwarm.csproj @@ -71,6 +71,8 @@ + + diff --git a/非公开资源/Content/Textures/Building/ARA_GrowthVat.psd b/非公开资源/Content/Textures/Building/ARA_GrowthVat.psd deleted file mode 100644 index c3f839c..0000000 Binary files a/非公开资源/Content/Textures/Building/ARA_GrowthVat.psd and /dev/null differ diff --git a/非公开资源/Content/Textures/Building/ARA_GrowthVat.sai2 b/非公开资源/Content/Textures/Building/ARA_GrowthVat.sai2 new file mode 100644 index 0000000..0f783f5 Binary files /dev/null and b/非公开资源/Content/Textures/Building/ARA_GrowthVat.sai2 differ diff --git a/非公开资源/Content/Textures/Building/ARA_JellyVat.sai2 b/非公开资源/Content/Textures/Building/ARA_JellyVat.sai2 index d8c6ee6..ac5f633 100644 Binary files a/非公开资源/Content/Textures/Building/ARA_JellyVat.sai2 and b/非公开资源/Content/Textures/Building/ARA_JellyVat.sai2 differ diff --git a/非公开资源/Content/Textures/Weapon/ARA_RW_Basic_SniperCannon_Gun.psd b/非公开资源/Content/Textures/Weapon/ARA_RW_Basic_SniperCannon_Gun.psd deleted file mode 100644 index 1d95b3c..0000000 Binary files a/非公开资源/Content/Textures/Weapon/ARA_RW_Basic_SniperCannon_Gun.psd and /dev/null differ