Skip to content

Commit d874ea8

Browse files
committed
RimWorld 1.3 Update
Updated all code for RimWorld 1.3 Update -Byakhee code redo. To Do: Byakhee launch from caravan mode. Fix arrival graphics and text labels to match the pawn. - The King in Yellow book casting has been fixed. The book can now be equipped and used similar to a psychic lance. - Nyarlathotep's Chaos Theory was updated to now remove traits that disable worktypes, e.g. pyromaniac.
1 parent c36848f commit d874ea8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1530
-1399
lines changed

1.3/Assemblies/CultOfCthulhu.dll

20 KB
Binary file not shown.

1.3/Defs/PawnKindDefs_CosmicHorrors/PawnKinds_Byakhee (Outdated).xml

Lines changed: 0 additions & 191 deletions
This file was deleted.

1.3/Defs/PawnKindDefs_CosmicHorrors/PawnKinds_Byakhee.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- BYAKHEE -->
44
<!-- KIND DEFS -->
55
<PawnKindDef>
6-
<defName>Cults_Byakhee</defName>
6+
<defName>Cults_ByakheeRace</defName>
77
<label>byakhee</label>
88
<race>Cults_ByakheeRace</race>
99
<combatPower>160</combatPower>
@@ -54,9 +54,9 @@
5454
</lifeStages>
5555
</PawnKindDef>
5656
<!-- RACE DEFS -->
57-
<ThingDef ParentName="BaseCultHorrorRaceInit">
57+
<ThingDef Class="CultOfCthulhu.PawnFlyerDef" ParentName="BaseCultHorrorRaceInit">
5858
<defName>Cults_ByakheeRace</defName>
59-
<thingClass>CultOfCthulhu.PawnFlyer_New</thingClass>
59+
<thingClass>CultOfCthulhu.PawnFlyer</thingClass>
6060
<label>byakhee</label>
6161
<tradeability>None</tradeability>
6262
<description>Interstellar predators that can travel through the vacuum of space by means of an organ known as the "hune," Byakhee are said to be servants of Hastur the Unspeakable. Through this servitude, Byakhee have been observed being mounted by the faithful to the Yellow Sign.</description>
@@ -117,6 +117,7 @@
117117
</tools>
118118
<techLevel>Animal</techLevel>
119119
<race>
120+
<herdAnimal>true</herdAnimal>
120121
<trainability>Advanced</trainability>
121122
<wildness>0.95</wildness>
122123
<intelligence>Animal</intelligence>
@@ -157,9 +158,24 @@
157158
<soundMeleeHitBuilding>Pawn_Melee_BigBash_HitBuilding</soundMeleeHitBuilding>
158159
<soundMeleeMiss>Pawn_Melee_BigBash_Miss</soundMeleeMiss>
159160
</race>
161+
<comps>
162+
<li Class="CultOfCthulhu.CompProperties_LaunchablePawn" />
163+
<li Class="CultOfCthulhu.CompProperties_TransporterPawn" />
164+
</comps>
160165
<recipes>
161166
<li>Euthanize</li>
162167
</recipes>
168+
<flightSpeed>0.000035</flightSpeed>
169+
<flightPawnLimit>2</flightPawnLimit>
170+
<flyableDistance>30</flyableDistance>
171+
<leavingDef>ByakheeLeaving</leavingDef>
172+
<travelingDef>ByakheeTraveling</travelingDef>
173+
<incomingDef>ByakheeIncoming</incomingDef>
174+
<landedDef>ByakheeLanded</landedDef>
175+
<takeOffSound>ByakheeTakeOff</takeOffSound>
176+
<landingSound>ByakheeLanding</landingSound>
177+
<dismountSound>Pawn_Mech_Centipede_Call</dismountSound>
178+
<landedTale>RodeByakhee</landedTale>
163179
</ThingDef>
164180
<!--
165181
<leatherColor></leatherColor>
@@ -172,4 +188,5 @@
172188
<leatherMarketValueFactor>1.5</leatherMarketValueFactor>
173189
<leatherCommonalityFactor>0.01</leatherCommonalityFactor>
174190
-->
191+
<!--========== Byakhee Leather ============-->
175192
</Defs>

1.3/Defs/ThingDefs_Items/Cults_Books.xml

