Advertisement
Guest User

RW Apparel Organiser VAE

a guest
Jan 29th, 2020
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 229.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <Patch>
  3. <!--============================== Remove "Headgear" ThingCategoryDef ==============================-->
  4. <!-- <Operation Class="PatchOperationSequence">
  5. <success>Always</success>
  6. <operations>
  7. <li Class="PatchOperationTest">
  8. <xpath>/ThingCategoryDef[defName="Headgear"]</xpath>
  9. <success>Invert</success>
  10. </li>
  11. <li Class="PatchOperationRemove">
  12. <xpath>*/ThingCategoryDef[defName="Headgear"]/label</xpath>
  13. </li>
  14. <li Class="PatchOperationRemove">
  15. <xpath>*/ThingCategoryDef[defName="Headgear"]/parent</xpath>
  16. </li>
  17. </operations>
  18. </Operation> -->
  19. <!--============================== Remove "USCMApparels" ThingCategoryDef ==============================-->
  20. <Operation Class="PatchOperationSequence">
  21. <success>Always</success>
  22. <operations>
  23. <li Class="PatchOperationTest">
  24. <xpath>/ThingCategoryDef[defName="USCMApparels"]</xpath>
  25. <success>Invert</success>
  26. </li>
  27. <li Class="PatchOperationRemove">
  28. <xpath>*/ThingCategoryDef[defName="USCMApparels"]/label</xpath>
  29. </li>
  30. <li Class="PatchOperationRemove">
  31. <xpath>*/ThingCategoryDef[defName="USCMApparels"]/parent</xpath>
  32. </li>
  33. </operations>
  34. </Operation>
  35. <!--============================== Remove "USCMHeadgears" ThingCategoryDef ==============================-->
  36. <Operation Class="PatchOperationSequence">
  37. <success>Always</success>
  38. <operations>
  39. <li Class="PatchOperationTest">
  40. <xpath>/ThingCategoryDef[defName="USCMHeadgears"]</xpath>
  41. <success>Invert</success>
  42. </li>
  43. <li Class="PatchOperationRemove">
  44. <xpath>*/ThingCategoryDef[defName="USCMHeadgears"]/label</xpath>
  45. </li>
  46. <li Class="PatchOperationRemove">
  47. <xpath>*/ThingCategoryDef[defName="USCMHeadgears"]/parent</xpath>
  48. </li>
  49. </operations>
  50. </Operation>
  51. <!--============================== Remove "Apparellosets" ThingCategoryDef ==============================-->
  52. <Operation Class="PatchOperationSequence">
  53. <success>Always</success>
  54. <operations>
  55. <li Class="PatchOperationTest">
  56. <xpath>/ThingCategoryDef[defName="Apparellosets"]</xpath>
  57. <success>Invert</success>
  58. </li>
  59. <li Class="PatchOperationRemove">
  60. <xpath>*/ThingCategoryDef[defName="Apparellosets"]/label</xpath>
  61. </li>
  62. <li Class="PatchOperationRemove">
  63. <xpath>*/ThingCategoryDef[defName="Apparellosets"]/parent</xpath>
  64. </li>
  65. </operations>
  66. </Operation>
  67. <!--============================== Remove "Apparellosets" ThingCategoryDef ==============================-->
  68. <Operation Class="PatchOperationSequence">
  69. <success>Always</success>
  70. <operations>
  71. <li Class="PatchOperationTest">
  72. <xpath>/ThingCategoryDef[defName="Accessorellocategory"]</xpath>
  73. <success>Invert</success>
  74. </li>
  75. <li Class="PatchOperationRemove">
  76. <xpath>*/ThingCategoryDef[defName="Accessorellocategory"]/label</xpath>
  77. </li>
  78. <li Class="PatchOperationRemove">
  79. <xpath>*/ThingCategoryDef[defName="Accessorellocategory"]/parent</xpath>
  80. </li>
  81. </operations>
  82. </Operation>
  83. <!--============================== Remove "Hand'n'Footwear" ThingCategoryDef ==============================-->
  84. <!-- <Operation Class="PatchOperationSequence">
  85. <success>Always</success>
  86. <operations>
  87. <li Class="PatchOperationTest">
  88. <xpath>/ThingCategoryDef[defName="Handwear"]</xpath>
  89. <success>Invert</success>
  90. </li>
  91. <li Class="PatchOperationRemove">
  92. <xpath>*/ThingCategoryDef[defName="Handwear"]/label</xpath>
  93. </li>
  94. <li Class="PatchOperationRemove">
  95. <xpath>*/ThingCategoryDef[defName="Handwear"]/parent</xpath>
  96. </li>
  97. </operations>
  98. </Operation>
  99. <Operation Class="PatchOperationSequence">
  100. <success>Always</success>
  101. <operations>
  102. <li Class="PatchOperationTest">
  103. <xpath>/ThingCategoryDef[defName="Footwear"]</xpath>
  104. <success>Invert</success>
  105. </li>
  106. <li Class="PatchOperationRemove">
  107. <xpath>*/ThingCategoryDef[defName="Footwear"]/label</xpath>
  108. </li>
  109. <li Class="PatchOperationRemove">
  110. <xpath>*/ThingCategoryDef[defName="Footwear"]/parent</xpath>
  111. </li>
  112. </operations>
  113. </Operation> -->
  114. <!--============================== Hats: Rimsenal - Feral ==============================-->
  115. <Operation Class="PatchOperationSequence">
  116. <success>Always</success>
  117. <operations>
  118. <li Class="PatchOperationTest">
  119. <xpath>/ThingDef[defName = "Apparel_CowboyHat"]</xpath>
  120. <success>Invert</success>
  121. </li>
  122. <li Class="PatchOperationAdd">
  123. <xpath>*/ThingDef[defName = "Apparel_CowboyHat"]</xpath>
  124. <value>
  125. <thingCategories>
  126. <li>Hats</li>
  127. </thingCategories>
  128. </value>
  129. </li>
  130. <li Class="PatchOperationTest">
  131. <xpath>/ThingDef[defName = "Apparel_Tuque"]</xpath>
  132. <success>Invert</success>
  133. </li>
  134. <li Class="PatchOperationAdd">
  135. <xpath>*/ThingDef[defName = "Apparel_Tuque"]</xpath>
  136. <value>
  137. <thingCategories>
  138. <li>Hats</li>
  139. </thingCategories>
  140. </value>
  141. </li>
  142. <li Class="PatchOperationTest">
  143. <xpath>/ThingDef[defName = "Apparel_PsychicFoilHelmet"]</xpath>
  144. <success>Invert</success>
  145. </li>
  146. <li Class="PatchOperationAdd">
  147. <xpath>*/ThingDef[defName = "Apparel_PsychicFoilHelmet"]</xpath>
  148. <value>
  149. <thingCategories>
  150. <li>Special_Apparel_Hats</li>
  151. </thingCategories>
  152. </value>
  153. </li>
  154. <li Class="PatchOperationTest">
  155. <xpath>/ThingDef[defName = "Apparel_TribalHeaddress"]</xpath>
  156. <success>Invert</success>
  157. </li>
  158. <li Class="PatchOperationAdd">
  159. <xpath>*/ThingDef[defName = "Apparel_TribalHeaddress"]</xpath>
  160. <value>
  161. <thingCategories>
  162. <li>Hats</li>
  163. </thingCategories>
  164. </value>
  165. </li>
  166. </operations>
  167. </Operation>
  168. <!--============================== Hats: Rimsenal - Feral ==============================-->
  169. <Operation Class="PatchOperationSequence">
  170. <success>Always</success>
  171. <operations>
  172. <li Class="PatchOperationTest">
  173. <xpath>/ThingDef[defName = "Apparel_HuskerHood"]</xpath>
  174. <success>Invert</success>
  175. </li>
  176. <li Class="PatchOperationAdd">
  177. <xpath>*/ThingDef[defName = "Apparel_HuskerHood"]</xpath>
  178. <value>
  179. <thingCategories>
  180. <li>Hats</li>
  181. </thingCategories>
  182. </value>
  183. </li>
  184. <li Class="PatchOperationTest">
  185. <xpath>/ThingDef[defName = "Apparel_SkulkerHood"]</xpath>
  186. <success>Invert</success>
  187. </li>
  188. <li Class="PatchOperationAdd">
  189. <xpath>*/ThingDef[defName = "Apparel_SkulkerHood"]</xpath>
  190. <value>
  191. <thingCategories>
  192. <li>Hats</li>
  193. </thingCategories>
  194. </value>
  195. </li>
  196. <li Class="PatchOperationTest">
  197. <xpath>/ThingDef[defName = "Apparel_ThumperHood"]</xpath>
  198. <success>Invert</success>
  199. </li>
  200. <li Class="PatchOperationAdd">
  201. <xpath>*/ThingDef[defName = "Apparel_ThumperHood"]</xpath>
  202. <value>
  203. <thingCategories>
  204. <li>Hats</li>
  205. </thingCategories>
  206. </value>
  207. </li>
  208. </operations>
  209. </Operation>
  210. <!--============================== Hats: Rimsenal - FashionRIMsta ==============================-->
  211. <Operation Class="PatchOperationSequence">
  212. <success>Always</success>
  213. <operations>
  214. <li Class="PatchOperationTest">
  215. <xpath>/ThingDef[defName = "Apparel_FSFurHat"]</xpath>
  216. <success>Invert</success>
  217. </li>
  218. <li Class="PatchOperationAdd">
  219. <xpath>*/ThingDef[defName = "Apparel_FSFurHat"]</xpath>
  220. <value>
  221. <thingCategories>
  222. <li>Hats</li>
  223. </thingCategories>
  224. </value>
  225. </li>
  226. <li Class="PatchOperationTest">
  227. <xpath>/ThingDef[defName = "Apparel_FSDesertWrap"]</xpath>
  228. <success>Invert</success>
  229. </li>
  230. <li Class="PatchOperationAdd">
  231. <xpath>*/ThingDef[defName = "Apparel_FSDesertWrap"]</xpath>
  232. <value>
  233. <thingCategories>
  234. <li>Hats</li>
  235. </thingCategories>
  236. </value>
  237. </li>
  238. <li Class="PatchOperationTest">
  239. <xpath>/ThingDef[defName = "Apparel_FSChefsHat"]</xpath>
  240. <success>Invert</success>
  241. </li>
  242. <li Class="PatchOperationAdd">
  243. <xpath>*/ThingDef[defName = "Apparel_FSChefsHat"]</xpath>
  244. <value>
  245. <thingCategories>
  246. <li>Hats</li>
  247. </thingCategories>
  248. </value>
  249. </li>
  250. <li Class="PatchOperationTest">
  251. <xpath>/ThingDef[defName = "Apparel_FSSurgicalMask"]</xpath>
  252. <success>Invert</success>
  253. </li>
  254. <li Class="PatchOperationAdd">
  255. <xpath>*/ThingDef[defName = "Apparel_FSSurgicalMask"]</xpath>
  256. <value>
  257. <thingCategories>
  258. <li>Hats</li>
  259. </thingCategories>
  260. </value>
  261. </li>
  262. </operations>
  263. </Operation>
  264. <!--============================== Hats: Call of Cthulhu - Factions ==============================-->
  265. <Operation Class="PatchOperationSequence">
  266. <success>Always</success>
  267. <operations>
  268. <li Class="PatchOperationTest">
  269. <xpath>/ThingDef[defName = "ROM_Apparel1920sPoliceHat"]</xpath>
  270. <success>Invert</success>
  271. </li>
  272. <li Class="PatchOperationAdd">
  273. <xpath>*/ThingDef[defName = "ROM_Apparel1920sPoliceHat"]</xpath>
  274. <value>
  275. <thingCategories>
  276. <li>Hats</li>
  277. </thingCategories>
  278. </value>
  279. </li>
  280. </operations>
  281. </Operation>
  282. <Operation Class="PatchOperationSequence">
  283. <success>Always</success>
  284. <operations>
  285. <li Class="PatchOperationTest">
  286. <xpath>/ThingDef[defName = "ROM_Apparel_NurseCap"]</xpath>
  287. <success>Invert</success>
  288. </li>
  289. <li Class="PatchOperationAdd">
  290. <xpath>*/ThingDef[defName = "ROM_Apparel_NurseCap"]</xpath>
  291. <value>
  292. <thingCategories>
  293. <li>Hats</li>
  294. </thingCategories>
  295. </value>
  296. </li>
  297. </operations>
  298. </Operation>
  299. <Operation Class="PatchOperationSequence">
  300. <success>Always</success>
  301. <operations>
  302. <li Class="PatchOperationTest">
  303. <xpath>/ThingDef[defName = "ROM_Apparel_CallOfCthulhuTopHat"]</xpath>
  304. <success>Invert</success>
  305. </li>
  306. <li Class="PatchOperationAdd">
  307. <xpath>*/ThingDef[defName = "ROM_Apparel_CallOfCthulhuTopHat"]</xpath>
  308. <value>
  309. <thingCategories>
  310. <li>Hats</li>
  311. </thingCategories>
  312. </value>
  313. </li>
  314. </operations>
  315. </Operation>
  316. <Operation Class="PatchOperationSequence">
  317. <success>Always</success>
  318. <operations>
  319. <li Class="PatchOperationTest">
  320. <xpath>/ThingDef[defName = "ROM_Apparel_CallOfCthulhuNewsboyCap"]</xpath>
  321. <success>Invert</success>
  322. </li>
  323. <li Class="PatchOperationAdd">
  324. <xpath>*/ThingDef[defName = "ROM_Apparel_CallOfCthulhuNewsboyCap"]</xpath>
  325. <value>
  326. <thingCategories>
  327. <li>Hats</li>
  328. </thingCategories>
  329. </value>
  330. </li>
  331. </operations>
  332. </Operation>
  333. <Operation Class="PatchOperationSequence">
  334. <success>Always</success>
  335. <operations>
  336. <li Class="PatchOperationTest">
  337. <xpath>/ThingDef[defName = "ROM_Apparel_CallOfCthulhuFedora"]</xpath>
  338. <success>Invert</success>
  339. </li>
  340. <li Class="PatchOperationAdd">
  341. <xpath>*/ThingDef[defName = "ROM_Apparel_CallOfCthulhuFedora"]</xpath>
  342. <value>
  343. <thingCategories>
  344. <li>Hats</li>
  345. </thingCategories>
  346. </value>
  347. </li>
  348. </operations>
  349. </Operation>
  350. <Operation Class="PatchOperationSequence">
  351. <success>Always</success>
  352. <operations>
  353. <li Class="PatchOperationTest">
  354. <xpath>/ThingDef[defName = "ROM_Apparel_CallOfCthulhuBowler"]</xpath>
  355. <success>Invert</success>
  356. </li>
  357. <li Class="PatchOperationAdd">
  358. <xpath>*/ThingDef[defName = "ROM_Apparel_CallOfCthulhuBowler"]</xpath>
  359. <value>
  360. <thingCategories>
  361. <li>Hats</li>
  362. </thingCategories>
  363. </value>
  364. </li>
  365. </operations>
  366. </Operation>
  367. <!--============================== Hats: Call of Cthulhu - Cults ==============================-->
  368. <Operation Class="PatchOperationSequence">
  369. <success>Always</success>
  370. <operations>
  371. <li Class="PatchOperationTest">
  372. <xpath>/ThingDef[defName = "Apparel_CultistHood"]</xpath>
  373. <success>Invert</success>
  374. </li>
  375. <li Class="PatchOperationAdd">
  376. <xpath>*/ThingDef[defName = "Apparel_CultistHood"]</xpath>
  377. <value>
  378. <thingCategories>
  379. <li>Hats</li>
  380. </thingCategories>
  381. </value>
  382. </li>
  383. </operations>
  384. </Operation>
  385. <Operation Class="PatchOperationSequence">
  386. <success>Always</success>
  387. <operations>
  388. <li Class="PatchOperationTest">
  389. <xpath>/ThingDef[defName = "Apparel_CthulhuMaskHood"]</xpath>
  390. <success>Invert</success>
  391. </li>
  392. <li Class="PatchOperationAdd">
  393. <xpath>*/ThingDef[defName = "Apparel_CthulhuMaskHood"]</xpath>
  394. <value>
  395. <thingCategories>
  396. <li>Hats</li>
  397. </thingCategories>
  398. </value>
  399. </li>
  400. </operations>
  401. </Operation>
  402. <Operation Class="PatchOperationSequence">
  403. <success>Always</success>
  404. <operations>
  405. <li Class="PatchOperationTest">
  406. <xpath>/ThingDef[defName = "Apparel_NyarlathotepHood"]</xpath>
  407. <success>Invert</success>
  408. </li>
  409. <li Class="PatchOperationAdd">
  410. <xpath>*/ThingDef[defName = "Apparel_NyarlathotepHood"]</xpath>
  411. <value>
  412. <thingCategories>
  413. <li>Hats</li>
  414. </thingCategories>
  415. </value>
  416. </li>
  417. </operations>
  418. </Operation>
  419. <Operation Class="PatchOperationSequence">
  420. <success>Always</success>
  421. <operations>
  422. <li Class="PatchOperationTest">
  423. <xpath>/ThingDef[defName = "Apparel_DagonMitre"]</xpath>
  424. <success>Invert</success>
  425. </li>
  426. <li Class="PatchOperationAdd">
  427. <xpath>*/ThingDef[defName = "Apparel_DagonMitre"]</xpath>
  428. <value>
  429. <thingCategories>
  430. <li>Hats</li>
  431. </thingCategories>
  432. </value>
  433. </li>
  434. </operations>
  435. </Operation>
  436. <Operation Class="PatchOperationSequence">
  437. <success>Always</success>
  438. <operations>
  439. <li Class="PatchOperationTest">
  440. <xpath>/ThingDef[defName = "Apparel_ShubMask"]</xpath>
  441. <success>Invert</success>
  442. </li>
  443. <li Class="PatchOperationAdd">
  444. <xpath>*/ThingDef[defName = "Apparel_ShubMask"]</xpath>
  445. <value>
  446. <thingCategories>
  447. <li>Hats</li>
  448. </thingCategories>
  449. </value>
  450. </li>
  451. </operations>
  452. </Operation>
  453. <Operation Class="PatchOperationSequence">
  454. <success>Always</success>
  455. <operations>
  456. <li Class="PatchOperationTest">
  457. <xpath>/ThingDef[defName = "Apparel_StandardHood"]</xpath>
  458. <success>Invert</success>
  459. </li>
  460. <li Class="PatchOperationAdd">
  461. <xpath>*/ThingDef[defName = "Apparel_StandardHood"]</xpath>
  462. <value>
  463. <thingCategories>
  464. <li>Hats</li>
  465. </thingCategories>
  466. </value>
  467. </li>
  468. </operations>
  469. </Operation>
  470. <Operation Class="PatchOperationSequence">
  471. <success>Always</success>
  472. <operations>
  473. <li Class="PatchOperationTest">
  474. <xpath>/ThingDef[defName = "Apparel_SailorsCap"]</xpath>
  475. <success>Invert</success>
  476. </li>
  477. <li Class="PatchOperationAdd">
  478. <xpath>*/ThingDef[defName = "Apparel_SailorsCap"]</xpath>
  479. <value>
  480. <thingCategories>
  481. <li>Hats</li>
  482. </thingCategories>
  483. </value>
  484. </li>
  485. </operations>
  486. </Operation>
  487. <!--============================== Hats: Forsakens ==============================-->
  488. <Operation Class="PatchOperationSequence">
  489. <success>Always</success>
  490. <operations>
  491. <li Class="PatchOperationTest">
  492. <xpath>/ThingDef[defName = "Forsaken_Hood"]</xpath>
  493. <success>Invert</success>
  494. </li>
  495. <li Class="PatchOperationAdd">
  496. <xpath>*/ThingDef[defName = "Forsaken_Hood"]</xpath>
  497. <value>
  498. <thingCategories>
  499. <li>Hats</li>
  500. </thingCategories>
  501. </value>
  502. </li>
  503. </operations>
  504. </Operation>
  505. <!--============================== Hats: Apparello 2 ==============================-->
  506. <Operation Class="PatchOperationSequence">
  507. <success>Always</success>
  508. <operations>
  509. <li Class="PatchOperationTest">
  510. <xpath>/ThingDef[defName = "Apparello_Quote"]</xpath>
  511. <success>Invert</success>
  512. </li>
  513. <li Class="PatchOperationAdd">
  514. <xpath>*/ThingDef[defName = "Apparello_Quote"]</xpath>
  515. <value>
  516. <thingCategories>
  517. <li>Hats</li>
  518. </thingCategories>
  519. </value>
  520. </li>
  521. </operations>
  522. </Operation>
  523. <Operation Class="PatchOperationSequence">
  524. <success>Always</success>
  525. <operations>
  526. <li Class="PatchOperationTest">
  527. <xpath>/ThingDef[defName = "Apparello_Zorro"]</xpath>
  528. <success>Invert</success>
  529. </li>
  530. <li Class="PatchOperationConditional">
  531. <xpath>/Defs/ThingDef[defName = "Apparello_Zorro"]/thingCategories</xpath>
  532. <match Class="PatchOperationAdd">
  533. <xpath>/Defs/ThingDef[defName = "Apparello_Zorro"]/thingCategories</xpath>
  534. <value>
  535. <li>Hats</li>
  536. </value>
  537. </match>
  538. <nomatch Class="PatchOperationAdd">
  539. <xpath>/Defs/ThingDef[defName = "Apparello_Zorro"]</xpath>
  540. <value>
  541. <thingCategories>
  542. <li>Hats</li>
  543. </thingCategories>
  544. </value>
  545. </nomatch>
  546. </li>
  547. </operations>
  548. </Operation>
  549. <Operation Class="PatchOperationSequence">
  550. <success>Always</success>
  551. <operations>
  552. <li Class="PatchOperationTest">
  553. <xpath>/ThingDef[defName = "Apparello_Rockman"]</xpath>
  554. <success>Invert</success>
  555. </li>
  556. <li Class="PatchOperationReplace">
  557. <xpath>*/ThingDef[defName = "Apparello_Rockman"]/thingCategories</xpath>
  558. <value>
  559. <thingCategories>
  560. <li>Hats</li>
  561. </thingCategories>
  562. </value>
  563. </li>
  564. </operations>
  565. </Operation>
  566. <Operation Class="PatchOperationSequence">
  567. <success>Always</success>
  568. <operations>
  569. <li Class="PatchOperationTest">
  570. <xpath>/ThingDef[defName = "Apparello_Raz"]</xpath>
  571. <success>Invert</success>
  572. </li>
  573. <li Class="PatchOperationReplace">
  574. <xpath>*/ThingDef[defName = "Apparello_Raz"]/thingCategories</xpath>
  575. <value>
  576. <thingCategories>
  577. <li>Hats</li>
  578. </thingCategories>
  579. </value>
  580. </li>
  581. </operations>
  582. </Operation>
  583. <Operation Class="PatchOperationSequence">
  584. <success>Always</success>
  585. <operations>
  586. <li Class="PatchOperationTest">
  587. <xpath>/ThingDef[defName = "Apparello_MojoFeather"]</xpath>
  588. <success>Invert</success>
  589. </li>
  590. <li Class="PatchOperationReplace">
  591. <xpath>*/ThingDef[defName = "Apparello_MojoFeather"]/thingCategories</xpath>
  592. <value>
  593. <thingCategories>
  594. <li>Hats</li>
  595. </thingCategories>
  596. </value>
  597. </li>
  598. </operations>
  599. </Operation>
  600. <Operation Class="PatchOperationSequence">
  601. <success>Always</success>
  602. <operations>
  603. <li Class="PatchOperationTest">
  604. <xpath>/ThingDef[defName = "Apparello_Wendywelder"]</xpath>
  605. <success>Invert</success>
  606. </li>
  607. <li Class="PatchOperationReplace">
  608. <xpath>*/ThingDef[defName = "Apparello_Wendywelder"]/thingCategories</xpath>
  609. <value>
  610. <thingCategories>
  611. <li>Hats</li>
  612. </thingCategories>
  613. </value>
  614. </li>
  615. </operations>
  616. </Operation>
  617. <Operation Class="PatchOperationSequence">
  618. <success>Always</success>
  619. <operations>
  620. <li Class="PatchOperationTest">
  621. <xpath>/ThingDef[defName = "Apparello_Hardhat"]</xpath>
  622. <success>Invert</success>
  623. </li>
  624. <li Class="PatchOperationReplace">
  625. <xpath>*/ThingDef[defName = "Apparello_Hardhat"]/thingCategories</xpath>
  626. <value>
  627. <thingCategories>
  628. <li>Hats</li>
  629. </thingCategories>
  630. </value>
  631. </li>
  632. </operations>
  633. </Operation>
  634. <Operation Class="PatchOperationSequence">
  635. <success>Always</success>
  636. <operations>
  637. <li Class="PatchOperationTest">
  638. <xpath>/ThingDef[defName = "Apparello_Chefhat"]</xpath>
  639. <success>Invert</success>
  640. </li>
  641. <li Class="PatchOperationReplace">
  642. <xpath>*/ThingDef[defName = "Apparello_Chefhat"]/thingCategories</xpath>
  643. <value>
  644. <thingCategories>
  645. <li>Hats</li>
  646. </thingCategories>
  647. </value>
  648. </li>
  649. </operations>
  650. </Operation>
  651. <Operation Class="PatchOperationSequence">
  652. <success>Always</success>
  653. <operations>
  654. <li Class="PatchOperationTest">
  655. <xpath>/ThingDef[defName = "Apparello_Chefhatplus"]</xpath>
  656. <success>Invert</success>
  657. </li>
  658. <li Class="PatchOperationReplace">
  659. <xpath>*/ThingDef[defName = "Apparello_Chefhatplus"]/thingCategories</xpath>
  660. <value>
  661. <thingCategories>
  662. <li>Hats</li>
  663. </thingCategories>
  664. </value>
  665. </li>
  666. </operations>
  667. </Operation>
  668. <Operation Class="PatchOperationSequence">
  669. <success>Always</success>
  670. <operations>
  671. <li Class="PatchOperationTest">
  672. <xpath>/ThingDef[defName = "Apparello_Commissar"]</xpath>
  673. <success>Invert</success>
  674. </li>
  675. <li Class="PatchOperationReplace">
  676. <xpath>*/ThingDef[defName = "Apparello_Commissar"]/thingCategories</xpath>
  677. <value>
  678. <thingCategories>
  679. <li>Hats</li>
  680. </thingCategories>
  681. </value>
  682. </li>
  683. </operations>
  684. </Operation>
  685. <Operation Class="PatchOperationSequence">
  686. <success>Always</success>
  687. <operations>
  688. <li Class="PatchOperationTest">
  689. <xpath>/ThingDef[defName = "Apparello_Cybissar"]</xpath>
  690. <success>Invert</success>
  691. </li>
  692. <li Class="PatchOperationReplace">
  693. <xpath>*/ThingDef[defName = "Apparello_Cybissar"]/thingCategories</xpath>
  694. <value>
  695. <thingCategories>
  696. <li>Hats</li>
  697. </thingCategories>
  698. </value>
  699. </li>
  700. </operations>
  701. </Operation>
  702. <Operation Class="PatchOperationSequence">
  703. <success>Always</success>
  704. <operations>
  705. <li Class="PatchOperationTest">
  706. <xpath>/ThingDef[defName = "Apparello_Medband"]</xpath>
  707. <success>Invert</success>
  708. </li>
  709. <li Class="PatchOperationReplace">
  710. <xpath>*/ThingDef[defName = "Apparello_Medband"]/thingCategories</xpath>
  711. <value>
  712. <thingCategories>
  713. <li>Hats</li>
  714. </thingCategories>
  715. </value>
  716. </li>
  717. </operations>
  718. </Operation>
  719. <Operation Class="PatchOperationSequence">
  720. <success>Always</success>
  721. <operations>
  722. <li Class="PatchOperationTest">
  723. <xpath>/ThingDef[defName = "Apparello_Docteur"]</xpath>
  724. <success>Invert</success>
  725. </li>
  726. <li Class="PatchOperationReplace">
  727. <xpath>*/ThingDef[defName = "Apparello_Docteur"]/thingCategories</xpath>
  728. <value>
  729. <thingCategories>
  730. <li>Hats</li>
  731. </thingCategories>
  732. </value>
  733. </li>
  734. </operations>
  735. </Operation>
  736. <Operation Class="PatchOperationSequence">
  737. <success>Always</success>
  738. <operations>
  739. <li Class="PatchOperationTest">
  740. <xpath>/ThingDef[defName = "Apparello_Plainhat"]</xpath>
  741. <success>Invert</success>
  742. </li>
  743. <li Class="PatchOperationReplace">
  744. <xpath>*/ThingDef[defName = "Apparello_Plainhat"]/thingCategories</xpath>
  745. <value>
  746. <thingCategories>
  747. <li>Hats</li>
  748. </thingCategories>
  749. </value>
  750. </li>
  751. </operations>
  752. </Operation>
  753. <Operation Class="PatchOperationSequence">
  754. <success>Always</success>
  755. <operations>
  756. <li Class="PatchOperationTest">
  757. <xpath>/ThingDef[defName = "Apparello_Furhat"]</xpath>
  758. <success>Invert</success>
  759. </li>
  760. <li Class="PatchOperationReplace">
  761. <xpath>*/ThingDef[defName = "Apparello_Furhat"]/thingCategories</xpath>
  762. <value>
  763. <thingCategories>
  764. <li>Hats</li>
  765. </thingCategories>
  766. </value>
  767. </li>
  768. </operations>
  769. </Operation>
  770. <Operation Class="PatchOperationSequence">
  771. <success>Always</success>
  772. <operations>
  773. <li Class="PatchOperationTest">
  774. <xpath>/ThingDef[defName = "Apparello_Bandit"]</xpath>
  775. <success>Invert</success>
  776. </li>
  777. <li Class="PatchOperationReplace">
  778. <xpath>*/ThingDef[defName = "Apparello_Bandit"]/thingCategories</xpath>
  779. <value>
  780. <thingCategories>
  781. <li>Hats</li>
  782. </thingCategories>
  783. </value>
  784. </li>
  785. </operations>
  786. </Operation>
  787. <Operation Class="PatchOperationSequence">
  788. <success>Always</success>
  789. <operations>
  790. <li Class="PatchOperationTest">
  791. <xpath>/ThingDef[defName = "Apparello_Cardshark"]</xpath>
  792. <success>Invert</success>
  793. </li>
  794. <li Class="PatchOperationReplace">
  795. <xpath>*/ThingDef[defName = "Apparello_Cardshark"]/thingCategories</xpath>
  796. <value>
  797. <thingCategories>
  798. <li>Hats</li>
  799. </thingCategories>
  800. </value>
  801. </li>
  802. </operations>
  803. </Operation>
  804. <Operation Class="PatchOperationSequence">
  805. <success>Always</success>
  806. <operations>
  807. <li Class="PatchOperationTest">
  808. <xpath>/ThingDef[defName = "Apparello_Sandtrader"]</xpath>
  809. <success>Invert</success>
  810. </li>
  811. <li Class="PatchOperationReplace">
  812. <xpath>*/ThingDef[defName = "Apparello_Sandtrader"]/thingCategories</xpath>
  813. <value>
  814. <thingCategories>
  815. <li>Hats</li>
  816. </thingCategories>
  817. </value>
  818. </li>
  819. </operations>
  820. </Operation>
  821. <Operation Class="PatchOperationSequence">
  822. <success>Always</success>
  823. <operations>
  824. <li Class="PatchOperationTest">
  825. <xpath>/ThingDef[defName = "Apparello_Tradecone"]</xpath>
  826. <success>Invert</success>
  827. </li>
  828. <li Class="PatchOperationReplace">
  829. <xpath>*/ThingDef[defName = "Apparello_Tradecone"]/thingCategories</xpath>
  830. <value>
  831. <thingCategories>
  832. <li>Hats</li>
  833. </thingCategories>
  834. </value>
  835. </li>
  836. </operations>
  837. </Operation>
  838. <Operation Class="PatchOperationSequence">
  839. <success>Always</success>
  840. <operations>
  841. <li Class="PatchOperationTest">
  842. <xpath>/ThingDef[defName = "Apparello_Fedora"]</xpath>
  843. <success>Invert</success>
  844. </li>
  845. <li Class="PatchOperationReplace">
  846. <xpath>*/ThingDef[defName = "Apparello_Fedora"]/thingCategories</xpath>
  847. <value>
  848. <thingCategories>
  849. <li>Hats</li>
  850. </thingCategories>
  851. </value>
  852. </li>
  853. </operations>
  854. </Operation>
  855. <Operation Class="PatchOperationSequence">
  856. <success>Always</success>
  857. <operations>
  858. <li Class="PatchOperationTest">
  859. <xpath>/ThingDef[defName = "Apparello_Headset"]</xpath>
  860. <success>Invert</success>
  861. </li>
  862. <li Class="PatchOperationReplace">
  863. <xpath>*/ThingDef[defName = "Apparello_Headset"]/thingCategories</xpath>
  864. <value>
  865. <thingCategories>
  866. <li>Hats</li>
  867. </thingCategories>
  868. </value>
  869. </li>
  870. </operations>
  871. </Operation>
  872. <Operation Class="PatchOperationSequence">
  873. <success>Always</success>
  874. <operations>
  875. <li Class="PatchOperationTest">
  876. <xpath>/ThingDef[defName = "Apparello_Beret"]</xpath>
  877. <success>Invert</success>
  878. </li>
  879. <li Class="PatchOperationReplace">
  880. <xpath>*/ThingDef[defName = "Apparello_Beret"]/thingCategories</xpath>
  881. <value>
  882. <thingCategories>
  883. <li>Hats</li>
  884. </thingCategories>
  885. </value>
  886. </li>
  887. </operations>
  888. </Operation>
  889. <Operation Class="PatchOperationSequence">
  890. <success>Always</success>
  891. <operations>
  892. <li Class="PatchOperationTest">
  893. <xpath>/ThingDef[defName = "Apparello_Tophat"]</xpath>
  894. <success>Invert</success>
  895. </li>
  896. <li Class="PatchOperationReplace">
  897. <xpath>*/ThingDef[defName = "Apparello_Tophat"]/thingCategories</xpath>
  898. <value>
  899. <thingCategories>
  900. <li>Hats</li>
  901. </thingCategories>
  902. </value>
  903. </li>
  904. </operations>
  905. </Operation>
  906. <Operation Class="PatchOperationSequence">
  907. <success>Always</success>
  908. <operations>
  909. <li Class="PatchOperationTest">
  910. <xpath>/ThingDef[defName = "Apparello_Bandal"]</xpath>
  911. <success>Invert</success>
  912. </li>
  913. <li Class="PatchOperationReplace">
  914. <xpath>*/ThingDef[defName = "Apparello_Bandal"]/thingCategories</xpath>
  915. <value>
  916. <thingCategories>
  917. <li>Hats</li>
  918. </thingCategories>
  919. </value>
  920. </li>
  921. </operations>
  922. </Operation>
  923. <Operation Class="PatchOperationSequence">
  924. <success>Always</success>
  925. <operations>
  926. <li Class="PatchOperationTest">
  927. <xpath>/ThingDef[defName = "Apparello_Vandal"]</xpath>
  928. <success>Invert</success>
  929. </li>
  930. <li Class="PatchOperationReplace">
  931. <xpath>*/ThingDef[defName = "Apparello_Vandal"]/thingCategories</xpath>
  932. <value>
  933. <thingCategories>
  934. <li>Hats</li>
  935. </thingCategories>
  936. </value>
  937. </li>
  938. </operations>
  939. </Operation>
  940. <Operation Class="PatchOperationSequence">
  941. <success>Always</success>
  942. <operations>
  943. <li Class="PatchOperationTest">
  944. <xpath>/ThingDef[defName = "Apparello_Lecap"]</xpath>
  945. <success>Invert</success>
  946. </li>
  947. <li Class="PatchOperationReplace">
  948. <xpath>*/ThingDef[defName = "Apparello_Lecap"]/thingCategories</xpath>
  949. <value>
  950. <thingCategories>
  951. <li>Hats</li>
  952. </thingCategories>
  953. </value>
  954. </li>
  955. </operations>
  956. </Operation>
  957. <Operation Class="PatchOperationSequence">
  958. <success>Always</success>
  959. <operations>
  960. <li Class="PatchOperationTest">
  961. <xpath>/ThingDef[defName = "Apparello_Hood"]</xpath>
  962. <success>Invert</success>
  963. </li>
  964. <li Class="PatchOperationReplace">
  965. <xpath>*/ThingDef[defName = "Apparello_Hood"]/thingCategories</xpath>
  966. <value>
  967. <thingCategories>
  968. <li>Hats</li>
  969. </thingCategories>
  970. </value>
  971. </li>
  972. </operations>
  973. </Operation>
  974. <Operation Class="PatchOperationSequence">
  975. <success>Always</success>
  976. <operations>
  977. <li Class="PatchOperationTest">
  978. <xpath>/ThingDef[defName = "Apparello_Sombrero"]</xpath>
  979. <success>Invert</success>
  980. </li>
  981. <li Class="PatchOperationReplace">
  982. <xpath>*/ThingDef[defName = "Apparello_Sombrero"]/thingCategories</xpath>
  983. <value>
  984. <thingCategories>
  985. <li>Hats</li>
  986. </thingCategories>
  987. </value>
  988. </li>
  989. </operations>
  990. </Operation>
  991. <!--============================== Hats: PB Basic Apparel ==============================-->
  992. <Operation Class="PatchOperationSequence">
  993. <success>Always</success>
  994. <operations>
  995. <li Class="PatchOperationTest">
  996. <xpath>/ThingDef[defName = "PBStrawHat"]</xpath>
  997. <success>Invert</success>
  998. </li>
  999. <li Class="PatchOperationReplace">
  1000. <xpath>*/ThingDef[defName = "PBStrawHat"]/thingCategories</xpath>
  1001. <value>
  1002. <thingCategories>
  1003. <li>Hats</li>
  1004. </thingCategories>
  1005. </value>
  1006. </li>
  1007. </operations>
  1008. </Operation>
  1009. <Operation Class="PatchOperationSequence">
  1010. <success>Always</success>
  1011. <operations>
  1012. <li Class="PatchOperationTest">
  1013. <xpath>/ThingDef[defName = "PBTopHat"]</xpath>
  1014. <success>Invert</success>
  1015. </li>
  1016. <li Class="PatchOperationReplace">
  1017. <xpath>*/ThingDef[defName = "PBTopHat"]/thingCategories</xpath>
  1018. <value>
  1019. <thingCategories>
  1020. <li>Hats</li>
  1021. </thingCategories>
  1022. </value>
  1023. </li>
  1024. </operations>
  1025. </Operation>
  1026. <!--============================== Hats: Drizzly's Christmas Hats ==============================-->
  1027. <Operation Class="PatchOperationSequence">
  1028. <success>Always</success>
  1029. <operations>
  1030. <li Class="PatchOperationTest">
  1031. <xpath>/ThingDef[defName = "Apparel_DBSantaHat"]</xpath>
  1032. <success>Invert</success>
  1033. </li>
  1034. <li Class="PatchOperationAdd">
  1035. <xpath>*/ThingDef[defName = "Apparel_DBSantaHat"]</xpath>
  1036. <value>
  1037. <thingCategories>
  1038. <li>Hats</li>
  1039. </thingCategories>
  1040. </value>
  1041. </li>
  1042. </operations>
  1043. </Operation>
  1044. <Operation Class="PatchOperationSequence">
  1045. <success>Always</success>
  1046. <operations>
  1047. <li Class="PatchOperationTest">
  1048. <xpath>/ThingDef[defName = "Apparel_DBElfHat"]</xpath>
  1049. <success>Invert</success>
  1050. </li>
  1051. <li Class="PatchOperationAdd">
  1052. <xpath>*/ThingDef[defName = "Apparel_DBElfHat"]</xpath>
  1053. <value>
  1054. <thingCategories>
  1055. <li>Hats</li>
  1056. </thingCategories>
  1057. </value>
  1058. </li>
  1059. </operations>
  1060. </Operation>
  1061. <!--============================== Hats: Animal Hoods ==============================-->
  1062. <Operation Class="PatchOperationSequence">
  1063. <success>Always</success>
  1064. <operations>
  1065. <li Class="PatchOperationTest">
  1066. <xpath>/ThingDef[defName = "Apparel_WolfHood"]</xpath>
  1067. <success>Invert</success>
  1068. </li>
  1069. <li Class="PatchOperationAdd">
  1070. <xpath>*/ThingDef[defName = "Apparel_WolfHood"]</xpath>
  1071. <value>
  1072. <thingCategories>
  1073. <li>Hats</li>
  1074. </thingCategories>
  1075. </value>
  1076. </li>
  1077. </operations>
  1078. </Operation>
  1079. <Operation Class="PatchOperationSequence">
  1080. <success>Always</success>
  1081. <operations>
  1082. <li Class="PatchOperationTest">
  1083. <xpath>/ThingDef[defName = "Apparel_ArcticHood"]</xpath>
  1084. <success>Invert</success>
  1085. </li>
  1086. <li Class="PatchOperationAdd">
  1087. <xpath>*/ThingDef[defName = "Apparel_ArcticHood"]</xpath>
  1088. <value>
  1089. <thingCategories>
  1090. <li>Hats</li>
  1091. </thingCategories>
  1092. </value>
  1093. </li>
  1094. </operations>
  1095. </Operation>
  1096. <Operation Class="PatchOperationSequence">
  1097. <success>Always</success>
  1098. <operations>
  1099. <li Class="PatchOperationTest">
  1100. <xpath>/ThingDef[defName = "Apparel_DeerHood"]</xpath>
  1101. <success>Invert</success>
  1102. </li>
  1103. <li Class="PatchOperationAdd">
  1104. <xpath>*/ThingDef[defName = "Apparel_DeerHood"]</xpath>
  1105. <value>
  1106. <thingCategories>
  1107. <li>Hats</li>
  1108. </thingCategories>
  1109. </value>
  1110. </li>
  1111. </operations>
  1112. </Operation>
  1113. <Operation Class="PatchOperationSequence">
  1114. <success>Always</success>
  1115. <operations>
  1116. <li Class="PatchOperationTest">
  1117. <xpath>/ThingDef[defName = "Apparel_ScarabHood"]</xpath>
  1118. <success>Invert</success>
  1119. </li>
  1120. <li Class="PatchOperationAdd">
  1121. <xpath>*/ThingDef[defName = "Apparel_ScarabHood"]</xpath>
  1122. <value>
  1123. <thingCategories>
  1124. <li>Hats</li>
  1125. </thingCategories>
  1126. </value>
  1127. </li>
  1128. </operations>
  1129. </Operation>
  1130. <!--============================== Hats: Tribal Essentials ==============================-->
  1131. <Operation Class="PatchOperationSequence">
  1132. <success>Always</success>
  1133. <operations>
  1134. <li Class="PatchOperationTest">
  1135. <xpath>/ThingDef[defName = "WovenHat"]</xpath>
  1136. <success>Invert</success>
  1137. </li>
  1138. <li Class="PatchOperationAdd">
  1139. <xpath>*/ThingDef[defName = "WovenHat"]</xpath>
  1140. <value>
  1141. <thingCategories>
  1142. <li>Hats</li>
  1143. </thingCategories>
  1144. </value>
  1145. </li>
  1146. </operations>
  1147. </Operation>
  1148. <Operation Class="PatchOperationSequence">
  1149. <success>Always</success>
  1150. <operations>
  1151. <li Class="PatchOperationTest">
  1152. <xpath>/ThingDef[defName = "MuffaloHeaddress"]</xpath>
  1153. <success>Invert</success>
  1154. </li>
  1155. <li Class="PatchOperationAdd">
  1156. <xpath>*/ThingDef[defName = "MuffaloHeaddress"]</xpath>
  1157. <value>
  1158. <thingCategories>
  1159. <li>Hats</li>
  1160. </thingCategories>
  1161. </value>
  1162. </li>
  1163. </operations>
  1164. </Operation>
  1165. <!--============================== Goggles: Apparello 2 ==============================-->
  1166. <Operation Class="PatchOperationSequence">
  1167. <success>Always</success>
  1168. <operations>
  1169. <li Class="PatchOperationTest">
  1170. <xpath>/ThingDef[defName = "Apparello_Goggles"]</xpath>
  1171. <success>Invert</success>
  1172. </li>
  1173. <li Class="PatchOperationAdd">
  1174. <xpath>*/ThingDef[defName = "Apparello_Goggles"]</xpath>
  1175. <value>
  1176. <thingCategories>
  1177. <li>Goggles</li>
  1178. </thingCategories>
  1179. </value>
  1180. </li>
  1181. </operations>
  1182. </Operation>
  1183. <Operation Class="PatchOperationSequence">
  1184. <success>Always</success>
  1185. <operations>
  1186. <li Class="PatchOperationTest">
  1187. <xpath>/ThingDef[defName = "Apparello_Visoor"]</xpath>
  1188. <success>Invert</success>
  1189. </li>
  1190. <li Class="PatchOperationAdd">
  1191. <xpath>*/ThingDef[defName = "Apparello_Visoor"]</xpath>
  1192. <value>
  1193. <thingCategories>
  1194. <li>Goggles</li>
  1195. </thingCategories>
  1196. </value>
  1197. </li>
  1198. </operations>
  1199. </Operation>
  1200. <Operation Class="PatchOperationSequence">
  1201. <success>Always</success>
  1202. <operations>
  1203. <li Class="PatchOperationTest">
  1204. <xpath>/ThingDef[defName = "Apparello_Shadess"]</xpath>
  1205. <success>Invert</success>
  1206. </li>
  1207. <li Class="PatchOperationAdd">
  1208. <xpath>*/ThingDef[defName = "Apparello_Shadess"]</xpath>
  1209. <value>
  1210. <thingCategories>
  1211. <li>Goggles</li>
  1212. </thingCategories>
  1213. </value>
  1214. </li>
  1215. </operations>
  1216. </Operation>
  1217. <Operation Class="PatchOperationSequence">
  1218. <success>Always</success>
  1219. <operations>
  1220. <li Class="PatchOperationTest">
  1221. <xpath>/ThingDef[defName = "Apparello_Piloggle"]</xpath>
  1222. <success>Invert</success>
  1223. </li>
  1224. <li Class="PatchOperationAdd">
  1225. <xpath>*/ThingDef[defName = "Apparello_Piloggle"]</xpath>
  1226. <value>
  1227. <thingCategories>
  1228. <li>Goggles</li>
  1229. </thingCategories>
  1230. </value>
  1231. </li>
  1232. </operations>
  1233. </Operation>
  1234. <Operation Class="PatchOperationSequence">
  1235. <success>Always</success>
  1236. <operations>
  1237. <li Class="PatchOperationTest">
  1238. <xpath>/ThingDef[defName = "Apparello_Brimsk"]</xpath>
  1239. <success>Invert</success>
  1240. </li>
  1241. <li Class="PatchOperationAdd">
  1242. <xpath>*/ThingDef[defName = "Apparello_Brimsk"]</xpath>
  1243. <value>
  1244. <thingCategories>
  1245. <li>Goggles</li>
  1246. </thingCategories>
  1247. </value>
  1248. </li>
  1249. </operations>
  1250. </Operation>
  1251. <!--============================== Civilian_Apparel_Fallout: Toxic Fallout Protection Suit ==============================-->
  1252. <Operation Class="PatchOperationSequence">
  1253. <success>Always</success>
  1254. <operations>
  1255. <li Class="PatchOperationTest">
  1256. <xpath>/ThingDef[defName = "Apparel_ABC_Helmet"]</xpath>
  1257. <success>Invert</success>
  1258. </li>
  1259. <li Class="PatchOperationAdd">
  1260. <xpath>*/ThingDef[defName = "Apparel_ABC_Helmet"]</xpath>
  1261. <value>
  1262. <thingCategories>
  1263. <li>Civilian_Apparel_Fallout</li>
  1264. </thingCategories>
  1265. </value>
  1266. </li>
  1267. </operations>
  1268. </Operation>
  1269. <Operation Class="PatchOperationSequence">
  1270. <success>Always</success>
  1271. <operations>
  1272. <li Class="PatchOperationTest">
  1273. <xpath>/ThingDef[defName = "Apparel_ABC_Jacket"]</xpath>
  1274. <success>Invert</success>
  1275. </li>
  1276. <li Class="PatchOperationReplace">
  1277. <xpath>*/ThingDef[defName = "Apparel_ABC_Jacket"]/thingCategories/li/text()</xpath>
  1278. <value>
  1279. <thingCategories>
  1280. <li>Civilian_Apparel_Fallout</li>
  1281. </thingCategories>
  1282. </value>
  1283. </li>
  1284. </operations>
  1285. </Operation>
  1286. <Operation Class="PatchOperationSequence">
  1287. <success>Always</success>
  1288. <operations>
  1289. <li Class="PatchOperationTest">
  1290. <xpath>/ThingDef[defName = "Apparel_ABC_Pants"]</xpath>
  1291. <success>Invert</success>
  1292. </li>
  1293. <li Class="PatchOperationReplace">
  1294. <xpath>*/ThingDef[defName = "Apparel_ABC_Pants"]/thingCategories/li/text()</xpath>
  1295. <value>
  1296. <thingCategories>
  1297. <li>Civilian_Apparel_Fallout</li>
  1298. </thingCategories>
  1299. </value>
  1300. </li>
  1301. </operations>
  1302. </Operation>
  1303. <!--============================== Masks: Remote Explosives ==============================-->
  1304. <Operation Class="PatchOperationSequence">
  1305. <success>Always</success>
  1306. <operations>
  1307. <li Class="PatchOperationTest">
  1308. <xpath>/ThingDef[defName = "Apparel_GasMask"]</xpath>
  1309. <success>Invert</success>
  1310. </li>
  1311. <li Class="PatchOperationReplace">
  1312. <xpath>*/ThingDef[defName = "Apparel_GasMask"]/thingCategories/li/text()</xpath>
  1313. <value>
  1314. <thingCategories>Masks</thingCategories>
  1315. </value>
  1316. </li>
  1317. </operations>
  1318. </Operation>
  1319. <!--============================== Masks: Rimsenal - Feral ==============================-->
  1320. <Operation Class="PatchOperationSequence">
  1321. <success>Always</success>
  1322. <operations>
  1323. <li Class="PatchOperationTest">
  1324. <xpath>/ThingDef[defName = "Apparel_ScorcherHelmet"]</xpath>
  1325. <success>Invert</success>
  1326. </li>
  1327. <li Class="PatchOperationAdd">
  1328. <xpath>*/ThingDef[defName = "Apparel_ScorcherHelmet"]</xpath>
  1329. <value>
  1330. <thingCategories>
  1331. <li>Masks</li>
  1332. </thingCategories>
  1333. </value>
  1334. </li>
  1335. </operations>
  1336. </Operation>
  1337. <!--============================== Masks: FashionRIMsta ==============================-->
  1338. <Operation Class="PatchOperationSequence">
  1339. <success>Always</success>
  1340. <operations>
  1341. <li Class="PatchOperationTest">
  1342. <xpath>/ThingDef[defName = "Apparel_FSGasmask"]</xpath>
  1343. <success>Invert</success>
  1344. </li>
  1345. <li Class="PatchOperationAdd">
  1346. <xpath>*/ThingDef[defName = "Apparel_FSGasmask"]</xpath>
  1347. <value>
  1348. <thingCategories>
  1349. <li>Masks</li>
  1350. </thingCategories>
  1351. </value>
  1352. </li>
  1353. </operations>
  1354. </Operation>
  1355. <!--============================== Masks: Apparello 2 ==============================-->
  1356. <Operation Class="PatchOperationSequence">
  1357. <success>Always</success>
  1358. <operations>
  1359. <li Class="PatchOperationTest">
  1360. <xpath>/ThingDef[defName = "Apparel_Psymask"]</xpath>
  1361. <success>Invert</success>
  1362. </li>
  1363. <li Class="PatchOperationConditional">
  1364. <xpath>/Defs/ThingDef[defName = "Apparel_Psymask"]/thingCategories</xpath>
  1365. <match Class="PatchOperationAdd">
  1366. <xpath>/Defs/ThingDef[defName = "Apparel_Psymask"]/thingCategories</xpath>
  1367. <value>
  1368. <li>Masks</li>
  1369. </value>
  1370. </match>
  1371. <nomatch Class="PatchOperationAdd">
  1372. <xpath>/Defs/ThingDef[defName = "Apparel_Psymask"]</xpath>
  1373. <value>
  1374. <thingCategories>
  1375. <li>Masks</li>
  1376. </thingCategories>
  1377. </value>
  1378. </nomatch>
  1379. </li>
  1380. </operations>
  1381. </Operation>
  1382. <Operation Class="PatchOperationSequence">
  1383. <success>Always</success>
  1384. <operations>
  1385. <li Class="PatchOperationTest">
  1386. <xpath>/ThingDef[defName = "Apparello_Footy"]</xpath>
  1387. <success>Invert</success>
  1388. </li>
  1389. <li Class="PatchOperationConditional">
  1390. <xpath>/Defs/ThingDef[defName = "Apparello_Footy"]/thingCategories</xpath>
  1391. <match Class="PatchOperationAdd">
  1392. <xpath>/Defs/ThingDef[defName = "Apparello_Footy"]/thingCategories</xpath>
  1393. <value>
  1394. <li>Masks</li>
  1395. </value>
  1396. </match>
  1397. <nomatch Class="PatchOperationAdd">
  1398. <xpath>/Defs/ThingDef[defName = "Apparello_Footy"]</xpath>
  1399. <value>
  1400. <thingCategories>
  1401. <li>Masks</li>
  1402. </thingCategories>
  1403. </value>
  1404. </nomatch>
  1405. </li>
  1406. </operations>
  1407. </Operation>
  1408. <Operation Class="PatchOperationSequence">
  1409. <success>Always</success>
  1410. <operations>
  1411. <li Class="PatchOperationTest">
  1412. <xpath>/ThingDef[defName = "Apparello_Mojo"]</xpath>
  1413. <success>Invert</success>
  1414. </li>
  1415. <li Class="PatchOperationReplace">
  1416. <xpath>*/ThingDef[defName = "Apparello_Mojo"]/thingCategories</xpath>
  1417. <value>
  1418. <thingCategories>
  1419. <li>Masks</li>
  1420. </thingCategories>
  1421. </value>
  1422. </li>
  1423. </operations>
  1424. </Operation>
  1425. <Operation Class="PatchOperationSequence">
  1426. <success>Always</success>
  1427. <operations>
  1428. <li Class="PatchOperationTest">
  1429. <xpath>/ThingDef[defName = "Apparello_Mojotwo"]</xpath>
  1430. <success>Invert</success>
  1431. </li>
  1432. <li Class="PatchOperationReplace">
  1433. <xpath>*/ThingDef[defName = "Apparello_Mojotwo"]/thingCategories</xpath>
  1434. <value>
  1435. <thingCategories>
  1436. <li>Masks</li>
  1437. </thingCategories>
  1438. </value>
  1439. </li>
  1440. </operations>
  1441. </Operation>
  1442. <Operation Class="PatchOperationSequence">
  1443. <success>Always</success>
  1444. <operations>
  1445. <li Class="PatchOperationTest">
  1446. <xpath>/ThingDef[defName = "Apparello_Gassy"]</xpath>
  1447. <success>Invert</success>
  1448. </li>
  1449. <li Class="PatchOperationReplace">
  1450. <xpath>*/ThingDef[defName = "Apparello_Gassy"]/thingCategories</xpath>
  1451. <value>
  1452. <thingCategories>
  1453. <li>Masks</li>
  1454. </thingCategories>
  1455. </value>
  1456. </li>
  1457. </operations>
  1458. </Operation>
  1459. <!--============================== Civilian_Apparel_Accessories: Vanilla ==============================-->
  1460. <!--============================== Civilian_Apparel_Accessories: Dubs RimKits(Medkit) ==============================-->
  1461. <Operation Class="PatchOperationSequence">
  1462. <success>Always</success>
  1463. <operations>
  1464. <li Class="PatchOperationTest">
  1465. <xpath>/ThingDef[defName = "GlitterKit"]</xpath>
  1466. <success>Invert</success>
  1467. </li>
  1468. <li Class="PatchOperationReplace">
  1469. <xpath>*/ThingDef[defName = "GlitterKit"]/thingCategories/li/text()</xpath>
  1470. <value>
  1471. <thingCategories>Civilian_Apparel_Accessories</thingCategories>
  1472. </value>
  1473. </li>
  1474. <li Class="PatchOperationTest">
  1475. <xpath>/ThingDef[defName = "MedicalKit"]</xpath>
  1476. <success>Invert</success>
  1477. </li>
  1478. <li Class="PatchOperationReplace">
  1479. <xpath>*/ThingDef[defName = "MedicalKit"]/thingCategories/li/text()</xpath>
  1480. <value>
  1481. <thingCategories>Civilian_Apparel_Accessories</thingCategories>
  1482. </value>
  1483. </li>
  1484. <li Class="PatchOperationTest">
  1485. <xpath>/ThingDef[defName = "MedicineBag"]</xpath>
  1486. <success>Invert</success>
  1487. </li>
  1488. <li Class="PatchOperationReplace">
  1489. <xpath>*/ThingDef[defName = "MedicineBag"]/thingCategories/li/text()</xpath>
  1490. <value>
  1491. <thingCategories>Civilian_Apparel_Accessories</thingCategories>
  1492. </value>
  1493. </li>
  1494. </operations>
  1495. </Operation>
  1496. <!--============================== Civilian_Apparel_Accessories: Rimsenal - Enhanced Vanilla ==============================-->
  1497. <Operation Class="PatchOperationSequence">
  1498. <success>Always</success>
  1499. <operations>
  1500. <li Class="PatchOperationTest">
  1501. <xpath>/ThingDef[defName = "Apparel_Exoframe"]</xpath>
  1502. <success>Invert</success>
  1503. </li>
  1504. <li Class="PatchOperationReplace">
  1505. <xpath>*/ThingDef[defName = "Apparel_Exoframe"]/thingCategories/li/text()</xpath>
  1506. <value>
  1507. <thingCategories>Civilian_Apparel_Accessories</thingCategories>
  1508. </value>
  1509. </li>
  1510. </operations>
  1511. </Operation>
  1512. <!--============================== Civilian_Apparel_Accessories: Headgear Frame ==============================-->
  1513. <Operation Class="PatchOperationSequence">
  1514. <success>Always</success>
  1515. <operations>
  1516. <li Class="PatchOperationTest">
  1517. <xpath>/ThingDef[defName = "Apparel_EyeCover"]</xpath>
  1518. <success>Invert</success>
  1519. </li>
  1520. <li Class="PatchOperationReplace">
  1521. <xpath>*/ThingDef[defName = "Apparel_EyeCover"]/thingCategories/li/text()</xpath>
  1522. <value>
  1523. <thingCategories>Civilian_Apparel_Accessories</thingCategories>
  1524. </value>
  1525. </li>
  1526. </operations>
  1527. </Operation>
  1528. <!--============================== Civilian_Apparel_Accessories: Firefoam Belt ==============================-->
  1529. <Operation Class="PatchOperationSequence">
  1530. <success>Always</success>
  1531. <operations>
  1532. <li Class="PatchOperationTest">
  1533. <xpath>/ThingDef[defName = "Apparel_FirefoampBelt"]</xpath>
  1534. <success>Invert</success>
  1535. </li>
  1536. <li Class="PatchOperationReplace">
  1537. <xpath>*/ThingDef[defName = "Apparel_FirefoampBelt"]/thingCategories</xpath>
  1538. <value>
  1539. <thingCategories>
  1540. <li>Civilian_Apparel_Accessories</li>
  1541. <li>Combat_Apparel_Accessories</li>
  1542. </thingCategories>
  1543. </value>
  1544. </li>
  1545. </operations>
  1546. </Operation>
  1547. <!--============================== Civilian_Apparel_Accessories: Mercer's Backpacks + Nano Suit ==============================-->
  1548. <Operation Class="PatchOperationSequence">
  1549. <success>Always</success>
  1550. <operations>
  1551. <li Class="PatchOperationTest">
  1552. <xpath>/ThingDef[defName = "SmallBackpackMC"]</xpath>
  1553. <success>Invert</success>
  1554. </li>
  1555. <li Class="PatchOperationReplace">
  1556. <xpath>*/ThingDef[defName = "SmallBackpackMC"]/thingCategories</xpath>
  1557. <value>
  1558. <thingCategories>
  1559. <li>Civilian_Apparel_Accessories</li>
  1560. </thingCategories>
  1561. </value>
  1562. </li>
  1563. </operations>
  1564. </Operation>
  1565. <Operation Class="PatchOperationSequence">
  1566. <success>Always</success>
  1567. <operations>
  1568. <li Class="PatchOperationTest">
  1569. <xpath>/ThingDef[defName = "LargeBackpackMC"]</xpath>
  1570. <success>Invert</success>
  1571. </li>
  1572. <li Class="PatchOperationReplace">
  1573. <xpath>*/ThingDef[defName = "LargeBackpackMC"]/thingCategories</xpath>
  1574. <value>
  1575. <thingCategories>
  1576. <li>Civilian_Apparel_Accessories</li>
  1577. </thingCategories>
  1578. </value>
  1579. </li>
  1580. </operations>
  1581. </Operation>
  1582. <!--============================== Civilian_Apparel_Accessories: Toolmetrics ==============================-->
  1583. <Operation Class="PatchOperationSequence">
  1584. <success>Always</success>
  1585. <operations>
  1586. <li Class="PatchOperationTest">
  1587. <xpath>/ThingDef[@Name="TM_BaseToolBelt"]</xpath>
  1588. <success>Invert</success>
  1589. </li>
  1590. <li Class="PatchOperationReplace">
  1591. <xpath>*/ThingDef[@Name="TM_BaseToolBelt"]/thingCategories</xpath>
  1592. <value>
  1593. <thingCategories>
  1594. <li>Civilian_Apparel_Accessories</li>
  1595. </thingCategories>
  1596. </value>
  1597. </li>
  1598. </operations>
  1599. </Operation>
  1600. <!--============================== Combat_Apparel_Accessories: Vanilla ==============================-->
  1601. <Operation Class="PatchOperationReplace">
  1602. <xpath>*/ThingDef[defName = "Apparel_ShieldBelt"]/thingCategories</xpath>
  1603. <value>
  1604. <thingCategories>
  1605. <li>Special_Apparel_Accessories</li>
  1606. </thingCategories>
  1607. </value>
  1608. </Operation>
  1609. <Operation Class="PatchOperationReplace">
  1610. <xpath>*/ThingDef[defName = "Apparel_SmokepopBelt"]/thingCategories</xpath>
  1611. <value>
  1612. <thingCategories>
  1613. <li>Special_Apparel_Accessories</li>
  1614. </thingCategories>
  1615. </value>
  1616. </Operation>
  1617. <!--============================== Combat_Apparel_Accessories: Remote Explosives ==============================-->
  1618. <Operation Class="PatchOperationSequence">
  1619. <success>Always</success>
  1620. <operations>
  1621. <li Class="PatchOperationTest">
  1622. <xpath>/ThingDef[defName = "Apparel_PortableDetonator"]</xpath>
  1623. <success>Invert</success>
  1624. </li>
  1625. <li Class="PatchOperationReplace">
  1626. <xpath>*/ThingDef[defName = "Apparel_PortableDetonator"]/thingCategories/li/text()</xpath>
  1627. <value>
  1628. <thingCategories>Combat_Apparel_Accessories</thingCategories>
  1629. </value>
  1630. </li>
  1631. </operations>
  1632. </Operation>
  1633. <!--============================== Combat_Apparel_Accessories: Apparello 2 ==============================-->
  1634. <Operation Class="PatchOperationSequence">
  1635. <success>Always</success>
  1636. <operations>
  1637. <li Class="PatchOperationTest">
  1638. <xpath>/ThingDef[defName = "Apparello_Ammobelt"]</xpath>
  1639. <success>Invert</success>
  1640. </li>
  1641. <li Class="PatchOperationReplace">
  1642. <xpath>*/ThingDef[defName = "Apparello_Ammobelt"]/thingCategories</xpath>
  1643. <value>
  1644. <thingCategories>
  1645. <li>Combat_Apparel_Accessories</li>
  1646. </thingCategories>
  1647. </value>
  1648. </li>
  1649. </operations>
  1650. </Operation>
  1651. <Operation Class="PatchOperationSequence">
  1652. <success>Always</success>
  1653. <operations>
  1654. <li Class="PatchOperationTest">
  1655. <xpath>/ThingDef[defName = "Apparello_Tribalshield"]</xpath>
  1656. <success>Invert</success>
  1657. </li>
  1658. <li Class="PatchOperationReplace">
  1659. <xpath>*/ThingDef[defName = "Apparello_Tribalshield"]/thingCategories</xpath>
  1660. <value>
  1661. <thingCategories>
  1662. <li>Combat_Apparel_Accessories</li>
  1663. </thingCategories>
  1664. </value>
  1665. </li>
  1666. </operations>
  1667. </Operation>
  1668. <!--============================== Combat_Apparel_Accessories: Trading Economy Mod ==============================-->
  1669. <Operation Class="PatchOperationSequence">
  1670. <success>Always</success>
  1671. <operations>
  1672. <li Class="PatchOperationTest">
  1673. <xpath>/ThingDef[defName = "Apparel_WalkblemSmokepopBelt"]</xpath>
  1674. <success>Invert</success>
  1675. </li>
  1676. <li Class="PatchOperationReplace">
  1677. <xpath>*/ThingDef[defName = "Apparel_WalkblemSmokepopBelt"]/thingCategories</xpath>
  1678. <value>
  1679. <thingCategories>
  1680. <li>Combat_Apparel_Accessories</li>
  1681. </thingCategories>
  1682. </value>
  1683. </li>
  1684. </operations>
  1685. </Operation>
  1686. <!--============================== Combat_Apparel_Accessories: Toolmetrics ==============================-->
  1687. <Operation Class="PatchOperationSequence">
  1688. <success>Always</success>
  1689. <operations>
  1690. <li Class="PatchOperationTest">
  1691. <xpath>/ThingDef[defName = "TM_Combat_Kit"]</xpath>
  1692. <success>Invert</success>
  1693. </li>
  1694. <li Class="PatchOperationAdd">
  1695. <xpath>*/ThingDef[defName = "TM_Combat_Kit"]</xpath>
  1696. <value>
  1697. <thingCategories>
  1698. <li>Combat_Apparel_Accessories</li>
  1699. </thingCategories>
  1700. </value>
  1701. </li>
  1702. </operations>
  1703. </Operation>
  1704. <!--============================== Civilian_Apparel_Innerlayers: Vanilla ==============================-->
  1705. <Operation Class="PatchOperationReplace">
  1706. <xpath>*/ThingDef[defName = "Apparel_BasicShirt"]/thingCategories/li/text()</xpath>
  1707. <value>
  1708. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1709. </value>
  1710. </Operation>
  1711. <Operation Class="PatchOperationReplace">
  1712. <xpath>*/ThingDef[defName = "Apparel_Pants"]/thingCategories/li/text()</xpath>
  1713. <value>
  1714. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1715. </value>
  1716. </Operation>
  1717. <Operation Class="PatchOperationReplace">
  1718. <xpath>*/ThingDef[defName = "Apparel_CollarShirt"]/thingCategories/li/text()</xpath>
  1719. <value>
  1720. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1721. </value>
  1722. </Operation>
  1723. <Operation Class="PatchOperationReplace">
  1724. <xpath>*/ThingDef[defName = "Apparel_TribalA"]/thingCategories/li/text()</xpath>
  1725. <value>
  1726. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1727. </value>
  1728. </Operation>
  1729. <!--============================== Civilian_Apparel_Innerlayers: Rimsenal - Federation ==============================-->
  1730. <Operation Class="PatchOperationSequence">
  1731. <success>Always</success>
  1732. <operations>
  1733. <li Class="PatchOperationTest">
  1734. <xpath>/ThingDef[defName = "FedSuit"]</xpath>
  1735. <success>Invert</success>
  1736. </li>
  1737. <li Class="PatchOperationReplace">
  1738. <xpath>*/ThingDef[defName = "FedSuit"]/thingCategories/li/text()</xpath>
  1739. <value>
  1740. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1741. </value>
  1742. </li>
  1743. </operations>
  1744. </Operation>
  1745. <!--============================== Civilian_Apparel_Innerlayers: Rimsenal - SotH ==============================-->
  1746. <Operation Class="PatchOperationSequence">
  1747. <success>Always</success>
  1748. <operations>
  1749. <li Class="PatchOperationTest">
  1750. <xpath>/ThingDef[defName = "Carbonsuit"]</xpath>
  1751. <success>Invert</success>
  1752. </li>
  1753. <li Class="PatchOperationReplace">
  1754. <xpath>*/ThingDef[defName = "Carbonsuit"]/thingCategories/li/text()</xpath>
  1755. <value>
  1756. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1757. </value>
  1758. </li>
  1759. </operations>
  1760. </Operation>
  1761. <!--============================== Civilian_Apparel_Innerlayers: Rimsenal - Feral ==============================-->
  1762. <Operation Class="PatchOperationSequence">
  1763. <success>Always</success>
  1764. <operations>
  1765. <li Class="PatchOperationTest">
  1766. <xpath>/ThingDef[defName = "Apparel_PatchedShirt"]</xpath>
  1767. <success>Invert</success>
  1768. </li>
  1769. <li Class="PatchOperationReplace">
  1770. <xpath>*/ThingDef[defName = "Apparel_PatchedShirt"]/thingCategories/li/text()</xpath>
  1771. <value>
  1772. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1773. </value>
  1774. </li>
  1775. </operations>
  1776. </Operation>
  1777. <!--============================== Civilian_Apparel_Innerlayers: FashionRIMsta ==============================-->
  1778. <Operation Class="PatchOperationSequence">
  1779. <success>Always</success>
  1780. <operations>
  1781. <li Class="PatchOperationTest">
  1782. <xpath>/ThingDef[defName = "Apparel_FSFineShirt"]</xpath>
  1783. <success>Invert</success>
  1784. </li>
  1785. <li Class="PatchOperationReplace">
  1786. <xpath>*/ThingDef[defName = "Apparel_FSFineShirt"]/thingCategories/li/text()</xpath>
  1787. <value>
  1788. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1789. </value>
  1790. </li>
  1791. <li Class="PatchOperationTest">
  1792. <xpath>/ThingDef[defName = "Apparel_FSFatigues"]</xpath>
  1793. <success>Invert</success>
  1794. </li>
  1795. <li Class="PatchOperationReplace">
  1796. <xpath>*/ThingDef[defName = "Apparel_FSFatigues"]/thingCategories/li/text()</xpath>
  1797. <value>
  1798. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1799. </value>
  1800. </li>
  1801. <li Class="PatchOperationTest">
  1802. <xpath>/ThingDef[defName = "Apparel_FSThermalPants"]</xpath>
  1803. <success>Invert</success>
  1804. </li>
  1805. <li Class="PatchOperationReplace">
  1806. <xpath>*/ThingDef[defName = "Apparel_FSThermalPants"]/thingCategories/li/text()</xpath>
  1807. <value>
  1808. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1809. </value>
  1810. </li>
  1811. <li Class="PatchOperationTest">
  1812. <xpath>/ThingDef[defName = "Apparel_FSCargoShorts"]</xpath>
  1813. <success>Invert</success>
  1814. </li>
  1815. <li Class="PatchOperationReplace">
  1816. <xpath>*/ThingDef[defName = "Apparel_FSCargoShorts"]/thingCategories/li/text()</xpath>
  1817. <value>
  1818. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1819. </value>
  1820. </li>
  1821. <li Class="PatchOperationTest">
  1822. <xpath>/ThingDef[defName = "Apparel_FSScrubs"]</xpath>
  1823. <success>Invert</success>
  1824. </li>
  1825. <li Class="PatchOperationReplace">
  1826. <xpath>*/ThingDef[defName = "Apparel_FSScrubs"]/thingCategories/li/text()</xpath>
  1827. <value>
  1828. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1829. </value>
  1830. </li>
  1831. </operations>
  1832. </Operation>
  1833. <!--============================== Civilian_Apparel_Innerlayers: GlitterTech ==============================-->
  1834. <Operation Class="PatchOperationSequence">
  1835. <success>Always</success>
  1836. <operations>
  1837. <li Class="PatchOperationTest">
  1838. <xpath>/ThingDef[defName = "Apparel_OCPants"]</xpath>
  1839. <success>Invert</success>
  1840. </li>
  1841. <li Class="PatchOperationReplace">
  1842. <xpath>*/ThingDef[defName = "Apparel_OCPants"]/thingCategories/li/text()</xpath>
  1843. <value>
  1844. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1845. </value>
  1846. </li>
  1847. <li Class="PatchOperationTest">
  1848. <xpath>/ThingDef[defName = "Apparel_OCShirt"]</xpath>
  1849. <success>Invert</success>
  1850. </li>
  1851. <li Class="PatchOperationReplace">
  1852. <xpath>*/ThingDef[defName = "Apparel_OCShirt"]/thingCategories/li/text()</xpath>
  1853. <value>
  1854. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1855. </value>
  1856. </li>
  1857. </operations>
  1858. </Operation>
  1859. <Operation Class="PatchOperationSequence">
  1860. <success>Always</success>
  1861. <operations>
  1862. <li Class="PatchOperationTest">
  1863. <xpath>/ThingDef[defName = "Apparel_NanoSpeed"]</xpath>
  1864. <success>Invert</success>
  1865. </li>
  1866. <li Class="PatchOperationReplace">
  1867. <xpath>*/ThingDef[defName = "Apparel_NanoSpeed"]/thingCategories/li/text()</xpath>
  1868. <value>
  1869. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1870. </value>
  1871. </li>
  1872. <li Class="PatchOperationTest">
  1873. <xpath>/ThingDef[defName = "Apparel_NanoSkin"]</xpath>
  1874. <success>Invert</success>
  1875. </li>
  1876. <li Class="PatchOperationReplace">
  1877. <xpath>*/ThingDef[defName = "Apparel_NanoSkin"]/thingCategories/li/text()</xpath>
  1878. <value>
  1879. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1880. </value>
  1881. </li>
  1882. </operations>
  1883. </Operation>
  1884. <!--============================== Civilian_Apparel_Innerlayers: Call of Cthulhu - Factions ==============================-->
  1885. <Operation Class="PatchOperationSequence">
  1886. <success>Always</success>
  1887. <operations>
  1888. <li Class="PatchOperationTest">
  1889. <xpath>/ThingDef[defName = "ROM_Apparel_NF_FSOveralls"]</xpath>
  1890. <success>Invert</success>
  1891. </li>
  1892. <li Class="PatchOperationReplace">
  1893. <xpath>*/ThingDef[defName = "ROM_Apparel_NF_FSOveralls"]/thingCategories/li/text()</xpath>
  1894. <value>
  1895. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1896. </value>
  1897. </li>
  1898. </operations>
  1899. </Operation>
  1900. <Operation Class="PatchOperationSequence">
  1901. <success>Always</success>
  1902. <operations>
  1903. <li Class="PatchOperationTest">
  1904. <xpath>/ThingDef[defName = "ROM_Apparel_WW1NurseUniform"]</xpath>
  1905. <success>Invert</success>
  1906. </li>
  1907. <li Class="PatchOperationReplace">
  1908. <xpath>*/ThingDef[defName = "ROM_Apparel_WW1NurseUniform"]/thingCategories/li/text()</xpath>
  1909. <value>
  1910. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1911. </value>
  1912. </li>
  1913. </operations>
  1914. </Operation>
  1915. <Operation Class="PatchOperationSequence">
  1916. <success>Always</success>
  1917. <operations>
  1918. <li Class="PatchOperationTest">
  1919. <xpath>/ThingDef[defName = "ROM_Apparel_CallOfCthulhuShirtTie"]</xpath>
  1920. <success>Invert</success>
  1921. </li>
  1922. <li Class="PatchOperationReplace">
  1923. <xpath>*/ThingDef[defName = "ROM_Apparel_CallOfCthulhuShirtTie"]/thingCategories/li/text()</xpath>
  1924. <value>
  1925. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  1926. </value>
  1927. </li>
  1928. </operations>
  1929. </Operation>
  1930. <!--============================== Civilian_Apparel_Innerlayers: USCM - Core ==============================-->
  1931. <Operation Class="PatchOperationSequence">
  1932. <success>Always</success>
  1933. <operations>
  1934. <li Class="PatchOperationTest">
  1935. <xpath>/ThingDef[defName = "Marine_TShirt"]</xpath>
  1936. <success>Invert</success>
  1937. </li>
  1938. <li Class="PatchOperationAdd">
  1939. <xpath>*/ThingDef[defName = "Marine_TShirt"]</xpath>
  1940. <value>
  1941. <thingCategories>
  1942. <li>Civilian_Apparel_Innerlayers</li>
  1943. </thingCategories>
  1944. </value>
  1945. </li>
  1946. </operations>
  1947. </Operation>
  1948. <Operation Class="PatchOperationSequence">
  1949. <success>Always</success>
  1950. <operations>
  1951. <li Class="PatchOperationTest">
  1952. <xpath>/ThingDef[defName = "USCM_Bodysuit"]</xpath>
  1953. <success>Invert</success>
  1954. </li>
  1955. <li Class="PatchOperationAdd">
  1956. <xpath>*/ThingDef[defName = "USCM_Bodysuit"]</xpath>
  1957. <value>
  1958. <thingCategories>
  1959. <li>Civilian_Apparel_Innerlayers</li>
  1960. </thingCategories>
  1961. </value>
  1962. </li>
  1963. </operations>
  1964. </Operation>
  1965. <Operation Class="PatchOperationSequence">
  1966. <success>Always</success>
  1967. <operations>
  1968. <li Class="PatchOperationTest">
  1969. <xpath>/ThingDef[defName = "USCM_CamoPants"]</xpath>
  1970. <success>Invert</success>
  1971. </li>
  1972. <li Class="PatchOperationAdd">
  1973. <xpath>*/ThingDef[defName = "USCM_CamoPants"]</xpath>
  1974. <value>
  1975. <thingCategories>
  1976. <li>Civilian_Apparel_Innerlayers</li>
  1977. </thingCategories>
  1978. </value>
  1979. </li>
  1980. </operations>
  1981. </Operation>
  1982. <!--============================== Civilian_Apparel_Innerlayers: USCM - Colonial Marines Corps Faction ==============================-->
  1983. <Operation Class="PatchOperationSequence">
  1984. <success>Always</success>
  1985. <operations>
  1986. <li Class="PatchOperationTest">
  1987. <xpath>/ThingDef[defName = "Marine_TShirt_Generic"]</xpath>
  1988. <success>Invert</success>
  1989. </li>
  1990. <li Class="PatchOperationAdd">
  1991. <xpath>*/ThingDef[defName = "Marine_TShirt_Generic"]</xpath>
  1992. <value>
  1993. <thingCategories>
  1994. <li>Civilian_Apparel_Innerlayers</li>
  1995. </thingCategories>
  1996. </value>
  1997. </li>
  1998. </operations>
  1999. </Operation>
  2000. <Operation Class="PatchOperationSequence">
  2001. <success>Always</success>
  2002. <operations>
  2003. <li Class="PatchOperationTest">
  2004. <xpath>/ThingDef[defName = "USCM_Bodysuit_Generic"]</xpath>
  2005. <success>Invert</success>
  2006. </li>
  2007. <li Class="PatchOperationAdd">
  2008. <xpath>*/ThingDef[defName = "USCM_Bodysuit_Generic"]</xpath>
  2009. <value>
  2010. <thingCategories>
  2011. <li>Civilian_Apparel_Innerlayers</li>
  2012. </thingCategories>
  2013. </value>
  2014. </li>
  2015. </operations>
  2016. </Operation>
  2017. <Operation Class="PatchOperationSequence">
  2018. <success>Always</success>
  2019. <operations>
  2020. <li Class="PatchOperationTest">
  2021. <xpath>/ThingDef[defName = "USCM_CamoPants_Generic"]</xpath>
  2022. <success>Invert</success>
  2023. </li>
  2024. <li Class="PatchOperationAdd">
  2025. <xpath>*/ThingDef[defName = "USCM_CamoPants_Generic"]</xpath>
  2026. <value>
  2027. <thingCategories>
  2028. <li>Civilian_Apparel_Innerlayers</li>
  2029. </thingCategories>
  2030. </value>
  2031. </li>
  2032. </operations>
  2033. </Operation>
  2034. <!--============================== Civilian_Apparel_Innerlayers: Apparello 2 ==============================-->
  2035. <Operation Class="PatchOperationSequence">
  2036. <success>Always</success>
  2037. <operations>
  2038. <li Class="PatchOperationTest">
  2039. <xpath>/ThingDef[defName = "Apparello_GSkin"]</xpath>
  2040. <success>Invert</success>
  2041. </li>
  2042. <li Class="PatchOperationReplace">
  2043. <xpath>*/ThingDef[defName = "Apparello_GSkin"]/thingCategories</xpath>
  2044. <value>
  2045. <thingCategories>
  2046. <li>Civilian_Apparel_Innerlayers</li>
  2047. </thingCategories>
  2048. </value>
  2049. </li>
  2050. </operations>
  2051. </Operation>
  2052. <Operation Class="PatchOperationSequence">
  2053. <success>Always</success>
  2054. <operations>
  2055. <li Class="PatchOperationTest">
  2056. <xpath>/ThingDef[defName = "Apparello_XcomOne"]</xpath>
  2057. <success>Invert</success>
  2058. </li>
  2059. <li Class="PatchOperationReplace">
  2060. <xpath>*/ThingDef[defName = "Apparello_XcomOne"]/thingCategories</xpath>
  2061. <value>
  2062. <thingCategories>
  2063. <li>Civilian_Apparel_Innerlayers</li>
  2064. </thingCategories>
  2065. </value>
  2066. </li>
  2067. </operations>
  2068. </Operation>
  2069. <Operation Class="PatchOperationSequence">
  2070. <success>Always</success>
  2071. <operations>
  2072. <li Class="PatchOperationTest">
  2073. <xpath>/ThingDef[defName = "Apparello_Standissue"]</xpath>
  2074. <success>Invert</success>
  2075. </li>
  2076. <li Class="PatchOperationReplace">
  2077. <xpath>*/ThingDef[defName = "Apparello_Standissue"]/thingCategories</xpath>
  2078. <value>
  2079. <thingCategories>
  2080. <li>Civilian_Apparel_Innerlayers</li>
  2081. </thingCategories>
  2082. </value>
  2083. </li>
  2084. </operations>
  2085. </Operation>
  2086. <Operation Class="PatchOperationSequence">
  2087. <success>Always</success>
  2088. <operations>
  2089. <li Class="PatchOperationTest">
  2090. <xpath>/ThingDef[defName = "Apparello_XcomOne"]</xpath>
  2091. <success>Invert</success>
  2092. </li>
  2093. <li Class="PatchOperationReplace">
  2094. <xpath>*/ThingDef[defName = "Apparello_XcomOne"]/thingCategories</xpath>
  2095. <value>
  2096. <thingCategories>
  2097. <li>Civilian_Apparel_Innerlayers</li>
  2098. </thingCategories>
  2099. </value>
  2100. </li>
  2101. </operations>
  2102. </Operation>
  2103. <Operation Class="PatchOperationSequence">
  2104. <success>Always</success>
  2105. <operations>
  2106. <li Class="PatchOperationTest">
  2107. <xpath>/ThingDef[defName = "Apparello_MedicalApron"]</xpath>
  2108. <success>Invert</success>
  2109. </li>
  2110. <li Class="PatchOperationReplace">
  2111. <xpath>*/ThingDef[defName = "Apparello_MedicalApron"]/thingCategories</xpath>
  2112. <value>
  2113. <thingCategories>
  2114. <li>Civilian_Apparel_Innerlayers</li>
  2115. </thingCategories>
  2116. </value>
  2117. </li>
  2118. </operations>
  2119. </Operation>
  2120. <Operation Class="PatchOperationSequence">
  2121. <success>Always</success>
  2122. <operations>
  2123. <li Class="PatchOperationTest">
  2124. <xpath>/ThingDef[defName = "Apparello_Smithaprontosaurus"]</xpath>
  2125. <success>Invert</success>
  2126. </li>
  2127. <li Class="PatchOperationReplace">
  2128. <xpath>*/ThingDef[defName = "Apparello_Smithaprontosaurus"]/thingCategories</xpath>
  2129. <value>
  2130. <thingCategories>
  2131. <li>Civilian_Apparel_Innerlayers</li>
  2132. </thingCategories>
  2133. </value>
  2134. </li>
  2135. </operations>
  2136. </Operation>
  2137. <Operation Class="PatchOperationSequence">
  2138. <success>Always</success>
  2139. <operations>
  2140. <li Class="PatchOperationTest">
  2141. <xpath>/ThingDef[defName = "Apparello_Cookaprontosaurus"]</xpath>
  2142. <success>Invert</success>
  2143. </li>
  2144. <li Class="PatchOperationReplace">
  2145. <xpath>*/ThingDef[defName = "Apparello_Cookaprontosaurus"]/thingCategories</xpath>
  2146. <value>
  2147. <thingCategories>
  2148. <li>Civilian_Apparel_Innerlayers</li>
  2149. </thingCategories>
  2150. </value>
  2151. </li>
  2152. </operations>
  2153. </Operation>
  2154. <Operation Class="PatchOperationSequence">
  2155. <success>Always</success>
  2156. <operations>
  2157. <li Class="PatchOperationTest">
  2158. <xpath>/ThingDef[defName = "Apparello_Brocade"]</xpath>
  2159. <success>Invert</success>
  2160. </li>
  2161. <li Class="PatchOperationReplace">
  2162. <xpath>*/ThingDef[defName = "Apparello_Brocade"]/thingCategories</xpath>
  2163. <value>
  2164. <thingCategories>
  2165. <li>Civilian_Apparel_Innerlayers</li>
  2166. </thingCategories>
  2167. </value>
  2168. </li>
  2169. </operations>
  2170. </Operation>
  2171. <Operation Class="PatchOperationSequence">
  2172. <success>Always</success>
  2173. <operations>
  2174. <li Class="PatchOperationTest">
  2175. <xpath>/ThingDef[defName = "Apparello_Urbulence"]</xpath>
  2176. <success>Invert</success>
  2177. </li>
  2178. <li Class="PatchOperationReplace">
  2179. <xpath>*/ThingDef[defName = "Apparello_Urbulence"]/thingCategories</xpath>
  2180. <value>
  2181. <thingCategories>
  2182. <li>Civilian_Apparel_Innerlayers</li>
  2183. </thingCategories>
  2184. </value>
  2185. </li>
  2186. </operations>
  2187. </Operation>
  2188. <Operation Class="PatchOperationSequence">
  2189. <success>Always</success>
  2190. <operations>
  2191. <li Class="PatchOperationTest">
  2192. <xpath>/ThingDef[defName = "Apparello_Urbskin"]</xpath>
  2193. <success>Invert</success>
  2194. </li>
  2195. <li Class="PatchOperationReplace">
  2196. <xpath>*/ThingDef[defName = "Apparello_Urbskin"]/thingCategories</xpath>
  2197. <value>
  2198. <thingCategories>
  2199. <li>Civilian_Apparel_Innerlayers</li>
  2200. </thingCategories>
  2201. </value>
  2202. </li>
  2203. </operations>
  2204. </Operation>
  2205. <Operation Class="PatchOperationSequence">
  2206. <success>Always</success>
  2207. <operations>
  2208. <li Class="PatchOperationTest">
  2209. <xpath>/ThingDef[defName = "Apparello_Suspender"]</xpath>
  2210. <success>Invert</success>
  2211. </li>
  2212. <li Class="PatchOperationReplace">
  2213. <xpath>*/ThingDef[defName = "Apparello_Suspender"]/thingCategories</xpath>
  2214. <value>
  2215. <thingCategories>
  2216. <li>Civilian_Apparel_Innerlayers</li>
  2217. </thingCategories>
  2218. </value>
  2219. </li>
  2220. </operations>
  2221. </Operation>
  2222. <Operation Class="PatchOperationSequence">
  2223. <success>Always</success>
  2224. <operations>
  2225. <li Class="PatchOperationTest">
  2226. <xpath>/ThingDef[defName = "Apparello_Spacerpants"]</xpath>
  2227. <success>Invert</success>
  2228. </li>
  2229. <li Class="PatchOperationReplace">
  2230. <xpath>*/ThingDef[defName = "Apparello_Spacerpants"]/thingCategories</xpath>
  2231. <value>
  2232. <thingCategories>
  2233. <li>Civilian_Apparel_Innerlayers</li>
  2234. </thingCategories>
  2235. </value>
  2236. </li>
  2237. </operations>
  2238. </Operation>
  2239. <Operation Class="PatchOperationSequence">
  2240. <success>Always</success>
  2241. <operations>
  2242. <li Class="PatchOperationTest">
  2243. <xpath>/ThingDef[defName = "Apparello_TribalPants"]</xpath>
  2244. <success>Invert</success>
  2245. </li>
  2246. <li Class="PatchOperationReplace">
  2247. <xpath>*/ThingDef[defName = "Apparello_TribalPants"]/thingCategories</xpath>
  2248. <value>
  2249. <thingCategories>
  2250. <li>Civilian_Apparel_Innerlayers</li>
  2251. </thingCategories>
  2252. </value>
  2253. </li>
  2254. </operations>
  2255. </Operation>
  2256. <Operation Class="PatchOperationSequence">
  2257. <success>Always</success>
  2258. <operations>
  2259. <li Class="PatchOperationTest">
  2260. <xpath>/ThingDef[defName = "Apparello_Holdem"]</xpath>
  2261. <success>Invert</success>
  2262. </li>
  2263. <li Class="PatchOperationReplace">
  2264. <xpath>*/ThingDef[defName = "Apparello_Holdem"]/thingCategories</xpath>
  2265. <value>
  2266. <thingCategories>
  2267. <li>Civilian_Apparel_Innerlayers</li>
  2268. </thingCategories>
  2269. </value>
  2270. </li>
  2271. </operations>
  2272. </Operation>
  2273. <Operation Class="PatchOperationSequence">
  2274. <success>Always</success>
  2275. <operations>
  2276. <li Class="PatchOperationTest">
  2277. <xpath>/ThingDef[defName = "Apparello_Scrapants"]</xpath>
  2278. <success>Invert</success>
  2279. </li>
  2280. <li Class="PatchOperationReplace">
  2281. <xpath>*/ThingDef[defName = "Apparello_Scrapants"]/thingCategories</xpath>
  2282. <value>
  2283. <thingCategories>
  2284. <li>Civilian_Apparel_Innerlayers</li>
  2285. </thingCategories>
  2286. </value>
  2287. </li>
  2288. </operations>
  2289. </Operation>
  2290. <Operation Class="PatchOperationSequence">
  2291. <success>Always</success>
  2292. <operations>
  2293. <li Class="PatchOperationTest">
  2294. <xpath>/ThingDef[defName = "Apparello_Pollypocket"]</xpath>
  2295. <success>Invert</success>
  2296. </li>
  2297. <li Class="PatchOperationReplace">
  2298. <xpath>*/ThingDef[defName = "Apparello_Pollypocket"]/thingCategories</xpath>
  2299. <value>
  2300. <thingCategories>
  2301. <li>Civilian_Apparel_Innerlayers</li>
  2302. </thingCategories>
  2303. </value>
  2304. </li>
  2305. </operations>
  2306. </Operation>
  2307. <Operation Class="PatchOperationSequence">
  2308. <success>Always</success>
  2309. <operations>
  2310. <li Class="PatchOperationTest">
  2311. <xpath>/ThingDef[defName = "Apparello_Jeans"]</xpath>
  2312. <success>Invert</success>
  2313. </li>
  2314. <li Class="PatchOperationReplace">
  2315. <xpath>*/ThingDef[defName = "Apparello_Jeans"]/thingCategories</xpath>
  2316. <value>
  2317. <thingCategories>
  2318. <li>Civilian_Apparel_Innerlayers</li>
  2319. </thingCategories>
  2320. </value>
  2321. </li>
  2322. </operations>
  2323. </Operation>
  2324. <Operation Class="PatchOperationSequence">
  2325. <success>Always</success>
  2326. <operations>
  2327. <li Class="PatchOperationTest">
  2328. <xpath>/ThingDef[defName = "Apparello_Jodhpurs"]</xpath>
  2329. <success>Invert</success>
  2330. </li>
  2331. <li Class="PatchOperationReplace">
  2332. <xpath>*/ThingDef[defName = "Apparello_Jodhpurs"]/thingCategories</xpath>
  2333. <value>
  2334. <thingCategories>
  2335. <li>Civilian_Apparel_Innerlayers</li>
  2336. </thingCategories>
  2337. </value>
  2338. </li>
  2339. </operations>
  2340. </Operation>
  2341. <Operation Class="PatchOperationSequence">
  2342. <success>Always</success>
  2343. <operations>
  2344. <li Class="PatchOperationTest">
  2345. <xpath>/ThingDef[defName = "Apparello_Skirtwirly"]</xpath>
  2346. <success>Invert</success>
  2347. </li>
  2348. <li Class="PatchOperationReplace">
  2349. <xpath>*/ThingDef[defName = "Apparello_Skirtwirly"]/thingCategories</xpath>
  2350. <value>
  2351. <thingCategories>
  2352. <li>Civilian_Apparel_Innerlayers</li>
  2353. </thingCategories>
  2354. </value>
  2355. </li>
  2356. </operations>
  2357. </Operation>
  2358. <Operation Class="PatchOperationSequence">
  2359. <success>Always</success>
  2360. <operations>
  2361. <li Class="PatchOperationTest">
  2362. <xpath>/ThingDef[defName = "Apparello_Lederhose"]</xpath>
  2363. <success>Invert</success>
  2364. </li>
  2365. <li Class="PatchOperationReplace">
  2366. <xpath>*/ThingDef[defName = "Apparello_Lederhose"]/thingCategories</xpath>
  2367. <value>
  2368. <thingCategories>
  2369. <li>Civilian_Apparel_Innerlayers</li>
  2370. </thingCategories>
  2371. </value>
  2372. </li>
  2373. </operations>
  2374. </Operation>
  2375. <Operation Class="PatchOperationSequence">
  2376. <success>Always</success>
  2377. <operations>
  2378. <li Class="PatchOperationTest">
  2379. <xpath>/ThingDef[defName = "Apparello_square"]</xpath>
  2380. <success>Invert</success>
  2381. </li>
  2382. <li Class="PatchOperationReplace">
  2383. <xpath>*/ThingDef[defName = "Apparello_square"]/thingCategories</xpath>
  2384. <value>
  2385. <thingCategories>
  2386. <li>Civilian_Apparel_Innerlayers</li>
  2387. </thingCategories>
  2388. </value>
  2389. </li>
  2390. </operations>
  2391. </Operation>
  2392. <Operation Class="PatchOperationSequence">
  2393. <success>Always</success>
  2394. <operations>
  2395. <li Class="PatchOperationTest">
  2396. <xpath>/ThingDef[defName = "Apparello_Mogo"]</xpath>
  2397. <success>Invert</success>
  2398. </li>
  2399. <li Class="PatchOperationReplace">
  2400. <xpath>*/ThingDef[defName = "Apparello_Mogo"]/thingCategories</xpath>
  2401. <value>
  2402. <thingCategories>
  2403. <li>Civilian_Apparel_Innerlayers</li>
  2404. </thingCategories>
  2405. </value>
  2406. </li>
  2407. </operations>
  2408. </Operation>
  2409. <Operation Class="PatchOperationSequence">
  2410. <success>Always</success>
  2411. <operations>
  2412. <li Class="PatchOperationTest">
  2413. <xpath>/ThingDef[defName = "Apparello_Tunic"]</xpath>
  2414. <success>Invert</success>
  2415. </li>
  2416. <li Class="PatchOperationReplace">
  2417. <xpath>*/ThingDef[defName = "Apparello_Tunic"]/thingCategories</xpath>
  2418. <value>
  2419. <thingCategories>
  2420. <li>Civilian_Apparel_Innerlayers</li>
  2421. </thingCategories>
  2422. </value>
  2423. </li>
  2424. </operations>
  2425. </Operation>
  2426. <!--============================== Civilian_Apparel_Innerlayers: PB Basic Apparel ==============================-->
  2427. <Operation Class="PatchOperationSequence">
  2428. <success>Always</success>
  2429. <operations>
  2430. <li Class="PatchOperationTest">
  2431. <xpath>/ThingDef[defName = "PBTankTop"]</xpath>
  2432. <success>Invert</success>
  2433. </li>
  2434. <li Class="PatchOperationReplace">
  2435. <xpath>*/ThingDef[defName = "PBTankTop"]/thingCategories</xpath>
  2436. <value>
  2437. <thingCategories>
  2438. <li>Civilian_Apparel_Innerlayers</li>
  2439. </thingCategories>
  2440. </value>
  2441. </li>
  2442. </operations>
  2443. </Operation>
  2444. <Operation Class="PatchOperationSequence">
  2445. <success>Always</success>
  2446. <operations>
  2447. <li Class="PatchOperationTest">
  2448. <xpath>/ThingDef[defName = "PBShorts"]</xpath>
  2449. <success>Invert</success>
  2450. </li>
  2451. <li Class="PatchOperationReplace">
  2452. <xpath>*/ThingDef[defName = "PBShorts"]/thingCategories</xpath>
  2453. <value>
  2454. <thingCategories>
  2455. <li>Civilian_Apparel_Innerlayers</li>
  2456. </thingCategories>
  2457. </value>
  2458. </li>
  2459. </operations>
  2460. </Operation>
  2461. <Operation Class="PatchOperationSequence">
  2462. <success>Always</success>
  2463. <operations>
  2464. <li Class="PatchOperationTest">
  2465. <xpath>/ThingDef[defName = "PBSkirt"]</xpath>
  2466. <success>Invert</success>
  2467. </li>
  2468. <li Class="PatchOperationReplace">
  2469. <xpath>*/ThingDef[defName = "PBSkirt"]/thingCategories</xpath>
  2470. <value>
  2471. <thingCategories>
  2472. <li>Civilian_Apparel_Innerlayers</li>
  2473. </thingCategories>
  2474. </value>
  2475. </li>
  2476. </operations>
  2477. </Operation>
  2478. <!--============================== Civilian_Apparel_Innerlayers: Mercer's Backpacks + Nano Suit ==============================-->
  2479. <Operation Class="PatchOperationSequence">
  2480. <success>Always</success>
  2481. <operations>
  2482. <li Class="PatchOperationTest">
  2483. <xpath>/ThingDef[defName = "NanoSuitMC"]</xpath>
  2484. <success>Invert</success>
  2485. </li>
  2486. <li Class="PatchOperationReplace">
  2487. <xpath>*/ThingDef[defName = "NanoSuitMC"]/thingCategories</xpath>
  2488. <value>
  2489. <thingCategories>
  2490. <li>Civilian_Apparel_Innerlayers</li>
  2491. </thingCategories>
  2492. </value>
  2493. </li>
  2494. </operations>
  2495. </Operation>
  2496. <!--============================== Civilian_Apparel_Innerlayers: Polarisbloc - Security Force ==============================-->
  2497. <Operation Class="PatchOperationSequence">
  2498. <success>Always</success>
  2499. <operations>
  2500. <li Class="PatchOperationTest">
  2501. <xpath>/ThingDef[defName = "Polarisbloc_CygnusStandardTights"]</xpath>
  2502. <success>Invert</success>
  2503. </li>
  2504. <li Class="PatchOperationReplace">
  2505. <xpath>*/ThingDef[defName = "Polarisbloc_CygnusStandardTights"]/thingCategories</xpath>
  2506. <value>
  2507. <thingCategories>
  2508. <li>Civilian_Apparel_Innerlayers</li>
  2509. </thingCategories>
  2510. </value>
  2511. </li>
  2512. </operations>
  2513. </Operation>
  2514. <!--============================== Civilian_Apparel_Outerlayers: Vanilla ==============================-->
  2515. <Operation Class="PatchOperationReplace">
  2516. <xpath>*/ThingDef[defName = "Apparel_Duster"]/thingCategories/li/text()</xpath>
  2517. <value>
  2518. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2519. </value>
  2520. </Operation>
  2521. <Operation Class="PatchOperationReplace">
  2522. <xpath>*/ThingDef[defName = "Apparel_Jacket"]/thingCategories/li/text()</xpath>
  2523. <value>
  2524. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2525. </value>
  2526. </Operation>
  2527. <Operation Class="PatchOperationReplace">
  2528. <xpath>*/ThingDef[defName = "Apparel_Parka"]/thingCategories/li/text()</xpath>
  2529. <value>
  2530. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2531. </value>
  2532. </Operation>
  2533. <!--============================== Civilian_Apparel_Outerlayers: Rimsenal - Federation ==============================-->
  2534. <Operation Class="PatchOperationSequence">
  2535. <success>Always</success>
  2536. <operations>
  2537. <li Class="PatchOperationTest">
  2538. <xpath>/ThingDef[defName = "Apparel_UGCloak"]</xpath>
  2539. <success>Invert</success>
  2540. </li>
  2541. <li Class="PatchOperationReplace">
  2542. <xpath>*/ThingDef[defName = "Apparel_UGCloak"]/thingCategories/li/text()</xpath>
  2543. <value>
  2544. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2545. </value>
  2546. </li>
  2547. </operations>
  2548. </Operation>
  2549. <!--============================== Civilian_Apparel_Outerlayers: High Tech Laboratory Facilities ==============================-->
  2550. <Operation Class="PatchOperationSequence">
  2551. <success>Always</success>
  2552. <operations>
  2553. <li Class="PatchOperationTest">
  2554. <xpath>/ThingDef[defName = "LabCoat"]</xpath>
  2555. <success>Invert</success>
  2556. </li>
  2557. <li Class="PatchOperationReplace">
  2558. <xpath>*/ThingDef[defName = "LabCoat"]/thingCategories/li/text()</xpath>
  2559. <value>
  2560. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2561. </value>
  2562. </li>
  2563. </operations>
  2564. </Operation>
  2565. <!--============================== Civilian_Apparel_Outerlayers: FashionRIMsta ==============================-->
  2566. <Operation Class="PatchOperationSequence">
  2567. <success>Always</success>
  2568. <operations>
  2569. <li Class="PatchOperationTest">
  2570. <xpath>/ThingDef[defName = "Apparel_FSFurCoat"]</xpath>
  2571. <success>Invert</success>
  2572. </li>
  2573. <li Class="PatchOperationReplace">
  2574. <xpath>*/ThingDef[defName = "Apparel_FSFurCoat"]/thingCategories/li/text()</xpath>
  2575. <value>
  2576. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2577. </value>
  2578. </li>
  2579. <li Class="PatchOperationTest">
  2580. <xpath>/ThingDef[defName = "Apparel_FSDesertRobe"]</xpath>
  2581. <success>Invert</success>
  2582. </li>
  2583. <li Class="PatchOperationReplace">
  2584. <xpath>*/ThingDef[defName = "Apparel_FSDesertRobe"]/thingCategories/li/text()</xpath>
  2585. <value>
  2586. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2587. </value>
  2588. </li>
  2589. <li Class="PatchOperationTest">
  2590. <xpath>/ThingDef[defName = "Apparel_FSGardeningVest"]</xpath>
  2591. <success>Invert</success>
  2592. </li>
  2593. <li Class="PatchOperationReplace">
  2594. <xpath>*/ThingDef[defName = "Apparel_FSGardeningVest"]/thingCategories/li/text()</xpath>
  2595. <value>
  2596. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2597. </value>
  2598. </li>
  2599. <li Class="PatchOperationTest">
  2600. <xpath>/ThingDef[defName = "Apparel_FSChefJacket"]</xpath>
  2601. <success>Invert</success>
  2602. </li>
  2603. <li Class="PatchOperationReplace">
  2604. <xpath>*/ThingDef[defName = "Apparel_FSChefJacket"]/thingCategories/li/text()</xpath>
  2605. <value>
  2606. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2607. </value>
  2608. </li>
  2609. <li Class="PatchOperationTest">
  2610. <xpath>/ThingDef[defName = "Apparel_FSConstructionJacket"]</xpath>
  2611. <success>Invert</success>
  2612. </li>
  2613. <li Class="PatchOperationReplace">
  2614. <xpath>*/ThingDef[defName = "Apparel_FSConstructionJacket"]/thingCategories/li/text()</xpath>
  2615. <value>
  2616. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2617. </value>
  2618. </li>
  2619. <li Class="PatchOperationTest">
  2620. <xpath>/ThingDef[defName = "Apparel_FSOveralls"]</xpath>
  2621. <success>Invert</success>
  2622. </li>
  2623. <li Class="PatchOperationReplace">
  2624. <xpath>*/ThingDef[defName = "Apparel_FSOveralls"]/thingCategories/li/text()</xpath>
  2625. <value>
  2626. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2627. </value>
  2628. </li>
  2629. </operations>
  2630. </Operation>
  2631. <!--============================== Civilian_Apparel_Outerlayers: Callistans ==============================-->
  2632. <Operation Class="PatchOperationSequence">
  2633. <success>Always</success>
  2634. <operations>
  2635. <li Class="PatchOperationTest">
  2636. <xpath>/ThingDef[defName = "Callistan_Hoodie"]</xpath>
  2637. <success>Invert</success>
  2638. </li>
  2639. <li Class="PatchOperationReplace">
  2640. <xpath>*/ThingDef[defName = "Callistan_Hoodie"]/thingCategories/li/text()</xpath>
  2641. <value>
  2642. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2643. </value>
  2644. </li>
  2645. </operations>
  2646. </Operation>
  2647. <Operation Class="PatchOperationSequence">
  2648. <success>Always</success>
  2649. <operations>
  2650. <li Class="PatchOperationTest">
  2651. <xpath>/ThingDef[defName = "Callistan_ArmorHood"]</xpath>
  2652. <success>Invert</success>
  2653. </li>
  2654. <li Class="PatchOperationReplace">
  2655. <xpath>*/ThingDef[defName = "Callistan_ArmorHood"]/thingCategories/li/text()</xpath>
  2656. <value>
  2657. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2658. </value>
  2659. </li>
  2660. </operations>
  2661. </Operation>
  2662. <!--============================== Civilian_Apparel_Outerlayers: Call of Cthulhu - Factions ==============================-->
  2663. <Operation Class="PatchOperationSequence">
  2664. <success>Always</success>
  2665. <operations>
  2666. <li Class="PatchOperationTest">
  2667. <xpath>/ThingDef[defName = "ROM_ApparelRaincoat"]</xpath>
  2668. <success>Invert</success>
  2669. </li>
  2670. <li Class="PatchOperationReplace">
  2671. <xpath>*/ThingDef[defName = "ROM_ApparelRaincoat"]/thingCategories/li/text()</xpath>
  2672. <value>
  2673. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2674. </value>
  2675. </li>
  2676. </operations>
  2677. </Operation>
  2678. <Operation Class="PatchOperationSequence">
  2679. <success>Always</success>
  2680. <operations>
  2681. <li Class="PatchOperationTest">
  2682. <xpath>/ThingDef[defName = "ROM_Apparel1920sPoliceOutfit"]</xpath>
  2683. <success>Invert</success>
  2684. </li>
  2685. <li Class="PatchOperationReplace">
  2686. <xpath>*/ThingDef[defName = "ROM_Apparel1920sPoliceOutfit"]/thingCategories/li/text()</xpath>
  2687. <value>
  2688. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2689. </value>
  2690. </li>
  2691. </operations>
  2692. </Operation>
  2693. <Operation Class="PatchOperationSequence">
  2694. <success>Always</success>
  2695. <operations>
  2696. <li Class="PatchOperationTest">
  2697. <xpath>/ThingDef[defName = "ROM_ApparelWWIUniform"]</xpath>
  2698. <success>Invert</success>
  2699. </li>
  2700. <li Class="PatchOperationReplace">
  2701. <xpath>*/ThingDef[defName = "ROM_ApparelWWIUniform"]/thingCategories/li/text()</xpath>
  2702. <value>
  2703. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2704. </value>
  2705. </li>
  2706. </operations>
  2707. </Operation>
  2708. <Operation Class="PatchOperationSequence">
  2709. <success>Always</success>
  2710. <operations>
  2711. <li Class="PatchOperationTest">
  2712. <xpath>/ThingDef[defName = "ROM_Apparel_CallOfCthulhutrench_coat"]</xpath>
  2713. <success>Invert</success>
  2714. </li>
  2715. <li Class="PatchOperationReplace">
  2716. <xpath>*/ThingDef[defName = "ROM_Apparel_CallOfCthulhutrench_coat"]/thingCategories/li/text()</xpath>
  2717. <value>
  2718. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2719. </value>
  2720. </li>
  2721. </operations>
  2722. </Operation>
  2723. <Operation Class="PatchOperationSequence">
  2724. <success>Always</success>
  2725. <operations>
  2726. <li Class="PatchOperationTest">
  2727. <xpath>/ThingDef[defName = "ROM_Apparel_MERF_Coat"]</xpath>
  2728. <success>Invert</success>
  2729. </li>
  2730. <li Class="PatchOperationReplace">
  2731. <xpath>*/ThingDef[defName = "ROM_Apparel_MERF_Coat"]/thingCategories/li/text()</xpath>
  2732. <value>
  2733. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2734. </value>
  2735. </li>
  2736. </operations>
  2737. </Operation>
  2738. <!--============================== Civilian_Apparel_Outerlayers: Call of Cthulhu - Cults ==============================-->
  2739. <Operation Class="PatchOperationSequence">
  2740. <success>Always</success>
  2741. <operations>
  2742. <li Class="PatchOperationTest">
  2743. <xpath>/ThingDef[defName = "Apparel_CultistRobes"]</xpath>
  2744. <success>Invert</success>
  2745. </li>
  2746. <li Class="PatchOperationReplace">
  2747. <xpath>*/ThingDef[defName = "Apparel_CultistRobes"]/thingCategories/li/text()</xpath>
  2748. <value>
  2749. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2750. </value>
  2751. </li>
  2752. </operations>
  2753. </Operation>
  2754. <Operation Class="PatchOperationSequence">
  2755. <success>Always</success>
  2756. <operations>
  2757. <li Class="PatchOperationTest">
  2758. <xpath>/ThingDef[defName = "Apparel_ROMFurRobes"]</xpath>
  2759. <success>Invert</success>
  2760. </li>
  2761. <li Class="PatchOperationReplace">
  2762. <xpath>*/ThingDef[defName = "Apparel_ROMFurRobes"]/thingCategories/li/text()</xpath>
  2763. <value>
  2764. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2765. </value>
  2766. </li>
  2767. </operations>
  2768. </Operation>
  2769. <Operation Class="PatchOperationSequence">
  2770. <success>Always</success>
  2771. <operations>
  2772. <li Class="PatchOperationTest">
  2773. <xpath>/ThingDef[defName = "Apparel_ROMWrapRobes"]</xpath>
  2774. <success>Invert</success>
  2775. </li>
  2776. <li Class="PatchOperationReplace">
  2777. <xpath>*/ThingDef[defName = "Apparel_ROMWrapRobes"]/thingCategories/li/text()</xpath>
  2778. <value>
  2779. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2780. </value>
  2781. </li>
  2782. </operations>
  2783. </Operation>
  2784. <Operation Class="PatchOperationSequence">
  2785. <success>Always</success>
  2786. <operations>
  2787. <li Class="PatchOperationTest">
  2788. <xpath>/ThingDef[defName = "Apparel_ROMCthulhuRobes"]</xpath>
  2789. <success>Invert</success>
  2790. </li>
  2791. <li Class="PatchOperationReplace">
  2792. <xpath>*/ThingDef[defName = "Apparel_ROMCthulhuRobes"]/thingCategories/li/text()</xpath>
  2793. <value>
  2794. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2795. </value>
  2796. </li>
  2797. </operations>
  2798. </Operation>
  2799. <Operation Class="PatchOperationSequence">
  2800. <success>Always</success>
  2801. <operations>
  2802. <li Class="PatchOperationTest">
  2803. <xpath>/ThingDef[defName = "Apparel_ROMDagonRobes"]</xpath>
  2804. <success>Invert</success>
  2805. </li>
  2806. <li Class="PatchOperationReplace">
  2807. <xpath>*/ThingDef[defName = "Apparel_ROMDagonRobes"]/thingCategories/li/text()</xpath>
  2808. <value>
  2809. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2810. </value>
  2811. </li>
  2812. </operations>
  2813. </Operation>
  2814. <Operation Class="PatchOperationSequence">
  2815. <success>Always</success>
  2816. <operations>
  2817. <li Class="PatchOperationTest">
  2818. <xpath>/ThingDef[defName = "Apparel_ROMShubRobes"]</xpath>
  2819. <success>Invert</success>
  2820. </li>
  2821. <li Class="PatchOperationReplace">
  2822. <xpath>*/ThingDef[defName = "Apparel_ROMShubRobes"]/thingCategories/li/text()</xpath>
  2823. <value>
  2824. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2825. </value>
  2826. </li>
  2827. </operations>
  2828. </Operation>
  2829. <Operation Class="PatchOperationSequence">
  2830. <success>Always</success>
  2831. <operations>
  2832. <li Class="PatchOperationTest">
  2833. <xpath>/ThingDef[defName = "Apparel_SailorUniform"]</xpath>
  2834. <success>Invert</success>
  2835. </li>
  2836. <li Class="PatchOperationReplace">
  2837. <xpath>*/ThingDef[defName = "Apparel_SailorUniform"]/thingCategories/li/text()</xpath>
  2838. <value>
  2839. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2840. </value>
  2841. </li>
  2842. </operations>
  2843. </Operation>
  2844. <!--============================== Civilian_Apparel_Outerlayers: Forsakens ==============================-->
  2845. <Operation Class="PatchOperationSequence">
  2846. <success>Always</success>
  2847. <operations>
  2848. <li Class="PatchOperationTest">
  2849. <xpath>/ThingDef[defName = "Forsaken_Cloak"]</xpath>
  2850. <success>Invert</success>
  2851. </li>
  2852. <li Class="PatchOperationReplace">
  2853. <xpath>*/ThingDef[defName = "Forsaken_Cloak"]/thingCategories/li/text()</xpath>
  2854. <value>
  2855. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  2856. </value>
  2857. </li>
  2858. </operations>
  2859. </Operation>
  2860. <!--============================== Civilian_Apparel_Outerlayers: Apparello 2 ==============================-->
  2861. <Operation Class="PatchOperationSequence">
  2862. <success>Always</success>
  2863. <operations>
  2864. <li Class="PatchOperationTest">
  2865. <xpath>/ThingDef[defName = "Apparello_Medicade"]</xpath>
  2866. <success>Invert</success>
  2867. </li>
  2868. <li Class="PatchOperationReplace">
  2869. <xpath>*/ThingDef[defName = "Apparello_Medicade"]/thingCategories</xpath>
  2870. <value>
  2871. <thingCategories>
  2872. <li>Civilian_Apparel_Outerlayers</li>
  2873. </thingCategories>
  2874. </value>
  2875. </li>
  2876. </operations>
  2877. </Operation>
  2878. <Operation Class="PatchOperationSequence">
  2879. <success>Always</success>
  2880. <operations>
  2881. <li Class="PatchOperationTest">
  2882. <xpath>/ThingDef[defName = "Apparello_Trypophobia"]</xpath>
  2883. <success>Invert</success>
  2884. </li>
  2885. <li Class="PatchOperationReplace">
  2886. <xpath>*/ThingDef[defName = "Apparello_Trypophobia"]/thingCategories</xpath>
  2887. <value>
  2888. <thingCategories>
  2889. <li>Civilian_Apparel_Outerlayers</li>
  2890. </thingCategories>
  2891. </value>
  2892. </li>
  2893. </operations>
  2894. </Operation>
  2895. <Operation Class="PatchOperationSequence">
  2896. <success>Always</success>
  2897. <operations>
  2898. <li Class="PatchOperationTest">
  2899. <xpath>/ThingDef[defName = "Apparello_PonPon"]</xpath>
  2900. <success>Invert</success>
  2901. </li>
  2902. <li Class="PatchOperationReplace">
  2903. <xpath>*/ThingDef[defName = "Apparello_PonPon"]/thingCategories</xpath>
  2904. <value>
  2905. <thingCategories>
  2906. <li>Civilian_Apparel_Outerlayers</li>
  2907. </thingCategories>
  2908. </value>
  2909. </li>
  2910. </operations>
  2911. </Operation>
  2912. <Operation Class="PatchOperationSequence">
  2913. <success>Always</success>
  2914. <operations>
  2915. <li Class="PatchOperationTest">
  2916. <xpath>/ThingDef[defName = "Apparello_Longlylonglong"]</xpath>
  2917. <success>Invert</success>
  2918. </li>
  2919. <li Class="PatchOperationReplace">
  2920. <xpath>*/ThingDef[defName = "Apparello_Longlylonglong"]/thingCategories</xpath>
  2921. <value>
  2922. <thingCategories>
  2923. <li>Civilian_Apparel_Outerlayers</li>
  2924. </thingCategories>
  2925. </value>
  2926. </li>
  2927. </operations>
  2928. </Operation>
  2929. <Operation Class="PatchOperationSequence">
  2930. <success>Always</success>
  2931. <operations>
  2932. <li Class="PatchOperationTest">
  2933. <xpath>/ThingDef[defName = "Apparello_Skull"]</xpath>
  2934. <success>Invert</success>
  2935. </li>
  2936. <li Class="PatchOperationReplace">
  2937. <xpath>*/ThingDef[defName = "Apparello_Skull"]/thingCategories</xpath>
  2938. <value>
  2939. <thingCategories>
  2940. <li>Civilian_Apparel_Outerlayers</li>
  2941. </thingCategories>
  2942. </value>
  2943. </li>
  2944. </operations>
  2945. </Operation>
  2946. <Operation Class="PatchOperationSequence">
  2947. <success>Always</success>
  2948. <operations>
  2949. <li Class="PatchOperationTest">
  2950. <xpath>/ThingDef[defName = "Apparello_Preston"]</xpath>
  2951. <success>Invert</success>
  2952. </li>
  2953. <li Class="PatchOperationReplace">
  2954. <xpath>*/ThingDef[defName = "Apparello_Preston"]/thingCategories</xpath>
  2955. <value>
  2956. <thingCategories>
  2957. <li>Civilian_Apparel_Outerlayers</li>
  2958. </thingCategories>
  2959. </value>
  2960. </li>
  2961. </operations>
  2962. </Operation>
  2963. <Operation Class="PatchOperationSequence">
  2964. <success>Always</success>
  2965. <operations>
  2966. <li Class="PatchOperationTest">
  2967. <xpath>/ThingDef[defName = "Apparello_Medicade"]</xpath>
  2968. <success>Invert</success>
  2969. </li>
  2970. <li Class="PatchOperationReplace">
  2971. <xpath>*/ThingDef[defName = "Apparello_Medicade"]/thingCategories</xpath>
  2972. <value>
  2973. <thingCategories>
  2974. <li>Civilian_Apparel_Outerlayers</li>
  2975. </thingCategories>
  2976. </value>
  2977. </li>
  2978. </operations>
  2979. </Operation>
  2980. <Operation Class="PatchOperationSequence">
  2981. <success>Always</success>
  2982. <operations>
  2983. <li Class="PatchOperationTest">
  2984. <xpath>/ThingDef[defName = "Apparello_Chapel"]</xpath>
  2985. <success>Invert</success>
  2986. </li>
  2987. <li Class="PatchOperationReplace">
  2988. <xpath>*/ThingDef[defName = "Apparello_Chapel"]/thingCategories</xpath>
  2989. <value>
  2990. <thingCategories>
  2991. <li>Civilian_Apparel_Outerlayers</li>
  2992. </thingCategories>
  2993. </value>
  2994. </li>
  2995. </operations>
  2996. </Operation>
  2997. <Operation Class="PatchOperationSequence">
  2998. <success>Always</success>
  2999. <operations>
  3000. <li Class="PatchOperationTest">
  3001. <xpath>/ThingDef[defName = "Apparello_Tribalpad"]</xpath>
  3002. <success>Invert</success>
  3003. </li>
  3004. <li Class="PatchOperationReplace">
  3005. <xpath>*/ThingDef[defName = "Apparello_Tribalpad"]/thingCategories</xpath>
  3006. <value>
  3007. <thingCategories>
  3008. <li>Civilian_Apparel_Outerlayers</li>
  3009. </thingCategories>
  3010. </value>
  3011. </li>
  3012. </operations>
  3013. </Operation>
  3014. <!--============================== Civilian_Apparel_Outerlayers: PB Basic Apparel ==============================-->
  3015. <Operation Class="PatchOperationSequence">
  3016. <success>Always</success>
  3017. <operations>
  3018. <li Class="PatchOperationTest">
  3019. <xpath>/ThingDef[defName = "PBCoat"]</xpath>
  3020. <success>Invert</success>
  3021. </li>
  3022. <li Class="PatchOperationReplace">
  3023. <xpath>*/ThingDef[defName = "PBCoat"]/thingCategories</xpath>
  3024. <value>
  3025. <thingCategories>
  3026. <li>Civilian_Apparel_Outerlayers</li>
  3027. </thingCategories>
  3028. </value>
  3029. </li>
  3030. </operations>
  3031. </Operation>
  3032. <!--============================== Civilian_Apparel_Outerlayers: Tribal Essentials ==============================-->
  3033. <Operation Class="PatchOperationSequence">
  3034. <success>Always</success>
  3035. <operations>
  3036. <li Class="PatchOperationTest">
  3037. <xpath>/ThingDef[defName = "WovenCloak"]</xpath>
  3038. <success>Invert</success>
  3039. </li>
  3040. <li Class="PatchOperationReplace">
  3041. <xpath>*/ThingDef[defName = "WovenCloak"]/thingCategories</xpath>
  3042. <value>
  3043. <thingCategories>
  3044. <li>Civilian_Apparel_Outerlayers</li>
  3045. </thingCategories>
  3046. </value>
  3047. </li>
  3048. </operations>
  3049. </Operation>
  3050. <!--============================== Civilian_Apparel_Straightjacket: Call of Cthulhu - Straitjackets ==============================-->
  3051. <Operation Class="PatchOperationSequence">
  3052. <success>Always</success>
  3053. <operations>
  3054. <li Class="PatchOperationTest">
  3055. <xpath>/ThingDef[defName = "ROM_Straitjacket"]</xpath>
  3056. <success>Invert</success>
  3057. </li>
  3058. <li Class="PatchOperationReplace">
  3059. <xpath>*/ThingDef[defName = "ROM_Straitjacket"]/thingCategories/li/text()</xpath>
  3060. <value>
  3061. <thingCategories>
  3062. <li>Civilian_Apparel_Straightjacket</li>
  3063. </thingCategories>
  3064. </value>
  3065. </li>
  3066. </operations>
  3067. </Operation>
  3068. <!--============================== Combat Apparel ==============================-->
  3069. <!--============================== Helmets: Vanilla ==============================-->
  3070. <Operation Class="PatchOperationConditional">
  3071. <xpath>/Defs/ThingDef[defName = "Apparel_SimpleHelmet"]/thingCategories</xpath>
  3072. <match Class="PatchOperationAdd">
  3073. <xpath>/Defs/ThingDef[defName = "Apparel_SimpleHelmet"]/thingCategories</xpath>
  3074. <value>
  3075. <li>Helmets</li>
  3076. </value>
  3077. </match>
  3078. <nomatch Class="PatchOperationAdd">
  3079. <xpath>/Defs/ThingDef[defName = "Apparel_SimpleHelmet"]</xpath>
  3080. <value>
  3081. <thingCategories>
  3082. <li>Helmets</li>
  3083. </thingCategories>
  3084. </value>
  3085. </nomatch>
  3086. </Operation>
  3087. <Operation Class="PatchOperationConditional">
  3088. <xpath>/Defs/ThingDef[defName = "Apparel_AdvancedHelmet"]/thingCategories</xpath>
  3089. <match Class="PatchOperationAdd">
  3090. <xpath>/Defs/ThingDef[defName = "Apparel_AdvancedHelmet"]/thingCategories</xpath>
  3091. <value>
  3092. <li>Helmets</li>
  3093. </value>
  3094. </match>
  3095. <nomatch Class="PatchOperationAdd">
  3096. <xpath>/Defs/ThingDef[defName = "Apparel_AdvancedHelmet"]</xpath>
  3097. <value>
  3098. <thingCategories>
  3099. <li>Helmets</li>
  3100. </thingCategories>
  3101. </value>
  3102. </nomatch>
  3103. </Operation>
  3104. <!--
  3105. <Operation Class="PatchOperationAdd">
  3106. <xpath>*/ThingDef[defName = "Apparel_SimpleHelmet"]</xpath>
  3107. <value>
  3108. <thingCategories>
  3109. <li>Helmets</li>
  3110. </thingCategories>
  3111. </value>
  3112. </Operation>
  3113. <Operation Class="PatchOperationAdd">
  3114. <xpath>*/ThingDef[defName = "Apparel_AdvancedHelmet"]</xpath>
  3115. <value>
  3116. <thingCategories>
  3117. <li>Helmets</li>
  3118. </thingCategories>
  3119. </value>
  3120. </Operation>
  3121. -->
  3122. <Operation Class="PatchOperationAdd">
  3123. <xpath>*/ThingDef[defName = "Apparel_WarMask"]</xpath>
  3124. <value>
  3125. <thingCategories>
  3126. <li>Helmets</li>
  3127. </thingCategories>
  3128. </value>
  3129. </Operation>
  3130. <Operation Class="PatchOperationAdd">
  3131. <xpath>*/ThingDef[defName = "Apparel_WarVeil"]</xpath>
  3132. <value>
  3133. <thingCategories>
  3134. <li>Helmets</li>
  3135. </thingCategories>
  3136. </value>
  3137. </Operation>
  3138. <!--============================== Helmets: Rimsenal - Enhanced Vanilla ==============================-->
  3139. <Operation Class="PatchOperationSequence">
  3140. <success>Always</success>
  3141. <operations>
  3142. <li Class="PatchOperationTest">
  3143. <xpath>/ThingDef[defName = "Apparel_TacHelmet"]</xpath>
  3144. <success>Invert</success>
  3145. </li>
  3146. <li Class="PatchOperationAdd">
  3147. <xpath>*/ThingDef[defName = "Apparel_TacHelmet"]</xpath>
  3148. <value>
  3149. <thingCategories>
  3150. <li>Helmets</li>
  3151. </thingCategories>
  3152. </value>
  3153. </li>
  3154. </operations>
  3155. </Operation>
  3156. <!--============================== Helmets: Rimsenal - Federation ==============================-->
  3157. <Operation Class="PatchOperationSequence">
  3158. <success>Always</success>
  3159. <operations>
  3160. <li Class="PatchOperationTest">
  3161. <xpath>/ThingDef[defName = "Apparel_MarksmanGearH"]</xpath>
  3162. <success>Invert</success>
  3163. </li>
  3164. <li Class="PatchOperationAdd">
  3165. <xpath>*/ThingDef[defName = "Apparel_MarksmanGearH"]</xpath>
  3166. <value>
  3167. <thingCategories>
  3168. <li>Helmets</li>
  3169. </thingCategories>
  3170. </value>
  3171. </li>
  3172. <li Class="PatchOperationTest">
  3173. <xpath>/ThingDef[defName = "Apparel_UGHelmet"]</xpath>
  3174. <success>Invert</success>
  3175. </li>
  3176. <li Class="PatchOperationAdd">
  3177. <xpath>*/ThingDef[defName = "Apparel_UGHelmet"]</xpath>
  3178. <value>
  3179. <thingCategories>
  3180. <li>Helmets</li>
  3181. </thingCategories>
  3182. </value>
  3183. </li>
  3184. </operations>
  3185. </Operation>
  3186. <!--============================== Helmets: Rimsenal - Feral ==============================-->
  3187. <Operation Class="PatchOperationSequence">
  3188. <success>Always</success>
  3189. <operations>
  3190. <li Class="PatchOperationTest">
  3191. <xpath>/ThingDef[defName = "Apparel_GrinderHelmet"]</xpath>
  3192. <success>Invert</success>
  3193. </li>
  3194. <li Class="PatchOperationAdd">
  3195. <xpath>*/ThingDef[defName = "Apparel_GrinderHelmet"]</xpath>
  3196. <value>
  3197. <thingCategories>
  3198. <li>Helmets</li>
  3199. </thingCategories>
  3200. </value>
  3201. </li>
  3202. </operations>
  3203. </Operation>
  3204. <!--============================== Helmets: GlitterTech ==============================-->
  3205. <Operation Class="PatchOperationSequence">
  3206. <success>Always</success>
  3207. <operations>
  3208. <li Class="PatchOperationTest">
  3209. <xpath>/ThingDef[defName = "Apparel_OCHelmet"]</xpath>
  3210. <success>Invert</success>
  3211. </li>
  3212. <li Class="PatchOperationReplace">
  3213. <xpath>*/ThingDef[defName = "Apparel_OCHelmet"]/thingCategories/li/text()</xpath>
  3214. <value>
  3215. <thingCategories>Helmets</thingCategories>
  3216. </value>
  3217. </li>
  3218. </operations>
  3219. </Operation>
  3220. <!--============================== Helmets: Call of Cthulhu - Factions ==============================-->
  3221. <Operation Class="PatchOperationSequence">
  3222. <success>Always</success>
  3223. <operations>
  3224. <li Class="PatchOperationTest">
  3225. <xpath>/ThingDef[defName = "ROM_ApparelWWIHelmet"]</xpath>
  3226. <success>Invert</success>
  3227. </li>
  3228. <li Class="PatchOperationAdd">
  3229. <xpath>*/ThingDef[defName = "ROM_ApparelWWIHelmet"]</xpath>
  3230. <value>
  3231. <thingCategories>
  3232. <li>Helmets</li>
  3233. </thingCategories>
  3234. </value>
  3235. </li>
  3236. </operations>
  3237. </Operation>
  3238. <Operation Class="PatchOperationSequence">
  3239. <success>Always</success>
  3240. <operations>
  3241. <li Class="PatchOperationTest">
  3242. <xpath>/ThingDef[defName = "ROM_Apparel_MERF_LightHelmet"]</xpath>
  3243. <success>Invert</success>
  3244. </li>
  3245. <li Class="PatchOperationAdd">
  3246. <xpath>*/ThingDef[defName = "ROM_Apparel_MERF_LightHelmet"]</xpath>
  3247. <value>
  3248. <thingCategories>
  3249. <li>Helmets</li>
  3250. </thingCategories>
  3251. </value>
  3252. </li>
  3253. </operations>
  3254. </Operation>
  3255. <Operation Class="PatchOperationSequence">
  3256. <success>Always</success>
  3257. <operations>
  3258. <li Class="PatchOperationTest">
  3259. <xpath>/ThingDef[defName = "ROM_Apparel_MERF_HeavyHelmet"]</xpath>
  3260. <success>Invert</success>
  3261. </li>
  3262. <li Class="PatchOperationAdd">
  3263. <xpath>*/ThingDef[defName = "ROM_Apparel_MERF_HeavyHelmet"]</xpath>
  3264. <value>
  3265. <thingCategories>
  3266. <li>Helmets</li>
  3267. </thingCategories>
  3268. </value>
  3269. </li>
  3270. </operations>
  3271. </Operation>
  3272. <!--============================== Helmets: Forsakens ==============================-->
  3273. <Operation Class="PatchOperationSequence">
  3274. <success>Always</success>
  3275. <operations>
  3276. <li Class="PatchOperationTest">
  3277. <xpath>/ThingDef[defName = "TForsakenH"]</xpath>
  3278. <success>Invert</success>
  3279. </li>
  3280. <li Class="PatchOperationAdd">
  3281. <xpath>*/ThingDef[defName = "TForsakenH"]</xpath>
  3282. <value>
  3283. <thingCategories>
  3284. <li>Helmets</li>
  3285. </thingCategories>
  3286. </value>
  3287. </li>
  3288. </operations>
  3289. </Operation>
  3290. <!--============================== Helmets: USCM - Core ==============================-->
  3291. <Operation Class="PatchOperationSequence">
  3292. <success>Always</success>
  3293. <operations>
  3294. <li Class="PatchOperationTest">
  3295. <xpath>/ThingDef[defName = "USCM_CamoHelmet"]</xpath>
  3296. <success>Invert</success>
  3297. </li>
  3298. <li Class="PatchOperationAdd">
  3299. <xpath>*/ThingDef[defName = "USCM_CamoHelmet"]</xpath>
  3300. <value>
  3301. <thingCategories>
  3302. <li>Helmets</li>
  3303. </thingCategories>
  3304. </value>
  3305. </li>
  3306. </operations>
  3307. </Operation>
  3308. <Operation Class="PatchOperationSequence">
  3309. <success>Always</success>
  3310. <operations>
  3311. <li Class="PatchOperationTest">
  3312. <xpath>/ThingDef[defName = "USCM_PilotHelmet"]</xpath>
  3313. <success>Invert</success>
  3314. </li>
  3315. <li Class="PatchOperationAdd">
  3316. <xpath>*/ThingDef[defName = "USCM_PilotHelmet"]</xpath>
  3317. <value>
  3318. <thingCategories>
  3319. <li>Helmets</li>
  3320. </thingCategories>
  3321. </value>
  3322. </li>
  3323. </operations>
  3324. </Operation>
  3325. <!--============================== Helmets: USCM - Colonial Marines Corps Faction ==============================-->
  3326. <Operation Class="PatchOperationSequence">
  3327. <success>Always</success>
  3328. <operations>
  3329. <li Class="PatchOperationTest">
  3330. <xpath>/ThingDef[defName = "USCM_CamoHelmet_Generic"]</xpath>
  3331. <success>Invert</success>
  3332. </li>
  3333. <li Class="PatchOperationAdd">
  3334. <xpath>*/ThingDef[defName = "USCM_CamoHelmet_Generic"]</xpath>
  3335. <value>
  3336. <thingCategories>
  3337. <li>Helmets</li>
  3338. </thingCategories>
  3339. </value>
  3340. </li>
  3341. </operations>
  3342. </Operation>
  3343. <Operation Class="PatchOperationSequence">
  3344. <success>Always</success>
  3345. <operations>
  3346. <li Class="PatchOperationTest">
  3347. <xpath>/ThingDef[defName = "USCM_PilotHelmet_Generic"]</xpath>
  3348. <success>Invert</success>
  3349. </li>
  3350. <li Class="PatchOperationAdd">
  3351. <xpath>*/ThingDef[defName = "USCM_PilotHelmet_Generic"]</xpath>
  3352. <value>
  3353. <thingCategories>
  3354. <li>Helmets</li>
  3355. </thingCategories>
  3356. </value>
  3357. </li>
  3358. </operations>
  3359. </Operation>
  3360. <!--============================== Helmets: Apparello 2 ==============================-->
  3361. <Operation Class="PatchOperationSequence">
  3362. <success>Always</success>
  3363. <operations>
  3364. <li Class="PatchOperationTest">
  3365. <xpath>/ThingDef[defName = "Apparello_Doom"]</xpath>
  3366. <success>Invert</success>
  3367. </li>
  3368. <li Class="PatchOperationConditional">
  3369. <xpath>/Defs/ThingDef[defName = "Apparello_Doom"]/thingCategories</xpath>
  3370. <match Class="PatchOperationAdd">
  3371. <xpath>/Defs/ThingDef[defName = "Apparello_Doom"]/thingCategories</xpath>
  3372. <value>
  3373. <li>Helmets</li>
  3374. </value>
  3375. </match>
  3376. <nomatch Class="PatchOperationAdd">
  3377. <xpath>/Defs/ThingDef[defName = "Apparello_Doom"]</xpath>
  3378. <value>
  3379. <thingCategories>
  3380. <li>Helmets</li>
  3381. </thingCategories>
  3382. </value>
  3383. </nomatch>
  3384. </li>
  3385. </operations>
  3386. </Operation>
  3387. <Operation Class="PatchOperationSequence">
  3388. <success>Always</success>
  3389. <operations>
  3390. <li Class="PatchOperationTest">
  3391. <xpath>/ThingDef[defName = "Apparello_Meffect"]</xpath>
  3392. <success>Invert</success>
  3393. </li>
  3394. <li Class="PatchOperationReplace">
  3395. <xpath>*/ThingDef[defName = "Apparello_Meffect"]/thingCategories</xpath>
  3396. <value>
  3397. <thingCategories>
  3398. <li>Helmets</li>
  3399. </thingCategories>
  3400. </value>
  3401. </li>
  3402. </operations>
  3403. </Operation>
  3404. <Operation Class="PatchOperationSequence">
  3405. <success>Always</success>
  3406. <operations>
  3407. <li Class="PatchOperationTest">
  3408. <xpath>/ThingDef[defName = "Apparello_Meffectwo"]</xpath>
  3409. <success>Invert</success>
  3410. </li>
  3411. <li Class="PatchOperationReplace">
  3412. <xpath>*/ThingDef[defName = "Apparello_Meffectwo"]/thingCategories</xpath>
  3413. <value>
  3414. <thingCategories>
  3415. <li>Helmets</li>
  3416. </thingCategories>
  3417. </value>
  3418. </li>
  3419. </operations>
  3420. </Operation>
  3421. <Operation Class="PatchOperationSequence">
  3422. <success>Always</success>
  3423. <operations>
  3424. <li Class="PatchOperationTest">
  3425. <xpath>/ThingDef[defName = "Apparello_Kurt"]</xpath>
  3426. <success>Invert</success>
  3427. </li>
  3428. <li Class="PatchOperationReplace">
  3429. <xpath>*/ThingDef[defName = "Apparello_Kurt"]/thingCategories</xpath>
  3430. <value>
  3431. <thingCategories>
  3432. <li>Helmets</li>
  3433. </thingCategories>
  3434. </value>
  3435. </li>
  3436. </operations>
  3437. </Operation>
  3438. <Operation Class="PatchOperationSequence">
  3439. <success>Always</success>
  3440. <operations>
  3441. <li Class="PatchOperationTest">
  3442. <xpath>/ThingDef[defName = "Apparello_Kurtlite"]</xpath>
  3443. <success>Invert</success>
  3444. </li>
  3445. <li Class="PatchOperationReplace">
  3446. <xpath>*/ThingDef[defName = "Apparello_Kurtlite"]/thingCategories</xpath>
  3447. <value>
  3448. <thingCategories>
  3449. <li>Helmets</li>
  3450. </thingCategories>
  3451. </value>
  3452. </li>
  3453. </operations>
  3454. </Operation>
  3455. <Operation Class="PatchOperationSequence">
  3456. <success>Always</success>
  3457. <operations>
  3458. <li Class="PatchOperationTest">
  3459. <xpath>/ThingDef[defName = "Apparello_Raideroos"]</xpath>
  3460. <success>Invert</success>
  3461. </li>
  3462. <li Class="PatchOperationReplace">
  3463. <xpath>*/ThingDef[defName = "Apparello_Raideroos"]/thingCategories</xpath>
  3464. <value>
  3465. <thingCategories>
  3466. <li>Helmets</li>
  3467. </thingCategories>
  3468. </value>
  3469. </li>
  3470. </operations>
  3471. </Operation>
  3472. <Operation Class="PatchOperationSequence">
  3473. <success>Always</success>
  3474. <operations>
  3475. <li Class="PatchOperationTest">
  3476. <xpath>/ThingDef[defName = "Apparello_Yi"]</xpath>
  3477. <success>Invert</success>
  3478. </li>
  3479. <li Class="PatchOperationReplace">
  3480. <xpath>*/ThingDef[defName = "Apparello_Yi"]/thingCategories</xpath>
  3481. <value>
  3482. <thingCategories>
  3483. <li>Helmets</li>
  3484. </thingCategories>
  3485. </value>
  3486. </li>
  3487. </operations>
  3488. </Operation>
  3489. <Operation Class="PatchOperationSequence">
  3490. <success>Always</success>
  3491. <operations>
  3492. <li Class="PatchOperationTest">
  3493. <xpath>/ThingDef[defName = "Apparello_Cyninja"]</xpath>
  3494. <success>Invert</success>
  3495. </li>
  3496. <li Class="PatchOperationReplace">
  3497. <xpath>*/ThingDef[defName = "Apparello_Cyninja"]/thingCategories</xpath>
  3498. <value>
  3499. <thingCategories>
  3500. <li>Helmets</li>
  3501. </thingCategories>
  3502. </value>
  3503. </li>
  3504. </operations>
  3505. </Operation>
  3506. <Operation Class="PatchOperationSequence">
  3507. <success>Always</success>
  3508. <operations>
  3509. <li Class="PatchOperationTest">
  3510. <xpath>/ThingDef[defName = "Apparello_Medihelmet"]</xpath>
  3511. <success>Invert</success>
  3512. </li>
  3513. <li Class="PatchOperationReplace">
  3514. <xpath>*/ThingDef[defName = "Apparello_Medihelmet"]/thingCategories</xpath>
  3515. <value>
  3516. <thingCategories>
  3517. <li>Helmets</li>
  3518. </thingCategories>
  3519. </value>
  3520. </li>
  3521. </operations>
  3522. </Operation>
  3523. <Operation Class="PatchOperationSequence">
  3524. <success>Always</success>
  3525. <operations>
  3526. <li Class="PatchOperationTest">
  3527. <xpath>/ThingDef[defName = "Apparello_Proto"]</xpath>
  3528. <success>Invert</success>
  3529. </li>
  3530. <li Class="PatchOperationReplace">
  3531. <xpath>*/ThingDef[defName = "Apparello_Proto"]/thingCategories</xpath>
  3532. <value>
  3533. <thingCategories>
  3534. <li>Helmets</li>
  3535. </thingCategories>
  3536. </value>
  3537. </li>
  3538. </operations>
  3539. </Operation>
  3540. <Operation Class="PatchOperationSequence">
  3541. <success>Always</success>
  3542. <operations>
  3543. <li Class="PatchOperationTest">
  3544. <xpath>/ThingDef[defName = "Apparello_ProtoFin"]</xpath>
  3545. <success>Invert</success>
  3546. </li>
  3547. <li Class="PatchOperationReplace">
  3548. <xpath>*/ThingDef[defName = "Apparello_ProtoFin"]/thingCategories</xpath>
  3549. <value>
  3550. <thingCategories>
  3551. <li>Helmets</li>
  3552. </thingCategories>
  3553. </value>
  3554. </li>
  3555. </operations>
  3556. </Operation>
  3557. <Operation Class="PatchOperationSequence">
  3558. <success>Always</success>
  3559. <operations>
  3560. <li Class="PatchOperationTest">
  3561. <xpath>/ThingDef[defName = "Apparello_Moron"]</xpath>
  3562. <success>Invert</success>
  3563. </li>
  3564. <li Class="PatchOperationReplace">
  3565. <xpath>*/ThingDef[defName = "Apparello_Moron"]/thingCategories</xpath>
  3566. <value>
  3567. <thingCategories>
  3568. <li>Helmets</li>
  3569. </thingCategories>
  3570. </value>
  3571. </li>
  3572. </operations>
  3573. </Operation>
  3574. <!--============================== Helmets: Polarisbloc - Security Force ==============================-->
  3575. <Operation Class="PatchOperationSequence">
  3576. <success>Always</success>
  3577. <operations>
  3578. <li Class="PatchOperationTest">
  3579. <xpath>/ThingDef[defName = "Polarisbloc_ThubanTacticalGoggles"]</xpath>
  3580. <success>Invert</success>
  3581. </li>
  3582. <li Class="PatchOperationReplace">
  3583. <xpath>*/ThingDef[defName = "Polarisbloc_ThubanTacticalGoggles"]/thingCategories</xpath>
  3584. <value>
  3585. <thingCategories>
  3586. <li>Helmets</li>
  3587. </thingCategories>
  3588. </value>
  3589. </li>
  3590. </operations>
  3591. </Operation>
  3592. <!--============================== Helmets: Animal Hoods ==============================-->
  3593. <Operation Class="PatchOperationSequence">
  3594. <success>Always</success>
  3595. <operations>
  3596. <li Class="PatchOperationTest">
  3597. <xpath>/ThingDef[defName = "Apparel_SpiderHelm"]</xpath>
  3598. <success>Invert</success>
  3599. </li>
  3600. <li Class="PatchOperationAdd">
  3601. <xpath>*/ThingDef[defName = "Apparel_SpiderHelm"]</xpath>
  3602. <value>
  3603. <thingCategories>
  3604. <li>Helmets</li>
  3605. </thingCategories>
  3606. </value>
  3607. </li>
  3608. </operations>
  3609. </Operation>
  3610. <Operation Class="PatchOperationSequence">
  3611. <success>Always</success>
  3612. <operations>
  3613. <li Class="PatchOperationTest">
  3614. <xpath>/ThingDef[defName = "Apparel_SpelHelm"]</xpath>
  3615. <success>Invert</success>
  3616. </li>
  3617. <li Class="PatchOperationAdd">
  3618. <xpath>*/ThingDef[defName = "Apparel_SpelHelm"]</xpath>
  3619. <value>
  3620. <thingCategories>
  3621. <li>Helmets</li>
  3622. </thingCategories>
  3623. </value>
  3624. </li>
  3625. </operations>
  3626. </Operation>
  3627. <!--============================== Helmets: Tribal Essentials ==============================-->
  3628. <Operation Class="PatchOperationSequence">
  3629. <success>Always</success>
  3630. <operations>
  3631. <li Class="PatchOperationTest">
  3632. <xpath>/ThingDef[defName = "Apparel_TribalHelmet"]</xpath>
  3633. <success>Invert</success>
  3634. </li>
  3635. <li Class="PatchOperationAdd">
  3636. <xpath>*/ThingDef[defName = "Apparel_TribalHelmet"]</xpath>
  3637. <value>
  3638. <thingCategories>
  3639. <li>Helmets</li>
  3640. </thingCategories>
  3641. </value>
  3642. </li>
  3643. </operations>
  3644. </Operation>
  3645. <!--============================== Combat_Apparel_Accessories: GlitterTech ==============================-->
  3646. <Operation Class="PatchOperationSequence">
  3647. <success>Always</success>
  3648. <operations>
  3649. <li Class="PatchOperationTest">
  3650. <xpath>/ThingDef[defName = "Apparel_Reactive"]</xpath>
  3651. <success>Invert</success>
  3652. </li>
  3653. <li Class="PatchOperationReplace">
  3654. <xpath>*/ThingDef[defName = "Apparel_Reactive"]/thingCategories/li/text()</xpath>
  3655. <value>
  3656. <thingCategories>Combat_Apparel_Accessories</thingCategories>
  3657. </value>
  3658. </li>
  3659. </operations>
  3660. </Operation>
  3661. <Operation Class="PatchOperationSequence">
  3662. <success>Always</success>
  3663. <operations>
  3664. <li Class="PatchOperationTest">
  3665. <xpath>/Defs[defName = "Apparel_HC1Shield"]</xpath>
  3666. <success>Invert</success>
  3667. </li>
  3668. <li Class="PatchOperationAdd">
  3669. <xpath>*/ThingDef[defName = "Apparel_HC1Shield"]</xpath>
  3670. <value>
  3671. <thingCategories>
  3672. <li>Combat_Apparel_Accessories</li>
  3673. </thingCategories>
  3674. </value>
  3675. </li>
  3676. </operations>
  3677. </Operation>
  3678. <Operation Class="PatchOperationSequence">
  3679. <success>Always</success>
  3680. <operations>
  3681. <li Class="PatchOperationTest">
  3682. <xpath>/Defs[defName = "Apparel_OCShield"]</xpath>
  3683. <success>Invert</success>
  3684. </li>
  3685. <li Class="PatchOperationAdd">
  3686. <xpath>*/ThingDef[defName = "Apparel_OCShield"]</xpath>
  3687. <value>
  3688. <thingCategories>
  3689. <li>Combat_Apparel_Accessories</li>
  3690. </thingCategories>
  3691. </value>
  3692. </li>
  3693. </operations>
  3694. </Operation>
  3695. <!--============================== Combat_Apparel_Accessories: Polarisbloc - Core LAB ==============================-->
  3696. <Operation Class="PatchOperationSequence">
  3697. <success>Always</success>
  3698. <operations>
  3699. <li Class="PatchOperationTest">
  3700. <xpath>/ThingDef[defName = "Apparel_PolarisShieldBelt_II"]</xpath>
  3701. <success>Invert</success>
  3702. </li>
  3703. <li Class="PatchOperationReplace">
  3704. <xpath>*/ThingDef[defName = "Apparel_PolarisShieldBelt_II"]/thingCategories</xpath>
  3705. <value>
  3706. <thingCategories>
  3707. <li>Combat_Apparel_Accessories</li>
  3708. </thingCategories>
  3709. </value>
  3710. </li>
  3711. </operations>
  3712. </Operation>
  3713. <Operation Class="PatchOperationSequence">
  3714. <success>Always</success>
  3715. <operations>
  3716. <li Class="PatchOperationTest">
  3717. <xpath>/ThingDef[defName = "VanyaCartridge"]</xpath>
  3718. <success>Invert</success>
  3719. </li>
  3720. <li Class="PatchOperationReplace">
  3721. <xpath>*/ThingDef[defName = "VanyaCartridge"]/thingCategories</xpath>
  3722. <value>
  3723. <thingCategories>
  3724. <li>Combat_Apparel_Accessories</li>
  3725. </thingCategories>
  3726. </value>
  3727. </li>
  3728. </operations>
  3729. </Operation>
  3730. <!--============================== Combat_Apparel_Accessories: Polarisbloc - Security Force ==============================-->
  3731. <Operation Class="PatchOperationSequence">
  3732. <success>Always</success>
  3733. <operations>
  3734. <li Class="PatchOperationTest">
  3735. <xpath>/ThingDef[defName = "Apparel_PolarisShieldBelt_IV"]</xpath>
  3736. <success>Invert</success>
  3737. </li>
  3738. <li Class="PatchOperationReplace">
  3739. <xpath>*/ThingDef[defName = "Apparel_PolarisShieldBelt_IV"]/thingCategories</xpath>
  3740. <value>
  3741. <thingCategories>
  3742. <li>Combat_Apparel_Accessories</li>
  3743. </thingCategories>
  3744. </value>
  3745. </li>
  3746. </operations>
  3747. </Operation>
  3748. <Operation Class="PatchOperationSequence">
  3749. <success>Always</success>
  3750. <operations>
  3751. <li Class="PatchOperationTest">
  3752. <xpath>/ThingDef[defName = "Polarisbloc_AlkaidStrategyAssistant"]</xpath>
  3753. <success>Invert</success>
  3754. </li>
  3755. <li Class="PatchOperationReplace">
  3756. <xpath>*/ThingDef[defName = "Polarisbloc_AlkaidStrategyAssistant"]/thingCategories</xpath>
  3757. <value>
  3758. <thingCategories>
  3759. <li>Combat_Apparel_Accessories</li>
  3760. </thingCategories>
  3761. </value>
  3762. </li>
  3763. </operations>
  3764. </Operation>
  3765. <Operation Class="PatchOperationSequence">
  3766. <success>Always</success>
  3767. <operations>
  3768. <li Class="PatchOperationTest">
  3769. <xpath>/ThingDef[defName = "Polarisbloc_BodyFixTrigger"]</xpath>
  3770. <success>Invert</success>
  3771. </li>
  3772. <li Class="PatchOperationReplace">
  3773. <xpath>*/ThingDef[defName = "Polarisbloc_BodyFixTrigger"]/thingCategories</xpath>
  3774. <value>
  3775. <thingCategories>
  3776. <li>Combat_Apparel_Accessories</li>
  3777. </thingCategories>
  3778. </value>
  3779. </li>
  3780. </operations>
  3781. </Operation>
  3782. <!--============================== Body_Armor: Vanilla ==============================-->
  3783. <Operation Class="PatchOperationReplace">
  3784. <xpath>*/ThingDef[defName = "Apparel_FlakVest"]/thingCategories/li/text()</xpath>
  3785. <value>
  3786. <thingCategories>Body_Armor</thingCategories>
  3787. </value>
  3788. </Operation>
  3789. <Operation Class="PatchOperationReplace">
  3790. <xpath>*/ThingDef[defName = "Apparel_FlakPants"]/thingCategories/li/text()</xpath>
  3791. <value>
  3792. <thingCategories>Body_Armor</thingCategories>
  3793. </value>
  3794. </Operation>
  3795. <Operation Class="PatchOperationReplace">
  3796. <xpath>*/ThingDef[defName = "Apparel_FlakJacket"]/thingCategories/li/text()</xpath>
  3797. <value>
  3798. <thingCategories>Body_Armor</thingCategories>
  3799. </value>
  3800. </Operation>
  3801. <Operation Class="PatchOperationReplace">
  3802. <xpath>*/ThingDef[defName = "Apparel_PlateArmor"]/thingCategories/li/text()</xpath>
  3803. <value>
  3804. <thingCategories>Body_Armor</thingCategories>
  3805. </value>
  3806. </Operation>
  3807. <!--============================== Body_Armor: Rimsenal Enhanced Vanilla ==============================-->
  3808. <Operation Class="PatchOperationSequence">
  3809. <success>Always</success>
  3810. <operations>
  3811. <li Class="PatchOperationTest">
  3812. <xpath>/ThingDef[defName = "Apparel_TacVest"]</xpath>
  3813. <success>Invert</success>
  3814. </li>
  3815. <li Class="PatchOperationReplace">
  3816. <xpath>*/ThingDef[defName = "Apparel_TacVest"]/thingCategories/li/text()</xpath>
  3817. <value>
  3818. <thingCategories>Body_Armor</thingCategories>
  3819. </value>
  3820. </li>
  3821. </operations>
  3822. </Operation>
  3823. <!--============================== Body_Armor: Rimsenal - Federation ==============================-->
  3824. <Operation Class="PatchOperationSequence">
  3825. <success>Always</success>
  3826. <operations>
  3827. <li Class="PatchOperationTest">
  3828. <xpath>/ThingDef[defName = "Apparel_UGCuirass"]</xpath>
  3829. <success>Invert</success>
  3830. </li>
  3831. <li Class="PatchOperationReplace">
  3832. <xpath>*/ThingDef[defName = "Apparel_UGCuirass"]/thingCategories/li/text()</xpath>
  3833. <value>
  3834. <thingCategories>Body_Armor</thingCategories>
  3835. </value>
  3836. </li>
  3837. <li Class="PatchOperationTest">
  3838. <xpath>/ThingDef[defName = "Apparel_MarksmanGear"]</xpath>
  3839. <success>Invert</success>
  3840. </li>
  3841. <li Class="PatchOperationReplace">
  3842. <xpath>*/ThingDef[defName = "Apparel_MarksmanGear"]/thingCategories/li/text()</xpath>
  3843. <value>
  3844. <thingCategories>Body_Armor</thingCategories>
  3845. </value>
  3846. </li>
  3847. </operations>
  3848. </Operation>
  3849. <!--============================== Body_Armor: Rimsenal - Feral ==============================-->
  3850. <Operation Class="PatchOperationSequence">
  3851. <success>Always</success>
  3852. <operations>
  3853. <li Class="PatchOperationTest">
  3854. <xpath>/ThingDef[defName = "Apparel_FeralMail"]</xpath>
  3855. <success>Invert</success>
  3856. </li>
  3857. <li Class="PatchOperationReplace">
  3858. <xpath>*/ThingDef[defName = "Apparel_FeralMail"]/thingCategories/li/text()</xpath>
  3859. <value>
  3860. <thingCategories>Body_Armor</thingCategories>
  3861. </value>
  3862. </li>
  3863. <li Class="PatchOperationTest">
  3864. <xpath>/ThingDef[defName = "Apparel_ScrapArmor"]</xpath>
  3865. <success>Invert</success>
  3866. </li>
  3867. <li Class="PatchOperationReplace">
  3868. <xpath>*/ThingDef[defName = "Apparel_ScrapArmor"]/thingCategories/li/text()</xpath>
  3869. <value>
  3870. <thingCategories>Body_Armor</thingCategories>
  3871. </value>
  3872. </li>
  3873. </operations>
  3874. </Operation>
  3875. <!--============================== Body_Armor: GlitterTech ==============================-->
  3876. <Operation Class="PatchOperationSequence">
  3877. <success>Always</success>
  3878. <operations>
  3879. <li Class="PatchOperationTest">
  3880. <xpath>/ThingDef[defName = "Apparel_OCCombatVest"]</xpath>
  3881. <success>Invert</success>
  3882. </li>
  3883. <li Class="PatchOperationReplace">
  3884. <xpath>*/ThingDef[defName = "Apparel_OCCombatVest"]/thingCategories/li/text()</xpath>
  3885. <value>
  3886. <thingCategories>Body_Armor</thingCategories>
  3887. </value>
  3888. </li>
  3889. </operations>
  3890. </Operation>
  3891. <!--============================== Body_Armor: WeaponTech ==============================-->
  3892. <Operation Class="PatchOperationSequence">
  3893. <success>Always</success>
  3894. <operations>
  3895. <li Class="PatchOperationTest">
  3896. <xpath>/ThingDef[defName = "Apparel_Osprey"]</xpath>
  3897. <success>Invert</success>
  3898. </li>
  3899. <li Class="PatchOperationReplace">
  3900. <xpath>*/ThingDef[defName = "Apparel_Osprey"]/thingCategories/li/text()</xpath>
  3901. <value>
  3902. <thingCategories>Body_Armor</thingCategories>
  3903. </value>
  3904. </li>
  3905. </operations>
  3906. </Operation>
  3907. <!--============================== Body_Armor: Call of Cthulhu - Factions ==============================-->
  3908. <Operation Class="PatchOperationSequence">
  3909. <success>Always</success>
  3910. <operations>
  3911. <li Class="PatchOperationTest">
  3912. <xpath>/ThingDef[defName = "ROM_Apparel_MERF_Armor"]</xpath>
  3913. <success>Invert</success>
  3914. </li>
  3915. <li Class="PatchOperationReplace">
  3916. <xpath>*/ThingDef[defName = "ROM_Apparel_MERF_Armor"]/thingCategories/li/text()</xpath>
  3917. <value>
  3918. <thingCategories>Body_Armor</thingCategories>
  3919. </value>
  3920. </li>
  3921. </operations>
  3922. </Operation>
  3923. <!--============================== Body_Armor: Forsakens ==============================-->
  3924. <Operation Class="PatchOperationSequence">
  3925. <success>Always</success>
  3926. <operations>
  3927. <li Class="PatchOperationTest">
  3928. <xpath>/ThingDef[defName = "TForsakenA"]</xpath>
  3929. <success>Invert</success>
  3930. </li>
  3931. <li Class="PatchOperationReplace">
  3932. <xpath>*/ThingDef[defName = "TForsakenA"]/thingCategories/li/text()</xpath>
  3933. <value>
  3934. <thingCategories>Body_Armor</thingCategories>
  3935. </value>
  3936. </li>
  3937. </operations>
  3938. </Operation>
  3939. <!--============================== Body_Armor: USCM - Core ==============================-->
  3940. <Operation Class="PatchOperationSequence">
  3941. <success>Always</success>
  3942. <operations>
  3943. <li Class="PatchOperationTest">
  3944. <xpath>/ThingDef[defName = "USCM_M3_CamoArmor"]</xpath>
  3945. <success>Invert</success>
  3946. </li>
  3947. <li Class="PatchOperationAdd">
  3948. <xpath>*/ThingDef[defName = "USCM_M3_CamoArmor"]</xpath>
  3949. <value>
  3950. <thingCategories>
  3951. <li>Body_Armor</li>
  3952. </thingCategories>
  3953. </value>
  3954. </li>
  3955. </operations>
  3956. </Operation>
  3957. <!--============================== Body_Armor: USCM - Colonial Marines Corps Faction ==============================-->
  3958. <Operation Class="PatchOperationSequence">
  3959. <success>Always</success>
  3960. <operations>
  3961. <li Class="PatchOperationTest">
  3962. <xpath>/ThingDef[defName = "USCM_M3_CamoArmor_Generic"]</xpath>
  3963. <success>Invert</success>
  3964. </li>
  3965. <li Class="PatchOperationAdd">
  3966. <xpath>*/ThingDef[defName = "USCM_M3_CamoArmor_Generic"]</xpath>
  3967. <value>
  3968. <thingCategories>
  3969. <li>Body_Armor</li>
  3970. </thingCategories>
  3971. </value>
  3972. </li>
  3973. </operations>
  3974. </Operation>
  3975. <!--============================== Body_Armor: Apparello 2 ==============================-->
  3976. <Operation Class="PatchOperationSequence">
  3977. <success>Always</success>
  3978. <operations>
  3979. <li Class="PatchOperationTest">
  3980. <xpath>/ThingDef[defName = "Apparello_Sheet"]</xpath>
  3981. <success>Invert</success>
  3982. </li>
  3983. <li Class="PatchOperationReplace">
  3984. <xpath>*/ThingDef[defName = "Apparello_Sheet"]/thingCategories</xpath>
  3985. <value>
  3986. <thingCategories>
  3987. <li>Body_Armor</li>
  3988. </thingCategories>
  3989. </value>
  3990. </li>
  3991. </operations>
  3992. </Operation>
  3993. <Operation Class="PatchOperationSequence">
  3994. <success>Always</success>
  3995. <operations>
  3996. <li Class="PatchOperationTest">
  3997. <xpath>/ThingDef[defName = "Apparello_Gspot"]</xpath>
  3998. <success>Invert</success>
  3999. </li>
  4000. <li Class="PatchOperationReplace">
  4001. <xpath>*/ThingDef[defName = "Apparello_Gspot"]/thingCategories</xpath>
  4002. <value>
  4003. <thingCategories>
  4004. <li>Body_Armor</li>
  4005. </thingCategories>
  4006. </value>
  4007. </li>
  4008. </operations>
  4009. </Operation>
  4010. <Operation Class="PatchOperationSequence">
  4011. <success>Always</success>
  4012. <operations>
  4013. <li Class="PatchOperationTest">
  4014. <xpath>/ThingDef[defName = "Apparello_Syndicatetello"]</xpath>
  4015. <success>Invert</success>
  4016. </li>
  4017. <li Class="PatchOperationReplace">
  4018. <xpath>*/ThingDef[defName = "Apparello_Syndicatetello"]/thingCategories</xpath>
  4019. <value>
  4020. <thingCategories>
  4021. <li>Body_Armor</li>
  4022. </thingCategories>
  4023. </value>
  4024. </li>
  4025. </operations>
  4026. </Operation>
  4027. <Operation Class="PatchOperationSequence">
  4028. <success>Always</success>
  4029. <operations>
  4030. <li Class="PatchOperationTest">
  4031. <xpath>/ThingDef[defName = "Apparello_Syndicatellorare"]</xpath>
  4032. <success>Invert</success>
  4033. </li>
  4034. <li Class="PatchOperationAdd">
  4035. <xpath>*/ThingDef[defName = "Apparello_Syndicatellorare"]</xpath>
  4036. <value>
  4037. <thingCategories>
  4038. <li>Body_Armor</li>
  4039. </thingCategories>
  4040. </value>
  4041. </li>
  4042. </operations>
  4043. </Operation>
  4044. <Operation Class="PatchOperationSequence">
  4045. <success>Always</success>
  4046. <operations>
  4047. <li Class="PatchOperationTest">
  4048. <xpath>/ThingDef[defName = "Apparello_HiveArmor"]</xpath>
  4049. <success>Invert</success>
  4050. </li>
  4051. <li Class="PatchOperationAdd">
  4052. <xpath>*/ThingDef[defName = "Apparello_HiveArmor"]</xpath>
  4053. <value>
  4054. <thingCategories>
  4055. <li>Body_Armor</li>
  4056. </thingCategories>
  4057. </value>
  4058. </li>
  4059. </operations>
  4060. </Operation>
  4061. <!--============================== Body_Armor: Polarisbloc - Security Force ==============================-->
  4062. <Operation Class="PatchOperationSequence">
  4063. <success>Always</success>
  4064. <operations>
  4065. <li Class="PatchOperationTest">
  4066. <xpath>/ThingDef[defName = "Polarisbloc_CygnusStandardArmor"]</xpath>
  4067. <success>Invert</success>
  4068. </li>
  4069. <li Class="PatchOperationReplace">
  4070. <xpath>*/ThingDef[defName = "Polarisbloc_CygnusStandardArmor"]/thingCategories</xpath>
  4071. <value>
  4072. <thingCategories>
  4073. <li>Body_Armor</li>
  4074. </thingCategories>
  4075. </value>
  4076. </li>
  4077. </operations>
  4078. </Operation>
  4079. <Operation Class="PatchOperationSequence">
  4080. <success>Always</success>
  4081. <operations>
  4082. <li Class="PatchOperationTest">
  4083. <xpath>/ThingDef[defName = "Polarisbloc_CygnusStandardArmorC"]</xpath>
  4084. <success>Invert</success>
  4085. </li>
  4086. <li Class="PatchOperationReplace">
  4087. <xpath>*/ThingDef[defName = "Polarisbloc_CygnusStandardArmorC"]/thingCategories</xpath>
  4088. <value>
  4089. <thingCategories>
  4090. <li>Body_Armor</li>
  4091. </thingCategories>
  4092. </value>
  4093. </li>
  4094. </operations>
  4095. </Operation>
  4096. <!--============================== Body_Armor: Tribal Essentials ==============================-->
  4097. <Operation Class="PatchOperationSequence">
  4098. <success>Always</success>
  4099. <operations>
  4100. <li Class="PatchOperationTest">
  4101. <xpath>/ThingDef[defName = "Apparel_TribalArmor"]</xpath>
  4102. <success>Invert</success>
  4103. </li>
  4104. <li Class="PatchOperationReplace">
  4105. <xpath>*/ThingDef[defName = "Apparel_TribalArmor"]/thingCategories</xpath>
  4106. <value>
  4107. <thingCategories>
  4108. <li>Body_Armor</li>
  4109. </thingCategories>
  4110. </value>
  4111. </li>
  4112. </operations>
  4113. </Operation>
  4114. <!--============================== Leg_Armor: Apparello 2 ==============================-->
  4115. <Operation Class="PatchOperationSequence">
  4116. <success>Always</success>
  4117. <operations>
  4118. <li Class="PatchOperationTest">
  4119. <xpath>/ThingDef[defName = "Apparello_Armorpants"]</xpath>
  4120. <success>Invert</success>
  4121. </li>
  4122. <li Class="PatchOperationReplace">
  4123. <xpath>*/ThingDef[defName = "Apparello_Armorpants"]/thingCategories</xpath>
  4124. <value>
  4125. <thingCategories>
  4126. <li>Leg_Armor</li>
  4127. </thingCategories>
  4128. </value>
  4129. </li>
  4130. </operations>
  4131. </Operation>
  4132. <Operation Class="PatchOperationSequence">
  4133. <success>Always</success>
  4134. <operations>
  4135. <li Class="PatchOperationTest">
  4136. <xpath>/ThingDef[defName = "Apparello_Spacemarinepants"]</xpath>
  4137. <success>Invert</success>
  4138. </li>
  4139. <li Class="PatchOperationReplace">
  4140. <xpath>*/ThingDef[defName = "Apparello_Spacemarinepants"]/thingCategories</xpath>
  4141. <value>
  4142. <thingCategories>
  4143. <li>Leg_Armor</li>
  4144. </thingCategories>
  4145. </value>
  4146. </li>
  4147. </operations>
  4148. </Operation>
  4149. <!--============================== Shoulder_Armor: Apparello 2 ==============================-->
  4150. <Operation Class="PatchOperationSequence">
  4151. <success>Always</success>
  4152. <operations>
  4153. <li Class="PatchOperationTest">
  4154. <xpath>/ThingDef[defName = "Apparello_Orkpad"]</xpath>
  4155. <success>Invert</success>
  4156. </li>
  4157. <li Class="PatchOperationReplace">
  4158. <xpath>*/ThingDef[defName = "Apparello_Orkpad"]/thingCategories</xpath>
  4159. <value>
  4160. <thingCategories>
  4161. <li>Shoulder_Armor</li>
  4162. </thingCategories>
  4163. </value>
  4164. </li>
  4165. </operations>
  4166. </Operation>
  4167. <Operation Class="PatchOperationSequence">
  4168. <success>Always</success>
  4169. <operations>
  4170. <li Class="PatchOperationTest">
  4171. <xpath>/ThingDef[defName = "Apparello_Urpad"]</xpath>
  4172. <success>Invert</success>
  4173. </li>
  4174. <li Class="PatchOperationReplace">
  4175. <xpath>*/ThingDef[defName = "Apparello_Urpad"]/thingCategories</xpath>
  4176. <value>
  4177. <thingCategories>
  4178. <li>Shoulder_Armor</li>
  4179. </thingCategories>
  4180. </value>
  4181. </li>
  4182. </operations>
  4183. </Operation>
  4184. <!--============================== ExoHelmets: Vanilla ==============================-->
  4185. <Operation Class="PatchOperationConditional">
  4186. <xpath>/Defs/ThingDef[defName = "Apparel_PowerArmorHelmet"]/thingCategories</xpath>
  4187. <match Class="PatchOperationAdd">
  4188. <xpath>/Defs/ThingDef[defName = "Apparel_PowerArmorHelmet"]/thingCategories</xpath>
  4189. <value>
  4190. <li>ExoHelmets</li>
  4191. </value>
  4192. </match>
  4193. <nomatch Class="PatchOperationAdd">
  4194. <xpath>/Defs/ThingDef[defName = "Apparel_PowerArmorHelmet"]</xpath>
  4195. <value>
  4196. <thingCategories>
  4197. <li>ExoHelmets</li>
  4198. </thingCategories>
  4199. </value>
  4200. </nomatch>
  4201. </Operation>
  4202. <!--
  4203. <Operation Class="PatchOperationAdd">
  4204. <xpath>*/ThingDef[defName = "Apparel_PowerArmorHelmet"]</xpath>
  4205. <value>
  4206. <thingCategories>
  4207. <li>ExoHelmets</li>
  4208. </thingCategories>
  4209. </value>
  4210. </Operation>
  4211. -->
  4212. <!--============================== ExoHelmets: High Tech Laboratory Facilities ==============================-->
  4213. <Operation Class="PatchOperationSequence">
  4214. <success>Always</success>
  4215. <operations>
  4216. <li Class="PatchOperationTest">
  4217. <xpath>/ThingDef[defName = "Apparel_LeviathanH"]</xpath>
  4218. <success>Invert</success>
  4219. </li>
  4220. <li Class="PatchOperationReplace">
  4221. <xpath>*/ThingDef[defName = "Apparel_LeviathanH"]/thingCategories/li/text()</xpath>
  4222. <value>
  4223. <thingCategories>ExoHelmets</thingCategories>
  4224. </value>
  4225. </li>
  4226. </operations>
  4227. </Operation>
  4228. <!--============================== ExoHelmets: Rimsenal - Enhanced Vanilla ==============================-->
  4229. <Operation Class="PatchOperationSequence">
  4230. <success>Always</success>
  4231. <operations>
  4232. <li Class="PatchOperationTest">
  4233. <xpath>/ThingDef[defName = "Apparel_ProtectiveHelmet"]</xpath>
  4234. <success>Invert</success>
  4235. </li>
  4236. <li Class="PatchOperationAdd">
  4237. <xpath>*/ThingDef[defName = "Apparel_ProtectiveHelmet"]</xpath>
  4238. <value>
  4239. <thingCategories>
  4240. <li>ExoHelmets</li>
  4241. </thingCategories>
  4242. </value>
  4243. </li>
  4244. </operations>
  4245. </Operation>
  4246. <!--============================== ExoHelmets: Rimsenal - Federation ==============================-->
  4247. <Operation Class="PatchOperationSequence">
  4248. <success>Always</success>
  4249. <operations>
  4250. <li Class="PatchOperationTest">
  4251. <xpath>/ThingDef[defName = "Apparel_JudicatorH"]</xpath>
  4252. <success>Invert</success>
  4253. </li>
  4254. <li Class="PatchOperationAdd">
  4255. <xpath>*/ThingDef[defName = "Apparel_JudicatorH"]</xpath>
  4256. <value>
  4257. <thingCategories>
  4258. <li>ExoHelmets</li>
  4259. </thingCategories>
  4260. </value>
  4261. </li>
  4262. </operations>
  4263. </Operation>
  4264. <!--============================== ExoHelmets: Rimsenal - SotH ==============================-->
  4265. <Operation Class="PatchOperationSequence">
  4266. <success>Always</success>
  4267. <operations>
  4268. <li Class="PatchOperationTest">
  4269. <xpath>/ThingDef[defName = "Apparel_BjornH"]</xpath>
  4270. <success>Invert</success>
  4271. </li>
  4272. <li Class="PatchOperationAdd">
  4273. <xpath>*/ThingDef[defName = "Apparel_BjornH"]</xpath>
  4274. <value>
  4275. <thingCategories>
  4276. <li>ExoHelmets</li>
  4277. </thingCategories>
  4278. </value>
  4279. </li>
  4280. <li Class="PatchOperationTest">
  4281. <xpath>/ThingDef[defName = "Apparel_HazardCarapaceH"]</xpath>
  4282. <success>Invert</success>
  4283. </li>
  4284. <li Class="PatchOperationAdd">
  4285. <xpath>*/ThingDef[defName = "Apparel_HazardCarapaceH"]</xpath>
  4286. <value>
  4287. <thingCategories>
  4288. <li>ExoHelmets</li>
  4289. </thingCategories>
  4290. </value>
  4291. </li>
  4292. <li Class="PatchOperationTest">
  4293. <xpath>/ThingDef[defName = "Apparel_CombatHelmet"]</xpath>
  4294. <success>Invert</success>
  4295. </li>
  4296. <li Class="PatchOperationAdd">
  4297. <xpath>*/ThingDef[defName = "Apparel_CombatHelmet"]</xpath>
  4298. <value>
  4299. <thingCategories>
  4300. <li>ExoHelmets</li>
  4301. </thingCategories>
  4302. </value>
  4303. </li>
  4304. <li Class="PatchOperationTest">
  4305. <xpath>/ThingDef[defName = "Apparel_DropsuitH"]</xpath>
  4306. <success>Invert</success>
  4307. </li>
  4308. <li Class="PatchOperationAdd">
  4309. <xpath>*/ThingDef[defName = "Apparel_DropsuitH"]</xpath>
  4310. <value>
  4311. <thingCategories>
  4312. <li>ExoHelmets</li>
  4313. </thingCategories>
  4314. </value>
  4315. </li>
  4316. <li Class="PatchOperationTest">
  4317. <xpath>/ThingDef[defName = "Apparel_FSArmorH"]</xpath>
  4318. <success>Invert</success>
  4319. </li>
  4320. <li Class="PatchOperationAdd">
  4321. <xpath>*/ThingDef[defName = "Apparel_FSArmorH"]</xpath>
  4322. <value>
  4323. <thingCategories>
  4324. <li>ExoHelmets</li>
  4325. </thingCategories>
  4326. </value>
  4327. </li>
  4328. <li Class="PatchOperationTest">
  4329. <xpath>/ThingDef[defName = "Apparel_NervesuitH"]</xpath>
  4330. <success>Invert</success>
  4331. </li>
  4332. <li Class="PatchOperationAdd">
  4333. <xpath>*/ThingDef[defName = "Apparel_NervesuitH"]</xpath>
  4334. <value>
  4335. <thingCategories>
  4336. <li>ExoHelmets</li>
  4337. </thingCategories>
  4338. </value>
  4339. </li>
  4340. <li Class="PatchOperationTest">
  4341. <xpath>/ThingDef[defName = "Apparel_LaconianH"]</xpath>
  4342. <success>Invert</success>
  4343. </li>
  4344. <li Class="PatchOperationAdd">
  4345. <xpath>*/ThingDef[defName = "Apparel_LaconianH"]</xpath>
  4346. <value>
  4347. <thingCategories>
  4348. <li>ExoHelmets</li>
  4349. </thingCategories>
  4350. </value>
  4351. </li>
  4352. <li Class="PatchOperationTest">
  4353. <xpath>/ThingDef[defName = "Apparel_NemesisH"]</xpath>
  4354. <success>Invert</success>
  4355. </li>
  4356. <li Class="PatchOperationAdd">
  4357. <xpath>*/ThingDef[defName = "Apparel_NemesisH"]</xpath>
  4358. <value>
  4359. <thingCategories>
  4360. <li>ExoHelmets</li>
  4361. </thingCategories>
  4362. </value>
  4363. </li>
  4364. </operations>
  4365. </Operation>
  4366. <!--============================== ExoHelmets: Rimsenal - Feral ==============================-->
  4367. <Operation Class="PatchOperationSequence">
  4368. <success>Always</success>
  4369. <operations>
  4370. <li Class="PatchOperationTest">
  4371. <xpath>/ThingDef[defName = "Apparel_FeralExoH"]</xpath>
  4372. <success>Invert</success>
  4373. </li>
  4374. <li Class="PatchOperationAdd">
  4375. <xpath>*/ThingDef[defName = "Apparel_FeralExoH"]</xpath>
  4376. <value>
  4377. <thingCategories>
  4378. <li>ExoHelmets</li>
  4379. </thingCategories>
  4380. </value>
  4381. </li>
  4382. </operations>
  4383. </Operation>
  4384. <!--============================== ExoHelmets: GlitterTech ==============================-->
  4385. <Operation Class="PatchOperationSequence">
  4386. <success>Always</success>
  4387. <operations>
  4388. <li Class="PatchOperationTest">
  4389. <xpath>/ThingDef[defName = "Apparel_NanoSuitHelmet"]</xpath>
  4390. <success>Invert</success>
  4391. </li>
  4392. <li Class="PatchOperationReplace">
  4393. <xpath>*/ThingDef[defName = "Apparel_NanoSuitHelmet"]/thingCategories/li/text()</xpath>
  4394. <value>
  4395. <thingCategories>ExoHelmets</thingCategories>
  4396. </value>
  4397. </li>
  4398. </operations>
  4399. </Operation>
  4400. <!--============================== ExoHelmets: T-45b Power Armor ==============================-->
  4401. <Operation Class="PatchOperationSequence">
  4402. <success>Always</success>
  4403. <operations>
  4404. <li Class="PatchOperationTest">
  4405. <xpath>/ThingDef[defName = "Apparel_T45bPowerArmorHelmet"]</xpath>
  4406. <success>Invert</success>
  4407. </li>
  4408. <li Class="PatchOperationAdd">
  4409. <xpath>*/ThingDef[defName = "Apparel_T45bPowerArmorHelmet"]</xpath>
  4410. <value>
  4411. <thingCategories>
  4412. <li>ExoHelmets</li>
  4413. </thingCategories>
  4414. </value>
  4415. </li>
  4416. </operations>
  4417. </Operation>
  4418. <!--============================== ExoHelmets: Orassans ==============================-->
  4419. <Operation Class="PatchOperationSequence">
  4420. <success>Always</success>
  4421. <operations>
  4422. <li Class="PatchOperationTest">
  4423. <xpath>/ThingDef[defName = "Apparel_OrassanPowerArmorHelmet"]</xpath>
  4424. <success>Invert</success>
  4425. </li>
  4426. <li Class="PatchOperationAdd">
  4427. <xpath>*/ThingDef[defName = "Apparel_OrassanPowerArmorHelmet"]</xpath>
  4428. <value>
  4429. <thingCategories>
  4430. <li>ExoHelmets</li>
  4431. </thingCategories>
  4432. </value>
  4433. </li>
  4434. </operations>
  4435. </Operation>
  4436. <!--============================== ExoHelmets: Trading Economy Mod ==============================-->
  4437. <Operation Class="PatchOperationSequence">
  4438. <success>Always</success>
  4439. <operations>
  4440. <li Class="PatchOperationTest">
  4441. <xpath>/ThingDef[defName = "Apparel_WalkblemPowerArmorHelmet"]</xpath>
  4442. <success>Invert</success>
  4443. </li>
  4444. <li Class="PatchOperationReplace">
  4445. <xpath>*/ThingDef[defName = "Apparel_WalkblemPowerArmorHelmet"]/thingCategories</xpath>
  4446. <value>
  4447. <thingCategories>
  4448. <li>ExoHelmets</li>
  4449. </thingCategories>
  4450. </value>
  4451. </li>
  4452. </operations>
  4453. </Operation>
  4454. <!--============================== ExoSuits: Vanilla ==============================-->
  4455. <Operation Class="PatchOperationReplace">
  4456. <xpath>*/ThingDef[defName = "Apparel_PowerArmor"]/thingCategories/li/text()</xpath>
  4457. <value>
  4458. <thingCategories>ExoSuits</thingCategories>
  4459. </value>
  4460. </Operation>
  4461. <!--============================== ExoSuits: High Tech Laboratory Facilities ==============================-->
  4462. <Operation Class="PatchOperationSequence">
  4463. <success>Always</success>
  4464. <operations>
  4465. <li Class="PatchOperationTest">
  4466. <xpath>/ThingDef[defName = "Apparel_Leviathan"]</xpath>
  4467. <success>Invert</success>
  4468. </li>
  4469. <li Class="PatchOperationReplace">
  4470. <xpath>*/ThingDef[defName = "Apparel_Leviathan"]/thingCategories/li/text()</xpath>
  4471. <value>
  4472. <thingCategories>ExoSuits</thingCategories>
  4473. </value>
  4474. </li>
  4475. <li Class="PatchOperationTest">
  4476. <xpath>/ThingDef[defName = "Apparel_CyberSuit"]</xpath>
  4477. <success>Invert</success>
  4478. </li>
  4479. <li Class="PatchOperationReplace">
  4480. <xpath>*/ThingDef[defName = "Apparel_CyberSuit"]/thingCategories/li/text()</xpath>
  4481. <value>
  4482. <thingCategories>ExoSuits</thingCategories>
  4483. </value>
  4484. </li>
  4485. </operations>
  4486. </Operation>
  4487. <!--============================== ExoSuits: Rimsenal - Enhanced Vanilla ==============================-->
  4488. <Operation Class="PatchOperationSequence">
  4489. <success>Always</success>
  4490. <operations>
  4491. <li Class="PatchOperationTest">
  4492. <xpath>/ThingDef[defName = "Apparel_ProtectiveGear"]</xpath>
  4493. <success>Invert</success>
  4494. </li>
  4495. <li Class="PatchOperationReplace">
  4496. <xpath>*/ThingDef[defName = "Apparel_ProtectiveGear"]/thingCategories/li/text()</xpath>
  4497. <value>
  4498. <thingCategories>ExoSuits</thingCategories>
  4499. </value>
  4500. </li>
  4501. </operations>
  4502. </Operation>
  4503. <!--============================== ExoSuits: Rimsenal - Federation ==============================-->
  4504. <Operation Class="PatchOperationSequence">
  4505. <success>Always</success>
  4506. <operations>
  4507. <li Class="PatchOperationTest">
  4508. <xpath>/ThingDef[defName = "Apparel_Judicator"]</xpath>
  4509. <success>Invert</success>
  4510. </li>
  4511. <li Class="PatchOperationReplace">
  4512. <xpath>*/ThingDef[defName = "Apparel_Judicator"]/thingCategories/li/text()</xpath>
  4513. <value>
  4514. <thingCategories>ExoSuits</thingCategories>
  4515. </value>
  4516. </li>
  4517. </operations>
  4518. </Operation>
  4519. <!--============================== ExoSuits: Rimsenal - SotH ==============================-->
  4520. <Operation Class="PatchOperationSequence">
  4521. <success>Always</success>
  4522. <operations>
  4523. <li Class="PatchOperationTest">
  4524. <xpath>/ThingDef[defName = "Apparel_Laconian"]</xpath>
  4525. <success>Invert</success>
  4526. </li>
  4527. <li Class="PatchOperationReplace">
  4528. <xpath>*/ThingDef[defName = "Apparel_Laconian"]/thingCategories/li/text()</xpath>
  4529. <value>
  4530. <thingCategories>ExoSuits</thingCategories>
  4531. </value>
  4532. </li>
  4533. <li Class="PatchOperationTest">
  4534. <xpath>/ThingDef[defName = "Apparel_HazardCarapace"]</xpath>
  4535. <success>Invert</success>
  4536. </li>
  4537. <li Class="PatchOperationReplace">
  4538. <xpath>*/ThingDef[defName = "Apparel_HazardCarapace"]/thingCategories/li/text()</xpath>
  4539. <value>
  4540. <thingCategories>ExoSuits</thingCategories>
  4541. </value>
  4542. </li>
  4543. <li Class="PatchOperationTest">
  4544. <xpath>/ThingDef[defName = "Apparel_Bjorn"]</xpath>
  4545. <success>Invert</success>
  4546. </li>
  4547. <li Class="PatchOperationReplace">
  4548. <xpath>*/ThingDef[defName = "Apparel_Bjorn"]/thingCategories/li/text()</xpath>
  4549. <value>
  4550. <thingCategories>ExoSuits</thingCategories>
  4551. </value>
  4552. </li>
  4553. <li Class="PatchOperationTest">
  4554. <xpath>/ThingDef[defName = "Apparel_CombatArmor"]</xpath>
  4555. <success>Invert</success>
  4556. </li>
  4557. <li Class="PatchOperationReplace">
  4558. <xpath>*/ThingDef[defName = "Apparel_CombatArmor"]/thingCategories/li/text()</xpath>
  4559. <value>
  4560. <thingCategories>ExoSuits</thingCategories>
  4561. </value>
  4562. </li>
  4563. <li Class="PatchOperationTest">
  4564. <xpath>/ThingDef[defName = "Apparel_Dropsuit"]</xpath>
  4565. <success>Invert</success>
  4566. </li>
  4567. <li Class="PatchOperationReplace">
  4568. <xpath>*/ThingDef[defName = "Apparel_Dropsuit"]/thingCategories/li/text()</xpath>
  4569. <value>
  4570. <thingCategories>ExoSuits</thingCategories>
  4571. </value>
  4572. </li>
  4573. <li Class="PatchOperationTest">
  4574. <xpath>/ThingDef[defName = "Apparel_FSArmor"]</xpath>
  4575. <success>Invert</success>
  4576. </li>
  4577. <li Class="PatchOperationReplace">
  4578. <xpath>*/ThingDef[defName = "Apparel_FSArmor"]/thingCategories/li/text()</xpath>
  4579. <value>
  4580. <thingCategories>ExoSuits</thingCategories>
  4581. </value>
  4582. </li>
  4583. <li Class="PatchOperationTest">
  4584. <xpath>/ThingDef[defName = "Apparel_Nervesuit"]</xpath>
  4585. <success>Invert</success>
  4586. </li>
  4587. <li Class="PatchOperationReplace">
  4588. <xpath>*/ThingDef[defName = "Apparel_Nervesuit"]/thingCategories/li/text()</xpath>
  4589. <value>
  4590. <thingCategories>ExoSuits</thingCategories>
  4591. </value>
  4592. </li>
  4593. <li Class="PatchOperationTest">
  4594. <xpath>/ThingDef[defName = "Apparel_Nemesis"]</xpath>
  4595. <success>Invert</success>
  4596. </li>
  4597. <li Class="PatchOperationReplace">
  4598. <xpath>*/ThingDef[defName = "Apparel_Nemesis"]/thingCategories/li/text()</xpath>
  4599. <value>
  4600. <thingCategories>ExoSuits</thingCategories>
  4601. </value>
  4602. </li>
  4603. </operations>
  4604. </Operation>
  4605. <!--============================== ExoSuits: Rimsenal - Feral ==============================-->
  4606. <Operation Class="PatchOperationSequence">
  4607. <success>Always</success>
  4608. <operations>
  4609. <li Class="PatchOperationTest">
  4610. <xpath>/ThingDef[defName = "Apparel_FeralExo"]</xpath>
  4611. <success>Invert</success>
  4612. </li>
  4613. <li Class="PatchOperationReplace">
  4614. <xpath>*/ThingDef[defName = "Apparel_FeralExo"]/thingCategories/li/text()</xpath>
  4615. <value>
  4616. <thingCategories>ExoSuits</thingCategories>
  4617. </value>
  4618. </li>
  4619. </operations>
  4620. </Operation>
  4621. <!--============================== ExoSuits: GlitterTech ==============================-->
  4622. <Operation Class="PatchOperationSequence">
  4623. <success>Always</success>
  4624. <operations>
  4625. <li Class="PatchOperationTest">
  4626. <xpath>/ThingDef[defName = "Apparel_NanoSuit"]</xpath>
  4627. <success>Invert</success>
  4628. </li>
  4629. <li Class="PatchOperationReplace">
  4630. <xpath>*/ThingDef[defName = "Apparel_NanoSuit"]/thingCategories/li/text()</xpath>
  4631. <value>
  4632. <thingCategories>ExoSuits</thingCategories>
  4633. </value>
  4634. </li>
  4635. </operations>
  4636. </Operation>
  4637. <!--============================== ExoSuits: T-45b Power Armor ==============================-->
  4638. <Operation Class="PatchOperationSequence">
  4639. <success>Always</success>
  4640. <operations>
  4641. <li Class="PatchOperationTest">
  4642. <xpath>/ThingDef[defName = "Apparel_T-45bPowerArmor"]</xpath>
  4643. <success>Invert</success>
  4644. </li>
  4645. <li Class="PatchOperationReplace">
  4646. <xpath>*/ThingDef[defName = "Apparel_T-45bPowerArmor"]/thingCategories/li/text()</xpath>
  4647. <value>
  4648. <thingCategories>ExoSuits</thingCategories>
  4649. </value>
  4650. </li>
  4651. </operations>
  4652. </Operation>
  4653. <!--============================== ExoSuits: Apparello 2 ==============================-->
  4654. <Operation Class="PatchOperationSequence">
  4655. <success>Always</success>
  4656. <operations>
  4657. <li Class="PatchOperationTest">
  4658. <xpath>/ThingDef[defName = "Apparello_Gshell"]</xpath>
  4659. <success>Invert</success>
  4660. </li>
  4661. <li Class="PatchOperationReplace">
  4662. <xpath>*/ThingDef[defName = "Apparello_Gshell"]/thingCategories</xpath>
  4663. <value>
  4664. <thingCategories>
  4665. <li>ExoSuits</li>
  4666. </thingCategories>
  4667. </value>
  4668. </li>
  4669. </operations>
  4670. </Operation>
  4671. <Operation Class="PatchOperationSequence">
  4672. <success>Always</success>
  4673. <operations>
  4674. <li Class="PatchOperationTest">
  4675. <xpath>/ThingDef[defName = "Apparello_Scytherframe"]</xpath>
  4676. <success>Invert</success>
  4677. </li>
  4678. <li Class="PatchOperationAdd">
  4679. <xpath>*/ThingDef[defName = "Apparello_Scytherframe"]</xpath>
  4680. <value>
  4681. <thingCategories>
  4682. <li>ExoSuits</li>
  4683. </thingCategories>
  4684. </value>
  4685. </li>
  4686. </operations>
  4687. </Operation>
  4688. <Operation Class="PatchOperationSequence">
  4689. <success>Always</success>
  4690. <operations>
  4691. <li Class="PatchOperationTest">
  4692. <xpath>/ThingDef[defName = "Apparello_GShellII"]</xpath>
  4693. <success>Invert</success>
  4694. </li>
  4695. <li Class="PatchOperationAdd">
  4696. <xpath>*/ThingDef[defName = "Apparello_GShellII"]</xpath>
  4697. <value>
  4698. <thingCategories>
  4699. <li>ExoSuits</li>
  4700. </thingCategories>
  4701. </value>
  4702. </li>
  4703. </operations>
  4704. </Operation>
  4705. <Operation Class="PatchOperationSequence">
  4706. <success>Always</success>
  4707. <operations>
  4708. <li Class="PatchOperationTest">
  4709. <xpath>/ThingDef[defName = "Apparello_Steamhull"]</xpath>
  4710. <success>Invert</success>
  4711. </li>
  4712. <li Class="PatchOperationAdd">
  4713. <xpath>*/ThingDef[defName = "Apparello_Steamhull"]</xpath>
  4714. <value>
  4715. <thingCategories>
  4716. <li>ExoSuits</li>
  4717. </thingCategories>
  4718. </value>
  4719. </li>
  4720. </operations>
  4721. </Operation>
  4722. <!--============================== ExoSuits: Orassans ==============================-->
  4723. <Operation Class="PatchOperationSequence">
  4724. <success>Always</success>
  4725. <operations>
  4726. <li Class="PatchOperationTest">
  4727. <xpath>/ThingDef[defName = "Apparel_KittyArmor"]</xpath>
  4728. <success>Invert</success>
  4729. </li>
  4730. <li Class="PatchOperationReplace">
  4731. <xpath>*/ThingDef[defName = "Apparel_KittyArmor"]/thingCategories</xpath>
  4732. <value>
  4733. <thingCategories>
  4734. <li>ExoSuits</li>
  4735. </thingCategories>
  4736. </value>
  4737. </li>
  4738. </operations>
  4739. </Operation>
  4740. <!--============================== ExoSuits: Trading Economy Mod ==============================-->
  4741. <Operation Class="PatchOperationSequence">
  4742. <success>Always</success>
  4743. <operations>
  4744. <li Class="PatchOperationTest">
  4745. <xpath>/ThingDef[defName = "Apparel_WalkblemPowerArmor"]</xpath>
  4746. <success>Invert</success>
  4747. </li>
  4748. <li Class="PatchOperationReplace">
  4749. <xpath>*/ThingDef[defName = "Apparel_WalkblemPowerArmor"]/thingCategories</xpath>
  4750. <value>
  4751. <thingCategories>
  4752. <li>ExoSuits</li>
  4753. </thingCategories>
  4754. </value>
  4755. </li>
  4756. </operations>
  4757. </Operation>
  4758. <!--============================== Hoods: Star Wars - The Force ==============================-->
  4759. <Operation Class="PatchOperationSequence">
  4760. <success>Always</success>
  4761. <operations>
  4762. <li Class="PatchOperationTest">
  4763. <xpath>/ThingDef[defName = "PJ_JediHood"]</xpath>
  4764. <success>Invert</success>
  4765. </li>
  4766. <li Class="PatchOperationAdd">
  4767. <xpath>*/ThingDef[defName = "PJ_JediHood"]</xpath>
  4768. <value>
  4769. <thingCategories>
  4770. <li>Star_Wars_Hoods</li>
  4771. </thingCategories>
  4772. </value>
  4773. </li>
  4774. </operations>
  4775. </Operation>
  4776. <Operation Class="PatchOperationSequence">
  4777. <success>Always</success>
  4778. <operations>
  4779. <li Class="PatchOperationTest">
  4780. <xpath>/ThingDef[defName = "PJ_SithHood"]</xpath>
  4781. <success>Invert</success>
  4782. </li>
  4783. <li Class="PatchOperationAdd">
  4784. <xpath>*/ThingDef[defName = "PJ_SithHood"]</xpath>
  4785. <value>
  4786. <thingCategories>
  4787. <li>Star_Wars_Hoods</li>
  4788. </thingCategories>
  4789. </value>
  4790. </li>
  4791. </operations>
  4792. </Operation>
  4793. <Operation Class="PatchOperationSequence">
  4794. <success>Always</success>
  4795. <operations>
  4796. <li Class="PatchOperationTest">
  4797. <xpath>/ThingDef[defName = "PJ_CustomHood"]</xpath>
  4798. <success>Invert</success>
  4799. </li>
  4800. <li Class="PatchOperationAdd">
  4801. <xpath>*/ThingDef[defName = "PJ_CustomHood"]</xpath>
  4802. <value>
  4803. <thingCategories>
  4804. <li>Star_Wars_Hoods</li>
  4805. </thingCategories>
  4806. </value>
  4807. </li>
  4808. </operations>
  4809. </Operation>
  4810. <!--============================== Robes: Star Wars - The Force ==============================-->
  4811. <Operation Class="PatchOperationSequence">
  4812. <success>Always</success>
  4813. <operations>
  4814. <li Class="PatchOperationTest">
  4815. <xpath>/ThingDef[defName = "PJ_Jedi_Robe"]</xpath>
  4816. <success>Invert</success>
  4817. </li>
  4818. <li Class="PatchOperationReplace">
  4819. <xpath>*/ThingDef[defName = "PJ_Jedi_Robe"]/thingCategories/li/text()</xpath>
  4820. <value>
  4821. <thingCategories>Star_Wars_Robes</thingCategories>
  4822. </value>
  4823. </li>
  4824. </operations>
  4825. </Operation>
  4826. <Operation Class="PatchOperationSequence">
  4827. <success>Always</success>
  4828. <operations>
  4829. <li Class="PatchOperationTest">
  4830. <xpath>/ThingDef[defName = "PJ_Sith_Robe"]</xpath>
  4831. <success>Invert</success>
  4832. </li>
  4833. <li Class="PatchOperationReplace">
  4834. <xpath>*/ThingDef[defName = "PJ_Sith_Robe"]/thingCategories/li/text()</xpath>
  4835. <value>
  4836. <thingCategories>Star_Wars_Robes</thingCategories>
  4837. </value>
  4838. </li>
  4839. </operations>
  4840. </Operation>
  4841. <Operation Class="PatchOperationSequence">
  4842. <success>Always</success>
  4843. <operations>
  4844. <li Class="PatchOperationTest">
  4845. <xpath>/ThingDef[defName = "PJ_InnerRobes"]</xpath>
  4846. <success>Invert</success>
  4847. </li>
  4848. <li Class="PatchOperationReplace">
  4849. <xpath>*/ThingDef[defName = "PJ_InnerRobes"]/thingCategories/li/text()</xpath>
  4850. <value>
  4851. <thingCategories>Star_Wars_Robes</thingCategories>
  4852. </value>
  4853. </li>
  4854. </operations>
  4855. </Operation>
  4856. <!--============================== Robes: Star Wars - Factions ==============================-->
  4857. <Operation Class="PatchOperationSequence">
  4858. <success>Always</success>
  4859. <operations>
  4860. <li Class="PatchOperationTest">
  4861. <xpath>/ThingDef[defName = "PJ_JFac_Robe"]</xpath>
  4862. <success>Invert</success>
  4863. </li>
  4864. <li Class="PatchOperationReplace">
  4865. <xpath>*/ThingDef[defName = "PJ_JFac_Robe"]/thingCategories/li/text()</xpath>
  4866. <value>
  4867. <thingCategories>Star_Wars_Robes</thingCategories>
  4868. </value>
  4869. </li>
  4870. </operations>
  4871. </Operation>
  4872. <Operation Class="PatchOperationSequence">
  4873. <success>Always</success>
  4874. <operations>
  4875. <li Class="PatchOperationTest">
  4876. <xpath>/ThingDef[defName = "PJ_SithFac_Robe"]</xpath>
  4877. <success>Invert</success>
  4878. </li>
  4879. <li Class="PatchOperationReplace">
  4880. <xpath>*/ThingDef[defName = "PJ_SithFac_Robe"]/thingCategories/li/text()</xpath>
  4881. <value>
  4882. <thingCategories>Star_Wars_Robes</thingCategories>
  4883. </value>
  4884. </li>
  4885. </operations>
  4886. </Operation>
  4887. <!--============================== Hats: Star Wars - Factions ==============================-->
  4888. <Operation Class="PatchOperationSequence">
  4889. <success>Always</success>
  4890. <operations>
  4891. <li Class="PatchOperationTest">
  4892. <xpath>/ThingDef[defName = "PJ_ImpHat"]</xpath>
  4893. <success>Invert</success>
  4894. </li>
  4895. <li Class="PatchOperationAdd">
  4896. <xpath>*/ThingDef[defName = "PJ_ImpHat"]</xpath>
  4897. <value>
  4898. <thingCategories>
  4899. <li>Star_Wars_Hats</li>
  4900. </thingCategories>
  4901. </value>
  4902. </li>
  4903. </operations>
  4904. </Operation>
  4905. <Operation Class="PatchOperationSequence">
  4906. <success>Always</success>
  4907. <operations>
  4908. <li Class="PatchOperationTest">
  4909. <xpath>/ThingDef[defName = "PJ_ImpSTOHat"]</xpath>
  4910. <success>Invert</success>
  4911. </li>
  4912. <li Class="PatchOperationAdd">
  4913. <xpath>*/ThingDef[defName = "PJ_ImpSTOHat"]</xpath>
  4914. <value>
  4915. <thingCategories>
  4916. <li>Star_Wars_Hats</li>
  4917. </thingCategories>
  4918. </value>
  4919. </li>
  4920. </operations>
  4921. </Operation>
  4922. <Operation Class="PatchOperationSequence">
  4923. <success>Always</success>
  4924. <operations>
  4925. <li Class="PatchOperationTest">
  4926. <xpath>/ThingDef[defName = "PJ_ImpHatBrn"]</xpath>
  4927. <success>Invert</success>
  4928. </li>
  4929. <li Class="PatchOperationAdd">
  4930. <xpath>*/ThingDef[defName = "PJ_ImpHatBrn"]</xpath>
  4931. <value>
  4932. <thingCategories>
  4933. <li>Star_Wars_Hats</li>
  4934. </thingCategories>
  4935. </value>
  4936. </li>
  4937. </operations>
  4938. </Operation>
  4939. <Operation Class="PatchOperationSequence">
  4940. <success>Always</success>
  4941. <operations>
  4942. <li Class="PatchOperationTest">
  4943. <xpath>/ThingDef[defName = "PJ_ImpHatB"]</xpath>
  4944. <success>Invert</success>
  4945. </li>
  4946. <li Class="PatchOperationAdd">
  4947. <xpath>*/ThingDef[defName = "PJ_ImpHatB"]</xpath>
  4948. <value>
  4949. <thingCategories>
  4950. <li>Star_Wars_Hats</li>
  4951. </thingCategories>
  4952. </value>
  4953. </li>
  4954. </operations>
  4955. </Operation>
  4956. <!--============================== Uniforms: Star Wars - Factions ==============================-->
  4957. <Operation Class="PatchOperationSequence">
  4958. <success>Always</success>
  4959. <operations>
  4960. <li Class="PatchOperationTest">
  4961. <xpath>/ThingDef[defName = "PJ_ImpUniform"]</xpath>
  4962. <success>Invert</success>
  4963. </li>
  4964. <li Class="PatchOperationReplace">
  4965. <xpath>*/ThingDef[defName = "PJ_ImpUniform"]/thingCategories/li/text()</xpath>
  4966. <value>
  4967. <thingCategories>Star_Wars_Uniforms</thingCategories>
  4968. </value>
  4969. </li>
  4970. </operations>
  4971. </Operation>
  4972. <Operation Class="PatchOperationSequence">
  4973. <success>Always</success>
  4974. <operations>
  4975. <li Class="PatchOperationTest">
  4976. <xpath>/ThingDef[defName = "PJ_ImpUniformBlack"]</xpath>
  4977. <success>Invert</success>
  4978. </li>
  4979. <li Class="PatchOperationReplace">
  4980. <xpath>*/ThingDef[defName = "PJ_ImpUniformBlack"]/thingCategories/li/text()</xpath>
  4981. <value>
  4982. <thingCategories>Star_Wars_Uniforms</thingCategories>
  4983. </value>
  4984. </li>
  4985. </operations>
  4986. </Operation>
  4987. <Operation Class="PatchOperationSequence">
  4988. <success>Always</success>
  4989. <operations>
  4990. <li Class="PatchOperationTest">
  4991. <xpath>/ThingDef[defName = "PJ_STOffUniform"]</xpath>
  4992. <success>Invert</success>
  4993. </li>
  4994. <li Class="PatchOperationReplace">
  4995. <xpath>*/ThingDef[defName = "PJ_STOffUniform"]/thingCategories/li/text()</xpath>
  4996. <value>
  4997. <thingCategories>Star_Wars_Uniforms</thingCategories>
  4998. </value>
  4999. </li>
  5000. </operations>
  5001. </Operation>
  5002. <Operation Class="PatchOperationSequence">
  5003. <success>Always</success>
  5004. <operations>
  5005. <li Class="PatchOperationTest">
  5006. <xpath>/ThingDef[defName = "PJ_ImpNAVYSHELL"]</xpath>
  5007. <success>Invert</success>
  5008. </li>
  5009. <li Class="PatchOperationReplace">
  5010. <xpath>*/ThingDef[defName = "PJ_ImpNAVYSHELL"]/thingCategories/li/text()</xpath>
  5011. <value>
  5012. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5013. </value>
  5014. </li>
  5015. </operations>
  5016. </Operation>
  5017. <Operation Class="PatchOperationSequence">
  5018. <success>Always</success>
  5019. <operations>
  5020. <li Class="PatchOperationTest">
  5021. <xpath>/ThingDef[defName = "PJ_ImpUniformBlackSHELL"]</xpath>
  5022. <success>Invert</success>
  5023. </li>
  5024. <li Class="PatchOperationReplace">
  5025. <xpath>*/ThingDef[defName = "PJ_ImpUniformBlackSHELL"]/thingCategories/li/text()</xpath>
  5026. <value>
  5027. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5028. </value>
  5029. </li>
  5030. </operations>
  5031. </Operation>
  5032. <Operation Class="PatchOperationSequence">
  5033. <success>Always</success>
  5034. <operations>
  5035. <li Class="PatchOperationTest">
  5036. <xpath>/ThingDef[defName = "PJ_ImpUniformGrnSHELL"]</xpath>
  5037. <success>Invert</success>
  5038. </li>
  5039. <li Class="PatchOperationReplace">
  5040. <xpath>*/ThingDef[defName = "PJ_ImpUniformGrnSHELL"]/thingCategories/li/text()</xpath>
  5041. <value>
  5042. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5043. </value>
  5044. </li>
  5045. </operations>
  5046. </Operation>
  5047. <Operation Class="PatchOperationSequence">
  5048. <success>Always</success>
  5049. <operations>
  5050. <li Class="PatchOperationTest">
  5051. <xpath>/ThingDef[defName = "PJ_ImpUniformBrownSHELL"]</xpath>
  5052. <success>Invert</success>
  5053. </li>
  5054. <li Class="PatchOperationReplace">
  5055. <xpath>*/ThingDef[defName = "PJ_ImpUniformBrownSHELL"]/thingCategories/li/text()</xpath>
  5056. <value>
  5057. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5058. </value>
  5059. </li>
  5060. </operations>
  5061. </Operation>
  5062. <Operation Class="PatchOperationSequence">
  5063. <success>Always</success>
  5064. <operations>
  5065. <li Class="PatchOperationTest">
  5066. <xpath>/ThingDef[defName = "PJ_ImpUniformISBSHELL"]</xpath>
  5067. <success>Invert</success>
  5068. </li>
  5069. <li Class="PatchOperationReplace">
  5070. <xpath>*/ThingDef[defName = "PJ_ImpUniformISBSHELL"]/thingCategories/li/text()</xpath>
  5071. <value>
  5072. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5073. </value>
  5074. </li>
  5075. </operations>
  5076. </Operation>
  5077. <Operation Class="PatchOperationSequence">
  5078. <success>Always</success>
  5079. <operations>
  5080. <li Class="PatchOperationTest">
  5081. <xpath>/ThingDef[defName = "PJ_ImpUniformGrnSHELL"]</xpath>
  5082. <success>Invert</success>
  5083. </li>
  5084. <li Class="PatchOperationReplace">
  5085. <xpath>*/ThingDef[defName = "PJ_ImpUniformGrnSHELL"]/thingCategories/li/text()</xpath>
  5086. <value>
  5087. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5088. </value>
  5089. </li>
  5090. </operations>
  5091. </Operation>
  5092. <Operation Class="PatchOperationSequence">
  5093. <success>Always</success>
  5094. <operations>
  5095. <li Class="PatchOperationTest">
  5096. <xpath>/ThingDef[defName = "PJ_GenFlight_Y"]</xpath>
  5097. <success>Invert</success>
  5098. </li>
  5099. <li Class="PatchOperationReplace">
  5100. <xpath>*/ThingDef[defName = "PJ_GenFlight_Y"]/thingCategories/li/text()</xpath>
  5101. <value>
  5102. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5103. </value>
  5104. </li>
  5105. </operations>
  5106. </Operation>
  5107. <Operation Class="PatchOperationSequence">
  5108. <success>Always</success>
  5109. <operations>
  5110. <li Class="PatchOperationTest">
  5111. <xpath>/ThingDef[defName = "PJ_RebOfficer"]</xpath>
  5112. <success>Invert</success>
  5113. </li>
  5114. <li Class="PatchOperationReplace">
  5115. <xpath>*/ThingDef[defName = "PJ_RebOfficer"]/thingCategories/li/text()</xpath>
  5116. <value>
  5117. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5118. </value>
  5119. </li>
  5120. </operations>
  5121. </Operation>
  5122. <Operation Class="PatchOperationSequence">
  5123. <success>Always</success>
  5124. <operations>
  5125. <li Class="PatchOperationTest">
  5126. <xpath>/ThingDef[defName = "PJ_RebFlight"]</xpath>
  5127. <success>Invert</success>
  5128. </li>
  5129. <li Class="PatchOperationReplace">
  5130. <xpath>*/ThingDef[defName = "PJ_RebFlight"]/thingCategories/li/text()</xpath>
  5131. <value>
  5132. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5133. </value>
  5134. </li>
  5135. </operations>
  5136. </Operation>
  5137. <Operation Class="PatchOperationSequence">
  5138. <success>Always</success>
  5139. <operations>
  5140. <li Class="PatchOperationTest">
  5141. <xpath>/ThingDef[defName = "PJ_RebBFlight"]</xpath>
  5142. <success>Invert</success>
  5143. </li>
  5144. <li Class="PatchOperationReplace">
  5145. <xpath>*/ThingDef[defName = "PJ_RebBFlight"]/thingCategories/li/text()</xpath>
  5146. <value>
  5147. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5148. </value>
  5149. </li>
  5150. </operations>
  5151. </Operation>
  5152. <Operation Class="PatchOperationSequence">
  5153. <success>Always</success>
  5154. <operations>
  5155. <li Class="PatchOperationTest">
  5156. <xpath>/ThingDef[defName = "PJ_RebCollarShirt"]</xpath>
  5157. <success>Invert</success>
  5158. </li>
  5159. <li Class="PatchOperationReplace">
  5160. <xpath>*/ThingDef[defName = "PJ_RebCollarShirt"]/thingCategories/li/text()</xpath>
  5161. <value>
  5162. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5163. </value>
  5164. </li>
  5165. </operations>
  5166. </Operation>
  5167. <!--============================== Uniforms Pants: Star Wars - Factions ==============================-->
  5168. <Operation Class="PatchOperationSequence">
  5169. <success>Always</success>
  5170. <operations>
  5171. <li Class="PatchOperationTest">
  5172. <xpath>/ThingDef[defName = "PJ_Apparel_Pants"]</xpath>
  5173. <success>Invert</success>
  5174. </li>
  5175. <li Class="PatchOperationReplace">
  5176. <xpath>*/ThingDef[defName = "PJ_Apparel_Pants"]/thingCategories/li/text()</xpath>
  5177. <value>
  5178. <thingCategories>Star_Wars_Uniforms</thingCategories>
  5179. </value>
  5180. </li>
  5181. </operations>
  5182. </Operation>
  5183. <!--============================== Jackets: Star Wars - Factions ==============================-->
  5184. <Operation Class="PatchOperationSequence">
  5185. <success>Always</success>
  5186. <operations>
  5187. <li Class="PatchOperationTest">
  5188. <xpath>/ThingDef[defName = "PJ_Reb_TroopJacket"]</xpath>
  5189. <success>Invert</success>
  5190. </li>
  5191. <li Class="PatchOperationReplace">
  5192. <xpath>*/ThingDef[defName = "PJ_Reb_TroopJacket"]/thingCategories</xpath>
  5193. <value>
  5194. <thingCategories>
  5195. <li>Star_Wars_Jackets</li>
  5196. </thingCategories>
  5197. </value>
  5198. </li>
  5199. </operations>
  5200. </Operation>
  5201. <Operation Class="PatchOperationSequence">
  5202. <success>Always</success>
  5203. <operations>
  5204. <li Class="PatchOperationTest">
  5205. <xpath>/ThingDef[defName = "PJ_Reb_ScoutJacket"]</xpath>
  5206. <success>Invert</success>
  5207. </li>
  5208. <li Class="PatchOperationReplace">
  5209. <xpath>*/ThingDef[defName = "PJ_Reb_ScoutJacket"]/thingCategories</xpath>
  5210. <value>
  5211. <thingCategories>
  5212. <li>Star_Wars_Jackets</li>
  5213. </thingCategories>
  5214. </value>
  5215. </li>
  5216. </operations>
  5217. </Operation>
  5218. <Operation Class="PatchOperationSequence">
  5219. <success>Always</success>
  5220. <operations>
  5221. <li Class="PatchOperationTest">
  5222. <xpath>/ThingDef[defName = "PJ_Reb_ScoutLAVJacket"]</xpath>
  5223. <success>Invert</success>
  5224. </li>
  5225. <li Class="PatchOperationReplace">
  5226. <xpath>*/ThingDef[defName = "PJ_Reb_ScoutLAVJacket"]/thingCategories</xpath>
  5227. <value>
  5228. <thingCategories>
  5229. <li>Star_Wars_Jackets</li>
  5230. </thingCategories>
  5231. </value>
  5232. </li>
  5233. </operations>
  5234. </Operation>
  5235. <Operation Class="PatchOperationSequence">
  5236. <success>Always</success>
  5237. <operations>
  5238. <li Class="PatchOperationTest">
  5239. <xpath>/ThingDef[defName = "PJ_Reb_CamoJacket"]</xpath>
  5240. <success>Invert</success>
  5241. </li>
  5242. <li Class="PatchOperationReplace">
  5243. <xpath>*/ThingDef[defName = "PJ_Reb_CamoJacket"]/thingCategories</xpath>
  5244. <value>
  5245. <thingCategories>
  5246. <li>Star_Wars_Jackets</li>
  5247. </thingCategories>
  5248. </value>
  5249. </li>
  5250. </operations>
  5251. </Operation>
  5252. <!--============================== Helmets: Star Wars - Factions ==============================-->
  5253. <Operation Class="PatchOperationSequence">
  5254. <success>Always</success>
  5255. <operations>
  5256. <li Class="PatchOperationTest">
  5257. <xpath>/ThingDef[defName = "PJ_STHelm"]</xpath>
  5258. <success>Invert</success>
  5259. </li>
  5260. <li Class="PatchOperationAdd">
  5261. <xpath>*/ThingDef[defName = "PJ_STHelm"]</xpath>
  5262. <value>
  5263. <thingCategories>
  5264. <li>Star_Wars_Helmets</li>
  5265. </thingCategories>
  5266. </value>
  5267. </li>
  5268. </operations>
  5269. </Operation>
  5270. <Operation Class="PatchOperationSequence">
  5271. <success>Always</success>
  5272. <operations>
  5273. <li Class="PatchOperationTest">
  5274. <xpath>/ThingDef[defName = "PJ_SHHelm"]</xpath>
  5275. <success>Invert</success>
  5276. </li>
  5277. <li Class="PatchOperationAdd">
  5278. <xpath>*/ThingDef[defName = "PJ_SHHelm"]</xpath>
  5279. <value>
  5280. <thingCategories>
  5281. <li>Star_Wars_Helmets</li>
  5282. </thingCategories>
  5283. </value>
  5284. </li>
  5285. </operations>
  5286. </Operation>
  5287. <Operation Class="PatchOperationSequence">
  5288. <success>Always</success>
  5289. <operations>
  5290. <li Class="PatchOperationTest">
  5291. <xpath>/ThingDef[defName = "PJ_DTHelm"]</xpath>
  5292. <success>Invert</success>
  5293. </li>
  5294. <li Class="PatchOperationAdd">
  5295. <xpath>*/ThingDef[defName = "PJ_DTHelm"]</xpath>
  5296. <value>
  5297. <thingCategories>
  5298. <li>Star_Wars_Helmets</li>
  5299. </thingCategories>
  5300. </value>
  5301. </li>
  5302. </operations>
  5303. </Operation>
  5304. <Operation Class="PatchOperationSequence">
  5305. <success>Always</success>
  5306. <operations>
  5307. <li Class="PatchOperationTest">
  5308. <xpath>/ThingDef[defName = "PJ_SCTHelm"]</xpath>
  5309. <success>Invert</success>
  5310. </li>
  5311. <li Class="PatchOperationAdd">
  5312. <xpath>*/ThingDef[defName = "PJ_SCTHelm"]</xpath>
  5313. <value>
  5314. <thingCategories>
  5315. <li>Star_Wars_Helmets</li>
  5316. </thingCategories>
  5317. </value>
  5318. </li>
  5319. </operations>
  5320. </Operation>
  5321. <Operation Class="PatchOperationSequence">
  5322. <success>Always</success>
  5323. <operations>
  5324. <li Class="PatchOperationTest">
  5325. <xpath>/ThingDef[defName = "PJ_TIEHelm"]</xpath>
  5326. <success>Invert</success>
  5327. </li>
  5328. <li Class="PatchOperationAdd">
  5329. <xpath>*/ThingDef[defName = "PJ_TIEHelm"]</xpath>
  5330. <value>
  5331. <thingCategories>
  5332. <li>Star_Wars_Helmets</li>
  5333. </thingCategories>
  5334. </value>
  5335. </li>
  5336. </operations>
  5337. </Operation>
  5338. <Operation Class="PatchOperationSequence">
  5339. <success>Always</success>
  5340. <operations>
  5341. <li Class="PatchOperationTest">
  5342. <xpath>/ThingDef[defName = "PJ_ImpNavyH"]</xpath>
  5343. <success>Invert</success>
  5344. </li>
  5345. <li Class="PatchOperationAdd">
  5346. <xpath>*/ThingDef[defName = "PJ_ImpNavyH"]</xpath>
  5347. <value>
  5348. <thingCategories>
  5349. <li>Star_Wars_Helmets</li>
  5350. </thingCategories>
  5351. </value>
  5352. </li>
  5353. </operations>
  5354. </Operation>
  5355. <Operation Class="PatchOperationSequence">
  5356. <success>Always</success>
  5357. <operations>
  5358. <li Class="PatchOperationTest">
  5359. <xpath>/ThingDef[defName = "PJ_MandoHelm"]</xpath>
  5360. <success>Invert</success>
  5361. </li>
  5362. <li Class="PatchOperationAdd">
  5363. <xpath>*/ThingDef[defName = "PJ_MandoHelm"]</xpath>
  5364. <value>
  5365. <thingCategories>
  5366. <li>Star_Wars_Helmets</li>
  5367. </thingCategories>
  5368. </value>
  5369. </li>
  5370. </operations>
  5371. </Operation>
  5372. <Operation Class="PatchOperationSequence">
  5373. <success>Always</success>
  5374. <operations>
  5375. <li Class="PatchOperationTest">
  5376. <xpath>/ThingDef[defName = "PJ_RebHat"]</xpath>
  5377. <success>Invert</success>
  5378. </li>
  5379. <li Class="PatchOperationAdd">
  5380. <xpath>*/ThingDef[defName = "PJ_RebHat"]</xpath>
  5381. <value>
  5382. <thingCategories>
  5383. <li>Star_Wars_Helmets</li>
  5384. </thingCategories>
  5385. </value>
  5386. </li>
  5387. </operations>
  5388. </Operation>
  5389. <Operation Class="PatchOperationSequence">
  5390. <success>Always</success>
  5391. <operations>
  5392. <li Class="PatchOperationTest">
  5393. <xpath>/ThingDef[defName = "PJ_RebLAVHat"]</xpath>
  5394. <success>Invert</success>
  5395. </li>
  5396. <li Class="PatchOperationAdd">
  5397. <xpath>*/ThingDef[defName = "PJ_RebLAVHat"]</xpath>
  5398. <value>
  5399. <thingCategories>
  5400. <li>Star_Wars_Helmets</li>
  5401. </thingCategories>
  5402. </value>
  5403. </li>
  5404. </operations>
  5405. </Operation>
  5406. <Operation Class="PatchOperationSequence">
  5407. <success>Always</success>
  5408. <operations>
  5409. <li Class="PatchOperationTest">
  5410. <xpath>/ThingDef[defName = "PJ_RebSnowHat"]</xpath>
  5411. <success>Invert</success>
  5412. </li>
  5413. <li Class="PatchOperationAdd">
  5414. <xpath>*/ThingDef[defName = "PJ_RebSnowHat"]</xpath>
  5415. <value>
  5416. <thingCategories>
  5417. <li>Star_Wars_Helmets</li>
  5418. </thingCategories>
  5419. </value>
  5420. </li>
  5421. </operations>
  5422. </Operation>
  5423. <Operation Class="PatchOperationSequence">
  5424. <success>Always</success>
  5425. <operations>
  5426. <li Class="PatchOperationTest">
  5427. <xpath>/ThingDef[defName = "PJ_RebScoutHat"]</xpath>
  5428. <success>Invert</success>
  5429. </li>
  5430. <li Class="PatchOperationAdd">
  5431. <xpath>*/ThingDef[defName = "PJ_RebScoutHat"]</xpath>
  5432. <value>
  5433. <thingCategories>
  5434. <li>Star_Wars_Helmets</li>
  5435. </thingCategories>
  5436. </value>
  5437. </li>
  5438. </operations>
  5439. </Operation>
  5440. <Operation Class="PatchOperationSequence">
  5441. <success>Always</success>
  5442. <operations>
  5443. <li Class="PatchOperationTest">
  5444. <xpath>/ThingDef[defName = "PJ_RebPilot_H_Red"]</xpath>
  5445. <success>Invert</success>
  5446. </li>
  5447. <li Class="PatchOperationAdd">
  5448. <xpath>*/ThingDef[defName = "PJ_RebPilot_H_Red"]</xpath>
  5449. <value>
  5450. <thingCategories>
  5451. <li>Star_Wars_Helmets</li>
  5452. </thingCategories>
  5453. </value>
  5454. </li>
  5455. </operations>
  5456. </Operation>
  5457. <Operation Class="PatchOperationSequence">
  5458. <success>Always</success>
  5459. <operations>
  5460. <li Class="PatchOperationTest">
  5461. <xpath>/ThingDef[defName = "PJ_RebPilot_H_Blue"]</xpath>
  5462. <success>Invert</success>
  5463. </li>
  5464. <li Class="PatchOperationAdd">
  5465. <xpath>*/ThingDef[defName = "PJ_RebPilot_H_Blue"]</xpath>
  5466. <value>
  5467. <thingCategories>
  5468. <li>Star_Wars_Helmets</li>
  5469. </thingCategories>
  5470. </value>
  5471. </li>
  5472. </operations>
  5473. </Operation>
  5474. <!--============================== Armors: Star Wars - Factions ==============================-->
  5475. <Operation Class="PatchOperationSequence">
  5476. <success>Always</success>
  5477. <operations>
  5478. <li Class="PatchOperationTest">
  5479. <xpath>/ThingDef[defName = "PJ_TroopArmor"]</xpath>
  5480. <success>Invert</success>
  5481. </li>
  5482. <li Class="PatchOperationReplace">
  5483. <xpath>*/ThingDef[defName = "PJ_TroopArmor"]/thingCategories/li/text()</xpath>
  5484. <value>
  5485. <thingCategories>Star_Wars_Armors</thingCategories>
  5486. </value>
  5487. </li>
  5488. </operations>
  5489. </Operation>
  5490. <Operation Class="PatchOperationSequence">
  5491. <success>Always</success>
  5492. <operations>
  5493. <li Class="PatchOperationTest">
  5494. <xpath>/ThingDef[defName = "PJ_TroopArmorJO"]</xpath>
  5495. <success>Invert</success>
  5496. </li>
  5497. <li Class="PatchOperationReplace">
  5498. <xpath>*/ThingDef[defName = "PJ_TroopArmorJO"]/thingCategories/li/text()</xpath>
  5499. <value>
  5500. <thingCategories>Star_Wars_Armors</thingCategories>
  5501. </value>
  5502. </li>
  5503. </operations>
  5504. </Operation>
  5505. <Operation Class="PatchOperationSequence">
  5506. <success>Always</success>
  5507. <operations>
  5508. <li Class="PatchOperationTest">
  5509. <xpath>/ThingDef[defName = "PJ_TroopArmorNCO"]</xpath>
  5510. <success>Invert</success>
  5511. </li>
  5512. <li Class="PatchOperationReplace">
  5513. <xpath>*/ThingDef[defName = "PJ_TroopArmorNCO"]/thingCategories/li/text()</xpath>
  5514. <value>
  5515. <thingCategories>Star_Wars_Armors</thingCategories>
  5516. </value>
  5517. </li>
  5518. </operations>
  5519. </Operation>
  5520. <Operation Class="PatchOperationSequence">
  5521. <success>Always</success>
  5522. <operations>
  5523. <li Class="PatchOperationTest">
  5524. <xpath>/ThingDef[defName = "PJ_TroopArmorSO"]</xpath>
  5525. <success>Invert</success>
  5526. </li>
  5527. <li Class="PatchOperationReplace">
  5528. <xpath>*/ThingDef[defName = "PJ_TroopArmorSO"]/thingCategories/li/text()</xpath>
  5529. <value>
  5530. <thingCategories>Star_Wars_Armors</thingCategories>
  5531. </value>
  5532. </li>
  5533. </operations>
  5534. </Operation>
  5535. <Operation Class="PatchOperationSequence">
  5536. <success>Always</success>
  5537. <operations>
  5538. <li Class="PatchOperationTest">
  5539. <xpath>/ThingDef[defName = "PJ_TroopArmorSh"]</xpath>
  5540. <success>Invert</success>
  5541. </li>
  5542. <li Class="PatchOperationReplace">
  5543. <xpath>*/ThingDef[defName = "PJ_TroopArmorSh"]/thingCategories/li/text()</xpath>
  5544. <value>
  5545. <thingCategories>Star_Wars_Armors</thingCategories>
  5546. </value>
  5547. </li>
  5548. </operations>
  5549. </Operation>
  5550. <Operation Class="PatchOperationSequence">
  5551. <success>Always</success>
  5552. <operations>
  5553. <li Class="PatchOperationTest">
  5554. <xpath>/ThingDef[defName = "PJ_TroopArmorShC"]</xpath>
  5555. <success>Invert</success>
  5556. </li>
  5557. <li Class="PatchOperationReplace">
  5558. <xpath>*/ThingDef[defName = "PJ_TroopArmorShC"]/thingCategories/li/text()</xpath>
  5559. <value>
  5560. <thingCategories>Star_Wars_Armors</thingCategories>
  5561. </value>
  5562. </li>
  5563. </operations>
  5564. </Operation>
  5565. <Operation Class="PatchOperationSequence">
  5566. <success>Always</success>
  5567. <operations>
  5568. <li Class="PatchOperationTest">
  5569. <xpath>/ThingDef[defName = "PJ_TroopArmorShSL"]</xpath>
  5570. <success>Invert</success>
  5571. </li>
  5572. <li Class="PatchOperationReplace">
  5573. <xpath>*/ThingDef[defName = "PJ_TroopArmorShSL"]/thingCategories/li/text()</xpath>
  5574. <value>
  5575. <thingCategories>Star_Wars_Armors</thingCategories>
  5576. </value>
  5577. </li>
  5578. </operations>
  5579. </Operation>
  5580. <Operation Class="PatchOperationSequence">
  5581. <success>Always</success>
  5582. <operations>
  5583. <li Class="PatchOperationTest">
  5584. <xpath>/ThingDef[defName = "PJ_TroopArmorDT"]</xpath>
  5585. <success>Invert</success>
  5586. </li>
  5587. <li Class="PatchOperationReplace">
  5588. <xpath>*/ThingDef[defName = "PJ_TroopArmorDT"]/thingCategories/li/text()</xpath>
  5589. <value>
  5590. <thingCategories>Star_Wars_Armors</thingCategories>
  5591. </value>
  5592. </li>
  5593. </operations>
  5594. </Operation>
  5595. <Operation Class="PatchOperationSequence">
  5596. <success>Always</success>
  5597. <operations>
  5598. <li Class="PatchOperationTest">
  5599. <xpath>/ThingDef[defName = "PJ_TroopArmorDTC"]</xpath>
  5600. <success>Invert</success>
  5601. </li>
  5602. <li Class="PatchOperationReplace">
  5603. <xpath>*/ThingDef[defName = "PJ_TroopArmorDTC"]/thingCategories/li/text()</xpath>
  5604. <value>
  5605. <thingCategories>Star_Wars_Armors</thingCategories>
  5606. </value>
  5607. </li>
  5608. </operations>
  5609. </Operation>
  5610. <Operation Class="PatchOperationSequence">
  5611. <success>Always</success>
  5612. <operations>
  5613. <li Class="PatchOperationTest">
  5614. <xpath>/ThingDef[defName = "PJ_CompArmor"]</xpath>
  5615. <success>Invert</success>
  5616. </li>
  5617. <li Class="PatchOperationReplace">
  5618. <xpath>*/ThingDef[defName = "PJ_CompArmor"]/thingCategories/li/text()</xpath>
  5619. <value>
  5620. <thingCategories>Star_Wars_Armors</thingCategories>
  5621. </value>
  5622. </li>
  5623. </operations>
  5624. </Operation>
  5625. <Operation Class="PatchOperationSequence">
  5626. <success>Always</success>
  5627. <operations>
  5628. <li Class="PatchOperationTest">
  5629. <xpath>/ThingDef[defName = "PJ_MandoArmor"]</xpath>
  5630. <success>Invert</success>
  5631. </li>
  5632. <li Class="PatchOperationReplace">
  5633. <xpath>*/ThingDef[defName = "PJ_MandoArmor"]/thingCategories/li/text()</xpath>
  5634. <value>
  5635. <thingCategories>Star_Wars_Armors</thingCategories>
  5636. </value>
  5637. </li>
  5638. </operations>
  5639. </Operation>
  5640. <Operation Class="PatchOperationSequence">
  5641. <success>Always</success>
  5642. <operations>
  5643. <li Class="PatchOperationTest">
  5644. <xpath>/ThingDef[defName = "PJ_VetMandoArmor"]</xpath>
  5645. <success>Invert</success>
  5646. </li>
  5647. <li Class="PatchOperationReplace">
  5648. <xpath>*/ThingDef[defName = "PJ_VetMandoArmor"]/thingCategories/li/text()</xpath>
  5649. <value>
  5650. <thingCategories>Star_Wars_Armors</thingCategories>
  5651. </value>
  5652. </li>
  5653. </operations>
  5654. </Operation>
  5655. <Operation Class="PatchOperationSequence">
  5656. <success>Always</success>
  5657. <operations>
  5658. <li Class="PatchOperationTest">
  5659. <xpath>/ThingDef[defName = "PJ_BarkMandoArmor"]</xpath>
  5660. <success>Invert</success>
  5661. </li>
  5662. <li Class="PatchOperationReplace">
  5663. <xpath>*/ThingDef[defName = "PJ_BarkMandoArmor"]/thingCategories/li/text()</xpath>
  5664. <value>
  5665. <thingCategories>Star_Wars_Armors</thingCategories>
  5666. </value>
  5667. </li>
  5668. </operations>
  5669. </Operation>
  5670. <Operation Class="PatchOperationSequence">
  5671. <success>Always</success>
  5672. <operations>
  5673. <li Class="PatchOperationTest">
  5674. <xpath>/ThingDef[defName = "PJ_Apparel_XVestPlate"]</xpath>
  5675. <success>Invert</success>
  5676. </li>
  5677. <li Class="PatchOperationReplace">
  5678. <xpath>*/ThingDef[defName = "PJ_Apparel_XVestPlate"]/thingCategories/li/text()</xpath>
  5679. <value>
  5680. <thingCategories>Star_Wars_Armors</thingCategories>
  5681. </value>
  5682. </li>
  5683. </operations>
  5684. </Operation>
  5685. <!--============================== Tiberium_Rim_Masks: Tiberium Rim ==============================-->
  5686. <Operation Class="PatchOperationSequence">
  5687. <success>Always</success>
  5688. <operations>
  5689. <li Class="PatchOperationTest">
  5690. <xpath>/ThingDef[defName = "TiberiumSuitMask_TBP"]</xpath>
  5691. <success>Invert</success>
  5692. </li>
  5693. <li Class="PatchOperationAdd">
  5694. <xpath>*/ThingDef[defName = "TiberiumSuitMask_TBP"]</xpath>
  5695. <value>
  5696. <thingCategories>
  5697. <li>Tiberium_Rim_Masks</li>
  5698. </thingCategories>
  5699. </value>
  5700. </li>
  5701. </operations>
  5702. </Operation>
  5703. <!--============================== Tiberium_Rim_Suits: Tiberium Rim ==============================-->
  5704. <Operation Class="PatchOperationSequence">
  5705. <success>Always</success>
  5706. <operations>
  5707. <li Class="PatchOperationTest">
  5708. <xpath>/ThingDef[defName = "TiberiumSuit_TBP"]</xpath>
  5709. <success>Invert</success>
  5710. </li>
  5711. <li Class="PatchOperationReplace">
  5712. <xpath>*/ThingDef[defName = "TiberiumSuit_TBP"]/thingCategories</xpath>
  5713. <value>
  5714. <thingCategories>
  5715. <li>Tiberium_Rim_Suits</li>
  5716. </thingCategories>
  5717. </value>
  5718. </li>
  5719. </operations>
  5720. </Operation>
  5721. <!--============================== Tiberium_Rim_Hats: Tiberium Rim Factions ==============================-->
  5722. <Operation Class="PatchOperationSequence">
  5723. <success>Always</success>
  5724. <operations>
  5725. <li Class="PatchOperationTest">
  5726. <xpath>/ThingDef[defName = "Apparel_GDIOfficerHelmet"]</xpath>
  5727. <success>Invert</success>
  5728. </li>
  5729. <li Class="PatchOperationReplace">
  5730. <xpath>*/ThingDef[defName = "Apparel_GDIOfficerHelmet"]/thingCategories</xpath>
  5731. <value>
  5732. <thingCategories>
  5733. <li>Tiberium_Rim_Hats</li>
  5734. </thingCategories>
  5735. </value>
  5736. </li>
  5737. </operations>
  5738. </Operation>
  5739. <Operation Class="PatchOperationSequence">
  5740. <success>Always</success>
  5741. <operations>
  5742. <li Class="PatchOperationTest">
  5743. <xpath>/ThingDef[defName = "Apparel_NodOfficerHelmet"]</xpath>
  5744. <success>Invert</success>
  5745. </li>
  5746. <li Class="PatchOperationReplace">
  5747. <xpath>*/ThingDef[defName = "Apparel_NodOfficerHelmet"]/thingCategories</xpath>
  5748. <value>
  5749. <thingCategories>
  5750. <li>Tiberium_Rim_Hats</li>
  5751. </thingCategories>
  5752. </value>
  5753. </li>
  5754. </operations>
  5755. </Operation>
  5756. <!--============================== Tiberium_Rim_Masks: Tiberium Rim Factions ==============================-->
  5757. <Operation Class="PatchOperationSequence">
  5758. <success>Always</success>
  5759. <operations>
  5760. <li Class="PatchOperationTest">
  5761. <xpath>/ThingDef[defName = "Apparel_GDIEngineerMask"]</xpath>
  5762. <success>Invert</success>
  5763. </li>
  5764. <li Class="PatchOperationReplace">
  5765. <xpath>*/ThingDef[defName = "Apparel_GDIEngineerMask"]/thingCategories</xpath>
  5766. <value>
  5767. <thingCategories>
  5768. <li>Tiberium_Rim_Masks</li>
  5769. </thingCategories>
  5770. </value>
  5771. </li>
  5772. </operations>
  5773. </Operation>
  5774. <Operation Class="PatchOperationSequence">
  5775. <success>Always</success>
  5776. <operations>
  5777. <li Class="PatchOperationTest">
  5778. <xpath>/ThingDef[defName = "NodMilitiaMask"]</xpath>
  5779. <success>Invert</success>
  5780. </li>
  5781. <li Class="PatchOperationReplace">
  5782. <xpath>*/ThingDef[defName = "NodMilitiaMask"]/thingCategories</xpath>
  5783. <value>
  5784. <thingCategories>
  5785. <li>Tiberium_Rim_Masks</li>
  5786. </thingCategories>
  5787. </value>
  5788. </li>
  5789. </operations>
  5790. </Operation>
  5791. <!--============================== Tiberium_Rim_Suits: Tiberium Rim Factions ==============================-->
  5792. <Operation Class="PatchOperationSequence">
  5793. <success>Always</success>
  5794. <operations>
  5795. <li Class="PatchOperationTest">
  5796. <xpath>/ThingDef[defName = "Apparel_GDIOfficerSuit"]</xpath>
  5797. <success>Invert</success>
  5798. </li>
  5799. <li Class="PatchOperationReplace">
  5800. <xpath>*/ThingDef[defName = "Apparel_GDIOfficerSuit"]/thingCategories</xpath>
  5801. <value>
  5802. <thingCategories>
  5803. <li>Tiberium_Rim_Suits</li>
  5804. </thingCategories>
  5805. </value>
  5806. </li>
  5807. </operations>
  5808. </Operation>
  5809. <Operation Class="PatchOperationSequence">
  5810. <success>Always</success>
  5811. <operations>
  5812. <li Class="PatchOperationTest">
  5813. <xpath>/ThingDef[defName = "Apparel_GDIEngineerSuit"]</xpath>
  5814. <success>Invert</success>
  5815. </li>
  5816. <li Class="PatchOperationReplace">
  5817. <xpath>*/ThingDef[defName = "Apparel_GDIEngineerSuit"]/thingCategories</xpath>
  5818. <value>
  5819. <thingCategories>
  5820. <li>Tiberium_Rim_Suits</li>
  5821. </thingCategories>
  5822. </value>
  5823. </li>
  5824. </operations>
  5825. </Operation>
  5826. <Operation Class="PatchOperationSequence">
  5827. <success>Always</success>
  5828. <operations>
  5829. <li Class="PatchOperationTest">
  5830. <xpath>/ThingDef[defName = "Apparel_NodMilitiaSuit"]</xpath>
  5831. <success>Invert</success>
  5832. </li>
  5833. <li Class="PatchOperationReplace">
  5834. <xpath>*/ThingDef[defName = "Apparel_NodMilitiaSuit"]/thingCategories</xpath>
  5835. <value>
  5836. <thingCategories>
  5837. <li>Tiberium_Rim_Suits</li>
  5838. </thingCategories>
  5839. </value>
  5840. </li>
  5841. </operations>
  5842. </Operation>
  5843. <Operation Class="PatchOperationSequence">
  5844. <success>Always</success>
  5845. <operations>
  5846. <li Class="PatchOperationTest">
  5847. <xpath>/ThingDef[defName = "Apparel_NodOfficerSuit"]</xpath>
  5848. <success>Invert</success>
  5849. </li>
  5850. <li Class="PatchOperationReplace">
  5851. <xpath>*/ThingDef[defName = "Apparel_NodOfficerSuit"]/thingCategories</xpath>
  5852. <value>
  5853. <thingCategories>
  5854. <li>Tiberium_Rim_Suits</li>
  5855. </thingCategories>
  5856. </value>
  5857. </li>
  5858. </operations>
  5859. </Operation>
  5860. <!--============================== Tiberium_Rim_Helmets: Tiberium Rim Factions ==============================-->
  5861. <Operation Class="PatchOperationSequence">
  5862. <success>Always</success>
  5863. <operations>
  5864. <li Class="PatchOperationTest">
  5865. <xpath>/ThingDef[defName = "Apparel_GDIZoneHelmet_TBP"]</xpath>
  5866. <success>Invert</success>
  5867. </li>
  5868. <li Class="PatchOperationReplace">
  5869. <xpath>*/ThingDef[defName = "Apparel_GDIZoneHelmet_TBP"]/thingCategories</xpath>
  5870. <value>
  5871. <thingCategories>
  5872. <li>Tiberium_Rim_Helmets</li>
  5873. </thingCategories>
  5874. </value>
  5875. </li>
  5876. </operations>
  5877. </Operation>
  5878. <Operation Class="PatchOperationSequence">
  5879. <success>Always</success>
  5880. <operations>
  5881. <li Class="PatchOperationTest">
  5882. <xpath>/ThingDef[defName = "Apparel_GDISoldierHelmet_TBP"]</xpath>
  5883. <success>Invert</success>
  5884. </li>
  5885. <li Class="PatchOperationReplace">
  5886. <xpath>*/ThingDef[defName = "Apparel_GDISoldierHelmet_TBP"]/thingCategories</xpath>
  5887. <value>
  5888. <thingCategories>
  5889. <li>Tiberium_Rim_Helmets</li>
  5890. </thingCategories>
  5891. </value>
  5892. </li>
  5893. </operations>
  5894. </Operation>
  5895. <Operation Class="PatchOperationSequence">
  5896. <success>Always</success>
  5897. <operations>
  5898. <li Class="PatchOperationTest">
  5899. <xpath>/ThingDef[defName = "Apparel_NodBlackHandHelmet"]</xpath>
  5900. <success>Invert</success>
  5901. </li>
  5902. <li Class="PatchOperationReplace">
  5903. <xpath>*/ThingDef[defName = "Apparel_NodBlackHandHelmet"]/thingCategories</xpath>
  5904. <value>
  5905. <thingCategories>
  5906. <li>Tiberium_Rim_Helmets</li>
  5907. </thingCategories>
  5908. </value>
  5909. </li>
  5910. </operations>
  5911. </Operation>
  5912. <!--============================== Tiberium_Rim_Armors: Tiberium Rim Factions ==============================-->
  5913. <Operation Class="PatchOperationSequence">
  5914. <success>Always</success>
  5915. <operations>
  5916. <li Class="PatchOperationTest">
  5917. <xpath>/ThingDef[defName = "Apparel_GDISoldierSuit_TBP"]</xpath>
  5918. <success>Invert</success>
  5919. </li>
  5920. <li Class="PatchOperationReplace">
  5921. <xpath>*/ThingDef[defName = "Apparel_GDISoldierSuit_TBP"]/thingCategories</xpath>
  5922. <value>
  5923. <thingCategories>
  5924. <li>Tiberium_Rim_Armors</li>
  5925. </thingCategories>
  5926. </value>
  5927. </li>
  5928. </operations>
  5929. </Operation>
  5930. <Operation Class="PatchOperationSequence">
  5931. <success>Always</success>
  5932. <operations>
  5933. <li Class="PatchOperationTest">
  5934. <xpath>/ThingDef[defName = "Apparel_GDIZoneSuit_TBP"]</xpath>
  5935. <success>Invert</success>
  5936. </li>
  5937. <li Class="PatchOperationReplace">
  5938. <xpath>*/ThingDef[defName = "Apparel_GDIZoneSuit_TBP"]/thingCategories</xpath>
  5939. <value>
  5940. <thingCategories>
  5941. <li>Tiberium_Rim_Armors</li>
  5942. </thingCategories>
  5943. </value>
  5944. </li>
  5945. </operations>
  5946. </Operation>
  5947. <Operation Class="PatchOperationSequence">
  5948. <success>Always</success>
  5949. <operations>
  5950. <li Class="PatchOperationTest">
  5951. <xpath>/ThingDef[defName = "Apparel_NodBlackHand"]</xpath>
  5952. <success>Invert</success>
  5953. </li>
  5954. <li Class="PatchOperationReplace">
  5955. <xpath>*/ThingDef[defName = "Apparel_NodBlackHand"]/thingCategories</xpath>
  5956. <value>
  5957. <thingCategories>
  5958. <li>Tiberium_Rim_Armors</li>
  5959. </thingCategories>
  5960. </value>
  5961. </li>
  5962. </operations>
  5963. </Operation>
  5964. <!--============================== [KV] Hand 'n' Footwear : Gloves ==============================-->
  5965. <Operation Class="PatchOperationSequence">
  5966. <success>Always</success>
  5967. <operations>
  5968. <li Class="PatchOperationTest">
  5969. <xpath>/Defs[defName = "Apparel_Gloves"]</xpath>
  5970. <success>Invert</success>
  5971. </li>
  5972. <li Class="PatchOperationAdd">
  5973. <xpath>*/ThingDef[defName = "Apparel_Gloves"]</xpath>
  5974. <value>
  5975. <thingCategories>
  5976. <li>Civilian_Apparel_Handwear</li>
  5977. </thingCategories>
  5978. </value>
  5979. </li>
  5980. </operations>
  5981. </Operation>
  5982. <Operation Class="PatchOperationSequence">
  5983. <success>Always</success>
  5984. <operations>
  5985. <li Class="PatchOperationTest">
  5986. <xpath>/Defs[defName = "Apparel_DexterousGloves"]</xpath>
  5987. <success>Invert</success>
  5988. </li>
  5989. <li Class="PatchOperationAdd">
  5990. <xpath>*/ThingDef[defName = "Apparel_DexterousGloves"]/thingCategories</xpath>
  5991. <value>
  5992. <li>Special_Apparel_Handwear</li>
  5993. </value>
  5994. </li>
  5995. </operations>
  5996. </Operation>
  5997. <Operation Class="PatchOperationSequence">
  5998. <success>Always</success>
  5999. <operations>
  6000. <li Class="PatchOperationTest">
  6001. <xpath>/Defs[defName = "Apparel_PlatedGloves"]</xpath>
  6002. <success>Invert</success>
  6003. </li>
  6004. <li Class="PatchOperationAdd">
  6005. <xpath>*/ThingDef[defName = "Apparel_PlatedGloves"]</xpath>
  6006. <value>
  6007. <thingCategories>
  6008. <li>Combat_Apparel_Handwear</li>
  6009. </thingCategories>
  6010. </value>
  6011. </li>
  6012. </operations>
  6013. </Operation>
  6014. <Operation Class="PatchOperationSequence">
  6015. <success>Always</success>
  6016. <operations>
  6017. <li Class="PatchOperationTest">
  6018. <xpath>/Defs[defName = "Apparel_PowerGloves"]</xpath>
  6019. <success>Invert</success>
  6020. </li>
  6021. <li Class="PatchOperationAdd">
  6022. <xpath>*/ThingDef[defName = "Apparel_PowerGloves"]</xpath>
  6023. <value>
  6024. <thingCategories>
  6025. <li>Combat_Apparel_ExoHandwear</li>
  6026. </thingCategories>
  6027. </value>
  6028. </li>
  6029. </operations>
  6030. </Operation>
  6031. <!--============================== Hand 'n' Footwear : Boots ==============================-->
  6032. <Operation Class="PatchOperationSequence">
  6033. <success>Always</success>
  6034. <operations>
  6035. <li Class="PatchOperationTest">
  6036. <xpath>/Defs[defName = "Apparel_Shoes"]</xpath>
  6037. <success>Invert</success>
  6038. </li>
  6039. <li Class="PatchOperationAdd">
  6040. <xpath>*/ThingDef[defName = "Apparel_Shoes"]</xpath>
  6041. <value>
  6042. <thingCategories>
  6043. <li>Civilian_Apparel_Footwear</li>
  6044. </thingCategories>
  6045. </value>
  6046. </li>
  6047. </operations>
  6048. </Operation>
  6049. <Operation Class="PatchOperationSequence">
  6050. <success>Always</success>
  6051. <operations>
  6052. <li Class="PatchOperationTest">
  6053. <xpath>/Defs[defName = "Apparel_TribalBoots"]</xpath>
  6054. <success>Invert</success>
  6055. </li>
  6056. <li Class="PatchOperationAdd">
  6057. <xpath>*/ThingDef[defName = "Apparel_TribalBoots"]</xpath>
  6058. <value>
  6059. <thingCategories>
  6060. <li>Civilian_Apparel_Footwear</li>
  6061. </thingCategories>
  6062. </value>
  6063. </li>
  6064. </operations>
  6065. </Operation>
  6066. <Operation Class="PatchOperationSequence">
  6067. <success>Always</success>
  6068. <operations>
  6069. <li Class="PatchOperationTest">
  6070. <xpath>/Defs[defName = "Apparel_CowboyBoots"]</xpath>
  6071. <success>Invert</success>
  6072. </li>
  6073. <li Class="PatchOperationAdd">
  6074. <xpath>*/ThingDef[defName = "Apparel_CowboyBoots"]</xpath>
  6075. <value>
  6076. <thingCategories>
  6077. <li>Civilian_Apparel_Footwear</li>
  6078. </thingCategories>
  6079. </value>
  6080. </li>
  6081. </operations>
  6082. </Operation>
  6083. <Operation Class="PatchOperationSequence">
  6084. <success>Always</success>
  6085. <operations>
  6086. <li Class="PatchOperationTest">
  6087. <xpath>/Defs[defName = "Apparel_CombatBoots"]</xpath>
  6088. <success>Invert</success>
  6089. </li>
  6090. <li Class="PatchOperationAdd">
  6091. <xpath>*/ThingDef[defName = "Apparel_CombatBoots"]</xpath>
  6092. <value>
  6093. <thingCategories>
  6094. <li>Combat_Apparel_Footwear</li>
  6095. </thingCategories>
  6096. </value>
  6097. </li>
  6098. </operations>
  6099. </Operation>
  6100. <Operation Class="PatchOperationSequence">
  6101. <success>Always</success>
  6102. <operations>
  6103. <li Class="PatchOperationTest">
  6104. <xpath>/Defs[defName = "Apparel_PowerBoots"]</xpath>
  6105. <success>Invert</success>
  6106. </li>
  6107. <li Class="PatchOperationAdd">
  6108. <xpath>*/ThingDef[defName = "Apparel_PowerBoots"]</xpath>
  6109. <value>
  6110. <thingCategories>
  6111. <li>Combat_Apparel_ExoFootwear</li>
  6112. </thingCategories>
  6113. </value>
  6114. </li>
  6115. </operations>
  6116. </Operation>
  6117. <!--============================== Combat Extended ==============================-->
  6118. <Operation Class="PatchOperationSequence">
  6119. <success>Always</success>
  6120. <operations>
  6121. <li Class="PatchOperationTest">
  6122. <xpath>/ThingCategoryDef[defName = "Loadout"]</xpath>
  6123. <success>Invert</success>
  6124. </li>
  6125. <li Class="PatchOperationReplace">
  6126. <xpath>*/ThingCategoryDef[defName = "Loadout"]/parent</xpath>
  6127. <value>
  6128. <parent>Special_Apparel</parent>
  6129. </value>
  6130. </li>
  6131. </operations>
  6132. </Operation>
  6133. <Operation Class="PatchOperationSequence">
  6134. <success>Always</success>
  6135. <operations>
  6136. <li Class="PatchOperationTest">
  6137. <xpath>/ThingDef[defName = "Apparel_FlakVestCE"]</xpath>
  6138. <success>Invert</success>
  6139. </li>
  6140. <li Class="PatchOperationReplace">
  6141. <xpath>*/ThingDef[defName = "Apparel_FlakVestCE"]/thingCategories</xpath>
  6142. <value>
  6143. <thingCategories>
  6144. <li>Body_Armor</li>
  6145. </thingCategories>
  6146. </value>
  6147. </li>
  6148. </operations>
  6149. </Operation>
  6150. <Operation Class="PatchOperationSequence">
  6151. <success>Always</success>
  6152. <operations>
  6153. <li Class="PatchOperationTest">
  6154. <xpath>/ThingDef[defName = "Apparel_CompositeVest"]</xpath>
  6155. <success>Invert</success>
  6156. </li>
  6157. <li Class="PatchOperationReplace">
  6158. <xpath>*/ThingDef[defName = "Apparel_CompositeVest"]/thingCategories</xpath>
  6159. <value>
  6160. <thingCategories>
  6161. <li>Body_Armor</li>
  6162. </thingCategories>
  6163. </value>
  6164. </li>
  6165. </operations>
  6166. </Operation>
  6167. <Operation Class="PatchOperationSequence">
  6168. <success>Always</success>
  6169. <operations>
  6170. <li Class="PatchOperationTest">
  6171. <xpath>/Defs[defName = "Apparel_MeleeShield"]</xpath>
  6172. <success>Invert</success>
  6173. </li>
  6174. <li Class="PatchOperationAdd">
  6175. <xpath>*/ThingDef[defName = "Apparel_MeleeShield"]</xpath>
  6176. <value>
  6177. <thingCategories>
  6178. <li>Shields</li>
  6179. </thingCategories>
  6180. </value>
  6181. </li>
  6182. </operations>
  6183. </Operation>
  6184. <Operation Class="PatchOperationSequence">
  6185. <success>Always</success>
  6186. <operations>
  6187. <li Class="PatchOperationTest">
  6188. <xpath>/Defs[defName = "Apparel_BallisticShield"]</xpath>
  6189. <success>Invert</success>
  6190. </li>
  6191. <li Class="PatchOperationAdd">
  6192. <xpath>*/ThingDef[defName = "Apparel_BallisticShield"]</xpath>
  6193. <value>
  6194. <thingCategories>
  6195. <li>Shields</li>
  6196. </thingCategories>
  6197. </value>
  6198. </li>
  6199. </operations>
  6200. </Operation>
  6201. <!--============================== Combat Extended: Shields ==============================-->
  6202. <Operation Class="PatchOperationSequence">
  6203. <success>Always</success>
  6204. <operations>
  6205. <li Class="PatchOperationTest">
  6206. <xpath>/Defs[defName = "Apparel_NguniShield"]</xpath>
  6207. <success>Invert</success>
  6208. </li>
  6209. <li Class="PatchOperationAdd">
  6210. <xpath>*/thingDef[defName = "Apparel_NguniShield"]</xpath>
  6211. <value>
  6212. <thingCategories>
  6213. <li>Shields</li>
  6214. </thingCategories>
  6215. </value>
  6216. </li>
  6217. </operations>
  6218. </Operation>
  6219. <Operation Class="PatchOperationSequence">
  6220. <success>Always</success>
  6221. <operations>
  6222. <li Class="PatchOperationTest">
  6223. <xpath>/Defs[defName = "Apparel_WickerShield"]</xpath>
  6224. <success>Invert</success>
  6225. </li>
  6226. <li Class="PatchOperationAdd">
  6227. <xpath>*/thingDef[defName = "Apparel_WickerShield"]</xpath>
  6228. <value>
  6229. <thingCategories>
  6230. <li>Shields</li>
  6231. </thingCategories>
  6232. </value>
  6233. </li>
  6234. </operations>
  6235. </Operation>
  6236. <Operation Class="PatchOperationSequence">
  6237. <success>Always</success>
  6238. <operations>
  6239. <li Class="PatchOperationTest">
  6240. <xpath>/Defs[defName = "Apparel_Scutum"]</xpath>
  6241. <success>Invert</success>
  6242. </li>
  6243. <li Class="PatchOperationAdd">
  6244. <xpath>*/thingDef[defName = "Apparel_Scutum"]</xpath>
  6245. <value>
  6246. <thingCategories>
  6247. <li>Shields</li>
  6248. </thingCategories>
  6249. </value>
  6250. </li>
  6251. </operations>
  6252. </Operation>
  6253. <Operation Class="PatchOperationSequence">
  6254. <success>Always</success>
  6255. <operations>
  6256. <li Class="PatchOperationTest">
  6257. <xpath>/Defs[defName = "Apparel_NordShield"]</xpath>
  6258. <success>Invert</success>
  6259. </li>
  6260. <li Class="PatchOperationAdd">
  6261. <xpath>*/thingDef[defName = "Apparel_NordShield"]</xpath>
  6262. <value>
  6263. <thingCategories>
  6264. <li>Shields</li>
  6265. </thingCategories>
  6266. </value>
  6267. </li>
  6268. </operations>
  6269. </Operation>
  6270. <Operation Class="PatchOperationSequence">
  6271. <success>Always</success>
  6272. <operations>
  6273. <li Class="PatchOperationTest">
  6274. <xpath>/Defs[defName = "Apparel_KiteShield"]</xpath>
  6275. <success>Invert</success>
  6276. </li>
  6277. <li Class="PatchOperationAdd">
  6278. <xpath>*/thingDef[defName = "Apparel_KiteShield"]</xpath>
  6279. <value>
  6280. <thingCategories>
  6281. <li>Shields</li>
  6282. </thingCategories>
  6283. </value>
  6284. </li>
  6285. </operations>
  6286. </Operation>
  6287. <Operation Class="PatchOperationSequence">
  6288. <success>Always</success>
  6289. <operations>
  6290. <li Class="PatchOperationTest">
  6291. <xpath>/Defs[defName = "Apparel_CrusaderShield"]</xpath>
  6292. <success>Invert</success>
  6293. </li>
  6294. <li Class="PatchOperationAdd">
  6295. <xpath>*/thingDef[defName = "Apparel_CrusaderShield"]</xpath>
  6296. <value>
  6297. <thingCategories>
  6298. <li>Shields</li>
  6299. </thingCategories>
  6300. </value>
  6301. </li>
  6302. </operations>
  6303. </Operation>
  6304. <Operation Class="PatchOperationSequence">
  6305. <success>Always</success>
  6306. <operations>
  6307. <li Class="PatchOperationTest">
  6308. <xpath>/Defs[defName = "Apparel_RiotShield"]</xpath>
  6309. <success>Invert</success>
  6310. </li>
  6311. <li Class="PatchOperationAdd">
  6312. <xpath>*/thingDef[defName = "Apparel_RiotShield"]</xpath>
  6313. <value>
  6314. <thingCategories>
  6315. <li>Shields</li>
  6316. </thingCategories>
  6317. </value>
  6318. </li>
  6319. </operations>
  6320. </Operation>
  6321. <Operation Class="PatchOperationSequence">
  6322. <success>Always</success>
  6323. <operations>
  6324. <li Class="PatchOperationTest">
  6325. <xpath>/Defs[defName = "Apparel_AssaultShield"]</xpath>
  6326. <success>Invert</success>
  6327. </li>
  6328. <li Class="PatchOperationAdd">
  6329. <xpath>*/thingDef[defName = "Apparel_AssaultShield"]</xpath>
  6330. <value>
  6331. <thingCategories>
  6332. <li>Shields</li>
  6333. </thingCategories>
  6334. </value>
  6335. </li>
  6336. </operations>
  6337. </Operation>
  6338. <Operation Class="PatchOperationSequence">
  6339. <success>Always</success>
  6340. <operations>
  6341. <li Class="PatchOperationTest">
  6342. <xpath>/Defs[defName = "Apparel_Buckler"]</xpath>
  6343. <success>Invert</success>
  6344. </li>
  6345. <li Class="PatchOperationAdd">
  6346. <xpath>*/thingDef[defName = "Apparel_Buckler"]</xpath>
  6347. <value>
  6348. <thingCategories>
  6349. <li>Shields</li>
  6350. </thingCategories>
  6351. </value>
  6352. </li>
  6353. </operations>
  6354. </Operation>
  6355. <!--============================== Androids ==============================-->
  6356. <Operation Class="PatchOperationSequence">
  6357. <success>Always</success>
  6358. <operations>
  6359. <li Class="PatchOperationTest">
  6360. <xpath>/ThingDef[defName = "ChJAndroidThermalBandages"]</xpath>
  6361. <success>Invert</success>
  6362. </li>
  6363. <li Class="PatchOperationReplace">
  6364. <xpath>*/ThingDef[defName = "ChJAndroidThermalBandages"]/thingCategories</xpath>
  6365. <value>
  6366. <thingCategories>
  6367. <li>Body_Armor</li>
  6368. </thingCategories>
  6369. </value>
  6370. </li>
  6371. </operations>
  6372. </Operation>
  6373. <Operation Class="PatchOperationSequence">
  6374. <success>Always</success>
  6375. <operations>
  6376. <li Class="PatchOperationTest">
  6377. <xpath>/ThingDef[defName = "ChjAndroidMaidOutfit"]</xpath>
  6378. <success>Invert</success>
  6379. </li>
  6380. <li Class="PatchOperationReplace">
  6381. <xpath>*/ThingDef[defName = "ChjAndroidMaidOutfit"]/thingCategories</xpath>
  6382. <value>
  6383. <thingCategories>
  6384. <li>Civilian_Apparel_Outerlayers</li>
  6385. </thingCategories>
  6386. </value>
  6387. </li>
  6388. </operations>
  6389. </Operation>
  6390. <Operation Class="PatchOperationSequence">
  6391. <success>Always</success>
  6392. <operations>
  6393. <li Class="PatchOperationTest">
  6394. <xpath>/ThingDef[defName = "ChjAndroidMaidBattleDress"]</xpath>
  6395. <success>Invert</success>
  6396. </li>
  6397. <li Class="PatchOperationReplace">
  6398. <xpath>*/ThingDef[defName = "ChjAndroidMaidBattleDress"]/thingCategories</xpath>
  6399. <value>
  6400. <thingCategories>
  6401. <li>Body_Armor</li>
  6402. </thingCategories>
  6403. </value>
  6404. </li>
  6405. </operations>
  6406. </Operation>
  6407. <Operation Class="PatchOperationSequence">
  6408. <success>Always</success>
  6409. <operations>
  6410. <li Class="PatchOperationTest">
  6411. <xpath>/ThingDef[defName = "ChjAndroidBattleMaidHat"]</xpath>
  6412. <success>Invert</success>
  6413. </li>
  6414. <li Class="PatchOperationAdd">
  6415. <xpath>*/ThingDef[defName = "ChjAndroidBattleMaidHat"]</xpath>
  6416. <value>
  6417. <thingCategories>
  6418. <li>Helmets</li>
  6419. </thingCategories>
  6420. </value>
  6421. </li>
  6422. </operations>
  6423. </Operation>
  6424. <Operation Class="PatchOperationSequence">
  6425. <success>Always</success>
  6426. <operations>
  6427. <li Class="PatchOperationTest">
  6428. <xpath>/ThingDef[defName = "ChjAndroid_SolarDuster"]</xpath>
  6429. <success>Invert</success>
  6430. </li>
  6431. <li Class="PatchOperationReplace">
  6432. <xpath>*/ThingDef[defName = "ChjAndroid_SolarDuster"]/thingCategories</xpath>
  6433. <value>
  6434. <thingCategories>
  6435. <li>Special_Apparel_Outerlayers</li>
  6436. </thingCategories>
  6437. </value>
  6438. </li>
  6439. </operations>
  6440. </Operation>
  6441. <Operation Class="PatchOperationSequence">
  6442. <success>Always</success>
  6443. <operations>
  6444. <li Class="PatchOperationTest">
  6445. <xpath>/ThingDef[defName = "ChjAndroid_ChemfuelGenerator"]</xpath>
  6446. <success>Invert</success>
  6447. </li>
  6448. <li Class="PatchOperationReplace">
  6449. <xpath>*/ThingDef[defName = "ChjAndroid_ChemfuelGenerator"]/thingCategories</xpath>
  6450. <value>
  6451. <thingCategories>
  6452. <li>Special_Apparel_Accessories</li>
  6453. </thingCategories>
  6454. </value>
  6455. </li>
  6456. </operations>
  6457. </Operation>
  6458. <!-- VAE Neolithic -->
  6459.  
  6460. <Operation Class="PatchOperationSequence">
  6461. <success>Always</success>
  6462. <operations>
  6463. <li Class="PatchOperationTest">
  6464. <xpath>/ThingDef[defName = "VAE_Apparel_WoodenArmor"]</xpath>
  6465. <success>Invert</success>
  6466. </li>
  6467. <li Class="PatchOperationReplace">
  6468. <xpath>*/ThingDef[defName = "VAE_Apparel_WoodenArmor"]/thingCategories/li/text()</xpath>
  6469. <value>
  6470. <thingCategories>Body_Armor</thingCategories>
  6471. </value>
  6472. </li>
  6473. </operations>
  6474. </Operation>
  6475.  
  6476. <Operation Class="PatchOperationSequence">
  6477. <success>Always</success>
  6478. <operations>
  6479. <li Class="PatchOperationTest">
  6480. <xpath>/ThingDef[defName = "VAE_Headgear_StoneWarMask"]</xpath>
  6481. <success>Invert</success>
  6482. </li>
  6483. <li Class="PatchOperationReplace">
  6484. <xpath>*/ThingDef[defName = "VAE_Headgear_StoneWarMask"]/thingCategories/li/text()</xpath>
  6485. <value>
  6486. <thingCategories>Helmets</thingCategories>
  6487. </value>
  6488. </li>
  6489. </operations>
  6490. </Operation>
  6491.  
  6492. <Operation Class="PatchOperationSequence">
  6493. <success>Always</success>
  6494. <operations>
  6495. <li Class="PatchOperationTest">
  6496. <xpath>/ThingDef[defName = "VAE_Apparel_PeltCoat"]</xpath>
  6497. <success>Invert</success>
  6498. </li>
  6499. <li Class="PatchOperationReplace">
  6500. <xpath>*/ThingDef[defName = "VAE_Apparel_PeltCoat"]/thingCategories/li/text()</xpath>
  6501. <value>
  6502. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  6503. </value>
  6504. </li>
  6505. </operations>
  6506. </Operation>
  6507.  
  6508. <Operation Class="PatchOperationSequence">
  6509. <success>Always</success>
  6510. <operations>
  6511. <li Class="PatchOperationTest">
  6512. <xpath>/ThingDef[defName = "VAE_Apparel_TribalPoncho"]</xpath>
  6513. <success>Invert</success>
  6514. </li>
  6515. <li Class="PatchOperationReplace">
  6516. <xpath>*/ThingDef[defName = "VAE_Apparel_TribalPoncho"]/thingCategories/li/text()</xpath>
  6517. <value>
  6518. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  6519. </value>
  6520. </li>
  6521. </operations>
  6522. </Operation>
  6523.  
  6524. <Operation Class="PatchOperationSequence">
  6525. <success>Always</success>
  6526. <operations>
  6527. <li Class="PatchOperationTest">
  6528. <xpath>/ThingDef[defName = "VAE_Apparel_TribalKilt"]</xpath>
  6529. <success>Invert</success>
  6530. </li>
  6531. <li Class="PatchOperationReplace">
  6532. <xpath>*/ThingDef[defName = "VAE_Apparel_TribalKilt"]/thingCategories/li/text()</xpath>
  6533. <value>
  6534. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6535. </value>
  6536. </li>
  6537. </operations>
  6538. </Operation>
  6539.  
  6540. <Operation Class="PatchOperationSequence">
  6541. <success>Always</success>
  6542. <operations>
  6543. <li Class="PatchOperationTest">
  6544. <xpath>/ThingDef[defName = "VAE_Headgear_Hood"]</xpath>
  6545. <success>Invert</success>
  6546. </li>
  6547. <li Class="PatchOperationReplace">
  6548. <xpath>*/ThingDef[defName = "VAE_Headgear_Hood"]/thingCategories/li/text()</xpath>
  6549. <value>
  6550. <thingCategories>Hats</thingCategories>
  6551. </value>
  6552. </li>
  6553. </operations>
  6554. </Operation>
  6555.  
  6556. <!-- VAE Medieval -->
  6557. <Operation Class="PatchOperationSequence">
  6558. <success>Always</success>
  6559. <operations>
  6560. <li Class="PatchOperationTest">
  6561. <xpath>/ThingDef[defName = "VAE_Apparel_Gambeson"]</xpath>
  6562. <success>Invert</success>
  6563. </li>
  6564. <li Class="PatchOperationReplace">
  6565. <xpath>*/ThingDef[defName = "VAE_Apparel_Gambeson"]/thingCategories/li/text()</xpath>
  6566. <value>
  6567. <thingCategories>Body_Armor</thingCategories>
  6568. </value>
  6569. </li>
  6570. </operations>
  6571. </Operation>
  6572.  
  6573. <Operation Class="PatchOperationSequence">
  6574. <success>Always</success>
  6575. <operations>
  6576. <li Class="PatchOperationTest">
  6577. <xpath>/ThingDef[defName = "VAE_Apparel_QuiltedVest"]</xpath>
  6578. <success>Invert</success>
  6579. </li>
  6580. <li Class="PatchOperationReplace">
  6581. <xpath>*/ThingDef[defName = "VAE_Apparel_QuiltedVestd"]/thingCategories/li/text()</xpath>
  6582. <value>
  6583. <thingCategories>Body_Armor</thingCategories>
  6584. </value>
  6585. </li>
  6586. </operations>
  6587. </Operation>
  6588.  
  6589. <Operation Class="PatchOperationSequence">
  6590. <success>Always</success>
  6591. <operations>
  6592. <li Class="PatchOperationTest">
  6593. <xpath>/ThingDef[defName = "VAE_Apparel_LightPlateArmor"]</xpath>
  6594. <success>Invert</success>
  6595. </li>
  6596. <li Class="PatchOperationReplace">
  6597. <xpath>*/ThingDef[defName = "VAE_Apparel_LightPlateArmor"]/thingCategories/li/text()</xpath>
  6598. <value>
  6599. <thingCategories>Body_Armor</thingCategories>
  6600. </value>
  6601. </li>
  6602. </operations>
  6603. </Operation>
  6604.  
  6605. <Operation Class="PatchOperationSequence">
  6606. <success>Always</success>
  6607. <operations>
  6608. <li Class="PatchOperationTest">
  6609. <xpath>/ThingDef[defName = "VAE_Apparel_PlateShoulderpads"]</xpath>
  6610. <success>Invert</success>
  6611. </li>
  6612. <li Class="PatchOperationReplace">
  6613. <xpath>*/ThingDef[defName = "VAE_Apparel_PlateShoulderpads"]/thingCategories/li/text()</xpath>
  6614. <value>
  6615. <thingCategories>Shoulder_Armor</thingCategories>
  6616. </value>
  6617. </li>
  6618. </operations>
  6619. </Operation>
  6620.  
  6621. <Operation Class="PatchOperationSequence">
  6622. <success>Always</success>
  6623. <operations>
  6624. <li Class="PatchOperationTest">
  6625. <xpath>/ThingDef[defName = "VAE_Apparel_Chestplate"]</xpath>
  6626. <success>Invert</success>
  6627. </li>
  6628. <li Class="PatchOperationReplace">
  6629. <xpath>*/ThingDef[defName = "VAE_Apparel_Chestplate"]/thingCategories/li/text()</xpath>
  6630. <value>
  6631. <thingCategories>Body_Armor</thingCategories>
  6632. </value>
  6633. </li>
  6634. </operations>
  6635. </Operation>
  6636.  
  6637. <Operation Class="PatchOperationSequence">
  6638. <success>Always</success>
  6639. <operations>
  6640. <li Class="PatchOperationTest">
  6641. <xpath>/ThingDef[defName = "VAE_Apparel_Chainmail"]</xpath>
  6642. <success>Invert</success>
  6643. </li>
  6644. <li Class="PatchOperationReplace">
  6645. <xpath>*/ThingDef[defName = "VAE_Apparel_Chainmail"]/thingCategories/li/text()</xpath>
  6646. <value>
  6647. <thingCategories>Body_Armor</thingCategories>
  6648. </value>
  6649. </li>
  6650. </operations>
  6651. </Operation>
  6652.  
  6653. <Operation Class="PatchOperationSequence">
  6654. <success>Always</success>
  6655. <operations>
  6656. <li Class="PatchOperationTest">
  6657. <xpath>/ThingDef[defName = "VAE_Apparel_PlateHelmet"]</xpath>
  6658. <success>Invert</success>
  6659. </li>
  6660. <li Class="PatchOperationReplace">
  6661. <xpath>*/ThingDef[defName = "VAE_Apparel_PlateHelmet"]/thingCategories/li/text()</xpath>
  6662. <value>
  6663. <thingCategories>Helmets</thingCategories>
  6664. </value>
  6665. </li>
  6666. </operations>
  6667. </Operation>
  6668.  
  6669. <Operation Class="PatchOperationSequence">
  6670. <success>Always</success>
  6671. <operations>
  6672. <li Class="PatchOperationTest">
  6673. <xpath>/ThingDef[defName = "VAE_Apparel_Tunic"]</xpath>
  6674. <success>Invert</success>
  6675. </li>
  6676. <li Class="PatchOperationReplace">
  6677. <xpath>*/ThingDef[defName = "VAE_Apparel_Tunic"]/thingCategories/li/text()</xpath>
  6678. <value>
  6679. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6680. </value>
  6681. </li>
  6682. </operations>
  6683. </Operation>
  6684.  
  6685. <Operation Class="PatchOperationSequence">
  6686. <success>Always</success>
  6687. <operations>
  6688. <li Class="PatchOperationTest">
  6689. <xpath>/ThingDef[defName = "VAE_Apparel_Blouse"]</xpath>
  6690. <success>Invert</success>
  6691. </li>
  6692. <li Class="PatchOperationReplace">
  6693. <xpath>*/ThingDef[defName = "VAE_Apparel_Blouse"]/thingCategories/li/text()</xpath>
  6694. <value>
  6695. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6696. </value>
  6697. </li>
  6698. </operations>
  6699. </Operation>
  6700.  
  6701. <Operation Class="PatchOperationSequence">
  6702. <success>Always</success>
  6703. <operations>
  6704. <li Class="PatchOperationTest">
  6705. <xpath>/ThingDef[defName = "VAE_Apparel_Apron"]</xpath>
  6706. <success>Invert</success>
  6707. </li>
  6708. <li Class="PatchOperationReplace">
  6709. <xpath>*/ThingDef[defName = "VAE_Apparel_Apron"]/thingCategories/li/text()</xpath>
  6710. <value>
  6711. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6712. </value>
  6713. </li>
  6714. </operations>
  6715. </Operation>
  6716.  
  6717. <Operation Class="PatchOperationSequence">
  6718. <success>Always</success>
  6719. <operations>
  6720. <li Class="PatchOperationTest">
  6721. <xpath>/ThingDef[defName = "VAE_Apparel_Cape"]</xpath>
  6722. <success>Invert</success>
  6723. </li>
  6724. <li Class="PatchOperationReplace">
  6725. <xpath>*/ThingDef[defName = "VAE_Apparel_Cape"]/thingCategories/li/text()</xpath>
  6726. <value>
  6727. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  6728. </value>
  6729. </li>
  6730. </operations>
  6731. </Operation>
  6732.  
  6733. <Operation Class="PatchOperationSequence">
  6734. <success>Always</success>
  6735. <operations>
  6736. <li Class="PatchOperationTest">
  6737. <xpath>/ThingDef[defName = "VAE_Headgear_TrapperHat"]</xpath>
  6738. <success>Invert</success>
  6739. </li>
  6740. <li Class="PatchOperationReplace">
  6741. <xpath>*/ThingDef[defName = "VAE_Headgear_TrapperHat"]/thingCategories/li/text()</xpath>
  6742. <value>
  6743. <thingCategories>Hats</thingCategories>
  6744. </value>
  6745. </li>
  6746. </operations>
  6747. </Operation>
  6748.  
  6749. <Operation Class="PatchOperationSequence">
  6750. <success>Always</success>
  6751. <operations>
  6752. <li Class="PatchOperationTest">
  6753. <xpath>/ThingDef[defName = "VAE_Headgear_SummerHat"]</xpath>
  6754. <success>Invert</success>
  6755. </li>
  6756. <li Class="PatchOperationReplace">
  6757. <xpath>*/ThingDef[defName = "VAE_Headgear_SummerHat"]/thingCategories/li/text()</xpath>
  6758. <value>
  6759. <thingCategories>Hats</thingCategories>
  6760. </value>
  6761. </li>
  6762. </operations>
  6763. </Operation>
  6764.  
  6765.  
  6766. <!-- VAE Industrial -->
  6767. <Operation Class="PatchOperationSequence">
  6768. <success>Always</success>
  6769. <operations>
  6770. <li Class="PatchOperationTest">
  6771. <xpath>/ThingDef[defName = "VAE_Apparel_CasualTShirt"]</xpath>
  6772. <success>Invert</success>
  6773. </li>
  6774. <li Class="PatchOperationReplace">
  6775. <xpath>*/ThingDef[defName = "VAE_Apparel_CasualTShirt"]/thingCategories/li/text()</xpath>
  6776. <value>
  6777. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6778. </value>
  6779. </li>
  6780. </operations>
  6781. </Operation>
  6782.  
  6783. <Operation Class="PatchOperationSequence">
  6784. <success>Always</success>
  6785. <operations>
  6786. <li Class="PatchOperationTest">
  6787. <xpath>/ThingDef[defName = "VAE_Apparel_Hoodie"]</xpath>
  6788. <success>Invert</success>
  6789. </li>
  6790. <li Class="PatchOperationReplace">
  6791. <xpath>*/ThingDef[defName = "VAE_Apparel_Hoodie"]/thingCategories/li/text()</xpath>
  6792. <value>
  6793. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6794. </value>
  6795. </li>
  6796. </operations>
  6797. </Operation>
  6798.  
  6799. <Operation Class="PatchOperationSequence">
  6800. <success>Always</success>
  6801. <operations>
  6802. <li Class="PatchOperationTest">
  6803. <xpath>/ThingDef[defName = "VAE_Apparel_Shorts"]</xpath>
  6804. <success>Invert</success>
  6805. </li>
  6806. <li Class="PatchOperationReplace">
  6807. <xpath>*/ThingDef[defName = "VAE_Apparel_Shorts"]/thingCategories/li/text()</xpath>
  6808. <value>
  6809. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6810. </value>
  6811. </li>
  6812. </operations>
  6813. </Operation>
  6814.  
  6815. <Operation Class="PatchOperationSequence">
  6816. <success>Always</success>
  6817. <operations>
  6818. <li Class="PatchOperationTest">
  6819. <xpath>/ThingDef[defName = "VAE_Apparel_Skirt"]</xpath>
  6820. <success>Invert</success>
  6821. </li>
  6822. <li Class="PatchOperationReplace">
  6823. <xpath>*/ThingDef[defName = "VAE_Apparel_Skirt"]/thingCategories/li/text()</xpath>
  6824. <value>
  6825. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6826. </value>
  6827. </li>
  6828. </operations>
  6829. </Operation>
  6830.  
  6831. <Operation Class="PatchOperationSequence">
  6832. <success>Always</success>
  6833. <operations>
  6834. <li Class="PatchOperationTest">
  6835. <xpath>/ThingDef[defName = "VAE_Apparel_ShirtandTie"]</xpath>
  6836. <success>Invert</success>
  6837. </li>
  6838. <li Class="PatchOperationReplace">
  6839. <xpath>*/ThingDef[defName = "VAE_Apparel_ShirtandTie"]/thingCategories/li/text()</xpath>
  6840. <value>
  6841. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6842. </value>
  6843. </li>
  6844. </operations>
  6845. </Operation>
  6846.  
  6847. <Operation Class="PatchOperationSequence">
  6848. <success>Always</success>
  6849. <operations>
  6850. <li Class="PatchOperationTest">
  6851. <xpath>/ThingDef[defName = "VAE_Apparel_SuitJacket"]</xpath>
  6852. <success>Invert</success>
  6853. </li>
  6854. <li Class="PatchOperationReplace">
  6855. <xpath>*/ThingDef[defName = "VAE_Apparel_SuitJacket"]/thingCategories/li/text()</xpath>
  6856. <value>
  6857. <thingCategories>Civilian_Apparel_Outerlayers</thingCategories>
  6858. </value>
  6859. </li>
  6860. </operations>
  6861. </Operation>
  6862.  
  6863. <Operation Class="PatchOperationSequence">
  6864. <success>Always</success>
  6865. <operations>
  6866. <li Class="PatchOperationTest">
  6867. <xpath>/ThingDef[defName = "VAE_Apparel_Trousers"]</xpath>
  6868. <success>Invert</success>
  6869. </li>
  6870. <li Class="PatchOperationReplace">
  6871. <xpath>*/ThingDef[defName = "VAE_Apparel_Trousers"]/thingCategories/li/text()</xpath>
  6872. <value>
  6873. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6874. </value>
  6875. </li>
  6876. </operations>
  6877. </Operation>
  6878.  
  6879. <Operation Class="PatchOperationSequence">
  6880. <success>Always</success>
  6881. <operations>
  6882. <li Class="PatchOperationTest">
  6883. <xpath>/ThingDef[defName = "VAE_Headgear_Fedora"]</xpath>
  6884. <success>Invert</success>
  6885. </li>
  6886. <li Class="PatchOperationReplace">
  6887. <xpath>*/ThingDef[defName = "VAE_Headgear_Fedora"]/thingCategories/li/text()</xpath>
  6888. <value>
  6889. <thingCategories>Hats</thingCategories>
  6890. </value>
  6891. </li>
  6892. </operations>
  6893. </Operation>
  6894.  
  6895. <Operation Class="PatchOperationSequence">
  6896. <success>Always</success>
  6897. <operations>
  6898. <li Class="PatchOperationTest">
  6899. <xpath>/ThingDef[defName = "VAE_Apparel_Overalls"]</xpath>
  6900. <success>Invert</success>
  6901. </li>
  6902. <li Class="PatchOperationReplace">
  6903. <xpath>*/ThingDef[defName = "VAE_Apparel_Overalls"]/thingCategories/li/text()</xpath>
  6904. <value>
  6905. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6906. </value>
  6907. </li>
  6908. </operations>
  6909. </Operation>
  6910.  
  6911. <Operation Class="PatchOperationSequence">
  6912. <success>Always</success>
  6913. <operations>
  6914. <li Class="PatchOperationTest">
  6915. <xpath>/ThingDef[defName = "VAE_Apparel_FleeceShirt"]</xpath>
  6916. <success>Invert</success>
  6917. </li>
  6918. <li Class="PatchOperationReplace">
  6919. <xpath>*/ThingDef[defName = "VAE_Apparel_FleeceShirt"]/thingCategories/li/text()</xpath>
  6920. <value>
  6921. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6922. </value>
  6923. </li>
  6924. </operations>
  6925. </Operation>
  6926.  
  6927. <Operation Class="PatchOperationSequence">
  6928. <success>Always</success>
  6929. <operations>
  6930. <li Class="PatchOperationTest">
  6931. <xpath>/ThingDef[defName = "VAE_Apparel_Jeans"]</xpath>
  6932. <success>Invert</success>
  6933. </li>
  6934. <li Class="PatchOperationReplace">
  6935. <xpath>*/ThingDef[defName = "VAE_Apparel_Jeans"]/thingCategories/li/text()</xpath>
  6936. <value>
  6937. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6938. </value>
  6939. </li>
  6940. </operations>
  6941. </Operation>
  6942.  
  6943. <Operation Class="PatchOperationSequence">
  6944. <success>Always</success>
  6945. <operations>
  6946. <li Class="PatchOperationTest">
  6947. <xpath>/ThingDef[defName = "VAE_Apparel_TankTop"]</xpath>
  6948. <success>Invert</success>
  6949. </li>
  6950. <li Class="PatchOperationReplace">
  6951. <xpath>*/ThingDef[defName = "VAE_Apparel_TankTop"]/thingCategories/li/text()</xpath>
  6952. <value>
  6953. <thingCategories>Civilian_Apparel_Innerlayers</thingCategories>
  6954. </value>
  6955. </li>
  6956. </operations>
  6957. </Operation>
  6958.  
  6959. <Operation Class="PatchOperationSequence">
  6960. <success>Always</success>
  6961. <operations>
  6962. <li Class="PatchOperationTest">
  6963. <xpath>/ThingDef[defName = "VAE_Apparel_ChefsUniform"]</xpath>
  6964. <success>Invert</success>
  6965. </li>
  6966. <li Class="PatchOperationReplace">
  6967. <xpath>*/ThingDef[defName = "VAE_Apparel_ChefsUniform"]/thingCategories/li/text()</xpath>
  6968. <value>
  6969. <thingCategories>Special_Apparel</thingCategories>
  6970. </value>
  6971. </li>
  6972. </operations>
  6973. </Operation>
  6974.  
  6975. <Operation Class="PatchOperationSequence">
  6976. <success>Always</success>
  6977. <operations>
  6978. <li Class="PatchOperationTest">
  6979. <xpath>/ThingDef[defName = "VAE_Apparel_MilitaryJacket"]</xpath>
  6980. <success>Invert</success>
  6981. </li>
  6982. <li Class="PatchOperationReplace">
  6983. <xpath>*/ThingDef[defName = "VAE_Apparel_MilitaryJacket"]/thingCategories/li/text()</xpath>
  6984. <value>
  6985. <thingCategories>Special_Apparel_Outerlayers</thingCategories>
  6986. </value>
  6987. </li>
  6988. </operations>
  6989. </Operation>
  6990.  
  6991. <Operation Class="PatchOperationSequence">
  6992. <success>Always</success>
  6993. <operations>
  6994. <li Class="PatchOperationTest">
  6995. <xpath>/ThingDef[defName = "VAE_Apparel_MilitaryUniform"]</xpath>
  6996. <success>Invert</success>
  6997. </li>
  6998. <li Class="PatchOperationReplace">
  6999. <xpath>*/ThingDef[defName = "VAE_Apparel_MilitaryUniform"]/thingCategories/li/text()</xpath>
  7000. <value>
  7001. <thingCategories>Special_Apparel</thingCategories>
  7002. </value>
  7003. </li>
  7004. </operations>
  7005. </Operation>
  7006.  
  7007. <Operation Class="PatchOperationSequence">
  7008. <success>Always</success>
  7009. <operations>
  7010. <li Class="PatchOperationTest">
  7011. <xpath>/ThingDef[defName = "VAE_Apparel_BuildersJacket"]</xpath>
  7012. <success>Invert</success>
  7013. </li>
  7014. <li Class="PatchOperationReplace">
  7015. <xpath>*/ThingDef[defName = "VAE_Apparel_BuildersJacket"]/thingCategories/li/text()</xpath>
  7016. <value>
  7017. <thingCategories>Special_Apparel_Outerlayers</thingCategories>
  7018. </value>
  7019. </li>
  7020. </operations>
  7021. </Operation>
  7022.  
  7023. <Operation Class="PatchOperationSequence">
  7024. <success>Always</success>
  7025. <operations>
  7026. <li Class="PatchOperationTest">
  7027. <xpath>/ThingDef[defName = "VAE_Apparel_DoctorScrubs"]</xpath>
  7028. <success>Invert</success>
  7029. </li>
  7030. <li Class="PatchOperationReplace">
  7031. <xpath>*/ThingDef[defName = "VAE_Apparel_DoctorScrubs"]/thingCategories/li/text()</xpath>
  7032. <value>
  7033. <thingCategories>Special_Apparel</thingCategories>
  7034. </value>
  7035. </li>
  7036. </operations>
  7037. </Operation>
  7038.  
  7039. <Operation Class="PatchOperationSequence">
  7040. <success>Always</success>
  7041. <operations>
  7042. <li Class="PatchOperationTest">
  7043. <xpath>/ThingDef[defName = "VAE_Apparel_LabCoat"]</xpath>
  7044. <success>Invert</success>
  7045. </li>
  7046. <li Class="PatchOperationReplace">
  7047. <xpath>*/ThingDef[defName = "VAE_Apparel_LabCoat"]/thingCategories/li/text()</xpath>
  7048. <value>
  7049. <thingCategories>Special_Apparel_Outerlayers</thingCategories>
  7050. </value>
  7051. </li>
  7052. </operations>
  7053. </Operation>
  7054.  
  7055. <Operation Class="PatchOperationSequence">
  7056. <success>Always</success>
  7057. <operations>
  7058. <li Class="PatchOperationTest">
  7059. <xpath>/ThingDef[defName = "VAE_Apparel_SheriffShirt"]</xpath>
  7060. <success>Invert</success>
  7061. </li>
  7062. <li Class="PatchOperationReplace">
  7063. <xpath>*/ThingDef[defName = "VAE_Apparel_SheriffShirt"]/thingCategories/li/text()</xpath>
  7064. <value>
  7065. <thingCategories>Special_Apparel</thingCategories>
  7066. </value>
  7067. </li>
  7068. </operations>
  7069. </Operation>
  7070.  
  7071. <Operation Class="PatchOperationSequence">
  7072. <success>Always</success>
  7073. <operations>
  7074. <li Class="PatchOperationTest">
  7075. <xpath>/ThingDef[defName = "VAE_Apparel_Jumpsuit"]</xpath>
  7076. <success>Invert</success>
  7077. </li>
  7078. <li Class="PatchOperationReplace">
  7079. <xpath>*/ThingDef[defName = "VAE_Apparel_Jumpsuit"]/thingCategories/li/text()</xpath>
  7080. <value>
  7081. <thingCategories>Special_Apparel</thingCategories>
  7082. </value>
  7083. </li>
  7084. </operations>
  7085. </Operation>
  7086.  
  7087. <!-- Industrial Headgear VAE-->
  7088.  
  7089. <Operation Class="PatchOperationSequence">
  7090. <success>Always</success>
  7091. <operations>
  7092. <li Class="PatchOperationTest">
  7093. <xpath>/ThingDef[defName = "VAE_Headgear_Balaclava"]</xpath>
  7094. <success>Invert</success>
  7095. </li>
  7096. <li Class="PatchOperationReplace">
  7097. <xpath>*/ThingDef[defName = "VAE_Headgear_Balaclava"]/thingCategories/li/text()</xpath>
  7098. <value>
  7099. <thingCategories>Masks</thingCategories>
  7100. </value>
  7101. </li>
  7102. </operations>
  7103. </Operation>
  7104.  
  7105. <Operation Class="PatchOperationSequence">
  7106. <success>Always</success>
  7107. <operations>
  7108. <li Class="PatchOperationTest">
  7109. <xpath>/ThingDef[defName = "VAE_Headgear_NightVisionGoggles"]</xpath>
  7110. <success>Invert</success>
  7111. </li>
  7112. <li Class="PatchOperationReplace">
  7113. <xpath>*/ThingDef[defName = "VAE_Headgear_NightVisionGoggles"]/thingCategories/li/text()</xpath>
  7114. <value>
  7115. <thingCategories>Special_Apparel_Hats</thingCategories>
  7116. </value>
  7117. </li>
  7118. </operations>
  7119. </Operation>
  7120.  
  7121. <Operation Class="PatchOperationSequence">
  7122. <success>Always</success>
  7123. <operations>
  7124. <li Class="PatchOperationTest">
  7125. <xpath>/ThingDef[defName = "VAE_Headgear_BallisticGoggles"]</xpath>
  7126. <success>Invert</success>
  7127. </li>
  7128. <li Class="PatchOperationReplace">
  7129. <xpath>*/ThingDef[defName = "VAE_Headgear_BallisticGoggles"]/thingCategories/li/text()</xpath>
  7130. <value>
  7131. <thingCategories>Special_Apparel_Hats</thingCategories>
  7132. </value>
  7133. </li>
  7134. </operations>
  7135. </Operation>
  7136.  
  7137. <Operation Class="PatchOperationSequence">
  7138. <success>Always</success>
  7139. <operations>
  7140. <li Class="PatchOperationTest">
  7141. <xpath>/ThingDef[defName = "VAE_Headgear_GhillieHood"]</xpath>
  7142. <success>Invert</success>
  7143. </li>
  7144. <li Class="PatchOperationReplace">
  7145. <xpath>*/ThingDef[defName = "VAE_Headgear_GhillieHood"]/thingCategories/li/text()</xpath>
  7146. <value>
  7147. <thingCategories>Special_Apparel_Hats</thingCategories>
  7148. </value>
  7149. </li>
  7150. </operations>
  7151. </Operation>
  7152.  
  7153. <Operation Class="PatchOperationSequence">
  7154. <success>Always</success>
  7155. <operations>
  7156. <li Class="PatchOperationTest">
  7157. <xpath>/ThingDef[defName = "VAE_Headgear_HAZMATMask"]</xpath>
  7158. <success>Invert</success>
  7159. </li>
  7160. <li Class="PatchOperationReplace">
  7161. <xpath>*/ThingDef[defName = "VAE_Headgear_HAZMATMask"]/thingCategories/li/text()</xpath>
  7162. <value>
  7163. <thingCategories>Civilian_Apparel_Fallout</thingCategories>
  7164. </value>
  7165. </li>
  7166. </operations>
  7167. </Operation>
  7168.  
  7169. <!-- VAE Armor Industrial -->
  7170.  
  7171. <Operation Class="PatchOperationSequence">
  7172. <success>Always</success>
  7173. <operations>
  7174. <li Class="PatchOperationTest">
  7175. <xpath>/ThingDef[defName = "VAE_Apparel_BulletproofVest"]</xpath>
  7176. <success>Invert</success>
  7177. </li>
  7178. <li Class="PatchOperationReplace">
  7179. <xpath>*/ThingDef[defName = "VAE_Apparel_BulletproofVest"]/thingCategories/li/text()</xpath>
  7180. <value>
  7181. <thingCategories>Body_Armor</thingCategories>
  7182. </value>
  7183. </li>
  7184. </operations>
  7185. </Operation>
  7186.  
  7187. <Operation Class="PatchOperationSequence">
  7188. <success>Always</success>
  7189. <operations>
  7190. <li Class="PatchOperationTest">
  7191. <xpath>/ThingDef[defName = "VAE_Apparel_GhillieSuit"]</xpath>
  7192. <success>Invert</success>
  7193. </li>
  7194. <li Class="PatchOperationReplace">
  7195. <xpath>*/ThingDef[defName = "VAE_Apparel_GhillieSuit"]/thingCategories/li/text()</xpath>
  7196. <value>
  7197. <thingCategories>Special_Apparel_Outerlayers</thingCategories>
  7198. </value>
  7199. </li>
  7200. </operations>
  7201. </Operation>
  7202.  
  7203. <Operation Class="PatchOperationSequence">
  7204. <success>Always</success>
  7205. <operations>
  7206. <li Class="PatchOperationTest">
  7207. <xpath>/ThingDef[defName = "VAE_Apparel_AdvancedVest"]</xpath>
  7208. <success>Invert</success>
  7209. </li>
  7210. <li Class="PatchOperationReplace">
  7211. <xpath>*/ThingDef[defName = "VAE_Apparel_AdvancedVest"]/thingCategories/li/text()</xpath>
  7212. <value>
  7213. <thingCategories>Body_Armor</thingCategories>
  7214. </value>
  7215. </li>
  7216. </operations>
  7217. </Operation>
  7218.  
  7219. <Operation Class="PatchOperationSequence">
  7220. <success>Always</success>
  7221. <operations>
  7222. <li Class="PatchOperationTest">
  7223. <xpath>/ThingDef[defName = "VAE_Apparel_HAZMATSuit"]</xpath>
  7224. <success>Invert</success>
  7225. </li>
  7226. <li Class="PatchOperationReplace">
  7227. <xpath>*/ThingDef[defName = "VAE_Apparel_HAZMATSuit"]/thingCategories/li/text()</xpath>
  7228. <value>
  7229. <thingCategories>Civilian_Apparel_Fallout</thingCategories>
  7230. </value>
  7231. </li>
  7232. </operations>
  7233. </Operation>
  7234.  
  7235. <!-- VAE Armor Spacer-->
  7236.  
  7237. <Operation Class="PatchOperationSequence">
  7238. <success>Always</success>
  7239. <operations>
  7240. <li Class="PatchOperationTest">
  7241. <xpath>/ThingDef[defName = "VAE_Headgear_LightMarineHelmet"]</xpath>
  7242. <success>Invert</success>
  7243. </li>
  7244. <li Class="PatchOperationReplace">
  7245. <xpath>*/ThingDef[defName = "VAE_Headgear_LightMarineHelmet"]/thingCategories/li/text()</xpath>
  7246. <value>
  7247. <thingCategories>Helmets</thingCategories>
  7248. </value>
  7249. </li>
  7250. </operations>
  7251. </Operation>
  7252.  
  7253. <Operation Class="PatchOperationSequence">
  7254. <success>Always</success>
  7255. <operations>
  7256. <li Class="PatchOperationTest">
  7257. <xpath>/ThingDef[defName = "VAE_Headgear_HeavyMarineHelmet"]</xpath>
  7258. <success>Invert</success>
  7259. </li>
  7260. <li Class="PatchOperationReplace">
  7261. <xpath>*/ThingDef[defName = "VAE_Headgear_HeavyMarineHelmet"]/thingCategories/li/text()</xpath>
  7262. <value>
  7263. <thingCategories>Helmets</thingCategories>
  7264. </value>
  7265. </li>
  7266. </operations>
  7267. </Operation>
  7268.  
  7269. <Operation Class="PatchOperationSequence">
  7270. <success>Always</success>
  7271. <operations>
  7272. <li Class="PatchOperationTest">
  7273. <xpath>/ThingDef[defName = "VAE_Headgear_HeavyMarineArmor"]</xpath>
  7274. <success>Invert</success>
  7275. </li>
  7276. <li Class="PatchOperationReplace">
  7277. <xpath>*/ThingDef[defName = "VAE_Headgear_HeavyMarineArmor"]/thingCategories/li/text()</xpath>
  7278. <value>
  7279. <thingCategories>Body_Armor</thingCategories>
  7280. </value>
  7281. </li>
  7282. </operations>
  7283. </Operation>
  7284.  
  7285. <Operation Class="PatchOperationSequence">
  7286. <success>Always</success>
  7287. <operations>
  7288. <li Class="PatchOperationTest">
  7289. <xpath>/ThingDef[defName = "VAE_Headgear_LightMarineArmor"]</xpath>
  7290. <success>Invert</success>
  7291. </li>
  7292. <li Class="PatchOperationReplace">
  7293. <xpath>*/ThingDef[defName = "VAE_Headgear_LightMarineArmor"]/thingCategories/li/text()</xpath>
  7294. <value>
  7295. <thingCategories>Body_Armor</thingCategories>
  7296. </value>
  7297. </li>
  7298. </operations>
  7299. </Operation>
  7300.  
  7301. <!-- Plastic Revolution -->
  7302.  
  7303. <Operation Class="PatchOperationSequence">
  7304. <success>Always</success>
  7305. <operations>
  7306. <li Class="PatchOperationTest">
  7307. <xpath>/ThingDef[defName = "MAC_Apparel_PlasticHelmet"]</xpath>
  7308. <success>Invert</success>
  7309. </li>
  7310. <li Class="PatchOperationReplace">
  7311. <xpath>*/ThingDef[defName = "MAC_Apparel_PlasticHelmet"]/thingCategories/li/text()</xpath>
  7312. <value>
  7313. <thingCategories>Helmets</thingCategories>
  7314. </value>
  7315. </li>
  7316. </operations>
  7317. </Operation>
  7318.  
  7319. <Operation Class="PatchOperationSequence">
  7320. <success>Always</success>
  7321. <operations>
  7322. <li Class="PatchOperationTest">
  7323. <xpath>/ThingDef[defName = "MAC_Apparel_Rein_PlasticHelmet"]</xpath>
  7324. <success>Invert</success>
  7325. </li>
  7326. <li Class="PatchOperationReplace">
  7327. <xpath>*/ThingDef[defName = "MAC_Apparel_Rein_PlasticHelmet"]/thingCategories/li/text()</xpath>
  7328. <value>
  7329. <thingCategories>Helmets</thingCategories>
  7330. </value>
  7331. </li>
  7332. </operations>
  7333. </Operation>
  7334.  
  7335. <Operation Class="PatchOperationSequence">
  7336. <success>Always</success>
  7337. <operations>
  7338. <li Class="PatchOperationTest">
  7339. <xpath>/ThingDef[defName = "MAC_Apparel_Plastic_FullHelmet"]</xpath>
  7340. <success>Invert</success>
  7341. </li>
  7342. <li Class="PatchOperationReplace">
  7343. <xpath>*/ThingDef[defName = "MAC_Apparel_Plastic_FullHelmet"]/thingCategories/li/text()</xpath>
  7344. <value>
  7345. <thingCategories>Helmets</thingCategories>
  7346. </value>
  7347. </li>
  7348. </operations>
  7349. </Operation>
  7350.  
  7351. <Operation Class="PatchOperationSequence">
  7352. <success>Always</success>
  7353. <operations>
  7354. <li Class="PatchOperationTest">
  7355. <xpath>/ThingDef[defName = "MAC_Apparel_PlasticVest"]</xpath>
  7356. <success>Invert</success>
  7357. </li>
  7358. <li Class="PatchOperationReplace">
  7359. <xpath>*/ThingDef[defName = "MAC_Apparel_PlasticVest"]/thingCategories/li/text()</xpath>
  7360. <value>
  7361. <thingCategories>Body_Armor</thingCategories>
  7362. </value>
  7363. </li>
  7364. </operations>
  7365. </Operation>
  7366.  
  7367. <Operation Class="PatchOperationSequence">
  7368. <success>Always</success>
  7369. <operations>
  7370. <li Class="PatchOperationTest">
  7371. <xpath>/ThingDef[defName = "MAC_Apparel_Rein_PlasticVest"]</xpath>
  7372. <success>Invert</success>
  7373. </li>
  7374. <li Class="PatchOperationReplace">
  7375. <xpath>*/ThingDef[defName = "MAC_Apparel_Rein_PlasticVest"]/thingCategories/li/text()</xpath>
  7376. <value>
  7377. <thingCategories>Body_Armor</thingCategories>
  7378. </value>
  7379. </li>
  7380. </operations>
  7381. </Operation>
  7382.  
  7383. <Operation Class="PatchOperationSequence">
  7384. <success>Always</success>
  7385. <operations>
  7386. <li Class="PatchOperationTest">
  7387. <xpath>/ThingDef[defName = "MAC_Apparel_Adv_PlasticArmor"]</xpath>
  7388. <success>Invert</success>
  7389. </li>
  7390. <li Class="PatchOperationReplace">
  7391. <xpath>*/ThingDef[defName = "MAC_Apparel_Adv_PlasticArmor"]/thingCategories/li/text()</xpath>
  7392. <value>
  7393. <thingCategories>Body_Armor</thingCategories>
  7394. </value>
  7395. </li>
  7396. </operations>
  7397. </Operation>
  7398.  
  7399. </Patch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement