CM3.cs 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. using System;
  2. using System.Collections.Generic;
  3. public static class CM3
  4. {
  5. public static void Init()
  6. {
  7. if (PluginData.IsEnabled("GP001FB"))
  8. {
  9. CM3.dicDelItem.Add(MPN.matsuge_low, "_i_eyelashesunder_del.menu");
  10. CM3.dicDelItem.Add(MPN.futae, "_i_eyelid_del.menu");
  11. CM3.dicDelItem.Add(MPN.folder_matsuge_low, "_i_eyelashesunder_del_folder.menu");
  12. CM3.dicDelItem.Add(MPN.folder_futae, "_i_eyelid_del_folder.menu");
  13. }
  14. }
  15. public static Dictionary<MPN, string> dicDelItem = new Dictionary<MPN, string>
  16. {
  17. {
  18. MPN.hairt,
  19. "_I_hairt_del.menu"
  20. },
  21. {
  22. MPN.hairs,
  23. "_I_hairs_del.menu"
  24. },
  25. {
  26. MPN.acctatoo,
  27. "_I_acctatoo_del.menu"
  28. },
  29. {
  30. MPN.accnail,
  31. "_I_accnail_del.menu"
  32. },
  33. {
  34. MPN.underhair,
  35. "_I_underhair_del.menu"
  36. },
  37. {
  38. MPN.hokuro,
  39. "_I_hokuro_del.menu"
  40. },
  41. {
  42. MPN.lip,
  43. "_I_lip_del.menu"
  44. },
  45. {
  46. MPN.wear,
  47. "_I_wear_del.menu"
  48. },
  49. {
  50. MPN.skirt,
  51. "_I_skirt_del.menu"
  52. },
  53. {
  54. MPN.mizugi,
  55. "_I_mizugi_del.menu"
  56. },
  57. {
  58. MPN.bra,
  59. "_I_bra_del.menu"
  60. },
  61. {
  62. MPN.panz,
  63. "_I_panz_del.menu"
  64. },
  65. {
  66. MPN.stkg,
  67. "_I_stkg_del.menu"
  68. },
  69. {
  70. MPN.shoes,
  71. "_I_shoes_del.menu"
  72. },
  73. {
  74. MPN.headset,
  75. "_I_headset_del.menu"
  76. },
  77. {
  78. MPN.glove,
  79. "_I_glove_del.menu"
  80. },
  81. {
  82. MPN.acchead,
  83. "_I_acchead_del.menu"
  84. },
  85. {
  86. MPN.hairaho,
  87. "_I_hairaho_del.menu"
  88. },
  89. {
  90. MPN.accha,
  91. "_I_accha_del.menu"
  92. },
  93. {
  94. MPN.acchana,
  95. "_I_acchana_del.menu"
  96. },
  97. {
  98. MPN.acckamisub,
  99. "_I_acckamisub_del.menu"
  100. },
  101. {
  102. MPN.acckami,
  103. "_I_acckami_del.menu"
  104. },
  105. {
  106. MPN.accmimi,
  107. "_I_accmimi_del.menu"
  108. },
  109. {
  110. MPN.accnip,
  111. "_I_accnip_del.menu"
  112. },
  113. {
  114. MPN.acckubi,
  115. "_I_acckubi_del.menu"
  116. },
  117. {
  118. MPN.acckubiwa,
  119. "_I_acckubiwa_del.menu"
  120. },
  121. {
  122. MPN.accheso,
  123. "_I_accheso_del.menu"
  124. },
  125. {
  126. MPN.accude,
  127. "_I_accude_del.menu"
  128. },
  129. {
  130. MPN.accashi,
  131. "_I_accashi_del.menu"
  132. },
  133. {
  134. MPN.accsenaka,
  135. "_I_accsenaka_del.menu"
  136. },
  137. {
  138. MPN.accshippo,
  139. "_I_accshippo_del.menu"
  140. },
  141. {
  142. MPN.accanl,
  143. "_I_accanl_del.menu"
  144. },
  145. {
  146. MPN.accvag,
  147. "_I_accvag_del.menu"
  148. },
  149. {
  150. MPN.megane,
  151. "_I_megane_del.menu"
  152. },
  153. {
  154. MPN.accxxx,
  155. "_I_accxxx_del.menu"
  156. },
  157. {
  158. MPN.handitem,
  159. "_I_handitem_del.menu"
  160. },
  161. {
  162. MPN.acchat,
  163. "_I_acchat_del.menu"
  164. },
  165. {
  166. MPN.onepiece,
  167. "_I_onepiece_del.menu"
  168. },
  169. {
  170. MPN.folder_underhair,
  171. "_I_underhair_folder_del.menu"
  172. },
  173. {
  174. MPN.kousoku_upper,
  175. "_I_KousokuU_del.menu"
  176. },
  177. {
  178. MPN.kousoku_lower,
  179. "_I_KousokuL_del.menu"
  180. },
  181. {
  182. MPN.seieki_naka,
  183. string.Empty
  184. },
  185. {
  186. MPN.seieki_hara,
  187. string.Empty
  188. },
  189. {
  190. MPN.seieki_face,
  191. string.Empty
  192. },
  193. {
  194. MPN.seieki_mune,
  195. string.Empty
  196. },
  197. {
  198. MPN.seieki_hip,
  199. string.Empty
  200. },
  201. {
  202. MPN.seieki_ude,
  203. string.Empty
  204. },
  205. {
  206. MPN.seieki_ashi,
  207. string.Empty
  208. }
  209. };
  210. public static Dictionary<string, string> newManBodyMenuSwap = new Dictionary<string, string>
  211. {
  212. {
  213. "mbody_moza_i_.menu",
  214. "crc_mbluebody_moza_i_.menu"
  215. },
  216. {
  217. "mbody_i_.menu",
  218. "crc_mbluebody001_i_.menu"
  219. },
  220. {
  221. "mbody001_i_.menu",
  222. "crc_mbluebody002_i_.menu"
  223. },
  224. {
  225. "mbody002_i_.menu",
  226. "crc_mbluebody003_i_.menu"
  227. },
  228. {
  229. "mbody003_i_.menu",
  230. "crc_mbluebody004_i_.menu"
  231. },
  232. {
  233. "mbody004_i_.menu",
  234. "crc_mbluebody005_i_.menu"
  235. },
  236. {
  237. "mbody005_i_.menu",
  238. "crc_mbluebody006_i_.menu"
  239. },
  240. {
  241. "mbody006_i_.menu",
  242. "crc_mbluebody007_i_.menu"
  243. },
  244. {
  245. "mhead000_i_.menu",
  246. "crc_mhead000_i_.menu"
  247. },
  248. {
  249. "mhead001_i_.menu",
  250. "crc_mhead001_i_.menu"
  251. },
  252. {
  253. "mhead002_i_.menu",
  254. "crc_mhead002_i_.menu"
  255. },
  256. {
  257. "mhead003_i_.menu",
  258. "crc_mhead003_i_.menu"
  259. },
  260. {
  261. "mhead004_i_.menu",
  262. "crc_mhead004_i_.menu"
  263. },
  264. {
  265. "mhead007_i_.menu",
  266. "crc_mhead007_i_.menu"
  267. },
  268. {
  269. "mhead008_i_.menu",
  270. "crc_mhead008_i_.menu"
  271. },
  272. {
  273. "mhead009_i_.menu",
  274. "crc_mhead009_i_.menu"
  275. },
  276. {
  277. "mhead010_i_.menu",
  278. "crc_mhead010_i_.menu"
  279. }
  280. };
  281. public static Dictionary<MPN, KeyValuePair<int, int>> newManParaPairs = new Dictionary<MPN, KeyValuePair<int, int>>
  282. {
  283. {
  284. MPN.Hara,
  285. new KeyValuePair<int, int>(0, 100)
  286. },
  287. {
  288. MPN.DouThick1X,
  289. new KeyValuePair<int, int>(45, 100)
  290. },
  291. {
  292. MPN.DouThick1Y,
  293. new KeyValuePair<int, int>(10, 100)
  294. },
  295. {
  296. MPN.DouThick2X,
  297. new KeyValuePair<int, int>(45, 100)
  298. },
  299. {
  300. MPN.DouThick2Y,
  301. new KeyValuePair<int, int>(30, 100)
  302. },
  303. {
  304. MPN.DouThick3X,
  305. new KeyValuePair<int, int>(45, 80)
  306. },
  307. {
  308. MPN.DouThick3Y,
  309. new KeyValuePair<int, int>(30, 90)
  310. },
  311. {
  312. MPN.UpperArmThickX,
  313. new KeyValuePair<int, int>(30, 100)
  314. },
  315. {
  316. MPN.UpperArmThickY,
  317. new KeyValuePair<int, int>(30, 100)
  318. },
  319. {
  320. MPN.LowerArmThickX,
  321. new KeyValuePair<int, int>(30, 100)
  322. },
  323. {
  324. MPN.LowerArmThickY,
  325. new KeyValuePair<int, int>(30, 100)
  326. },
  327. {
  328. MPN.ElbowThickX,
  329. new KeyValuePair<int, int>(30, 100)
  330. },
  331. {
  332. MPN.ElbowThickY,
  333. new KeyValuePair<int, int>(30, 100)
  334. },
  335. {
  336. MPN.NeckThickX,
  337. new KeyValuePair<int, int>(40, 80)
  338. },
  339. {
  340. MPN.NeckThickY,
  341. new KeyValuePair<int, int>(40, 80)
  342. },
  343. {
  344. MPN.DouThick4X,
  345. new KeyValuePair<int, int>(40, 100)
  346. },
  347. {
  348. MPN.DouThick4Y,
  349. new KeyValuePair<int, int>(40, 100)
  350. },
  351. {
  352. MPN.DouThick5X,
  353. new KeyValuePair<int, int>(45, 90)
  354. },
  355. {
  356. MPN.DouThick5Y,
  357. new KeyValuePair<int, int>(45, 100)
  358. },
  359. {
  360. MPN.HipSize,
  361. new KeyValuePair<int, int>(0, 50)
  362. },
  363. {
  364. MPN.ThighThickX,
  365. new KeyValuePair<int, int>(40, 100)
  366. },
  367. {
  368. MPN.ThighThickY,
  369. new KeyValuePair<int, int>(40, 100)
  370. },
  371. {
  372. MPN.KneeThickX,
  373. new KeyValuePair<int, int>(40, 100)
  374. },
  375. {
  376. MPN.KneeThickY,
  377. new KeyValuePair<int, int>(40, 100)
  378. },
  379. {
  380. MPN.CalfThickX,
  381. new KeyValuePair<int, int>(40, 90)
  382. },
  383. {
  384. MPN.CalfThickY,
  385. new KeyValuePair<int, int>(40, 90)
  386. },
  387. {
  388. MPN.AnkleThickX,
  389. new KeyValuePair<int, int>(50, 100)
  390. },
  391. {
  392. MPN.AnkleThickY,
  393. new KeyValuePair<int, int>(50, 100)
  394. },
  395. {
  396. MPN.UpperArmLowerThickX,
  397. new KeyValuePair<int, int>(30, 100)
  398. },
  399. {
  400. MPN.UpperArmLowerThickY,
  401. new KeyValuePair<int, int>(30, 100)
  402. },
  403. {
  404. MPN.WristThickX,
  405. new KeyValuePair<int, int>(40, 100)
  406. },
  407. {
  408. MPN.WristThickY,
  409. new KeyValuePair<int, int>(40, 100)
  410. },
  411. {
  412. MPN.ClavicleThick,
  413. new KeyValuePair<int, int>(30, 100)
  414. },
  415. {
  416. MPN.ShoulderTension,
  417. new KeyValuePair<int, int>(0, 50)
  418. },
  419. {
  420. MPN.ThighLowerThickX,
  421. new KeyValuePair<int, int>(40, 100)
  422. },
  423. {
  424. MPN.ThighLowerThickY,
  425. new KeyValuePair<int, int>(40, 100)
  426. }
  427. };
  428. public static Dictionary<TBody.MaskMode, HashSet<TBody.SlotID>> newBodyPartsMask = new Dictionary<TBody.MaskMode, HashSet<TBody.SlotID>>
  429. {
  430. {
  431. TBody.MaskMode.None,
  432. new HashSet<TBody.SlotID>()
  433. },
  434. {
  435. TBody.MaskMode.Nude,
  436. new HashSet<TBody.SlotID>
  437. {
  438. TBody.SlotID.wear,
  439. TBody.SlotID.skirt,
  440. TBody.SlotID.onepiece,
  441. TBody.SlotID.mizugi_top,
  442. TBody.SlotID.mizugi_buttom,
  443. TBody.SlotID.mizugi,
  444. TBody.SlotID.stkg,
  445. TBody.SlotID.glove,
  446. TBody.SlotID.shoes,
  447. TBody.SlotID.accKubi,
  448. TBody.SlotID.accKoshi,
  449. TBody.SlotID.accUde,
  450. TBody.SlotID.accUde_2,
  451. TBody.SlotID.accHeso,
  452. TBody.SlotID.accAshi,
  453. TBody.SlotID.accAshi_2,
  454. TBody.SlotID.accSenaka,
  455. TBody.SlotID.bra,
  456. TBody.SlotID.panz,
  457. TBody.SlotID.slip,
  458. TBody.SlotID.stkg
  459. }
  460. },
  461. {
  462. TBody.MaskMode.Underwear,
  463. new HashSet<TBody.SlotID>
  464. {
  465. TBody.SlotID.wear,
  466. TBody.SlotID.skirt,
  467. TBody.SlotID.onepiece,
  468. TBody.SlotID.mizugi_top,
  469. TBody.SlotID.mizugi_buttom,
  470. TBody.SlotID.mizugi,
  471. TBody.SlotID.stkg,
  472. TBody.SlotID.glove,
  473. TBody.SlotID.shoes
  474. }
  475. },
  476. {
  477. TBody.MaskMode.Swim,
  478. new HashSet<TBody.SlotID>
  479. {
  480. TBody.SlotID.wear,
  481. TBody.SlotID.skirt,
  482. TBody.SlotID.onepiece,
  483. TBody.SlotID.stkg,
  484. TBody.SlotID.glove,
  485. TBody.SlotID.shoes,
  486. TBody.SlotID.bra,
  487. TBody.SlotID.panz,
  488. TBody.SlotID.slip,
  489. TBody.SlotID.stkg
  490. }
  491. }
  492. };
  493. }