diff --git a/1.6/1.6/Assemblies/ArachnaeSwarm.dll b/1.6/1.6/Assemblies/ArachnaeSwarm.dll
index 98f7418..46d05d1 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/BackstoryDefs/ARA_BackstoryDef.xml b/1.6/1.6/Defs/BackstoryDefs/ARA_BackstoryDef.xml
index d691a6c..836eec3 100644
--- a/1.6/1.6/Defs/BackstoryDefs/ARA_BackstoryDef.xml
+++ b/1.6/1.6/Defs/BackstoryDefs/ARA_BackstoryDef.xml
@@ -35,7 +35,21 @@
3
3
- ManualDumb,Mining,PlantWork,Animals,Crafting,Cooking,Constructing,Hunting
+
+ Cleaning
+ Hauling
+ Mining
+ PlantWork
+ Animals
+ Hunting
+ Crafting
+ Cooking
+
+
+
+
+
+
ArachnaeQueen_spawnCategoriesB
diff --git a/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml b/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml
index efebe30..37399df 100644
--- a/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml
+++ b/1.6/1.6/Defs/HediffDefs/ARA_Hediffs_Damage.xml
@@ -156,14 +156,14 @@
ARA_ReinforceGasCoverd
- 你身上沾染了阿拉克涅信息素,有什么在地下前进。
+ 你身上沾染了阿拉克涅信息素,有什么正在从在地下袭来。
HediffWithComps
(0.6, 0.4, 0.8)
- 1200
+ 600
True
@@ -176,11 +176,10 @@
-
ARA_Unburnable
- 不会着火.
+ 一种特殊的烟雾覆盖了这片地区,使得置身其中的殖民者难以被点着.
HediffWithComps
diff --git a/1.6/1.6/Defs/PawnKindDef/ARA_PawnKinds.xml b/1.6/1.6/Defs/PawnKindDef/ARA_PawnKinds.xml
index 20a7b3c..ec679a3 100644
--- a/1.6/1.6/Defs/PawnKindDef/ARA_PawnKinds.xml
+++ b/1.6/1.6/Defs/PawnKindDef/ARA_PawnKinds.xml
@@ -159,12 +159,6 @@
-
- ARA_Cocoon_ClothBase
- ARA_Cocoon_AcidBase
- ARA_Cocoon_ToxicNeedleBase
- ARA_Cocoon_BoneBase
-
0
diff --git a/1.6/1.6/Defs/RecipeDefs/ARA_Recipes_Upgrade.xml b/1.6/1.6/Defs/RecipeDefs/ARA_Recipes_Upgrade.xml
index 9b5f925..524dfa7 100644
--- a/1.6/1.6/Defs/RecipeDefs/ARA_Recipes_Upgrade.xml
+++ b/1.6/1.6/Defs/RecipeDefs/ARA_Recipes_Upgrade.xml
@@ -217,10 +217,43 @@
+
+
+ ARA_WeaponSmith_0_Stage
+
+ 这只阿拉克涅工艺种尚未得到任何强化,只能孵化最普通的茧以生产一些早期装备。
+ HediffWithComps
+ (0.6, 0.4, 0.8)
+ false
+ false
+ 2.0
+
+
+
+
+ ARA_Cocoon_Cloth
+ ARA_Cocoon_Weapon
+
+
+
+
+ ARA_Queen_1_Stage_Transition_Period
+
+
+
+
- ARA_Install_
-
- 为合成人安装暗物质能源炉。
+ ARA_WeaponSmith_Upgrade_1_Stage
+
+ 由阿拉科涅女皇种为该工艺种进行基因调整,以使其获得进化并得以孵化更多的武装器官和织物。
WULA_Energy_Furnace_DM_Engine
WULA_Energy_Furnace_Hediff_DM_Engine
@@ -251,4 +284,61 @@
ArachnaeNode_Race_WeaponSmith
+
+ ARA_WeaponSmith_1_Stage_Transition_Period
+
+ 由阿拉科涅女皇种为该工艺种进行基因调整,以使其获得进化并得以孵化更多的武装器官和织物。
+
+ Hediff_High
+ 1
+ 1.01
+ true
+ (0.6, 0.4, 0.8)
+ false
+ false
+
+
+
+
+ ARA_WeaponSmith_1_Stage
+ 0.02~0.15
+
+
+ {PAWN_nameDef} 通过女皇种的拔耀获得了更强大的孵化能力,现在她可以孕育更复杂的茧以获取强大的装备。
+
+
+
+
+
+ ARA_WeaponSmith_1_Stage
+
+ 这只阿拉科涅工艺种通过女皇种的拔耀获得了更强大的孵化能力,现在她可以孕育更复杂的茧以获取强大的装备。
+ HediffWithComps
+ (0.6, 0.4, 0.8)
+ false
+ false
+ 2.0
+
+
+
+
+ ARA_Cocoon_Cloth_1Stage
+ ARA_Cocoon_Weapon_1Stage
+
+
+
+
+ ARA_Queen_1_Stage_Transition_Period
+
+
+
+
\ 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 0ec9f9f..f07a0de 100644
--- a/1.6/1.6/Defs/ResearchProjectDefs/ARA_ResearchProjects.xml
+++ b/1.6/1.6/Defs/ResearchProjectDefs/ARA_ResearchProjects.xml
@@ -55,7 +55,7 @@
ARA_Technology_7VXI
- 允许工艺种孵化新的酸类武器茧
+ 允许工艺种孵化新的武器。
150
2.00
0.20
@@ -113,7 +113,7 @@
ARA_Technology_1WMT
-
+
ARA_Technology_4DIL
@@ -126,18 +126,6 @@
ARA_Base_Technology
-
- ARA_Technology_5DIL
-
- 允许工艺种孵化骨刃茧,为虫族提供基础近战武器。
- 150
- 2.00
- 5.10
- ARA_ResearchBench
-
- ARA_Technology_4DIL
-
-
ARA_Technology_5PAV
@@ -151,7 +139,6 @@
ARA_Base_Technology
-
ARA_Technology_5SHL
@@ -165,4 +152,17 @@
ARA_Base_Technology
+
+
+ ARA_Technology_6SPV
+
+ 允许工艺种孵化新的武器。
+ 150
+ 1.00
+ 2.20
+ ARA_ResearchBench
+
+ ARA_Technology_1WMT
+
+
\ No newline at end of file
diff --git a/1.6/1.6/Defs/ThingDef_Races/ARA_RaceQueen.xml b/1.6/1.6/Defs/ThingDef_Races/ARA_RaceQueen.xml
index e0893ee..42e1871 100644
--- a/1.6/1.6/Defs/ThingDef_Races/ARA_RaceQueen.xml
+++ b/1.6/1.6/Defs/ThingDef_Races/ARA_RaceQueen.xml
@@ -428,6 +428,12 @@
true
false
+
+
+ ARA_WeaponSmith_Upgrade_1_Stage
+
+
+
-
- 10
- 营养
-
-
- Foods
-
-
- 0
- true
- 1
- 1
-
-
-
-
-
- ARA_Bodystocking_White
- 6000
- 1
-
-
- ARA_Bodystocking_Black
- 6000
- 1
-
-
-
-
- ArachnaeNode_Race_WeaponSmith
-
- 1
- True
- -30
- 55
- 0.00001
- 0.2
- 1.0
-
-
-
- Legendary
- 0.99
-
-
- Masterwork
- 0.90
-
-
- Excellent
- 0.70
-
-
- Good
- 0.50
-
-
- Normal
- 0.20
-
-
- Poor
- 0.10
-
-
-
-
- -30
- 55
- 0.00005
- 0.005
- 0.001
-
-
-
Shield
diff --git a/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapom_Skyhive.xml b/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapom_Skyhive.xml
deleted file mode 100644
index 5970a35..0000000
--- a/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapom_Skyhive.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
- ARA_RW_Basic_SkyHive_Gun
-
- 阿拉克涅虫群督虫使用基础远程武装器官,可以通过肌肉的瞬间加压喷出一团包含阿拉克涅酸液的液体团。这种酸液团的飞行速度很慢,但是能在目标地点炸开,并灼烧所有粘上酸液的敌人。
- Normal
- Animal
-
- ArachnaeSwarm/Weapon/ARA_RW_Basic_Acid_Bladder_Gun
- Graphic_Single
- 1.2
-
- SpitterSpawn
-
-
-
- UnfinishedWeapon
-
-
- 1300
-
- 3.5
- 0.5
- 0.6
- 0.45
- 0.3
- 2.5
-
-
-
- ArachnaeSwarm.Verb_ShootShotgun
- true
- false
- 1.0
- Bullet_ARA_RW_Basic_SkyHive_Gun
- true
- false
- 3
- 28
- 1
- SpitterSpit
-
- true
-
-
-
-
- 50
-
-
- ARA_Armed_Organ
- ARA_Armed_Organ_Ranged
- ARA_Armed_Organ_T1
-
-
- RewardStandardQualitySuper
-
-
-
- Bullet_ARA_RW_Basic_SkyHive_Gun
-
-
- Graphic_Single_AgeSecs
- Things/Pawn/Insect/Locust/Locust_north
- (156,148,125)
- (1,1)
- TransparentPostLight
-
- 0.8
- ArachnaeSwarm.Projectile_TrackingBullet
-
- True
- 1
- ARA_SkyhiveBite
- 10
- 25
- 1
- true
-
-
-
-
- 0.75
-
-
- 35
-
-
- 150
-
-
- 2.1
-
-
- 3
-
-
-
-
- Shell_AcidSpitStream
-
-
- Shell_AcidSpitLaunched
-
-
-
-
-
\ No newline at end of file
diff --git a/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapon.xml b/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapon.xml
index 901ee38..e54884e 100644
--- a/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapon.xml
+++ b/1.6/1.6/Defs/Thing_Misc/Weapons/ARA_Weapon.xml
@@ -1,5 +1,6 @@
+
ARA_MW_Bone_Sword
@@ -63,111 +64,8 @@
RewardStandardQualitySuper
-
- ARA_Cocoon_BoneBase
-
- 投放一枚武装器官茧,内含可以孵化一套基础骨刃武装器官的营养和遗传物质——参阅茧的超链接,了解其能生产的所有装备的特点。
- UI/Commands/EggSpew
-
-
- ARA_Cocoon_BoneBase_Proj
-
-
- ARA_Technology_5DIL
- 需要科技 基因节点DIL-5"骨刀" 以解锁此孵化路径
-
-
-
-
- ARA_Cocoon_BoneBase_Proj
-
- ARA_Cocoon_BoneBase
-
-
-
- ARA_Cocoon_BoneBase
-
- 一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一个骨片武装器官的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为-20~35°C),需要小心保护!
-
- ARA_MW_Bone_Sword
-
-
- ARA_Technology_5DIL
-
-
-
-
-
- 10
- 营养
-
-
- Foods
-
-
- 0
- true
- 1
- 1
-
-
-
-
-
- ARA_MW_Bone_Sword
- 60000
- 15
-
-
-
-
- ArachnaeNode_Race_WeaponSmith
-
- 1
- True
- -20
- 35
- 0.00001
- 0.2
- 1.0
-
-
-
- Legendary
- 0.99
-
-
- Masterwork
- 0.90
-
-
- Excellent
- 0.70
-
-
- Good
- 0.50
-
-
- Normal
- 0.20
-
-
- Poor
- 0.10
-
-
-
-
- -20
- 35
- 0.00005
- 0.005
- 0.001
-
-
-
+
ARA_RW_Basic_Fist_Needle_Gun
@@ -183,7 +81,7 @@
SpitterSpawn
-
+ ARA_Technology_5PAV
UnfinishedWeapon
@@ -240,6 +138,17 @@
+
+
+
+ ARA_Weapon_Damage_Toxid
+
+
+ 1
+ 1
+
+
+
Bullet_ARA_RW_Basic_Fist_Needle_Gun
@@ -255,112 +164,75 @@
40
-
- ARA_Cocoon_ToxicNeedleBase
-
- 投放一枚武装器官茧,内含可以孵化一套基础毒针武装器官的营养和遗传物质——参阅茧的超链接,了解其能生产的所有装备的特点。
- UI/Commands/EggSpew
+
+ ARA_RW_Toxic_Needle_MG
+
+ 阿拉克涅虫群督虫所使用的武装器官,拥有四排刺针管道,可以在联结神经束的指挥下交替发射大量的毒针,虽然准度较差但是威力不逊色于人类所使用的机枪。
+ Normal
+ Animal
+
+ ArachnaeSwarm/Weapon/ARA_RW_Basic_Fist_Needle_Gun
+ Graphic_Single
+ 0.75
+
+ 1.3
+ SpitterSpawn
+
+
+ ARA_Technology_5PAV
+ UnfinishedWeapon
+
+
+ 1300
+
+ 4
+ 0.5
+ 0.4
+ 0.35
+ 0.3
+ 2.5
+
+
+
+ Verb_Shoot
+ true
+ false
+ 0.8
+ Bullet_ARA_RW_Basic_Fist_Needle_Gun
+ 22
+ 32
+ 2
+ SpitterSpit
+
+ true
+
+
+
+
+ 25
+
+
+ ARA_Armed_Organ
+ ARA_Armed_Organ_Ranged
+ ARA_Armed_Organ_T2
+
+
+ RewardStandardQualitySuper
+
-
- ARA_Cocoon_ToxicNeedleBase_Proj
-
-
- ARA_Technology_5PAV
- 需要科技 基因节点PAV-5"毒刺" 以解锁此孵化路径
-
-
-
-
- ARA_Cocoon_ToxicNeedleBase_Proj
-
- ARA_Cocoon_ToxicNeedleBase
-
-
-
- ARA_Cocoon_ToxicNeedleBase
-
- 一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一个毒针武装器官的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为0~22°C),需要小心保护!
-
- ARA_RW_Basic_Fist_Needle_Gun
-
-
- ARA_Technology_5PAV
-
-
-
-
-
- 10
- 营养
-
-
- Foods
-
-
- 0
- true
- 1
- 1
-
-
-
-
-
- ARA_RW_Basic_Fist_Needle_Gun
- 40000
- 10
-
-
-
-
-
- ArachnaeNode_Race_WeaponSmith
-
- 1
- True
- 0
- 22
- 0.00001
- 0.2
- 1.0
-
-
-
- Legendary
- 0.99
-
-
- Masterwork
- 0.90
-
-
- Excellent
- 0.70
-
-
- Good
- 0.50
-
-
- Normal
- 0.20
-
-
- Poor
- 0.10
-
-
-
-
- 0
- 22
- 0.00005
- 0.005
- 0.001
+
+
+ ARA_Weapon_Damage_Toxid
+
+
+ 1
+ 1
+
+
ARA_RW_Basic_Acid_Bladder_Gun
@@ -375,7 +247,7 @@
SpitterSpawn
-
+ ARA_Technology_7VXI
UnfinishedWeapon
@@ -418,6 +290,17 @@
RewardStandardQualitySuper
+
+
+
+ ARA_Weapon_Damage_Acid
+
+
+ 1
+ 1
+
+
+
Bullet_ARA_RW_Basic_Acid_Bladder_Gun
@@ -448,176 +331,236 @@
false
-
- Shell_AcidSpitStream
-
-
- Shell_AcidSpitLaunched
-
+
+ Shell_AcidSpitStream
+
+
+ Shell_AcidSpitLaunched
+
-
- ARA_Cocoon_AcidBase
-
- 投放一枚武装器官茧,内含可以孵化一套基础酸液武装器官的营养和遗传物质——参阅茧的超链接,了解其能生产的所有装备的特点。
- UI/Commands/EggSpew
-
-
- ARA_Technology_7VXI
- 需要科技 基因节点VXI-7"外置酸袋" 以解锁此孵化路径
+
+ ARA_RW_Acid_Mortar
+
+ 阿拉克涅虫群督虫使用大型远程武装器官,膛内布满了强健的肌肉组织,可以在一瞬间的收缩后将一团酸液发射到空中,以在安全距离下对敌人的集群进行轰炸。
+ Normal
+ Animal
+
+ ArachnaeSwarm/Weapon/ARA_RW_Basic_Acid_Bladder_Gun
+ Graphic_Single
+ 1.2
+
+ SpitterSpawn
+
+
+ ARA_Technology_7VXI
+ UnfinishedWeapon
+
+
+ 1300
+
+ 3.5
+ 0.3
+ 0.3
+ 0.25
+ 0.1
+ 3.5
+
+
+
+ Verb_Shoot
+ true
+ false
+ 1.5
+ 3
+ Bullet_ARA_RW_Acid_Mortar
+ true
+ false
+ 5
+ 120
+ 1
+ SpitterSpit
+
+ true
+
-
- ARA_Cocoon_AcidBase_Proj
+
+
+ 50
+
+
+ ARA_Armed_Organ
+ ARA_Armed_Organ_Ranged
+ ARA_Armed_Organ_T2
+
+
+ RewardStandardQualitySuper
+
+
+
+
+ ARA_Huge_Weapon
+ ARA_Weapon_Damage_Acid
+
+
+ 2
+ 2
+
-
-
- ARA_Cocoon_AcidBase_Proj
+
+
+ Bullet_ARA_RW_Acid_Mortar
+
+
+ Graphic_Single_AgeSecs
+ Things/Projectile/FleshmassSpitterProjectileSheet
+ (.75, .75)
+ MoteGlow
+
+ 0.8
+ Projectile_Explosive
- ARA_Cocoon_AcidBase
+ True
+ 1
+ ARA_AcidBurn
+ 15
+ 50
+ 15
+ 1
+ 3.5
+ true
+ SpitterSpitLands
+ Filth_SpentAcid
+ 4
+ Shell_AcidSpitImpact
+ 60
+ false
-
-
- ARA_Cocoon_AcidBase
-
- 一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一个酸性武装器官的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为10~28°C),需要小心保护!
-
- ARA_RW_Basic_Acid_Bladder_Gun
-
-
- ARA_Technology_7VXI
-
-
-
-
- 10
- 营养
-
-
- Foods
-
-
- 0
- true
- 1
- 1
+
+ Shell_AcidSpitStream
-
-
-
-
- ARA_RW_Basic_Acid_Bladder_Gun
- 80000
- 30
-
-
-
-
-
- ArachnaeNode_Race_WeaponSmith
-
- 1
- True
- 10
- 28
- 0.00001
- 0.2
- 1.0
-
-
-
- Legendary
- 0.99
-
-
- Masterwork
- 0.90
-
-
- Excellent
- 0.70
-
-
- Good
- 0.50
-
-
- Normal
- 0.20
-
-
- Poor
- 0.10
-
-
-
+
+ Shell_AcidSpitLaunched
-
- 10
- 28
- 0.00005
- 0.005
- 0.001
+
+
+
+
+
+ ARA_RW_Basic_SkyHive_Gun
+
+ 阿拉科涅虫群的生物武器
+ Normal
+ Animal
+
+ ArachnaeSwarm/Weapon/ARA_RW_Basic_Acid_Bladder_Gun
+ Graphic_Single
+ 1.2
+
+ SpitterSpawn
+
+
+ ARA_Technology_6SPV
+ UnfinishedWeapon
+
+
+ 1300
+
+ 3.5
+ 0.5
+ 0.6
+ 0.45
+ 0.3
+ 2.5
+
+
+
+ ArachnaeSwarm.Verb_ShootShotgun
+ true
+ false
+ 1.0
+ Bullet_ARA_RW_Basic_SkyHive_Gun
+ true
+ false
+ 3
+ 28
+ 1
+ SpitterSpit
+
+ true
+
+
+
+
+ 50
+
+
+ ARA_Armed_Organ
+ ARA_Armed_Organ_Ranged
+ ARA_Armed_Organ_T1
+
+
+ RewardStandardQualitySuper
+
+
+
+
+ ARA_Weapon_Damage_Spawn
+
+
+ 1
+ 1
+
+
+
+
+
+ Bullet_ARA_RW_Basic_SkyHive_Gun
+
+
+ Graphic_Single_AgeSecs
+ Things/Pawn/Insect/Locust/Locust_north
+ (156,148,125)
+ (1,1)
+ TransparentPostLight
+
+ 0.8
+ ArachnaeSwarm.Projectile_TrackingBullet
+
+ True
+ 1
+ ARA_SkyhiveBite
+ 10
+ 25
+ 1
+ true
+
+
+
+
+ 0.75
+
+
+ 35
+
+
+ 150
+
+
+ 2.1
+
+
+ 3
+
+
+
+
+ Shell_AcidSpitStream
+
+
+ Shell_AcidSpitLaunched
diff --git a/1.6/1.6/Defs/Thing_building/ARA_InteractiveProducer.xml b/1.6/1.6/Defs/Thing_building/ARA_InteractiveProducer.xml
index 9f93c27..7ec447e 100644
--- a/1.6/1.6/Defs/Thing_building/ARA_InteractiveProducer.xml
+++ b/1.6/1.6/Defs/Thing_building/ARA_InteractiveProducer.xml
@@ -38,4 +38,230 @@
+
+
+
+ ARA_Cocoon_Cloth
+
+ 投放一枚织物茧,内含可以孵化一套基础织物的营养和遗传物质——参阅茧的超链接,了解其能生产的所有装备的特点。
+ UI/Commands/EggSpew
+
+
+ ARA_Cocoon_Cloth_Proj
+
+
+ ARA_Technology_4DIL
+ 需要科技 基因节点DIL-4"编织" 以解锁此孵化路径
+
+
+
+
+ ARA_Cocoon_Cloth_Proj
+
+ ARA_Cocoon_Cloth
+
+
+
+ ARA_Cocoon_Cloth
+
+ 一个脆弱、易燃、黏滑的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一套基础织物装备的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为-30~55°C),需要小心保护!
+
+ ARA_Bodystocking_White
+ ARA_Bodystocking_Black
+
+
+ ARA_Technology_4DIL
+
+
+
+
+
+ 10
+ 营养
+
+
+ Foods
+
+
+ 0
+ true
+ 1
+ 1
+
+
+
+
+
+ ARA_Bodystocking_White
+ 6000
+ 1
+
+
+ ARA_Bodystocking_Black
+ 6000
+ 1
+
+
+
+
+ ArachnaeNode_Race_WeaponSmith
+
+ 1
+ True
+ -30
+ 55
+ 0.00001
+ 0.2
+ 1.0
+
+
+
+ Legendary
+ 0.99
+
+
+ Masterwork
+ 0.90
+
+
+ Excellent
+ 0.70
+
+
+ Good
+ 0.50
+
+
+ Normal
+ 0.20
+
+
+ Poor
+ 0.10
+
+
+
+
+ -30
+ 55
+ 0.00005
+ 0.005
+ 0.001
+
+
+
+
+ ARA_Cocoon_Wepaon
+
+ 投放一枚武装器官茧,内含可以孵化一套基础武装器官的营养和遗传物质——参阅茧的超链接,了解其能生产的所有装备的特点。
+ UI/Commands/EggSpew
+
+
+ ARA_Cocoon_Wepaon_Proj
+
+
+
+
+ ARA_Cocoon_Wepaon_Proj
+
+ ARA_Cocoon_Wepaon
+
+
+
+ ARA_Cocoon_Wepaon
+
+ 一个布满尖刺的囊状物,是阿拉克涅工艺种所诞之卵,内含孵化一个武装器官的营养物质,可以通过阿拉克涅工艺种的交互完成激活进程——参阅茧的超链接,了解其能生产的所有装备的特点。\n\n孵化茧对温度极度敏感(该类型的茧适温为-20~35°C),需要小心保护!
+
+ ARA_MW_Bone_Sword
+ ARA_RW_Basic_Acid_Bladder_Gun
+ ARA_RW_Basic_Fist_Needle_Gun
+
+
+ ARA_Technology_5DIL
+
+
+
+
+
+ 10
+ 营养
+
+
+ Foods
+
+
+ 0
+ true
+ 1
+ 1
+
+
+
+
+
+ ARA_MW_Bone_Sword
+ 60000
+ 15
+
+
+ ARA_RW_Basic_Fist_Needle_Gun
+ 40000
+ 10
+ ARA_Technology_5PAV
+
+
+ ARA_RW_Basic_Acid_Bladder_Gun
+ 80000
+ 30
+ ARA_Technology_7VXI
+
+
+
+
+ ArachnaeNode_Race_WeaponSmith
+
+ 1
+ True
+ -20
+ 35
+ 0.00001
+ 0.2
+ 1.0
+
+
+
+ Legendary
+ 0.99
+
+
+ Masterwork
+ 0.90
+
+
+ Excellent
+ 0.70
+
+
+ Good
+ 0.50
+
+
+ Normal
+ 0.20
+
+
+ Poor
+ 0.10
+
+
+
+
+ -20
+ 35
+ 0.00005
+ 0.005
+ 0.001
+
+
+
\ No newline at end of file
diff --git a/1.6/1.6/Defs/WeaponTraitDefs/ARA_WeaponCategoryDefs.xml b/1.6/1.6/Defs/WeaponTraitDefs/ARA_WeaponCategoryDefs.xml
new file mode 100644
index 0000000..fa07921
--- /dev/null
+++ b/1.6/1.6/Defs/WeaponTraitDefs/ARA_WeaponCategoryDefs.xml
@@ -0,0 +1,13 @@
+
+
+
+ ARA_Huge_Weapon_Category
+
+ 这种武装器官相当巨大,只有那些大型阿拉克涅督虫(体型大于2.0)才能使用此武器。
+
+
+ ARA_Weapon_Damage_Category
+
+ 这种武装器官除了造成常规伤害外,还能引起其他的效果。
+
+
\ No newline at end of file
diff --git a/1.6/1.6/Defs/WeaponTraitDefs/ARA_WeaponTraitDefs.xml b/1.6/1.6/Defs/WeaponTraitDefs/ARA_WeaponTraitDefs.xml
new file mode 100644
index 0000000..c0f65a7
--- /dev/null
+++ b/1.6/1.6/Defs/WeaponTraitDefs/ARA_WeaponTraitDefs.xml
@@ -0,0 +1,47 @@
+
+
+
+ ARA_Huge_Weapon
+
+ 这种武装器官相当巨大,只有那些大型阿拉克涅督虫(体型大于2.0)才能使用此武器。
+ 1
+ ARA_Huge_Weapon_Category
+
+
+
+
+
+
+ ARA_Weapon_Damage_Acid
+
+ 这种武装器官的射弹命中敌人时,会在对方身上留下造成持续性伤害的酸液。
+ 1
+ ARA_Weapon_Damage_Category
+
+
+
+
+
+
+ ARA_Weapon_Damage_Toxid
+
+ 这种武装器官的射弹命中敌人时,会向对方体内注入毒素使其中毒。
+ 1
+ ARA_Weapon_Damage_Category
+
+
+
+
+
+
+ ARA_Weapon_Damage_Spawn
+
+ 这种武装器官的主要攻击方式是释放辅虫,其中一些会直接把辅虫往敌人中投掷,另一些则会使辅虫跟踪和吸附敌军以造成伤害。
+ 1
+ ARA_Weapon_Damage_Category
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/.suo b/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/.suo
index 047ac6f..2fd480a 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 dbfd2c0..83a4c28 100644
--- a/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/DocumentLayout.json
+++ b/Source/ArachnaeSwarm/.vs/ArachnaeSwarm/v17/DocumentLayout.json
@@ -7,7 +7,7 @@
"RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:verb\\verb_shootmeltbeam.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
- "AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|d:\\steamlibrary\\steamapps\\common\\rimworld\\mods\\arachnaeswarm\\source\\arachnaeswarm\\verb\\compcleave.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
+ "AbsoluteMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|D:\\SteamLibrary\\steamapps\\common\\RimWorld\\Mods\\ArachnaeSwarm\\Source\\ArachnaeSwarm\\verb\\compcleave.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{EAE0DB6B-E282-C812-7F5A-6D13E9D24581}|ArachnaeSwarm.csproj|solutionrelative:verb\\compcleave.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
@@ -18,8 +18,12 @@
"DocumentGroups": [
{
"DockedWidth": 200,
- "SelectedChildIndex": 0,
+ "SelectedChildIndex": 1,
"Children": [
+ {
+ "$type": "Bookmark",
+ "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
+ },
{
"$type": "Document",
"DocumentIndex": 0,
@@ -33,10 +37,6 @@
"WhenOpened": "2025-09-09T03:04:00.299Z",
"EditorCaption": ""
},
- {
- "$type": "Bookmark",
- "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
- },
{
"$type": "Document",
"DocumentIndex": 1,
@@ -47,8 +47,7 @@
"RelativeToolTip": "Verb\\CompCleave.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAmAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
- "WhenOpened": "2025-09-09T03:03:30.118Z",
- "EditorCaption": ""
+ "WhenOpened": "2025-09-09T03:03:30.118Z"
}
]
}
diff --git a/Source/ArachnaeSwarm/ARA_CustomUniqueWeapon/CompCustomUniqueWeapon.cs b/Source/ArachnaeSwarm/ARA_CustomUniqueWeapon/CompCustomUniqueWeapon.cs
new file mode 100644
index 0000000..62f9484
--- /dev/null
+++ b/Source/ArachnaeSwarm/ARA_CustomUniqueWeapon/CompCustomUniqueWeapon.cs
@@ -0,0 +1,154 @@
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using UnityEngine;
+using Verse;
+using RimWorld;
+
+namespace WulaFallenEmpire
+{
+ public class CompCustomUniqueWeapon : CompUniqueWeapon
+ {
+ // 使用 'new' 关键字来明确隐藏基类成员,解决 CS0108 警告
+ public new CompProperties_CustomUniqueWeapon Props => (CompProperties_CustomUniqueWeapon)props;
+
+ private List customTraits = new List();
+
+ // 使用 'new' 关键字隐藏基类属性,解决 CS0506 错误
+ public new List TraitsListForReading => customTraits;
+
+ // PostExposeData 是 virtual 的,保留 override
+ public override void PostExposeData()
+ {
+ base.PostExposeData();
+ Scribe_Collections.Look(ref customTraits, "customTraits", LookMode.Def);
+ if (Scribe.mode == LoadSaveMode.PostLoadInit)
+ {
+ if (customTraits == null) customTraits = new List();
+ SetupCustomTraits(fromSave: true);
+ }
+ }
+
+ // PostPostMake 是 virtual 的,保留 override
+ public override void PostPostMake()
+ {
+ InitializeCustomTraits();
+ if (parent.TryGetComp(out var comp))
+ {
+ comp.SetQuality(QualityUtility.GenerateQuality(QualityGenerator.Super), ArtGenerationContext.Outsider);
+ }
+ }
+
+ private void InitializeCustomTraits()
+ {
+ if (customTraits == null) customTraits = new List();
+ customTraits.Clear();
+
+ if (Props.forcedTraits != null)
+ {
+ foreach (var traitToForce in Props.forcedTraits)
+ {
+ if (customTraits.All(t => !t.Overlaps(traitToForce)))
+ {
+ customTraits.Add(traitToForce);
+ }
+ }
+ }
+
+ IntRange traitRange = Props.numTraitsRange ?? new IntRange(1, 3);
+ int totalTraitsTarget = Mathf.Max(customTraits.Count, traitRange.RandomInRange);
+ int missingTraits = totalTraitsTarget - customTraits.Count;
+
+ if (missingTraits > 0)
+ {
+ // CanAddTrait 现在是我们自己的 'new' 方法
+ IEnumerable possibleTraits = DefDatabase.AllDefs.Where(CanAddTrait);
+ for (int i = 0; i < missingTraits; i++)
+ {
+ if (!possibleTraits.Any()) break;
+
+ var chosenTrait = possibleTraits.RandomElementByWeight(t => t.commonality);
+ customTraits.Add(chosenTrait);
+
+ possibleTraits = possibleTraits.Where(t => t != chosenTrait && !t.Overlaps(chosenTrait));
+ }
+ }
+
+ SetupCustomTraits(fromSave: false);
+ }
+
+ private void SetupCustomTraits(bool fromSave)
+ {
+ foreach (WeaponTraitDef trait in customTraits)
+ {
+ if (trait.abilityProps != null && parent.GetComp() is CompEquippableAbilityReloadable comp)
+ {
+ comp.props = trait.abilityProps;
+ if (!fromSave)
+ {
+ comp.Notify_PropsChanged();
+ }
+ }
+ }
+ }
+
+ // 使用 'new' 关键字隐藏基类方法,解决 CS0506 错误
+ public new bool CanAddTrait(WeaponTraitDef trait)
+ {
+ if (customTraits.Any(t => t == trait || t.Overlaps(t)))
+ return false;
+
+ if (Props.weaponCategories != null && Props.weaponCategories.Any() && !Props.weaponCategories.Contains(trait.weaponCategory))
+ return false;
+
+ if (customTraits.Count == 0 && !trait.canGenerateAlone)
+ return false;
+
+ return true;
+ }
+
+ // --- 下面的方法都是 virtual 的,保留 override ---
+
+ public override string TransformLabel(string label) => label;
+ public override Color? ForceColor() => null;
+
+ public override float GetStatOffset(StatDef stat) => customTraits.Sum(t => t.statOffsets.GetStatOffsetFromList(stat));
+ public override float GetStatFactor(StatDef stat) => customTraits.Aggregate(1f, (current, t) => current * t.statFactors.GetStatFactorFromList(stat));
+
+ public override string CompInspectStringExtra()
+ {
+ if (customTraits.NullOrEmpty()) return null;
+ return "WeaponTraits".Translate() + ": " + customTraits.Select(t => t.label).ToCommaList().CapitalizeFirst();
+ }
+
+ public override string CompTipStringExtra()
+ {
+ if (customTraits.NullOrEmpty()) return base.CompTipStringExtra();
+ return "WeaponTraits".Translate() + ": " + customTraits.Select(t => t.label).ToCommaList().CapitalizeFirst();
+ }
+
+ public override IEnumerable SpecialDisplayStats()
+ {
+ if (customTraits.NullOrEmpty()) yield break;
+
+ var builder = new StringBuilder();
+ builder.AppendLine("Stat_ThingUniqueWeaponTrait_Desc".Translate());
+ builder.AppendLine();
+
+ for (int i = 0; i < customTraits.Count; i++)
+ {
+ WeaponTraitDef trait = customTraits[i];
+ builder.AppendLine(trait.LabelCap.Colorize(ColorLibrary.Yellow));
+ builder.AppendLine(trait.description);
+ if (i < customTraits.Count - 1) builder.AppendLine();
+ }
+
+ yield return new StatDrawEntry(
+ parent.def.IsMeleeWeapon ? StatCategoryDefOf.Weapon_Melee : StatCategoryDefOf.Weapon_Ranged,
+ "Stat_ThingUniqueWeaponTrait_Label".Translate(),
+ customTraits.Select(t => t.label).ToCommaList().CapitalizeFirst(),
+ builder.ToString(),
+ 1104);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/ArachnaeSwarm/ARA_CustomUniqueWeapon/CompProperties_CustomUniqueWeapon.cs b/Source/ArachnaeSwarm/ARA_CustomUniqueWeapon/CompProperties_CustomUniqueWeapon.cs
new file mode 100644
index 0000000..514a2bf
--- /dev/null
+++ b/Source/ArachnaeSwarm/ARA_CustomUniqueWeapon/CompProperties_CustomUniqueWeapon.cs
@@ -0,0 +1,21 @@
+using System.Collections.Generic;
+using Verse;
+using RimWorld;
+
+namespace WulaFallenEmpire
+{
+ public class CompProperties_CustomUniqueWeapon : CompProperties_UniqueWeapon
+ {
+ // A list of traits that will always be added to the weapon.
+ public List forcedTraits;
+
+ // The range of traits to randomly add. If not defined in XML, a default of 1-3 will be used.
+ public IntRange? numTraitsRange;
+
+ public CompProperties_CustomUniqueWeapon()
+ {
+ // Point to the implementation of our custom logic.
+ this.compClass = typeof(CompCustomUniqueWeapon);
+ }
+ }
+}
\ No newline at end of file
diff --git a/Source/ArachnaeSwarm/ArachnaeSwarm.csproj b/Source/ArachnaeSwarm/ArachnaeSwarm.csproj
index 36c9596..fc3601e 100644
--- a/Source/ArachnaeSwarm/ArachnaeSwarm.csproj
+++ b/Source/ArachnaeSwarm/ArachnaeSwarm.csproj
@@ -68,6 +68,8 @@
+
+
@@ -157,7 +159,6 @@
-
@@ -171,7 +172,6 @@
-