Lines changed: 65 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -45,67 +45,94 @@
4545
<li Class="CompProperties_Forbiddable" />
4646
</comps>
4747
</ThingDef>
48-
<ThingDef Name="Cults_TheKingInYellow">
48+
<ThingDef ParentName="ApparelNoQualityBase" Name="Cults_TheKingInYellow">
4949
<defName>Cults_TheKingInYellow</defName>
50-
<thingClass>ThingWithComps</thingClass>
5150
<label>The King in Yellow</label>
5251
<description>The King in Yellow appears as a mysterious, glowing book. The contents of which are mundane during the first act of the play, however proceeding beyond the first act of the play causes madness and a cult-like obsession with an ancient symbol described simply as The Yellow Sign.</description>
5352
<graphicData>
5453
<texPath>Item/Resource/TheKingInYellow/TheKingInYellow</texPath>
5554
<graphicClass>Graphic_Single</graphicClass>
5655
<onGroundRandomRotateAngle>35</onGroundRandomRotateAngle>
5756
</graphicData>
58-
<category>Item</category>
59-
<thingCategories>
60-
<li>Items</li>
61-
</thingCategories>
62-
<pathCost>10</pathCost>
63-
<useHitPoints>true</useHitPoints>
64-
<selectable>true</selectable>
65-
<drawGUIOverlay>true</drawGUIOverlay>
57+
<techLevel>Neolithic</techLevel>
6658
<statBases>
6759
<Mass>0.5</Mass>
60+
<EquipDelay>2</EquipDelay>
6861
<WorkToMake>2000</WorkToMake>
6962
<MarketValue>20</MarketValue>
7063
<MaxHitPoints>20</MaxHitPoints>
7164
<Flammability>1.0</Flammability>
7265
<DeteriorationRate>0</DeteriorationRate>
7366
<SellPriceFactor>0.25</SellPriceFactor>
7467
</statBases>
75-
<costList>
76-
<WoodLog>1</WoodLog>
77-
</costList>
78-
<tradeability>Sellable</tradeability>
79-
<altitudeLayer>Item</altitudeLayer>
80-
<alwaysHaulable>True</alwaysHaulable>
81-
<tickerType>Never</tickerType>
82-
<techLevel>Neolithic</techLevel>
83-
<inspectorTabs>
84-
<li>ITab_Art</li>
85-
</inspectorTabs>
86-
<comps>
87-
<li Class="CompProperties_Glower">
88-
<glowRadius>10</glowRadius>
89-
<glowColor>(255,255,0,0)</glowColor>
90-
</li>
91-
<li Class="CompProperties_Forbiddable" />
92-
<li Class="CompProperties_Usable">
93-
<useJob>UseArtifact</useJob>
94-
<useLabel>Activate</useLabel>
95-
</li>
96-
<li Class="CompProperties_UseEffect">
97-
<compClass>CompUseEffect_Artifact</compClass>
68+
<tickerType>Normal</tickerType>
69+
<thingCategories>
70+
<li>ApparelUtility</li>
71+
</thingCategories>
72+
<apparel>
73+
<countsAsClothingForNudity>false</countsAsClothingForNudity>
74+
<scoreOffset>4</scoreOffset>
75+
<careIfWornByCorpse>false</careIfWornByCorpse>
76+
<careIfDamaged>false</careIfDamaged>
77+
<ignoredByNonViolent>false</ignoredByNonViolent>
78+
<wearPerDay>0</wearPerDay>
79+
<bodyPartGroups>
80+
<li>Waist</li>
81+
</bodyPartGroups>
82+
<layers>
83+
<li>Belt</li>
84+
</layers>
85+
</apparel>
86+
<resourceReadoutPriority>Middle</resourceReadoutPriority>
87+
<tradeNeverStack>true</tradeNeverStack>
88+
<smeltable>false</smeltable>
89+
<burnableByRecipe>false</burnableByRecipe>
90+
<drawGUIOverlay>false</drawGUIOverlay>
91+
<verbs>
92+
<li>
93+
<verbClass>Verb_CastTargetEffect</verbClass>
94+
<label>The King in Yellow</label>
95+
<hasStandardCommand>true</hasStandardCommand>
96+
<targetable>true</targetable>
97+
<onlyManualCast>True</onlyManualCast>
98+
<range>3</range>
99+
<warmupTime>5</warmupTime>
100+
<targetParams>
101+
<canTargetBuildings>false</canTargetBuildings>
102+
<onlyTargetPsychicSensitive>true</onlyTargetPsychicSensitive>
103+
<neverTargetIncapacitated>true</neverTargetIncapacitated>
104+
</targetParams>
105+
<soundCast>PsychicInsanityLanceCast</soundCast>
98106
</li>
99-
<li Class="CompProperties_Targetable">
100-
<compClass>CompTargetable_SinglePawn</compClass>
101-
<psychicSensitiveTargetsOnly>true</psychicSensitiveTargetsOnly>
107+
</verbs>
108+
109+
<comps>
110+
<li Class="CompProperties_Reloadable">
111+
<maxCharges>1</maxCharges>
112+
<destroyOnEmpty>true</destroyOnEmpty>
113+
<hotKey>Misc4</hotKey>
114+
<chargeNoun>charge</chargeNoun>
115+
<displayGizmoWhileUndrafted>false</displayGizmoWhileUndrafted>
102116
</li>
103117
<li>
104118
<compClass>CultOfCthulhu.CompTargetEffect_CultMinded</compClass>
105119
</li>
106-
<li>
107-
<compClass>CompTargetEffect_GoodwillImpact</compClass>
120+
<li Class="CompProperties_TargetEffect_FleckOnTarget">
121+
<fleckDef>PsycastPsychicEffect</fleckDef>
108122
</li>
123+
<li Class="CompProperties_TargetEffect_FleckConnecting">
124+
<fleckDef>PsycastPsychicLine</fleckDef>
125+
</li>
126+
<li Class="CompProperties_Glower">
127+
<glowRadius>10</glowRadius>
128+
<glowColor>(255,255,0,0)</glowColor>
129+
</li>
130+
<li Class="CompProperties_Forbiddable" />
109131
</comps>
132+
<tradeability>Sellable</tradeability>
133+
<alwaysHaulable>True</alwaysHaulable>
134+
<inspectorTabs>
135+
<li>ITab_Art</li>
136+
</inspectorTabs>
110137
</ThingDef>
111138
</Defs>

0 commit comments

Comments
 (0)