Advertisement
Thunder-Menu

Cyberpunk2077 Weapons

Dec 24th, 2020 (edited)
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 472.36 KB | None | 0 0
  1. if (ImGui::TreeNode("Grenades")) {
  2. if (ImGui::Button("GrenadeBiohazardHoming")) {
  3. std::string doublequote = "\"";
  4. std::string power = "Game.AddToInventory(" + doublequote;
  5. std::string ofdark = "Items.GrenadeBiohazardHoming" + doublequote;
  6. std::string ofdarkside = power + ofdark;
  7. std::string powerof = ofdarkside + ", 1)";
  8. char* commandline = new char[powerof.length() + 1];
  9. strcpy(commandline, powerof.c_str());
  10. Scripting::Get().ExecuteLua(commandline);
  11. std::memset(commandline, 0, sizeof(commandline));
  12. }
  13. if (ImGui::Button("GrenadeBiohazardRegular")) {
  14. std::string doublequote = "\"";
  15. std::string power = "Game.AddToInventory(" + doublequote;
  16. std::string ofdark = "Items.GrenadeBiohazardRegular" + doublequote;
  17. std::string ofdarkside = power + ofdark;
  18. std::string powerof = ofdarkside + ", 1)";
  19. char* commandline = new char[powerof.length() + 1];
  20. strcpy(commandline, powerof.c_str());
  21. Scripting::Get().ExecuteLua(commandline);
  22. std::memset(commandline, 0, sizeof(commandline));
  23. }
  24. if (ImGui::Button("GrenadeCuttingRegular")) {
  25. std::string doublequote = "\"";
  26. std::string power = "Game.AddToInventory(" + doublequote;
  27. std::string ofdark = "Items.GrenadeCuttingRegular" + doublequote;
  28. std::string ofdarkside = power + ofdark;
  29. std::string powerof = ofdarkside + ", 1)";
  30. char* commandline = new char[powerof.length() + 1];
  31. strcpy(commandline, powerof.c_str());
  32. Scripting::Get().ExecuteLua(commandline);
  33. std::memset(commandline, 0, sizeof(commandline));
  34. }
  35. if (ImGui::Button("GrenadeEMPHoming")) {
  36. std::string doublequote = "\"";
  37. std::string power = "Game.AddToInventory(" + doublequote;
  38. std::string ofdark = "Items.GrenadeEMPHoming" + doublequote;
  39. std::string ofdarkside = power + ofdark;
  40. std::string powerof = ofdarkside + ", 1)";
  41. char* commandline = new char[powerof.length() + 1];
  42. strcpy(commandline, powerof.c_str());
  43. Scripting::Get().ExecuteLua(commandline);
  44. std::memset(commandline, 0, sizeof(commandline));
  45. }
  46. if (ImGui::Button("GrenadeEMPRegular")) {
  47. std::string doublequote = "\"";
  48. std::string power = "Game.AddToInventory(" + doublequote;
  49. std::string ofdark = "Items.GrenadeEMPRegular" + doublequote;
  50. std::string ofdarkside = power + ofdark;
  51. std::string powerof = ofdarkside + ", 1)";
  52. char* commandline = new char[powerof.length() + 1];
  53. strcpy(commandline, powerof.c_str());
  54. Scripting::Get().ExecuteLua(commandline);
  55. std::memset(commandline, 0, sizeof(commandline));
  56. }
  57. if (ImGui::Button("GrenadeEMPSticky")) {
  58. std::string doublequote = "\"";
  59. std::string power = "Game.AddToInventory(" + doublequote;
  60. std::string ofdark = "Items.GrenadeEMPSticky" + doublequote;
  61. std::string ofdarkside = power + ofdark;
  62. std::string powerof = ofdarkside + ", 1)";
  63. char* commandline = new char[powerof.length() + 1];
  64. strcpy(commandline, powerof.c_str());
  65. Scripting::Get().ExecuteLua(commandline);
  66. std::memset(commandline, 0, sizeof(commandline));
  67. }
  68. if (ImGui::Button("GrenadeFlashHoming")) {
  69. std::string doublequote = "\"";
  70. std::string power = "Game.AddToInventory(" + doublequote;
  71. std::string ofdark = "Items.GrenadeFlashHoming" + doublequote;
  72. std::string ofdarkside = power + ofdark;
  73. std::string powerof = ofdarkside + ", 1)";
  74. char* commandline = new char[powerof.length() + 1];
  75. strcpy(commandline, powerof.c_str());
  76. Scripting::Get().ExecuteLua(commandline);
  77. std::memset(commandline, 0, sizeof(commandline));
  78. }
  79. if (ImGui::Button("GrenadeFlashRegular")) {
  80. std::string doublequote = "\"";
  81. std::string power = "Game.AddToInventory(" + doublequote;
  82. std::string ofdark = "Items.GrenadeFlashRegular" + doublequote;
  83. std::string ofdarkside = power + ofdark;
  84. std::string powerof = ofdarkside + ", 1)";
  85. char* commandline = new char[powerof.length() + 1];
  86. strcpy(commandline, powerof.c_str());
  87. Scripting::Get().ExecuteLua(commandline);
  88. std::memset(commandline, 0, sizeof(commandline));
  89. }
  90. if (ImGui::Button("GrenadeFragHoming")) {
  91. std::string doublequote = "\"";
  92. std::string power = "Game.AddToInventory(" + doublequote;
  93. std::string ofdark = "Items.GrenadeFragHoming" + doublequote;
  94. std::string ofdarkside = power + ofdark;
  95. std::string powerof = ofdarkside + ", 1)";
  96. char* commandline = new char[powerof.length() + 1];
  97. strcpy(commandline, powerof.c_str());
  98. Scripting::Get().ExecuteLua(commandline);
  99. std::memset(commandline, 0, sizeof(commandline));
  100. }
  101. if (ImGui::Button("GrenadeFragRegular")) {
  102. std::string doublequote = "\"";
  103. std::string power = "Game.AddToInventory(" + doublequote;
  104. std::string ofdark = "Items.GrenadeFragRegular" + doublequote;
  105. std::string ofdarkside = power + ofdark;
  106. std::string powerof = ofdarkside + ", 1)";
  107. char* commandline = new char[powerof.length() + 1];
  108. strcpy(commandline, powerof.c_str());
  109. Scripting::Get().ExecuteLua(commandline);
  110. std::memset(commandline, 0, sizeof(commandline));
  111. }
  112. if (ImGui::Button("GrenadeFragSticky")) {
  113. std::string doublequote = "\"";
  114. std::string power = "Game.AddToInventory(" + doublequote;
  115. std::string ofdark = "Items.GrenadeFragSticky" + doublequote;
  116. std::string ofdarkside = power + ofdark;
  117. std::string powerof = ofdarkside + ", 1)";
  118. char* commandline = new char[powerof.length() + 1];
  119. strcpy(commandline, powerof.c_str());
  120. Scripting::Get().ExecuteLua(commandline);
  121. std::memset(commandline, 0, sizeof(commandline));
  122. }
  123. if (ImGui::Button("GrenadeIncendiaryHoming")) {
  124. std::string doublequote = "\"";
  125. std::string power = "Game.AddToInventory(" + doublequote;
  126. std::string ofdark = "Items.GrenadeIncendiaryHoming" + doublequote;
  127. std::string ofdarkside = power + ofdark;
  128. std::string powerof = ofdarkside + ", 1)";
  129. char* commandline = new char[powerof.length() + 1];
  130. strcpy(commandline, powerof.c_str());
  131. Scripting::Get().ExecuteLua(commandline);
  132. std::memset(commandline, 0, sizeof(commandline));
  133. }
  134. if (ImGui::Button("GrenadeIncendiaryRegular")) {
  135. std::string doublequote = "\"";
  136. std::string power = "Game.AddToInventory(" + doublequote;
  137. std::string ofdark = "Items.GrenadeIncendiaryRegular" + doublequote;
  138. std::string ofdarkside = power + ofdark;
  139. std::string powerof = ofdarkside + ", 1)";
  140. char* commandline = new char[powerof.length() + 1];
  141. strcpy(commandline, powerof.c_str());
  142. Scripting::Get().ExecuteLua(commandline);
  143. std::memset(commandline, 0, sizeof(commandline));
  144. }
  145. if (ImGui::Button("GrenadeIncendiarySticky")) {
  146. std::string doublequote = "\"";
  147. std::string power = "Game.AddToInventory(" + doublequote;
  148. std::string ofdark = "Items.GrenadeIncendiarySticky" + doublequote;
  149. std::string ofdarkside = power + ofdark;
  150. std::string powerof = ofdarkside + ", 1)";
  151. char* commandline = new char[powerof.length() + 1];
  152. strcpy(commandline, powerof.c_str());
  153. Scripting::Get().ExecuteLua(commandline);
  154. std::memset(commandline, 0, sizeof(commandline));
  155. }
  156. if (ImGui::Button("GrenadeReconRegular")) {
  157. std::string doublequote = "\"";
  158. std::string power = "Game.AddToInventory(" + doublequote;
  159. std::string ofdark = "Items.GrenadeReconRegular" + doublequote;
  160. std::string ofdarkside = power + ofdark;
  161. std::string powerof = ofdarkside + ", 1)";
  162. char* commandline = new char[powerof.length() + 1];
  163. strcpy(commandline, powerof.c_str());
  164. Scripting::Get().ExecuteLua(commandline);
  165. std::memset(commandline, 0, sizeof(commandline));
  166. }
  167. if (ImGui::Button("GrenadeReconSticky")) {
  168. std::string doublequote = "\"";
  169. std::string power = "Game.AddToInventory(" + doublequote;
  170. std::string ofdark = "Items.GrenadeReconSticky" + doublequote;
  171. std::string ofdarkside = power + ofdark;
  172. std::string powerof = ofdarkside + ", 1)";
  173. char* commandline = new char[powerof.length() + 1];
  174. strcpy(commandline, powerof.c_str());
  175. Scripting::Get().ExecuteLua(commandline);
  176. std::memset(commandline, 0, sizeof(commandline));
  177. }
  178. ImGui::TreePop();
  179. }
  180. if (ImGui::TreeNode("Junk")) {
  181. if (ImGui::Button("AnimalsJunkItem2")) {
  182. std::string doublequote = "\"";
  183. std::string power = "Game.AddToInventory(" + doublequote;
  184. std::string ofdark = "Items.AnimalsJunkItem2" + doublequote;
  185. std::string ofdarkside = power + ofdark;
  186. std::string powerof = ofdarkside + ", 1)";
  187. char* commandline = new char[powerof.length() + 1];
  188. strcpy(commandline, powerof.c_str());
  189. Scripting::Get().ExecuteLua(commandline);
  190. std::memset(commandline, 0, sizeof(commandline));
  191. }
  192. if (ImGui::Button("AnimalsJunkItem3")) {
  193. std::string doublequote = "\"";
  194. std::string power = "Game.AddToInventory(" + doublequote;
  195. std::string ofdark = "Items.AnimalsJunkItem3" + doublequote;
  196. std::string ofdarkside = power + ofdark;
  197. std::string powerof = ofdarkside + ", 1)";
  198. char* commandline = new char[powerof.length() + 1];
  199. strcpy(commandline, powerof.c_str());
  200. Scripting::Get().ExecuteLua(commandline);
  201. std::memset(commandline, 0, sizeof(commandline));
  202. }
  203. if (ImGui::Button("CasinoJunkItem1")) {
  204. std::string doublequote = "\"";
  205. std::string power = "Game.AddToInventory(" + doublequote;
  206. std::string ofdark = "Items.CasinoJunkItem1" + doublequote;
  207. std::string ofdarkside = power + ofdark;
  208. std::string powerof = ofdarkside + ", 1)";
  209. char* commandline = new char[powerof.length() + 1];
  210. strcpy(commandline, powerof.c_str());
  211. Scripting::Get().ExecuteLua(commandline);
  212. std::memset(commandline, 0, sizeof(commandline));
  213. }
  214. if (ImGui::Button("CasinoJunkItem2")) {
  215. std::string doublequote = "\"";
  216. std::string power = "Game.AddToInventory(" + doublequote;
  217. std::string ofdark = "Items.CasinoJunkItem2" + doublequote;
  218. std::string ofdarkside = power + ofdark;
  219. std::string powerof = ofdarkside + ", 1)";
  220. char* commandline = new char[powerof.length() + 1];
  221. strcpy(commandline, powerof.c_str());
  222. Scripting::Get().ExecuteLua(commandline);
  223. std::memset(commandline, 0, sizeof(commandline));
  224. }
  225. if (ImGui::Button("CasinoJunkItem3")) {
  226. std::string doublequote = "\"";
  227. std::string power = "Game.AddToInventory(" + doublequote;
  228. std::string ofdark = "Items.CasinoJunkItem3" + doublequote;
  229. std::string ofdarkside = power + ofdark;
  230. std::string powerof = ofdarkside + ", 1)";
  231. char* commandline = new char[powerof.length() + 1];
  232. strcpy(commandline, powerof.c_str());
  233. Scripting::Get().ExecuteLua(commandline);
  234. std::memset(commandline, 0, sizeof(commandline));
  235. }
  236. if (ImGui::Button("CasinoPoorJunkItem1")) {
  237. std::string doublequote = "\"";
  238. std::string power = "Game.AddToInventory(" + doublequote;
  239. std::string ofdark = "Items.CasinoPoorJunkItem1" + doublequote;
  240. std::string ofdarkside = power + ofdark;
  241. std::string powerof = ofdarkside + ", 1)";
  242. char* commandline = new char[powerof.length() + 1];
  243. strcpy(commandline, powerof.c_str());
  244. Scripting::Get().ExecuteLua(commandline);
  245. std::memset(commandline, 0, sizeof(commandline));
  246. }
  247. if (ImGui::Button("CasinoPoorJunkItem2")) {
  248. std::string doublequote = "\"";
  249. std::string power = "Game.AddToInventory(" + doublequote;
  250. std::string ofdark = "Items.CasinoPoorJunkItem2" + doublequote;
  251. std::string ofdarkside = power + ofdark;
  252. std::string powerof = ofdarkside + ", 1)";
  253. char* commandline = new char[powerof.length() + 1];
  254. strcpy(commandline, powerof.c_str());
  255. Scripting::Get().ExecuteLua(commandline);
  256. std::memset(commandline, 0, sizeof(commandline));
  257. }
  258. if (ImGui::Button("CasinoPoorJunkItem3")) {
  259. std::string doublequote = "\"";
  260. std::string power = "Game.AddToInventory(" + doublequote;
  261. std::string ofdark = "Items.CasinoPoorJunkItem3" + doublequote;
  262. std::string ofdarkside = power + ofdark;
  263. std::string powerof = ofdarkside + ", 1)";
  264. char* commandline = new char[powerof.length() + 1];
  265. strcpy(commandline, powerof.c_str());
  266. Scripting::Get().ExecuteLua(commandline);
  267. std::memset(commandline, 0, sizeof(commandline));
  268. }
  269. if (ImGui::Button("CasinoRichJunkItem1")) {
  270. std::string doublequote = "\"";
  271. std::string power = "Game.AddToInventory(" + doublequote;
  272. std::string ofdark = "Items.CasinoRichJunkItem1" + doublequote;
  273. std::string ofdarkside = power + ofdark;
  274. std::string powerof = ofdarkside + ", 1)";
  275. char* commandline = new char[powerof.length() + 1];
  276. strcpy(commandline, powerof.c_str());
  277. Scripting::Get().ExecuteLua(commandline);
  278. std::memset(commandline, 0, sizeof(commandline));
  279. }
  280. if (ImGui::Button("CasinoRichJunkItem2")) {
  281. std::string doublequote = "\"";
  282. std::string power = "Game.AddToInventory(" + doublequote;
  283. std::string ofdark = "Items.CasinoRichJunkItem2" + doublequote;
  284. std::string ofdarkside = power + ofdark;
  285. std::string powerof = ofdarkside + ", 1)";
  286. char* commandline = new char[powerof.length() + 1];
  287. strcpy(commandline, powerof.c_str());
  288. Scripting::Get().ExecuteLua(commandline);
  289. std::memset(commandline, 0, sizeof(commandline));
  290. }
  291. if (ImGui::Button("CasinoRichJunkItem3")) {
  292. std::string doublequote = "\"";
  293. std::string power = "Game.AddToInventory(" + doublequote;
  294. std::string ofdark = "Items.CasinoRichJunkItem3" + doublequote;
  295. std::string ofdarkside = power + ofdark;
  296. std::string powerof = ofdarkside + ", 1)";
  297. char* commandline = new char[powerof.length() + 1];
  298. strcpy(commandline, powerof.c_str());
  299. Scripting::Get().ExecuteLua(commandline);
  300. std::memset(commandline, 0, sizeof(commandline));
  301. }
  302. if (ImGui::Button("GenericCorporationJunkItem1")) {
  303. std::string doublequote = "\"";
  304. std::string power = "Game.AddToInventory(" + doublequote;
  305. std::string ofdark = "Items.GenericCorporationJunkItem1" + doublequote;
  306. std::string ofdarkside = power + ofdark;
  307. std::string powerof = ofdarkside + ", 1)";
  308. char* commandline = new char[powerof.length() + 1];
  309. strcpy(commandline, powerof.c_str());
  310. Scripting::Get().ExecuteLua(commandline);
  311. std::memset(commandline, 0, sizeof(commandline));
  312. }
  313. if (ImGui::Button("GenericCorporationJunkItem2")) {
  314. std::string doublequote = "\"";
  315. std::string power = "Game.AddToInventory(" + doublequote;
  316. std::string ofdark = "Items.GenericCorporationJunkItem2" + doublequote;
  317. std::string ofdarkside = power + ofdark;
  318. std::string powerof = ofdarkside + ", 1)";
  319. char* commandline = new char[powerof.length() + 1];
  320. strcpy(commandline, powerof.c_str());
  321. Scripting::Get().ExecuteLua(commandline);
  322. std::memset(commandline, 0, sizeof(commandline));
  323. }
  324. if (ImGui::Button("GenericCorporationJunkItem3")) {
  325. std::string doublequote = "\"";
  326. std::string power = "Game.AddToInventory(" + doublequote;
  327. std::string ofdark = "Items.GenericCorporationJunkItem3" + doublequote;
  328. std::string ofdarkside = power + ofdark;
  329. std::string powerof = ofdarkside + ", 1)";
  330. char* commandline = new char[powerof.length() + 1];
  331. strcpy(commandline, powerof.c_str());
  332. Scripting::Get().ExecuteLua(commandline);
  333. std::memset(commandline, 0, sizeof(commandline));
  334. }
  335. if (ImGui::Button("GenericCorporationJunkItem4")) {
  336. std::string doublequote = "\"";
  337. std::string power = "Game.AddToInventory(" + doublequote;
  338. std::string ofdark = "Items.GenericCorporationJunkItem4" + doublequote;
  339. std::string ofdarkside = power + ofdark;
  340. std::string powerof = ofdarkside + ", 1)";
  341. char* commandline = new char[powerof.length() + 1];
  342. strcpy(commandline, powerof.c_str());
  343. Scripting::Get().ExecuteLua(commandline);
  344. std::memset(commandline, 0, sizeof(commandline));
  345. }
  346. if (ImGui::Button("GenericCorporationJunkItem5")) {
  347. std::string doublequote = "\"";
  348. std::string power = "Game.AddToInventory(" + doublequote;
  349. std::string ofdark = "Items.GenericCorporationJunkItem5" + doublequote;
  350. std::string ofdarkside = power + ofdark;
  351. std::string powerof = ofdarkside + ", 1)";
  352. char* commandline = new char[powerof.length() + 1];
  353. strcpy(commandline, powerof.c_str());
  354. Scripting::Get().ExecuteLua(commandline);
  355. std::memset(commandline, 0, sizeof(commandline));
  356. }
  357. if (ImGui::Button("GenericGangJunkItem1")) {
  358. std::string doublequote = "\"";
  359. std::string power = "Game.AddToInventory(" + doublequote;
  360. std::string ofdark = "Items.GenericGangJunkItem1" + doublequote;
  361. std::string ofdarkside = power + ofdark;
  362. std::string powerof = ofdarkside + ", 1)";
  363. char* commandline = new char[powerof.length() + 1];
  364. strcpy(commandline, powerof.c_str());
  365. Scripting::Get().ExecuteLua(commandline);
  366. std::memset(commandline, 0, sizeof(commandline));
  367. }
  368. if (ImGui::Button("GenericGangJunkItem2")) {
  369. std::string doublequote = "\"";
  370. std::string power = "Game.AddToInventory(" + doublequote;
  371. std::string ofdark = "Items.GenericGangJunkItem2" + doublequote;
  372. std::string ofdarkside = power + ofdark;
  373. std::string powerof = ofdarkside + ", 1)";
  374. char* commandline = new char[powerof.length() + 1];
  375. strcpy(commandline, powerof.c_str());
  376. Scripting::Get().ExecuteLua(commandline);
  377. std::memset(commandline, 0, sizeof(commandline));
  378. }
  379. if (ImGui::Button("GenericGangJunkItem3")) {
  380. std::string doublequote = "\"";
  381. std::string power = "Game.AddToInventory(" + doublequote;
  382. std::string ofdark = "Items.GenericGangJunkItem3" + doublequote;
  383. std::string ofdarkside = power + ofdark;
  384. std::string powerof = ofdarkside + ", 1)";
  385. char* commandline = new char[powerof.length() + 1];
  386. strcpy(commandline, powerof.c_str());
  387. Scripting::Get().ExecuteLua(commandline);
  388. std::memset(commandline, 0, sizeof(commandline));
  389. }
  390. if (ImGui::Button("GenericGangJunkItem4")) {
  391. std::string doublequote = "\"";
  392. std::string power = "Game.AddToInventory(" + doublequote;
  393. std::string ofdark = "Items.GenericGangJunkItem4" + doublequote;
  394. std::string ofdarkside = power + ofdark;
  395. std::string powerof = ofdarkside + ", 1)";
  396. char* commandline = new char[powerof.length() + 1];
  397. strcpy(commandline, powerof.c_str());
  398. Scripting::Get().ExecuteLua(commandline);
  399. std::memset(commandline, 0, sizeof(commandline));
  400. }
  401. if (ImGui::Button("GenericGangJunkItem5")) {
  402. std::string doublequote = "\"";
  403. std::string power = "Game.AddToInventory(" + doublequote;
  404. std::string ofdark = "Items.GenericGangJunkItem5" + doublequote;
  405. std::string ofdarkside = power + ofdark;
  406. std::string powerof = ofdarkside + ", 1)";
  407. char* commandline = new char[powerof.length() + 1];
  408. strcpy(commandline, powerof.c_str());
  409. Scripting::Get().ExecuteLua(commandline);
  410. std::memset(commandline, 0, sizeof(commandline));
  411. }
  412. if (ImGui::Button("GenericJunkItem1")) {
  413. std::string doublequote = "\"";
  414. std::string power = "Game.AddToInventory(" + doublequote;
  415. std::string ofdark = "Items.GenericJunkItem1" + doublequote;
  416. std::string ofdarkside = power + ofdark;
  417. std::string powerof = ofdarkside + ", 1)";
  418. char* commandline = new char[powerof.length() + 1];
  419. strcpy(commandline, powerof.c_str());
  420. Scripting::Get().ExecuteLua(commandline);
  421. std::memset(commandline, 0, sizeof(commandline));
  422. }
  423. if (ImGui::Button("GenericJunkItem10")) {
  424. std::string doublequote = "\"";
  425. std::string power = "Game.AddToInventory(" + doublequote;
  426. std::string ofdark = "Items.GenericJunkItem10" + doublequote;
  427. std::string ofdarkside = power + ofdark;
  428. std::string powerof = ofdarkside + ", 1)";
  429. char* commandline = new char[powerof.length() + 1];
  430. strcpy(commandline, powerof.c_str());
  431. Scripting::Get().ExecuteLua(commandline);
  432. std::memset(commandline, 0, sizeof(commandline));
  433. }
  434. if (ImGui::Button("GenericJunkItem11")) {
  435. std::string doublequote = "\"";
  436. std::string power = "Game.AddToInventory(" + doublequote;
  437. std::string ofdark = "Items.GenericJunkItem11" + doublequote;
  438. std::string ofdarkside = power + ofdark;
  439. std::string powerof = ofdarkside + ", 1)";
  440. char* commandline = new char[powerof.length() + 1];
  441. strcpy(commandline, powerof.c_str());
  442. Scripting::Get().ExecuteLua(commandline);
  443. std::memset(commandline, 0, sizeof(commandline));
  444. }
  445. if (ImGui::Button("GenericJunkItem12")) {
  446. std::string doublequote = "\"";
  447. std::string power = "Game.AddToInventory(" + doublequote;
  448. std::string ofdark = "Items.GenericJunkItem12" + doublequote;
  449. std::string ofdarkside = power + ofdark;
  450. std::string powerof = ofdarkside + ", 1)";
  451. char* commandline = new char[powerof.length() + 1];
  452. strcpy(commandline, powerof.c_str());
  453. Scripting::Get().ExecuteLua(commandline);
  454. std::memset(commandline, 0, sizeof(commandline));
  455. }
  456. if (ImGui::Button("GenericJunkItem13")) {
  457. std::string doublequote = "\"";
  458. std::string power = "Game.AddToInventory(" + doublequote;
  459. std::string ofdark = "Items.GenericJunkItem13" + doublequote;
  460. std::string ofdarkside = power + ofdark;
  461. std::string powerof = ofdarkside + ", 1)";
  462. char* commandline = new char[powerof.length() + 1];
  463. strcpy(commandline, powerof.c_str());
  464. Scripting::Get().ExecuteLua(commandline);
  465. std::memset(commandline, 0, sizeof(commandline));
  466. }
  467. if (ImGui::Button("GenericJunkItem14")) {
  468. std::string doublequote = "\"";
  469. std::string power = "Game.AddToInventory(" + doublequote;
  470. std::string ofdark = "Items.GenericJunkItem14" + doublequote;
  471. std::string ofdarkside = power + ofdark;
  472. std::string powerof = ofdarkside + ", 1)";
  473. char* commandline = new char[powerof.length() + 1];
  474. strcpy(commandline, powerof.c_str());
  475. Scripting::Get().ExecuteLua(commandline);
  476. std::memset(commandline, 0, sizeof(commandline));
  477. }
  478. if (ImGui::Button("GenericJunkItem15")) {
  479. std::string doublequote = "\"";
  480. std::string power = "Game.AddToInventory(" + doublequote;
  481. std::string ofdark = "Items.GenericJunkItem15" + doublequote;
  482. std::string ofdarkside = power + ofdark;
  483. std::string powerof = ofdarkside + ", 1)";
  484. char* commandline = new char[powerof.length() + 1];
  485. strcpy(commandline, powerof.c_str());
  486. Scripting::Get().ExecuteLua(commandline);
  487. std::memset(commandline, 0, sizeof(commandline));
  488. }
  489. if (ImGui::Button("GenericJunkItem16")) {
  490. std::string doublequote = "\"";
  491. std::string power = "Game.AddToInventory(" + doublequote;
  492. std::string ofdark = "Items.GenericJunkItem16" + doublequote;
  493. std::string ofdarkside = power + ofdark;
  494. std::string powerof = ofdarkside + ", 1)";
  495. char* commandline = new char[powerof.length() + 1];
  496. strcpy(commandline, powerof.c_str());
  497. Scripting::Get().ExecuteLua(commandline);
  498. std::memset(commandline, 0, sizeof(commandline));
  499. }
  500. if (ImGui::Button("GenericJunkItem17")) {
  501. std::string doublequote = "\"";
  502. std::string power = "Game.AddToInventory(" + doublequote;
  503. std::string ofdark = "Items.GenericJunkItem17" + doublequote;
  504. std::string ofdarkside = power + ofdark;
  505. std::string powerof = ofdarkside + ", 1)";
  506. char* commandline = new char[powerof.length() + 1];
  507. strcpy(commandline, powerof.c_str());
  508. Scripting::Get().ExecuteLua(commandline);
  509. std::memset(commandline, 0, sizeof(commandline));
  510. }
  511. if (ImGui::Button("GenericJunkItem18")) {
  512. std::string doublequote = "\"";
  513. std::string power = "Game.AddToInventory(" + doublequote;
  514. std::string ofdark = "Items.GenericJunkItem18" + doublequote;
  515. std::string ofdarkside = power + ofdark;
  516. std::string powerof = ofdarkside + ", 1)";
  517. char* commandline = new char[powerof.length() + 1];
  518. strcpy(commandline, powerof.c_str());
  519. Scripting::Get().ExecuteLua(commandline);
  520. std::memset(commandline, 0, sizeof(commandline));
  521. }
  522. if (ImGui::Button("GenericJunkItem19")) {
  523. std::string doublequote = "\"";
  524. std::string power = "Game.AddToInventory(" + doublequote;
  525. std::string ofdark = "Items.GenericJunkItem19" + doublequote;
  526. std::string ofdarkside = power + ofdark;
  527. std::string powerof = ofdarkside + ", 1)";
  528. char* commandline = new char[powerof.length() + 1];
  529. strcpy(commandline, powerof.c_str());
  530. Scripting::Get().ExecuteLua(commandline);
  531. std::memset(commandline, 0, sizeof(commandline));
  532. }
  533. if (ImGui::Button("GenericJunkItem2")) {
  534. std::string doublequote = "\"";
  535. std::string power = "Game.AddToInventory(" + doublequote;
  536. std::string ofdark = "Items.GenericJunkItem2" + doublequote;
  537. std::string ofdarkside = power + ofdark;
  538. std::string powerof = ofdarkside + ", 1)";
  539. char* commandline = new char[powerof.length() + 1];
  540. strcpy(commandline, powerof.c_str());
  541. Scripting::Get().ExecuteLua(commandline);
  542. std::memset(commandline, 0, sizeof(commandline));
  543. }
  544. if (ImGui::Button("GenericJunkItem20")) {
  545. std::string doublequote = "\"";
  546. std::string power = "Game.AddToInventory(" + doublequote;
  547. std::string ofdark = "Items.GenericJunkItem20" + doublequote;
  548. std::string ofdarkside = power + ofdark;
  549. std::string powerof = ofdarkside + ", 1)";
  550. char* commandline = new char[powerof.length() + 1];
  551. strcpy(commandline, powerof.c_str());
  552. Scripting::Get().ExecuteLua(commandline);
  553. std::memset(commandline, 0, sizeof(commandline));
  554. }
  555. if (ImGui::Button("GenericJunkItem21")) {
  556. std::string doublequote = "\"";
  557. std::string power = "Game.AddToInventory(" + doublequote;
  558. std::string ofdark = "Items.GenericJunkItem21" + doublequote;
  559. std::string ofdarkside = power + ofdark;
  560. std::string powerof = ofdarkside + ", 1)";
  561. char* commandline = new char[powerof.length() + 1];
  562. strcpy(commandline, powerof.c_str());
  563. Scripting::Get().ExecuteLua(commandline);
  564. std::memset(commandline, 0, sizeof(commandline));
  565. }
  566. if (ImGui::Button("GenericJunkItem22")) {
  567. std::string doublequote = "\"";
  568. std::string power = "Game.AddToInventory(" + doublequote;
  569. std::string ofdark = "Items.GenericJunkItem22" + doublequote;
  570. std::string ofdarkside = power + ofdark;
  571. std::string powerof = ofdarkside + ", 1)";
  572. char* commandline = new char[powerof.length() + 1];
  573. strcpy(commandline, powerof.c_str());
  574. Scripting::Get().ExecuteLua(commandline);
  575. std::memset(commandline, 0, sizeof(commandline));
  576. }
  577. if (ImGui::Button("GenericJunkItem23")) {
  578. std::string doublequote = "\"";
  579. std::string power = "Game.AddToInventory(" + doublequote;
  580. std::string ofdark = "Items.GenericJunkItem23" + doublequote;
  581. std::string ofdarkside = power + ofdark;
  582. std::string powerof = ofdarkside + ", 1)";
  583. char* commandline = new char[powerof.length() + 1];
  584. strcpy(commandline, powerof.c_str());
  585. Scripting::Get().ExecuteLua(commandline);
  586. std::memset(commandline, 0, sizeof(commandline));
  587. }
  588. if (ImGui::Button("GenericJunkItem24")) {
  589. std::string doublequote = "\"";
  590. std::string power = "Game.AddToInventory(" + doublequote;
  591. std::string ofdark = "Items.GenericJunkItem24" + doublequote;
  592. std::string ofdarkside = power + ofdark;
  593. std::string powerof = ofdarkside + ", 1)";
  594. char* commandline = new char[powerof.length() + 1];
  595. strcpy(commandline, powerof.c_str());
  596. Scripting::Get().ExecuteLua(commandline);
  597. std::memset(commandline, 0, sizeof(commandline));
  598. }
  599. if (ImGui::Button("GenericJunkItem25")) {
  600. std::string doublequote = "\"";
  601. std::string power = "Game.AddToInventory(" + doublequote;
  602. std::string ofdark = "Items.GenericJunkItem25" + doublequote;
  603. std::string ofdarkside = power + ofdark;
  604. std::string powerof = ofdarkside + ", 1)";
  605. char* commandline = new char[powerof.length() + 1];
  606. strcpy(commandline, powerof.c_str());
  607. Scripting::Get().ExecuteLua(commandline);
  608. std::memset(commandline, 0, sizeof(commandline));
  609. }
  610. if (ImGui::Button("GenericJunkItem26")) {
  611. std::string doublequote = "\"";
  612. std::string power = "Game.AddToInventory(" + doublequote;
  613. std::string ofdark = "Items.GenericJunkItem26" + doublequote;
  614. std::string ofdarkside = power + ofdark;
  615. std::string powerof = ofdarkside + ", 1)";
  616. char* commandline = new char[powerof.length() + 1];
  617. strcpy(commandline, powerof.c_str());
  618. Scripting::Get().ExecuteLua(commandline);
  619. std::memset(commandline, 0, sizeof(commandline));
  620. }
  621. if (ImGui::Button("GenericJunkItem27")) {
  622. std::string doublequote = "\"";
  623. std::string power = "Game.AddToInventory(" + doublequote;
  624. std::string ofdark = "Items.GenericJunkItem27" + doublequote;
  625. std::string ofdarkside = power + ofdark;
  626. std::string powerof = ofdarkside + ", 1)";
  627. char* commandline = new char[powerof.length() + 1];
  628. strcpy(commandline, powerof.c_str());
  629. Scripting::Get().ExecuteLua(commandline);
  630. std::memset(commandline, 0, sizeof(commandline));
  631. }
  632. if (ImGui::Button("GenericJunkItem28")) {
  633. std::string doublequote = "\"";
  634. std::string power = "Game.AddToInventory(" + doublequote;
  635. std::string ofdark = "Items.GenericJunkItem28" + doublequote;
  636. std::string ofdarkside = power + ofdark;
  637. std::string powerof = ofdarkside + ", 1)";
  638. char* commandline = new char[powerof.length() + 1];
  639. strcpy(commandline, powerof.c_str());
  640. Scripting::Get().ExecuteLua(commandline);
  641. std::memset(commandline, 0, sizeof(commandline));
  642. }
  643. if (ImGui::Button("GenericJunkItem29")) {
  644. std::string doublequote = "\"";
  645. std::string power = "Game.AddToInventory(" + doublequote;
  646. std::string ofdark = "Items.GenericJunkItem29" + doublequote;
  647. std::string ofdarkside = power + ofdark;
  648. std::string powerof = ofdarkside + ", 1)";
  649. char* commandline = new char[powerof.length() + 1];
  650. strcpy(commandline, powerof.c_str());
  651. Scripting::Get().ExecuteLua(commandline);
  652. std::memset(commandline, 0, sizeof(commandline));
  653. }
  654. if (ImGui::Button("GenericJunkItem3")) {
  655. std::string doublequote = "\"";
  656. std::string power = "Game.AddToInventory(" + doublequote;
  657. std::string ofdark = "Items.GenericJunkItem3" + doublequote;
  658. std::string ofdarkside = power + ofdark;
  659. std::string powerof = ofdarkside + ", 1)";
  660. char* commandline = new char[powerof.length() + 1];
  661. strcpy(commandline, powerof.c_str());
  662. Scripting::Get().ExecuteLua(commandline);
  663. std::memset(commandline, 0, sizeof(commandline));
  664. }
  665. if (ImGui::Button("GenericJunkItem30")) {
  666. std::string doublequote = "\"";
  667. std::string power = "Game.AddToInventory(" + doublequote;
  668. std::string ofdark = "Items.GenericJunkItem30" + doublequote;
  669. std::string ofdarkside = power + ofdark;
  670. std::string powerof = ofdarkside + ", 1)";
  671. char* commandline = new char[powerof.length() + 1];
  672. strcpy(commandline, powerof.c_str());
  673. Scripting::Get().ExecuteLua(commandline);
  674. std::memset(commandline, 0, sizeof(commandline));
  675. }
  676. if (ImGui::Button("GenericJunkItem4")) {
  677. std::string doublequote = "\"";
  678. std::string power = "Game.AddToInventory(" + doublequote;
  679. std::string ofdark = "Items.GenericJunkItem4" + doublequote;
  680. std::string ofdarkside = power + ofdark;
  681. std::string powerof = ofdarkside + ", 1)";
  682. char* commandline = new char[powerof.length() + 1];
  683. strcpy(commandline, powerof.c_str());
  684. Scripting::Get().ExecuteLua(commandline);
  685. std::memset(commandline, 0, sizeof(commandline));
  686. }
  687. if (ImGui::Button("GenericJunkItem5")) {
  688. std::string doublequote = "\"";
  689. std::string power = "Game.AddToInventory(" + doublequote;
  690. std::string ofdark = "Items.GenericJunkItem5" + doublequote;
  691. std::string ofdarkside = power + ofdark;
  692. std::string powerof = ofdarkside + ", 1)";
  693. char* commandline = new char[powerof.length() + 1];
  694. strcpy(commandline, powerof.c_str());
  695. Scripting::Get().ExecuteLua(commandline);
  696. std::memset(commandline, 0, sizeof(commandline));
  697. }
  698. if (ImGui::Button("GenericJunkItem6")) {
  699. std::string doublequote = "\"";
  700. std::string power = "Game.AddToInventory(" + doublequote;
  701. std::string ofdark = "Items.GenericJunkItem6" + doublequote;
  702. std::string ofdarkside = power + ofdark;
  703. std::string powerof = ofdarkside + ", 1)";
  704. char* commandline = new char[powerof.length() + 1];
  705. strcpy(commandline, powerof.c_str());
  706. Scripting::Get().ExecuteLua(commandline);
  707. std::memset(commandline, 0, sizeof(commandline));
  708. }
  709. if (ImGui::Button("GenericJunkItem7")) {
  710. std::string doublequote = "\"";
  711. std::string power = "Game.AddToInventory(" + doublequote;
  712. std::string ofdark = "Items.GenericJunkItem7" + doublequote;
  713. std::string ofdarkside = power + ofdark;
  714. std::string powerof = ofdarkside + ", 1)";
  715. char* commandline = new char[powerof.length() + 1];
  716. strcpy(commandline, powerof.c_str());
  717. Scripting::Get().ExecuteLua(commandline);
  718. std::memset(commandline, 0, sizeof(commandline));
  719. }
  720. if (ImGui::Button("GenericJunkItem8")) {
  721. std::string doublequote = "\"";
  722. std::string power = "Game.AddToInventory(" + doublequote;
  723. std::string ofdark = "Items.GenericJunkItem8" + doublequote;
  724. std::string ofdarkside = power + ofdark;
  725. std::string powerof = ofdarkside + ", 1)";
  726. char* commandline = new char[powerof.length() + 1];
  727. strcpy(commandline, powerof.c_str());
  728. Scripting::Get().ExecuteLua(commandline);
  729. std::memset(commandline, 0, sizeof(commandline));
  730. }
  731. if (ImGui::Button("GenericJunkItem9")) {
  732. std::string doublequote = "\"";
  733. std::string power = "Game.AddToInventory(" + doublequote;
  734. std::string ofdark = "Items.GenericJunkItem9" + doublequote;
  735. std::string ofdarkside = power + ofdark;
  736. std::string powerof = ofdarkside + ", 1)";
  737. char* commandline = new char[powerof.length() + 1];
  738. strcpy(commandline, powerof.c_str());
  739. Scripting::Get().ExecuteLua(commandline);
  740. std::memset(commandline, 0, sizeof(commandline));
  741. }
  742. if (ImGui::Button("GenericPoorJunkItem1")) {
  743. std::string doublequote = "\"";
  744. std::string power = "Game.AddToInventory(" + doublequote;
  745. std::string ofdark = "Items.GenericPoorJunkItem1" + doublequote;
  746. std::string ofdarkside = power + ofdark;
  747. std::string powerof = ofdarkside + ", 1)";
  748. char* commandline = new char[powerof.length() + 1];
  749. strcpy(commandline, powerof.c_str());
  750. Scripting::Get().ExecuteLua(commandline);
  751. std::memset(commandline, 0, sizeof(commandline));
  752. }
  753. if (ImGui::Button("GenericPoorJunkItem2")) {
  754. std::string doublequote = "\"";
  755. std::string power = "Game.AddToInventory(" + doublequote;
  756. std::string ofdark = "Items.GenericPoorJunkItem2" + doublequote;
  757. std::string ofdarkside = power + ofdark;
  758. std::string powerof = ofdarkside + ", 1)";
  759. char* commandline = new char[powerof.length() + 1];
  760. strcpy(commandline, powerof.c_str());
  761. Scripting::Get().ExecuteLua(commandline);
  762. std::memset(commandline, 0, sizeof(commandline));
  763. }
  764. if (ImGui::Button("GenericPoorJunkItem3")) {
  765. std::string doublequote = "\"";
  766. std::string power = "Game.AddToInventory(" + doublequote;
  767. std::string ofdark = "Items.GenericPoorJunkItem3" + doublequote;
  768. std::string ofdarkside = power + ofdark;
  769. std::string powerof = ofdarkside + ", 1)";
  770. char* commandline = new char[powerof.length() + 1];
  771. strcpy(commandline, powerof.c_str());
  772. Scripting::Get().ExecuteLua(commandline);
  773. std::memset(commandline, 0, sizeof(commandline));
  774. }
  775. if (ImGui::Button("GenericPoorJunkItem4")) {
  776. std::string doublequote = "\"";
  777. std::string power = "Game.AddToInventory(" + doublequote;
  778. std::string ofdark = "Items.GenericPoorJunkItem4" + doublequote;
  779. std::string ofdarkside = power + ofdark;
  780. std::string powerof = ofdarkside + ", 1)";
  781. char* commandline = new char[powerof.length() + 1];
  782. strcpy(commandline, powerof.c_str());
  783. Scripting::Get().ExecuteLua(commandline);
  784. std::memset(commandline, 0, sizeof(commandline));
  785. }
  786. if (ImGui::Button("GenericPoorJunkItem5")) {
  787. std::string doublequote = "\"";
  788. std::string power = "Game.AddToInventory(" + doublequote;
  789. std::string ofdark = "Items.GenericPoorJunkItem5" + doublequote;
  790. std::string ofdarkside = power + ofdark;
  791. std::string powerof = ofdarkside + ", 1)";
  792. char* commandline = new char[powerof.length() + 1];
  793. strcpy(commandline, powerof.c_str());
  794. Scripting::Get().ExecuteLua(commandline);
  795. std::memset(commandline, 0, sizeof(commandline));
  796. }
  797. if (ImGui::Button("GenericRichJunkItem1")) {
  798. std::string doublequote = "\"";
  799. std::string power = "Game.AddToInventory(" + doublequote;
  800. std::string ofdark = "Items.GenericRichJunkItem1" + doublequote;
  801. std::string ofdarkside = power + ofdark;
  802. std::string powerof = ofdarkside + ", 1)";
  803. char* commandline = new char[powerof.length() + 1];
  804. strcpy(commandline, powerof.c_str());
  805. Scripting::Get().ExecuteLua(commandline);
  806. std::memset(commandline, 0, sizeof(commandline));
  807. }
  808. if (ImGui::Button("GenericRichJunkItem2")) {
  809. std::string doublequote = "\"";
  810. std::string power = "Game.AddToInventory(" + doublequote;
  811. std::string ofdark = "Items.GenericRichJunkItem2" + doublequote;
  812. std::string ofdarkside = power + ofdark;
  813. std::string powerof = ofdarkside + ", 1)";
  814. char* commandline = new char[powerof.length() + 1];
  815. strcpy(commandline, powerof.c_str());
  816. Scripting::Get().ExecuteLua(commandline);
  817. std::memset(commandline, 0, sizeof(commandline));
  818. }
  819. if (ImGui::Button("GenericRichJunkItem3")) {
  820. std::string doublequote = "\"";
  821. std::string power = "Game.AddToInventory(" + doublequote;
  822. std::string ofdark = "Items.GenericRichJunkItem3" + doublequote;
  823. std::string ofdarkside = power + ofdark;
  824. std::string powerof = ofdarkside + ", 1)";
  825. char* commandline = new char[powerof.length() + 1];
  826. strcpy(commandline, powerof.c_str());
  827. Scripting::Get().ExecuteLua(commandline);
  828. std::memset(commandline, 0, sizeof(commandline));
  829. }
  830. if (ImGui::Button("GenericRichJunkItem4")) {
  831. std::string doublequote = "\"";
  832. std::string power = "Game.AddToInventory(" + doublequote;
  833. std::string ofdark = "Items.GenericRichJunkItem4" + doublequote;
  834. std::string ofdarkside = power + ofdark;
  835. std::string powerof = ofdarkside + ", 1)";
  836. char* commandline = new char[powerof.length() + 1];
  837. strcpy(commandline, powerof.c_str());
  838. Scripting::Get().ExecuteLua(commandline);
  839. std::memset(commandline, 0, sizeof(commandline));
  840. }
  841. if (ImGui::Button("GenericRichJunkItem5")) {
  842. std::string doublequote = "\"";
  843. std::string power = "Game.AddToInventory(" + doublequote;
  844. std::string ofdark = "Items.GenericRichJunkItem5" + doublequote;
  845. std::string ofdarkside = power + ofdark;
  846. std::string powerof = ofdarkside + ", 1)";
  847. char* commandline = new char[powerof.length() + 1];
  848. strcpy(commandline, powerof.c_str());
  849. Scripting::Get().ExecuteLua(commandline);
  850. std::memset(commandline, 0, sizeof(commandline));
  851. }
  852. if (ImGui::Button("MaelstromJunkItem1")) {
  853. std::string doublequote = "\"";
  854. std::string power = "Game.AddToInventory(" + doublequote;
  855. std::string ofdark = "Items.MaelstromJunkItem1" + doublequote;
  856. std::string ofdarkside = power + ofdark;
  857. std::string powerof = ofdarkside + ", 1)";
  858. char* commandline = new char[powerof.length() + 1];
  859. strcpy(commandline, powerof.c_str());
  860. Scripting::Get().ExecuteLua(commandline);
  861. std::memset(commandline, 0, sizeof(commandline));
  862. }
  863. if (ImGui::Button("MaelstromJunkItem2")) {
  864. std::string doublequote = "\"";
  865. std::string power = "Game.AddToInventory(" + doublequote;
  866. std::string ofdark = "Items.MaelstromJunkItem2" + doublequote;
  867. std::string ofdarkside = power + ofdark;
  868. std::string powerof = ofdarkside + ", 1)";
  869. char* commandline = new char[powerof.length() + 1];
  870. strcpy(commandline, powerof.c_str());
  871. Scripting::Get().ExecuteLua(commandline);
  872. std::memset(commandline, 0, sizeof(commandline));
  873. }
  874. if (ImGui::Button("MaelstromJunkItem3")) {
  875. std::string doublequote = "\"";
  876. std::string power = "Game.AddToInventory(" + doublequote;
  877. std::string ofdark = "Items.MaelstromJunkItem3" + doublequote;
  878. std::string ofdarkside = power + ofdark;
  879. std::string powerof = ofdarkside + ", 1)";
  880. char* commandline = new char[powerof.length() + 1];
  881. strcpy(commandline, powerof.c_str());
  882. Scripting::Get().ExecuteLua(commandline);
  883. std::memset(commandline, 0, sizeof(commandline));
  884. }
  885. if (ImGui::Button("MilitechJunkItem1")) {
  886. std::string doublequote = "\"";
  887. std::string power = "Game.AddToInventory(" + doublequote;
  888. std::string ofdark = "Items.MilitechJunkItem1" + doublequote;
  889. std::string ofdarkside = power + ofdark;
  890. std::string powerof = ofdarkside + ", 1)";
  891. char* commandline = new char[powerof.length() + 1];
  892. strcpy(commandline, powerof.c_str());
  893. Scripting::Get().ExecuteLua(commandline);
  894. std::memset(commandline, 0, sizeof(commandline));
  895. }
  896. if (ImGui::Button("MilitechJunkItem2")) {
  897. std::string doublequote = "\"";
  898. std::string power = "Game.AddToInventory(" + doublequote;
  899. std::string ofdark = "Items.MilitechJunkItem2" + doublequote;
  900. std::string ofdarkside = power + ofdark;
  901. std::string powerof = ofdarkside + ", 1)";
  902. char* commandline = new char[powerof.length() + 1];
  903. strcpy(commandline, powerof.c_str());
  904. Scripting::Get().ExecuteLua(commandline);
  905. std::memset(commandline, 0, sizeof(commandline));
  906. }
  907. if (ImGui::Button("MilitechJunkItem3")) {
  908. std::string doublequote = "\"";
  909. std::string power = "Game.AddToInventory(" + doublequote;
  910. std::string ofdark = "Items.MilitechJunkItem3" + doublequote;
  911. std::string ofdarkside = power + ofdark;
  912. std::string powerof = ofdarkside + ", 1)";
  913. char* commandline = new char[powerof.length() + 1];
  914. strcpy(commandline, powerof.c_str());
  915. Scripting::Get().ExecuteLua(commandline);
  916. std::memset(commandline, 0, sizeof(commandline));
  917. }
  918. if (ImGui::Button("MoxiesJunkItem1")) {
  919. std::string doublequote = "\"";
  920. std::string power = "Game.AddToInventory(" + doublequote;
  921. std::string ofdark = "Items.MoxiesJunkItem1" + doublequote;
  922. std::string ofdarkside = power + ofdark;
  923. std::string powerof = ofdarkside + ", 1)";
  924. char* commandline = new char[powerof.length() + 1];
  925. strcpy(commandline, powerof.c_str());
  926. Scripting::Get().ExecuteLua(commandline);
  927. std::memset(commandline, 0, sizeof(commandline));
  928. }
  929. if (ImGui::Button("MoxiesJunkItem2")) {
  930. std::string doublequote = "\"";
  931. std::string power = "Game.AddToInventory(" + doublequote;
  932. std::string ofdark = "Items.MoxiesJunkItem2" + doublequote;
  933. std::string ofdarkside = power + ofdark;
  934. std::string powerof = ofdarkside + ", 1)";
  935. char* commandline = new char[powerof.length() + 1];
  936. strcpy(commandline, powerof.c_str());
  937. Scripting::Get().ExecuteLua(commandline);
  938. std::memset(commandline, 0, sizeof(commandline));
  939. }
  940. if (ImGui::Button("MoxiesJunkItem3")) {
  941. std::string doublequote = "\"";
  942. std::string power = "Game.AddToInventory(" + doublequote;
  943. std::string ofdark = "Items.MoxiesJunkItem3" + doublequote;
  944. std::string ofdarkside = power + ofdark;
  945. std::string powerof = ofdarkside + ", 1)";
  946. char* commandline = new char[powerof.length() + 1];
  947. strcpy(commandline, powerof.c_str());
  948. Scripting::Get().ExecuteLua(commandline);
  949. std::memset(commandline, 0, sizeof(commandline));
  950. }
  951. if (ImGui::Button("NomadsJunkItem1")) {
  952. std::string doublequote = "\"";
  953. std::string power = "Game.AddToInventory(" + doublequote;
  954. std::string ofdark = "Items.NomadsJunkItem1" + doublequote;
  955. std::string ofdarkside = power + ofdark;
  956. std::string powerof = ofdarkside + ", 1)";
  957. char* commandline = new char[powerof.length() + 1];
  958. strcpy(commandline, powerof.c_str());
  959. Scripting::Get().ExecuteLua(commandline);
  960. std::memset(commandline, 0, sizeof(commandline));
  961. }
  962. if (ImGui::Button("NomadsJunkItem2")) {
  963. std::string doublequote = "\"";
  964. std::string power = "Game.AddToInventory(" + doublequote;
  965. std::string ofdark = "Items.NomadsJunkItem2" + doublequote;
  966. std::string ofdarkside = power + ofdark;
  967. std::string powerof = ofdarkside + ", 1)";
  968. char* commandline = new char[powerof.length() + 1];
  969. strcpy(commandline, powerof.c_str());
  970. Scripting::Get().ExecuteLua(commandline);
  971. std::memset(commandline, 0, sizeof(commandline));
  972. }
  973. if (ImGui::Button("NomadsJunkItem3")) {
  974. std::string doublequote = "\"";
  975. std::string power = "Game.AddToInventory(" + doublequote;
  976. std::string ofdark = "Items.NomadsJunkItem3" + doublequote;
  977. std::string ofdarkside = power + ofdark;
  978. std::string powerof = ofdarkside + ", 1)";
  979. char* commandline = new char[powerof.length() + 1];
  980. strcpy(commandline, powerof.c_str());
  981. Scripting::Get().ExecuteLua(commandline);
  982. std::memset(commandline, 0, sizeof(commandline));
  983. }
  984. if (ImGui::Button("ScavengersJunkItem1")) {
  985. std::string doublequote = "\"";
  986. std::string power = "Game.AddToInventory(" + doublequote;
  987. std::string ofdark = "Items.ScavengersJunkItem1" + doublequote;
  988. std::string ofdarkside = power + ofdark;
  989. std::string powerof = ofdarkside + ", 1)";
  990. char* commandline = new char[powerof.length() + 1];
  991. strcpy(commandline, powerof.c_str());
  992. Scripting::Get().ExecuteLua(commandline);
  993. std::memset(commandline, 0, sizeof(commandline));
  994. }
  995. if (ImGui::Button("ScavengersJunkItem2")) {
  996. std::string doublequote = "\"";
  997. std::string power = "Game.AddToInventory(" + doublequote;
  998. std::string ofdark = "Items.ScavengersJunkItem2" + doublequote;
  999. std::string ofdarkside = power + ofdark;
  1000. std::string powerof = ofdarkside + ", 1)";
  1001. char* commandline = new char[powerof.length() + 1];
  1002. strcpy(commandline, powerof.c_str());
  1003. Scripting::Get().ExecuteLua(commandline);
  1004. std::memset(commandline, 0, sizeof(commandline));
  1005. }
  1006. if (ImGui::Button("ScavengersJunkItem3")) {
  1007. std::string doublequote = "\"";
  1008. std::string power = "Game.AddToInventory(" + doublequote;
  1009. std::string ofdark = "Items.ScavengersJunkItem3" + doublequote;
  1010. std::string ofdarkside = power + ofdark;
  1011. std::string powerof = ofdarkside + ", 1)";
  1012. char* commandline = new char[powerof.length() + 1];
  1013. strcpy(commandline, powerof.c_str());
  1014. Scripting::Get().ExecuteLua(commandline);
  1015. std::memset(commandline, 0, sizeof(commandline));
  1016. }
  1017. if (ImGui::Button("SexToyJunkItem1")) {
  1018. std::string doublequote = "\"";
  1019. std::string power = "Game.AddToInventory(" + doublequote;
  1020. std::string ofdark = "Items.SexToyJunkItem1" + doublequote;
  1021. std::string ofdarkside = power + ofdark;
  1022. std::string powerof = ofdarkside + ", 1)";
  1023. char* commandline = new char[powerof.length() + 1];
  1024. strcpy(commandline, powerof.c_str());
  1025. Scripting::Get().ExecuteLua(commandline);
  1026. std::memset(commandline, 0, sizeof(commandline));
  1027. }
  1028. if (ImGui::Button("SexToyJunkItem2")) {
  1029. std::string doublequote = "\"";
  1030. std::string power = "Game.AddToInventory(" + doublequote;
  1031. std::string ofdark = "Items.SexToyJunkItem2" + doublequote;
  1032. std::string ofdarkside = power + ofdark;
  1033. std::string powerof = ofdarkside + ", 1)";
  1034. char* commandline = new char[powerof.length() + 1];
  1035. strcpy(commandline, powerof.c_str());
  1036. Scripting::Get().ExecuteLua(commandline);
  1037. std::memset(commandline, 0, sizeof(commandline));
  1038. }
  1039. if (ImGui::Button("SexToyJunkItem3")) {
  1040. std::string doublequote = "\"";
  1041. std::string power = "Game.AddToInventory(" + doublequote;
  1042. std::string ofdark = "Items.SexToyJunkItem3" + doublequote;
  1043. std::string ofdarkside = power + ofdark;
  1044. std::string powerof = ofdarkside + ", 1)";
  1045. char* commandline = new char[powerof.length() + 1];
  1046. strcpy(commandline, powerof.c_str());
  1047. Scripting::Get().ExecuteLua(commandline);
  1048. std::memset(commandline, 0, sizeof(commandline));
  1049. }
  1050. if (ImGui::Button("SexToyJunkItem4")) {
  1051. std::string doublequote = "\"";
  1052. std::string power = "Game.AddToInventory(" + doublequote;
  1053. std::string ofdark = "Items.SexToyJunkItem4" + doublequote;
  1054. std::string ofdarkside = power + ofdark;
  1055. std::string powerof = ofdarkside + ", 1)";
  1056. char* commandline = new char[powerof.length() + 1];
  1057. strcpy(commandline, powerof.c_str());
  1058. Scripting::Get().ExecuteLua(commandline);
  1059. std::memset(commandline, 0, sizeof(commandline));
  1060. }
  1061. if (ImGui::Button("SexToyJunkItem5")) {
  1062. std::string doublequote = "\"";
  1063. std::string power = "Game.AddToInventory(" + doublequote;
  1064. std::string ofdark = "Items.SexToyJunkItem5" + doublequote;
  1065. std::string ofdarkside = power + ofdark;
  1066. std::string powerof = ofdarkside + ", 1)";
  1067. char* commandline = new char[powerof.length() + 1];
  1068. strcpy(commandline, powerof.c_str());
  1069. Scripting::Get().ExecuteLua(commandline);
  1070. std::memset(commandline, 0, sizeof(commandline));
  1071. }
  1072. if (ImGui::Button("SexToyJunkItem6")) {
  1073. std::string doublequote = "\"";
  1074. std::string power = "Game.AddToInventory(" + doublequote;
  1075. std::string ofdark = "Items.SexToyJunkItem6" + doublequote;
  1076. std::string ofdarkside = power + ofdark;
  1077. std::string powerof = ofdarkside + ", 1)";
  1078. char* commandline = new char[powerof.length() + 1];
  1079. strcpy(commandline, powerof.c_str());
  1080. Scripting::Get().ExecuteLua(commandline);
  1081. std::memset(commandline, 0, sizeof(commandline));
  1082. }
  1083. if (ImGui::Button("SixthStreetJunkItem1")) {
  1084. std::string doublequote = "\"";
  1085. std::string power = "Game.AddToInventory(" + doublequote;
  1086. std::string ofdark = "Items.SixthStreetJunkItem1" + doublequote;
  1087. std::string ofdarkside = power + ofdark;
  1088. std::string powerof = ofdarkside + ", 1)";
  1089. char* commandline = new char[powerof.length() + 1];
  1090. strcpy(commandline, powerof.c_str());
  1091. Scripting::Get().ExecuteLua(commandline);
  1092. std::memset(commandline, 0, sizeof(commandline));
  1093. }
  1094. if (ImGui::Button("SixthStreetJunkItem2")) {
  1095. std::string doublequote = "\"";
  1096. std::string power = "Game.AddToInventory(" + doublequote;
  1097. std::string ofdark = "Items.SixthStreetJunkItem2" + doublequote;
  1098. std::string ofdarkside = power + ofdark;
  1099. std::string powerof = ofdarkside + ", 1)";
  1100. char* commandline = new char[powerof.length() + 1];
  1101. strcpy(commandline, powerof.c_str());
  1102. Scripting::Get().ExecuteLua(commandline);
  1103. std::memset(commandline, 0, sizeof(commandline));
  1104. }
  1105. if (ImGui::Button("SixthStreetJunkItem3")) {
  1106. std::string doublequote = "\"";
  1107. std::string power = "Game.AddToInventory(" + doublequote;
  1108. std::string ofdark = "Items.SixthStreetJunkItem3" + doublequote;
  1109. std::string ofdarkside = power + ofdark;
  1110. std::string powerof = ofdarkside + ", 1)";
  1111. char* commandline = new char[powerof.length() + 1];
  1112. strcpy(commandline, powerof.c_str());
  1113. Scripting::Get().ExecuteLua(commandline);
  1114. std::memset(commandline, 0, sizeof(commandline));
  1115. }
  1116. if (ImGui::Button("SouvenirJunkItem1")) {
  1117. std::string doublequote = "\"";
  1118. std::string power = "Game.AddToInventory(" + doublequote;
  1119. std::string ofdark = "Items.SouvenirJunkItem1" + doublequote;
  1120. std::string ofdarkside = power + ofdark;
  1121. std::string powerof = ofdarkside + ", 1)";
  1122. char* commandline = new char[powerof.length() + 1];
  1123. strcpy(commandline, powerof.c_str());
  1124. Scripting::Get().ExecuteLua(commandline);
  1125. std::memset(commandline, 0, sizeof(commandline));
  1126. }
  1127. if (ImGui::Button("SouvenirJunkItem2")) {
  1128. std::string doublequote = "\"";
  1129. std::string power = "Game.AddToInventory(" + doublequote;
  1130. std::string ofdark = "Items.SouvenirJunkItem2" + doublequote;
  1131. std::string ofdarkside = power + ofdark;
  1132. std::string powerof = ofdarkside + ", 1)";
  1133. char* commandline = new char[powerof.length() + 1];
  1134. strcpy(commandline, powerof.c_str());
  1135. Scripting::Get().ExecuteLua(commandline);
  1136. std::memset(commandline, 0, sizeof(commandline));
  1137. }
  1138. if (ImGui::Button("SouvenirJunkItem3")) {
  1139. std::string doublequote = "\"";
  1140. std::string power = "Game.AddToInventory(" + doublequote;
  1141. std::string ofdark = "Items.SouvenirJunkItem3" + doublequote;
  1142. std::string ofdarkside = power + ofdark;
  1143. std::string powerof = ofdarkside + ", 1)";
  1144. char* commandline = new char[powerof.length() + 1];
  1145. strcpy(commandline, powerof.c_str());
  1146. Scripting::Get().ExecuteLua(commandline);
  1147. std::memset(commandline, 0, sizeof(commandline));
  1148. }
  1149. if (ImGui::Button("SouvenirJunkItem4")) {
  1150. std::string doublequote = "\"";
  1151. std::string power = "Game.AddToInventory(" + doublequote;
  1152. std::string ofdark = "Items.SouvenirJunkItem4" + doublequote;
  1153. std::string ofdarkside = power + ofdark;
  1154. std::string powerof = ofdarkside + ", 1)";
  1155. char* commandline = new char[powerof.length() + 1];
  1156. strcpy(commandline, powerof.c_str());
  1157. Scripting::Get().ExecuteLua(commandline);
  1158. std::memset(commandline, 0, sizeof(commandline));
  1159. }
  1160. if (ImGui::Button("TygerClawsJunkItem1")) {
  1161. std::string doublequote = "\"";
  1162. std::string power = "Game.AddToInventory(" + doublequote;
  1163. std::string ofdark = "Items.TygerClawsJunkItem1" + doublequote;
  1164. std::string ofdarkside = power + ofdark;
  1165. std::string powerof = ofdarkside + ", 1)";
  1166. char* commandline = new char[powerof.length() + 1];
  1167. strcpy(commandline, powerof.c_str());
  1168. Scripting::Get().ExecuteLua(commandline);
  1169. std::memset(commandline, 0, sizeof(commandline));
  1170. }
  1171. if (ImGui::Button("TygerClawsJunkItem2")) {
  1172. std::string doublequote = "\"";
  1173. std::string power = "Game.AddToInventory(" + doublequote;
  1174. std::string ofdark = "Items.TygerClawsJunkItem2" + doublequote;
  1175. std::string ofdarkside = power + ofdark;
  1176. std::string powerof = ofdarkside + ", 1)";
  1177. char* commandline = new char[powerof.length() + 1];
  1178. strcpy(commandline, powerof.c_str());
  1179. Scripting::Get().ExecuteLua(commandline);
  1180. std::memset(commandline, 0, sizeof(commandline));
  1181. }
  1182. if (ImGui::Button("TygerClawsJunkItem3")) {
  1183. std::string doublequote = "\"";
  1184. std::string power = "Game.AddToInventory(" + doublequote;
  1185. std::string ofdark = "Items.TygerClawsJunkItem3" + doublequote;
  1186. std::string ofdarkside = power + ofdark;
  1187. std::string powerof = ofdarkside + ", 1)";
  1188. char* commandline = new char[powerof.length() + 1];
  1189. strcpy(commandline, powerof.c_str());
  1190. Scripting::Get().ExecuteLua(commandline);
  1191. std::memset(commandline, 0, sizeof(commandline));
  1192. }
  1193. if (ImGui::Button("ValentinosJunkItem1")) {
  1194. std::string doublequote = "\"";
  1195. std::string power = "Game.AddToInventory(" + doublequote;
  1196. std::string ofdark = "Items.ValentinosJunkItem1" + doublequote;
  1197. std::string ofdarkside = power + ofdark;
  1198. std::string powerof = ofdarkside + ", 1)";
  1199. char* commandline = new char[powerof.length() + 1];
  1200. strcpy(commandline, powerof.c_str());
  1201. Scripting::Get().ExecuteLua(commandline);
  1202. std::memset(commandline, 0, sizeof(commandline));
  1203. }
  1204. if (ImGui::Button("ValentinosJunkItem2")) {
  1205. std::string doublequote = "\"";
  1206. std::string power = "Game.AddToInventory(" + doublequote;
  1207. std::string ofdark = "Items.ValentinosJunkItem2" + doublequote;
  1208. std::string ofdarkside = power + ofdark;
  1209. std::string powerof = ofdarkside + ", 1)";
  1210. char* commandline = new char[powerof.length() + 1];
  1211. strcpy(commandline, powerof.c_str());
  1212. Scripting::Get().ExecuteLua(commandline);
  1213. std::memset(commandline, 0, sizeof(commandline));
  1214. }
  1215. if (ImGui::Button("ValentinosJunkItem3")) {
  1216. std::string doublequote = "\"";
  1217. std::string power = "Game.AddToInventory(" + doublequote;
  1218. std::string ofdark = "Items.ValentinosJunkItem3" + doublequote;
  1219. std::string ofdarkside = power + ofdark;
  1220. std::string powerof = ofdarkside + ", 1)";
  1221. char* commandline = new char[powerof.length() + 1];
  1222. strcpy(commandline, powerof.c_str());
  1223. Scripting::Get().ExecuteLua(commandline);
  1224. std::memset(commandline, 0, sizeof(commandline));
  1225. }
  1226. if (ImGui::Button("VoodooBoysJunkItem1")) {
  1227. std::string doublequote = "\"";
  1228. std::string power = "Game.AddToInventory(" + doublequote;
  1229. std::string ofdark = "Items.VoodooBoysJunkItem1" + doublequote;
  1230. std::string ofdarkside = power + ofdark;
  1231. std::string powerof = ofdarkside + ", 1)";
  1232. char* commandline = new char[powerof.length() + 1];
  1233. strcpy(commandline, powerof.c_str());
  1234. Scripting::Get().ExecuteLua(commandline);
  1235. std::memset(commandline, 0, sizeof(commandline));
  1236. }
  1237. if (ImGui::Button("VoodooBoysJunkItem2")) {
  1238. std::string doublequote = "\"";
  1239. std::string power = "Game.AddToInventory(" + doublequote;
  1240. std::string ofdark = "Items.VoodooBoysJunkItem2" + doublequote;
  1241. std::string ofdarkside = power + ofdark;
  1242. std::string powerof = ofdarkside + ", 1)";
  1243. char* commandline = new char[powerof.length() + 1];
  1244. strcpy(commandline, powerof.c_str());
  1245. Scripting::Get().ExecuteLua(commandline);
  1246. std::memset(commandline, 0, sizeof(commandline));
  1247. }
  1248. if (ImGui::Button("VoodooBoysJunkItem3")) {
  1249. std::string doublequote = "\"";
  1250. std::string power = "Game.AddToInventory(" + doublequote;
  1251. std::string ofdark = "Items.VoodooBoysJunkItem3" + doublequote;
  1252. std::string ofdarkside = power + ofdark;
  1253. std::string powerof = ofdarkside + ", 1)";
  1254. char* commandline = new char[powerof.length() + 1];
  1255. strcpy(commandline, powerof.c_str());
  1256. Scripting::Get().ExecuteLua(commandline);
  1257. std::memset(commandline, 0, sizeof(commandline));
  1258. }
  1259. if (ImGui::Button("WraithsJunkItem1")) {
  1260. std::string doublequote = "\"";
  1261. std::string power = "Game.AddToInventory(" + doublequote;
  1262. std::string ofdark = "Items.WraithsJunkItem1" + doublequote;
  1263. std::string ofdarkside = power + ofdark;
  1264. std::string powerof = ofdarkside + ", 1)";
  1265. char* commandline = new char[powerof.length() + 1];
  1266. strcpy(commandline, powerof.c_str());
  1267. Scripting::Get().ExecuteLua(commandline);
  1268. std::memset(commandline, 0, sizeof(commandline));
  1269. }
  1270. if (ImGui::Button("WraithsJunkItem2")) {
  1271. std::string doublequote = "\"";
  1272. std::string power = "Game.AddToInventory(" + doublequote;
  1273. std::string ofdark = "Items.WraithsJunkItem2" + doublequote;
  1274. std::string ofdarkside = power + ofdark;
  1275. std::string powerof = ofdarkside + ", 1)";
  1276. char* commandline = new char[powerof.length() + 1];
  1277. strcpy(commandline, powerof.c_str());
  1278. Scripting::Get().ExecuteLua(commandline);
  1279. std::memset(commandline, 0, sizeof(commandline));
  1280. }
  1281. if (ImGui::Button("WraithsJunkItem3")) {
  1282. std::string doublequote = "\"";
  1283. std::string power = "Game.AddToInventory(" + doublequote;
  1284. std::string ofdark = "Items.WraithsJunkItem3" + doublequote;
  1285. std::string ofdarkside = power + ofdark;
  1286. std::string powerof = ofdarkside + ", 1)";
  1287. char* commandline = new char[powerof.length() + 1];
  1288. strcpy(commandline, powerof.c_str());
  1289. Scripting::Get().ExecuteLua(commandline);
  1290. std::memset(commandline, 0, sizeof(commandline));
  1291. }
  1292. ImGui::TreePop();
  1293. }
  1294. if (ImGui::TreeNode("Meds")) {
  1295. if (ImGui::Button("FirstAidWhiffV0")) {
  1296. std::string doublequote = "\"";
  1297. std::string power = "Game.AddToInventory(" + doublequote;
  1298. std::string ofdark = "Items.FirstAidWhiffV0" + doublequote;
  1299. std::string ofdarkside = power + ofdark;
  1300. std::string powerof = ofdarkside + ", 1)";
  1301. char* commandline = new char[powerof.length() + 1];
  1302. strcpy(commandline, powerof.c_str());
  1303. Scripting::Get().ExecuteLua(commandline);
  1304. std::memset(commandline, 0, sizeof(commandline));
  1305. }
  1306. if (ImGui::Button("FirstAidWhiffV1")) {
  1307. std::string doublequote = "\"";
  1308. std::string power = "Game.AddToInventory(" + doublequote;
  1309. std::string ofdark = "Items.FirstAidWhiffV1" + doublequote;
  1310. std::string ofdarkside = power + ofdark;
  1311. std::string powerof = ofdarkside + ", 1)";
  1312. char* commandline = new char[powerof.length() + 1];
  1313. strcpy(commandline, powerof.c_str());
  1314. Scripting::Get().ExecuteLua(commandline);
  1315. std::memset(commandline, 0, sizeof(commandline));
  1316. }
  1317. if (ImGui::Button("FirstAidWhiffV2")) {
  1318. std::string doublequote = "\"";
  1319. std::string power = "Game.AddToInventory(" + doublequote;
  1320. std::string ofdark = "Items.FirstAidWhiffV2" + doublequote;
  1321. std::string ofdarkside = power + ofdark;
  1322. std::string powerof = ofdarkside + ", 1)";
  1323. char* commandline = new char[powerof.length() + 1];
  1324. strcpy(commandline, powerof.c_str());
  1325. Scripting::Get().ExecuteLua(commandline);
  1326. std::memset(commandline, 0, sizeof(commandline));
  1327. }
  1328. if (ImGui::Button("StaminaBooster")) {
  1329. std::string doublequote = "\"";
  1330. std::string power = "Game.AddToInventory(" + doublequote;
  1331. std::string ofdark = "Items.StaminaBooster" + doublequote;
  1332. std::string ofdarkside = power + ofdark;
  1333. std::string powerof = ofdarkside + ", 1)";
  1334. char* commandline = new char[powerof.length() + 1];
  1335. strcpy(commandline, powerof.c_str());
  1336. Scripting::Get().ExecuteLua(commandline);
  1337. std::memset(commandline, 0, sizeof(commandline));
  1338. }
  1339. ImGui::TreePop();
  1340. }
  1341. if (ImGui::TreeNode("Programs")) {
  1342. if (ImGui::Button("BlindLvl2Program")) {
  1343. std::string doublequote = "\"";
  1344. std::string power = "Game.AddToInventory(" + doublequote;
  1345. std::string ofdark = "Items.BlindLvl2Program" + doublequote;
  1346. std::string ofdarkside = power + ofdark;
  1347. std::string powerof = ofdarkside + ", 1)";
  1348. char* commandline = new char[powerof.length() + 1];
  1349. strcpy(commandline, powerof.c_str());
  1350. Scripting::Get().ExecuteLua(commandline);
  1351. std::memset(commandline, 0, sizeof(commandline));
  1352. }
  1353. if (ImGui::Button("BlindLvl2Program")) {
  1354. std::string doublequote = "\"";
  1355. std::string power = "Game.AddToInventory(" + doublequote;
  1356. std::string ofdark = "Items.BlindLvl2Program" + doublequote;
  1357. std::string ofdarkside = power + ofdark;
  1358. std::string powerof = ofdarkside + ", 1)";
  1359. char* commandline = new char[powerof.length() + 1];
  1360. strcpy(commandline, powerof.c_str());
  1361. Scripting::Get().ExecuteLua(commandline);
  1362. std::memset(commandline, 0, sizeof(commandline));
  1363. }
  1364. if (ImGui::Button("BlindLvl3Program")) {
  1365. std::string doublequote = "\"";
  1366. std::string power = "Game.AddToInventory(" + doublequote;
  1367. std::string ofdark = "Items.BlindLvl3Program" + doublequote;
  1368. std::string ofdarkside = power + ofdark;
  1369. std::string powerof = ofdarkside + ", 1)";
  1370. char* commandline = new char[powerof.length() + 1];
  1371. strcpy(commandline, powerof.c_str());
  1372. Scripting::Get().ExecuteLua(commandline);
  1373. std::memset(commandline, 0, sizeof(commandline));
  1374. }
  1375. if (ImGui::Button("BlindLvl3Program")) {
  1376. std::string doublequote = "\"";
  1377. std::string power = "Game.AddToInventory(" + doublequote;
  1378. std::string ofdark = "Items.BlindLvl3Program" + doublequote;
  1379. std::string ofdarkside = power + ofdark;
  1380. std::string powerof = ofdarkside + ", 1)";
  1381. char* commandline = new char[powerof.length() + 1];
  1382. strcpy(commandline, powerof.c_str());
  1383. Scripting::Get().ExecuteLua(commandline);
  1384. std::memset(commandline, 0, sizeof(commandline));
  1385. }
  1386. if (ImGui::Button("BlindLvl4Program")) {
  1387. std::string doublequote = "\"";
  1388. std::string power = "Game.AddToInventory(" + doublequote;
  1389. std::string ofdark = "Items.BlindLvl4Program" + doublequote;
  1390. std::string ofdarkside = power + ofdark;
  1391. std::string powerof = ofdarkside + ", 1)";
  1392. char* commandline = new char[powerof.length() + 1];
  1393. strcpy(commandline, powerof.c_str());
  1394. Scripting::Get().ExecuteLua(commandline);
  1395. std::memset(commandline, 0, sizeof(commandline));
  1396. }
  1397. if (ImGui::Button("BlindLvl4Program")) {
  1398. std::string doublequote = "\"";
  1399. std::string power = "Game.AddToInventory(" + doublequote;
  1400. std::string ofdark = "Items.BlindLvl4Program" + doublequote;
  1401. std::string ofdarkside = power + ofdark;
  1402. std::string powerof = ofdarkside + ", 1)";
  1403. char* commandline = new char[powerof.length() + 1];
  1404. strcpy(commandline, powerof.c_str());
  1405. Scripting::Get().ExecuteLua(commandline);
  1406. std::memset(commandline, 0, sizeof(commandline));
  1407. }
  1408. if (ImGui::Button("BlindProgram")) {
  1409. std::string doublequote = "\"";
  1410. std::string power = "Game.AddToInventory(" + doublequote;
  1411. std::string ofdark = "Items.BlindProgram" + doublequote;
  1412. std::string ofdarkside = power + ofdark;
  1413. std::string powerof = ofdarkside + ", 1)";
  1414. char* commandline = new char[powerof.length() + 1];
  1415. strcpy(commandline, powerof.c_str());
  1416. Scripting::Get().ExecuteLua(commandline);
  1417. std::memset(commandline, 0, sizeof(commandline));
  1418. }
  1419. if (ImGui::Button("BrainMeltLvl2Program")) {
  1420. std::string doublequote = "\"";
  1421. std::string power = "Game.AddToInventory(" + doublequote;
  1422. std::string ofdark = "Items.BrainMeltLvl2Program" + doublequote;
  1423. std::string ofdarkside = power + ofdark;
  1424. std::string powerof = ofdarkside + ", 1)";
  1425. char* commandline = new char[powerof.length() + 1];
  1426. strcpy(commandline, powerof.c_str());
  1427. Scripting::Get().ExecuteLua(commandline);
  1428. std::memset(commandline, 0, sizeof(commandline));
  1429. }
  1430. if (ImGui::Button("BrainMeltLvl3Program")) {
  1431. std::string doublequote = "\"";
  1432. std::string power = "Game.AddToInventory(" + doublequote;
  1433. std::string ofdark = "Items.BrainMeltLvl3Program" + doublequote;
  1434. std::string ofdarkside = power + ofdark;
  1435. std::string powerof = ofdarkside + ", 1)";
  1436. char* commandline = new char[powerof.length() + 1];
  1437. strcpy(commandline, powerof.c_str());
  1438. Scripting::Get().ExecuteLua(commandline);
  1439. std::memset(commandline, 0, sizeof(commandline));
  1440. }
  1441. if (ImGui::Button("BrainMeltLvl4Program")) {
  1442. std::string doublequote = "\"";
  1443. std::string power = "Game.AddToInventory(" + doublequote;
  1444. std::string ofdark = "Items.BrainMeltLvl4Program" + doublequote;
  1445. std::string ofdarkside = power + ofdark;
  1446. std::string powerof = ofdarkside + ", 1)";
  1447. char* commandline = new char[powerof.length() + 1];
  1448. strcpy(commandline, powerof.c_str());
  1449. Scripting::Get().ExecuteLua(commandline);
  1450. std::memset(commandline, 0, sizeof(commandline));
  1451. }
  1452. if (ImGui::Button("CommsCallInLvl3Program")) {
  1453. std::string doublequote = "\"";
  1454. std::string power = "Game.AddToInventory(" + doublequote;
  1455. std::string ofdark = "Items.CommsCallInLvl3Program" + doublequote;
  1456. std::string ofdarkside = power + ofdark;
  1457. std::string powerof = ofdarkside + ", 1)";
  1458. char* commandline = new char[powerof.length() + 1];
  1459. strcpy(commandline, powerof.c_str());
  1460. Scripting::Get().ExecuteLua(commandline);
  1461. std::memset(commandline, 0, sizeof(commandline));
  1462. }
  1463. if (ImGui::Button("CommsCallInLvl3Program")) {
  1464. std::string doublequote = "\"";
  1465. std::string power = "Game.AddToInventory(" + doublequote;
  1466. std::string ofdark = "Items.CommsCallInLvl3Program" + doublequote;
  1467. std::string ofdarkside = power + ofdark;
  1468. std::string powerof = ofdarkside + ", 1)";
  1469. char* commandline = new char[powerof.length() + 1];
  1470. strcpy(commandline, powerof.c_str());
  1471. Scripting::Get().ExecuteLua(commandline);
  1472. std::memset(commandline, 0, sizeof(commandline));
  1473. }
  1474. if (ImGui::Button("CommsCallInProgram")) {
  1475. std::string doublequote = "\"";
  1476. std::string power = "Game.AddToInventory(" + doublequote;
  1477. std::string ofdark = "Items.CommsCallInProgram" + doublequote;
  1478. std::string ofdarkside = power + ofdark;
  1479. std::string powerof = ofdarkside + ", 1)";
  1480. char* commandline = new char[powerof.length() + 1];
  1481. strcpy(commandline, powerof.c_str());
  1482. Scripting::Get().ExecuteLua(commandline);
  1483. std::memset(commandline, 0, sizeof(commandline));
  1484. }
  1485. if (ImGui::Button("CommsCallInProgram")) {
  1486. std::string doublequote = "\"";
  1487. std::string power = "Game.AddToInventory(" + doublequote;
  1488. std::string ofdark = "Items.CommsCallInProgram" + doublequote;
  1489. std::string ofdarkside = power + ofdark;
  1490. std::string powerof = ofdarkside + ", 1)";
  1491. char* commandline = new char[powerof.length() + 1];
  1492. strcpy(commandline, powerof.c_str());
  1493. Scripting::Get().ExecuteLua(commandline);
  1494. std::memset(commandline, 0, sizeof(commandline));
  1495. }
  1496. if (ImGui::Button("CommsNoiseLvl2Program")) {
  1497. std::string doublequote = "\"";
  1498. std::string power = "Game.AddToInventory(" + doublequote;
  1499. std::string ofdark = "Items.CommsNoiseLvl2Program" + doublequote;
  1500. std::string ofdarkside = power + ofdark;
  1501. std::string powerof = ofdarkside + ", 1)";
  1502. char* commandline = new char[powerof.length() + 1];
  1503. strcpy(commandline, powerof.c_str());
  1504. Scripting::Get().ExecuteLua(commandline);
  1505. std::memset(commandline, 0, sizeof(commandline));
  1506. }
  1507. if (ImGui::Button("CommsNoiseLvl3Program")) {
  1508. std::string doublequote = "\"";
  1509. std::string power = "Game.AddToInventory(" + doublequote;
  1510. std::string ofdark = "Items.CommsNoiseLvl3Program" + doublequote;
  1511. std::string ofdarkside = power + ofdark;
  1512. std::string powerof = ofdarkside + ", 1)";
  1513. char* commandline = new char[powerof.length() + 1];
  1514. strcpy(commandline, powerof.c_str());
  1515. Scripting::Get().ExecuteLua(commandline);
  1516. std::memset(commandline, 0, sizeof(commandline));
  1517. }
  1518. if (ImGui::Button("CommsNoiseLvl4Program")) {
  1519. std::string doublequote = "\"";
  1520. std::string power = "Game.AddToInventory(" + doublequote;
  1521. std::string ofdark = "Items.CommsNoiseLvl4Program" + doublequote;
  1522. std::string ofdarkside = power + ofdark;
  1523. std::string powerof = ofdarkside + ", 1)";
  1524. char* commandline = new char[powerof.length() + 1];
  1525. strcpy(commandline, powerof.c_str());
  1526. Scripting::Get().ExecuteLua(commandline);
  1527. std::memset(commandline, 0, sizeof(commandline));
  1528. }
  1529. if (ImGui::Button("CommsNoiseProgram")) {
  1530. std::string doublequote = "\"";
  1531. std::string power = "Game.AddToInventory(" + doublequote;
  1532. std::string ofdark = "Items.CommsNoiseProgram" + doublequote;
  1533. std::string ofdarkside = power + ofdark;
  1534. std::string powerof = ofdarkside + ", 1)";
  1535. char* commandline = new char[powerof.length() + 1];
  1536. strcpy(commandline, powerof.c_str());
  1537. Scripting::Get().ExecuteLua(commandline);
  1538. std::memset(commandline, 0, sizeof(commandline));
  1539. }
  1540. if (ImGui::Button("ContagionLvl2Program")) {
  1541. std::string doublequote = "\"";
  1542. std::string power = "Game.AddToInventory(" + doublequote;
  1543. std::string ofdark = "Items.ContagionLvl2Program" + doublequote;
  1544. std::string ofdarkside = power + ofdark;
  1545. std::string powerof = ofdarkside + ", 1)";
  1546. char* commandline = new char[powerof.length() + 1];
  1547. strcpy(commandline, powerof.c_str());
  1548. Scripting::Get().ExecuteLua(commandline);
  1549. std::memset(commandline, 0, sizeof(commandline));
  1550. }
  1551. if (ImGui::Button("ContagionLvl3Program")) {
  1552. std::string doublequote = "\"";
  1553. std::string power = "Game.AddToInventory(" + doublequote;
  1554. std::string ofdark = "Items.ContagionLvl3Program" + doublequote;
  1555. std::string ofdarkside = power + ofdark;
  1556. std::string powerof = ofdarkside + ", 1)";
  1557. char* commandline = new char[powerof.length() + 1];
  1558. strcpy(commandline, powerof.c_str());
  1559. Scripting::Get().ExecuteLua(commandline);
  1560. std::memset(commandline, 0, sizeof(commandline));
  1561. }
  1562. if (ImGui::Button("ContagionLvl4Program")) {
  1563. std::string doublequote = "\"";
  1564. std::string power = "Game.AddToInventory(" + doublequote;
  1565. std::string ofdark = "Items.ContagionLvl4Program" + doublequote;
  1566. std::string ofdarkside = power + ofdark;
  1567. std::string powerof = ofdarkside + ", 1)";
  1568. char* commandline = new char[powerof.length() + 1];
  1569. strcpy(commandline, powerof.c_str());
  1570. Scripting::Get().ExecuteLua(commandline);
  1571. std::memset(commandline, 0, sizeof(commandline));
  1572. }
  1573. if (ImGui::Button("ContagionProgram")) {
  1574. std::string doublequote = "\"";
  1575. std::string power = "Game.AddToInventory(" + doublequote;
  1576. std::string ofdark = "Items.ContagionProgram" + doublequote;
  1577. std::string ofdarkside = power + ofdark;
  1578. std::string powerof = ofdarkside + ", 1)";
  1579. char* commandline = new char[powerof.length() + 1];
  1580. strcpy(commandline, powerof.c_str());
  1581. Scripting::Get().ExecuteLua(commandline);
  1582. std::memset(commandline, 0, sizeof(commandline));
  1583. }
  1584. if (ImGui::Button("DisableCyberwareLvl2Program")) {
  1585. std::string doublequote = "\"";
  1586. std::string power = "Game.AddToInventory(" + doublequote;
  1587. std::string ofdark = "Items.DisableCyberwareLvl2Program" + doublequote;
  1588. std::string ofdarkside = power + ofdark;
  1589. std::string powerof = ofdarkside + ", 1)";
  1590. char* commandline = new char[powerof.length() + 1];
  1591. strcpy(commandline, powerof.c_str());
  1592. Scripting::Get().ExecuteLua(commandline);
  1593. std::memset(commandline, 0, sizeof(commandline));
  1594. }
  1595. if (ImGui::Button("DisableCyberwareLvl2Program")) {
  1596. std::string doublequote = "\"";
  1597. std::string power = "Game.AddToInventory(" + doublequote;
  1598. std::string ofdark = "Items.DisableCyberwareLvl2Program" + doublequote;
  1599. std::string ofdarkside = power + ofdark;
  1600. std::string powerof = ofdarkside + ", 1)";
  1601. char* commandline = new char[powerof.length() + 1];
  1602. strcpy(commandline, powerof.c_str());
  1603. Scripting::Get().ExecuteLua(commandline);
  1604. std::memset(commandline, 0, sizeof(commandline));
  1605. }
  1606. if (ImGui::Button("DisableCyberwareLvl3Program")) {
  1607. std::string doublequote = "\"";
  1608. std::string power = "Game.AddToInventory(" + doublequote;
  1609. std::string ofdark = "Items.DisableCyberwareLvl3Program" + doublequote;
  1610. std::string ofdarkside = power + ofdark;
  1611. std::string powerof = ofdarkside + ", 1)";
  1612. char* commandline = new char[powerof.length() + 1];
  1613. strcpy(commandline, powerof.c_str());
  1614. Scripting::Get().ExecuteLua(commandline);
  1615. std::memset(commandline, 0, sizeof(commandline));
  1616. }
  1617. if (ImGui::Button("DisableCyberwareLvl3Program")) {
  1618. std::string doublequote = "\"";
  1619. std::string power = "Game.AddToInventory(" + doublequote;
  1620. std::string ofdark = "Items.DisableCyberwareLvl3Program" + doublequote;
  1621. std::string ofdarkside = power + ofdark;
  1622. std::string powerof = ofdarkside + ", 1)";
  1623. char* commandline = new char[powerof.length() + 1];
  1624. strcpy(commandline, powerof.c_str());
  1625. Scripting::Get().ExecuteLua(commandline);
  1626. std::memset(commandline, 0, sizeof(commandline));
  1627. }
  1628. if (ImGui::Button("DisableCyberwareLvl3Program")) {
  1629. std::string doublequote = "\"";
  1630. std::string power = "Game.AddToInventory(" + doublequote;
  1631. std::string ofdark = "Items.DisableCyberwareLvl3Program" + doublequote;
  1632. std::string ofdarkside = power + ofdark;
  1633. std::string powerof = ofdarkside + ", 1)";
  1634. char* commandline = new char[powerof.length() + 1];
  1635. strcpy(commandline, powerof.c_str());
  1636. Scripting::Get().ExecuteLua(commandline);
  1637. std::memset(commandline, 0, sizeof(commandline));
  1638. }
  1639. if (ImGui::Button("DisableCyberwareProgram")) {
  1640. std::string doublequote = "\"";
  1641. std::string power = "Game.AddToInventory(" + doublequote;
  1642. std::string ofdark = "Items.DisableCyberwareProgram" + doublequote;
  1643. std::string ofdarkside = power + ofdark;
  1644. std::string powerof = ofdarkside + ", 1)";
  1645. char* commandline = new char[powerof.length() + 1];
  1646. strcpy(commandline, powerof.c_str());
  1647. Scripting::Get().ExecuteLua(commandline);
  1648. std::memset(commandline, 0, sizeof(commandline));
  1649. }
  1650. if (ImGui::Button("DisableCyberwareProgram")) {
  1651. std::string doublequote = "\"";
  1652. std::string power = "Game.AddToInventory(" + doublequote;
  1653. std::string ofdark = "Items.DisableCyberwareProgram" + doublequote;
  1654. std::string ofdarkside = power + ofdark;
  1655. std::string powerof = ofdarkside + ", 1)";
  1656. char* commandline = new char[powerof.length() + 1];
  1657. strcpy(commandline, powerof.c_str());
  1658. Scripting::Get().ExecuteLua(commandline);
  1659. std::memset(commandline, 0, sizeof(commandline));
  1660. }
  1661. if (ImGui::Button("EMPOverloadLvl2Program")) {
  1662. std::string doublequote = "\"";
  1663. std::string power = "Game.AddToInventory(" + doublequote;
  1664. std::string ofdark = "Items.EMPOverloadLvl2Program" + doublequote;
  1665. std::string ofdarkside = power + ofdark;
  1666. std::string powerof = ofdarkside + ", 1)";
  1667. char* commandline = new char[powerof.length() + 1];
  1668. strcpy(commandline, powerof.c_str());
  1669. Scripting::Get().ExecuteLua(commandline);
  1670. std::memset(commandline, 0, sizeof(commandline));
  1671. }
  1672. if (ImGui::Button("EMPOverloadLvl3Program")) {
  1673. std::string doublequote = "\"";
  1674. std::string power = "Game.AddToInventory(" + doublequote;
  1675. std::string ofdark = "Items.EMPOverloadLvl3Program" + doublequote;
  1676. std::string ofdarkside = power + ofdark;
  1677. std::string powerof = ofdarkside + ", 1)";
  1678. char* commandline = new char[powerof.length() + 1];
  1679. strcpy(commandline, powerof.c_str());
  1680. Scripting::Get().ExecuteLua(commandline);
  1681. std::memset(commandline, 0, sizeof(commandline));
  1682. }
  1683. if (ImGui::Button("EMPOverloadLvl4Program")) {
  1684. std::string doublequote = "\"";
  1685. std::string power = "Game.AddToInventory(" + doublequote;
  1686. std::string ofdark = "Items.EMPOverloadLvl4Program" + doublequote;
  1687. std::string ofdarkside = power + ofdark;
  1688. std::string powerof = ofdarkside + ", 1)";
  1689. char* commandline = new char[powerof.length() + 1];
  1690. strcpy(commandline, powerof.c_str());
  1691. Scripting::Get().ExecuteLua(commandline);
  1692. std::memset(commandline, 0, sizeof(commandline));
  1693. }
  1694. if (ImGui::Button("EMPOverloadProgram")) {
  1695. std::string doublequote = "\"";
  1696. std::string power = "Game.AddToInventory(" + doublequote;
  1697. std::string ofdark = "Items.EMPOverloadProgram" + doublequote;
  1698. std::string ofdarkside = power + ofdark;
  1699. std::string powerof = ofdarkside + ", 1)";
  1700. char* commandline = new char[powerof.length() + 1];
  1701. strcpy(commandline, powerof.c_str());
  1702. Scripting::Get().ExecuteLua(commandline);
  1703. std::memset(commandline, 0, sizeof(commandline));
  1704. }
  1705. if (ImGui::Button("LocomotionMalfunctionLvl2Program")) {
  1706. std::string doublequote = "\"";
  1707. std::string power = "Game.AddToInventory(" + doublequote;
  1708. std::string ofdark = "Items.LocomotionMalfunctionLvl2Program" + doublequote;
  1709. std::string ofdarkside = power + ofdark;
  1710. std::string powerof = ofdarkside + ", 1)";
  1711. char* commandline = new char[powerof.length() + 1];
  1712. strcpy(commandline, powerof.c_str());
  1713. Scripting::Get().ExecuteLua(commandline);
  1714. std::memset(commandline, 0, sizeof(commandline));
  1715. }
  1716. if (ImGui::Button("LocomotionMalfunctionLvl2Program")) {
  1717. std::string doublequote = "\"";
  1718. std::string power = "Game.AddToInventory(" + doublequote;
  1719. std::string ofdark = "Items.LocomotionMalfunctionLvl2Program" + doublequote;
  1720. std::string ofdarkside = power + ofdark;
  1721. std::string powerof = ofdarkside + ", 1)";
  1722. char* commandline = new char[powerof.length() + 1];
  1723. strcpy(commandline, powerof.c_str());
  1724. Scripting::Get().ExecuteLua(commandline);
  1725. std::memset(commandline, 0, sizeof(commandline));
  1726. }
  1727. if (ImGui::Button("LocomotionMalfunctionLvl3Program")) {
  1728. std::string doublequote = "\"";
  1729. std::string power = "Game.AddToInventory(" + doublequote;
  1730. std::string ofdark = "Items.LocomotionMalfunctionLvl3Program" + doublequote;
  1731. std::string ofdarkside = power + ofdark;
  1732. std::string powerof = ofdarkside + ", 1)";
  1733. char* commandline = new char[powerof.length() + 1];
  1734. strcpy(commandline, powerof.c_str());
  1735. Scripting::Get().ExecuteLua(commandline);
  1736. std::memset(commandline, 0, sizeof(commandline));
  1737. }
  1738. if (ImGui::Button("LocomotionMalfunctionLvl3Program")) {
  1739. std::string doublequote = "\"";
  1740. std::string power = "Game.AddToInventory(" + doublequote;
  1741. std::string ofdark = "Items.LocomotionMalfunctionLvl3Program" + doublequote;
  1742. std::string ofdarkside = power + ofdark;
  1743. std::string powerof = ofdarkside + ", 1)";
  1744. char* commandline = new char[powerof.length() + 1];
  1745. strcpy(commandline, powerof.c_str());
  1746. Scripting::Get().ExecuteLua(commandline);
  1747. std::memset(commandline, 0, sizeof(commandline));
  1748. }
  1749. if (ImGui::Button("LocomotionMalfunctionLvl4Program")) {
  1750. std::string doublequote = "\"";
  1751. std::string power = "Game.AddToInventory(" + doublequote;
  1752. std::string ofdark = "Items.LocomotionMalfunctionLvl4Program" + doublequote;
  1753. std::string ofdarkside = power + ofdark;
  1754. std::string powerof = ofdarkside + ", 1)";
  1755. char* commandline = new char[powerof.length() + 1];
  1756. strcpy(commandline, powerof.c_str());
  1757. Scripting::Get().ExecuteLua(commandline);
  1758. std::memset(commandline, 0, sizeof(commandline));
  1759. }
  1760. if (ImGui::Button("LocomotionMalfunctionLvl4Program")) {
  1761. std::string doublequote = "\"";
  1762. std::string power = "Game.AddToInventory(" + doublequote;
  1763. std::string ofdark = "Items.LocomotionMalfunctionLvl4Program" + doublequote;
  1764. std::string ofdarkside = power + ofdark;
  1765. std::string powerof = ofdarkside + ", 1)";
  1766. char* commandline = new char[powerof.length() + 1];
  1767. strcpy(commandline, powerof.c_str());
  1768. Scripting::Get().ExecuteLua(commandline);
  1769. std::memset(commandline, 0, sizeof(commandline));
  1770. }
  1771. if (ImGui::Button("LocomotionMalfunctionProgram")) {
  1772. std::string doublequote = "\"";
  1773. std::string power = "Game.AddToInventory(" + doublequote;
  1774. std::string ofdark = "Items.LocomotionMalfunctionProgram" + doublequote;
  1775. std::string ofdarkside = power + ofdark;
  1776. std::string powerof = ofdarkside + ", 1)";
  1777. char* commandline = new char[powerof.length() + 1];
  1778. strcpy(commandline, powerof.c_str());
  1779. Scripting::Get().ExecuteLua(commandline);
  1780. std::memset(commandline, 0, sizeof(commandline));
  1781. }
  1782. if (ImGui::Button("LocomotionMalfunctionProgram")) {
  1783. std::string doublequote = "\"";
  1784. std::string power = "Game.AddToInventory(" + doublequote;
  1785. std::string ofdark = "Items.LocomotionMalfunctionProgram" + doublequote;
  1786. std::string ofdarkside = power + ofdark;
  1787. std::string powerof = ofdarkside + ", 1)";
  1788. char* commandline = new char[powerof.length() + 1];
  1789. strcpy(commandline, powerof.c_str());
  1790. Scripting::Get().ExecuteLua(commandline);
  1791. std::memset(commandline, 0, sizeof(commandline));
  1792. }
  1793. if (ImGui::Button("MadnessLvl4Program")) {
  1794. std::string doublequote = "\"";
  1795. std::string power = "Game.AddToInventory(" + doublequote;
  1796. std::string ofdark = "Items.MadnessLvl4Program" + doublequote;
  1797. std::string ofdarkside = power + ofdark;
  1798. std::string powerof = ofdarkside + ", 1)";
  1799. char* commandline = new char[powerof.length() + 1];
  1800. strcpy(commandline, powerof.c_str());
  1801. Scripting::Get().ExecuteLua(commandline);
  1802. std::memset(commandline, 0, sizeof(commandline));
  1803. }
  1804. if (ImGui::Button("MemoryWipeLvl2Program")) {
  1805. std::string doublequote = "\"";
  1806. std::string power = "Game.AddToInventory(" + doublequote;
  1807. std::string ofdark = "Items.MemoryWipeLvl2Program" + doublequote;
  1808. std::string ofdarkside = power + ofdark;
  1809. std::string powerof = ofdarkside + ", 1)";
  1810. char* commandline = new char[powerof.length() + 1];
  1811. strcpy(commandline, powerof.c_str());
  1812. Scripting::Get().ExecuteLua(commandline);
  1813. std::memset(commandline, 0, sizeof(commandline));
  1814. }
  1815. if (ImGui::Button("OverheatLvl2Program")) {
  1816. std::string doublequote = "\"";
  1817. std::string power = "Game.AddToInventory(" + doublequote;
  1818. std::string ofdark = "Items.OverheatLvl2Program" + doublequote;
  1819. std::string ofdarkside = power + ofdark;
  1820. std::string powerof = ofdarkside + ", 1)";
  1821. char* commandline = new char[powerof.length() + 1];
  1822. strcpy(commandline, powerof.c_str());
  1823. Scripting::Get().ExecuteLua(commandline);
  1824. std::memset(commandline, 0, sizeof(commandline));
  1825. }
  1826. if (ImGui::Button("OverheatLvl3Program")) {
  1827. std::string doublequote = "\"";
  1828. std::string power = "Game.AddToInventory(" + doublequote;
  1829. std::string ofdark = "Items.OverheatLvl3Program" + doublequote;
  1830. std::string ofdarkside = power + ofdark;
  1831. std::string powerof = ofdarkside + ", 1)";
  1832. char* commandline = new char[powerof.length() + 1];
  1833. strcpy(commandline, powerof.c_str());
  1834. Scripting::Get().ExecuteLua(commandline);
  1835. std::memset(commandline, 0, sizeof(commandline));
  1836. }
  1837. if (ImGui::Button("OverheatLvl4Program")) {
  1838. std::string doublequote = "\"";
  1839. std::string power = "Game.AddToInventory(" + doublequote;
  1840. std::string ofdark = "Items.OverheatLvl4Program" + doublequote;
  1841. std::string ofdarkside = power + ofdark;
  1842. std::string powerof = ofdarkside + ", 1)";
  1843. char* commandline = new char[powerof.length() + 1];
  1844. strcpy(commandline, powerof.c_str());
  1845. Scripting::Get().ExecuteLua(commandline);
  1846. std::memset(commandline, 0, sizeof(commandline));
  1847. }
  1848. if (ImGui::Button("OverheatProgram")) {
  1849. std::string doublequote = "\"";
  1850. std::string power = "Game.AddToInventory(" + doublequote;
  1851. std::string ofdark = "Items.OverheatProgram" + doublequote;
  1852. std::string ofdarkside = power + ofdark;
  1853. std::string powerof = ofdarkside + ", 1)";
  1854. char* commandline = new char[powerof.length() + 1];
  1855. strcpy(commandline, powerof.c_str());
  1856. Scripting::Get().ExecuteLua(commandline);
  1857. std::memset(commandline, 0, sizeof(commandline));
  1858. }
  1859. if (ImGui::Button("OverheatProgram")) {
  1860. std::string doublequote = "\"";
  1861. std::string power = "Game.AddToInventory(" + doublequote;
  1862. std::string ofdark = "Items.OverheatProgram" + doublequote;
  1863. std::string ofdarkside = power + ofdark;
  1864. std::string powerof = ofdarkside + ", 1)";
  1865. char* commandline = new char[powerof.length() + 1];
  1866. strcpy(commandline, powerof.c_str());
  1867. Scripting::Get().ExecuteLua(commandline);
  1868. std::memset(commandline, 0, sizeof(commandline));
  1869. }
  1870. if (ImGui::Button("WeaponMalfunctionLvl2Program")) {
  1871. std::string doublequote = "\"";
  1872. std::string power = "Game.AddToInventory(" + doublequote;
  1873. std::string ofdark = "Items.WeaponMalfunctionLvl2Program" + doublequote;
  1874. std::string ofdarkside = power + ofdark;
  1875. std::string powerof = ofdarkside + ", 1)";
  1876. char* commandline = new char[powerof.length() + 1];
  1877. strcpy(commandline, powerof.c_str());
  1878. Scripting::Get().ExecuteLua(commandline);
  1879. std::memset(commandline, 0, sizeof(commandline));
  1880. }
  1881. if (ImGui::Button("WeaponMalfunctionLvl2Program")) {
  1882. std::string doublequote = "\"";
  1883. std::string power = "Game.AddToInventory(" + doublequote;
  1884. std::string ofdark = "Items.WeaponMalfunctionLvl2Program" + doublequote;
  1885. std::string ofdarkside = power + ofdark;
  1886. std::string powerof = ofdarkside + ", 1)";
  1887. char* commandline = new char[powerof.length() + 1];
  1888. strcpy(commandline, powerof.c_str());
  1889. Scripting::Get().ExecuteLua(commandline);
  1890. std::memset(commandline, 0, sizeof(commandline));
  1891. }
  1892. if (ImGui::Button("WeaponMalfunctionLvl3Program")) {
  1893. std::string doublequote = "\"";
  1894. std::string power = "Game.AddToInventory(" + doublequote;
  1895. std::string ofdark = "Items.WeaponMalfunctionLvl3Program" + doublequote;
  1896. std::string ofdarkside = power + ofdark;
  1897. std::string powerof = ofdarkside + ", 1)";
  1898. char* commandline = new char[powerof.length() + 1];
  1899. strcpy(commandline, powerof.c_str());
  1900. Scripting::Get().ExecuteLua(commandline);
  1901. std::memset(commandline, 0, sizeof(commandline));
  1902. }
  1903. if (ImGui::Button("WeaponMalfunctionLvl3Program")) {
  1904. std::string doublequote = "\"";
  1905. std::string power = "Game.AddToInventory(" + doublequote;
  1906. std::string ofdark = "Items.WeaponMalfunctionLvl3Program" + doublequote;
  1907. std::string ofdarkside = power + ofdark;
  1908. std::string powerof = ofdarkside + ", 1)";
  1909. char* commandline = new char[powerof.length() + 1];
  1910. strcpy(commandline, powerof.c_str());
  1911. Scripting::Get().ExecuteLua(commandline);
  1912. std::memset(commandline, 0, sizeof(commandline));
  1913. }
  1914. if (ImGui::Button("WeaponMalfunctionLvl4Program")) {
  1915. std::string doublequote = "\"";
  1916. std::string power = "Game.AddToInventory(" + doublequote;
  1917. std::string ofdark = "Items.WeaponMalfunctionLvl4Program" + doublequote;
  1918. std::string ofdarkside = power + ofdark;
  1919. std::string powerof = ofdarkside + ", 1)";
  1920. char* commandline = new char[powerof.length() + 1];
  1921. strcpy(commandline, powerof.c_str());
  1922. Scripting::Get().ExecuteLua(commandline);
  1923. std::memset(commandline, 0, sizeof(commandline));
  1924. }
  1925. if (ImGui::Button("WeaponMalfunctionLvl4Program")) {
  1926. std::string doublequote = "\"";
  1927. std::string power = "Game.AddToInventory(" + doublequote;
  1928. std::string ofdark = "Items.WeaponMalfunctionLvl4Program" + doublequote;
  1929. std::string ofdarkside = power + ofdark;
  1930. std::string powerof = ofdarkside + ", 1)";
  1931. char* commandline = new char[powerof.length() + 1];
  1932. strcpy(commandline, powerof.c_str());
  1933. Scripting::Get().ExecuteLua(commandline);
  1934. std::memset(commandline, 0, sizeof(commandline));
  1935. }
  1936. if (ImGui::Button("WeaponMalfunctionProgram")) {
  1937. std::string doublequote = "\"";
  1938. std::string power = "Game.AddToInventory(" + doublequote;
  1939. std::string ofdark = "Items.WeaponMalfunctionProgram" + doublequote;
  1940. std::string ofdarkside = power + ofdark;
  1941. std::string powerof = ofdarkside + ", 1)";
  1942. char* commandline = new char[powerof.length() + 1];
  1943. strcpy(commandline, powerof.c_str());
  1944. Scripting::Get().ExecuteLua(commandline);
  1945. std::memset(commandline, 0, sizeof(commandline));
  1946. }
  1947. if (ImGui::Button("WeaponMalfunctionProgram")) {
  1948. std::string doublequote = "\"";
  1949. std::string power = "Game.AddToInventory(" + doublequote;
  1950. std::string ofdark = "Items.WeaponMalfunctionProgram" + doublequote;
  1951. std::string ofdarkside = power + ofdark;
  1952. std::string powerof = ofdarkside + ", 1)";
  1953. char* commandline = new char[powerof.length() + 1];
  1954. strcpy(commandline, powerof.c_str());
  1955. Scripting::Get().ExecuteLua(commandline);
  1956. std::memset(commandline, 0, sizeof(commandline));
  1957. }
  1958. if (ImGui::Button("WhistleLvl2Program")) {
  1959. std::string doublequote = "\"";
  1960. std::string power = "Game.AddToInventory(" + doublequote;
  1961. std::string ofdark = "Items.WhistleLvl2Program" + doublequote;
  1962. std::string ofdarkside = power + ofdark;
  1963. std::string powerof = ofdarkside + ", 1)";
  1964. char* commandline = new char[powerof.length() + 1];
  1965. strcpy(commandline, powerof.c_str());
  1966. Scripting::Get().ExecuteLua(commandline);
  1967. std::memset(commandline, 0, sizeof(commandline));
  1968. }
  1969. if (ImGui::Button("WhistleLvl3Program")) {
  1970. std::string doublequote = "\"";
  1971. std::string power = "Game.AddToInventory(" + doublequote;
  1972. std::string ofdark = "Items.WhistleLvl3Program" + doublequote;
  1973. std::string ofdarkside = power + ofdark;
  1974. std::string powerof = ofdarkside + ", 1)";
  1975. char* commandline = new char[powerof.length() + 1];
  1976. strcpy(commandline, powerof.c_str());
  1977. Scripting::Get().ExecuteLua(commandline);
  1978. std::memset(commandline, 0, sizeof(commandline));
  1979. }
  1980. if (ImGui::Button("WhistleProgram")) {
  1981. std::string doublequote = "\"";
  1982. std::string power = "Game.AddToInventory(" + doublequote;
  1983. std::string ofdark = "Items.WhistleProgram" + doublequote;
  1984. std::string ofdarkside = power + ofdark;
  1985. std::string powerof = ofdarkside + ", 1)";
  1986. char* commandline = new char[powerof.length() + 1];
  1987. strcpy(commandline, powerof.c_str());
  1988. Scripting::Get().ExecuteLua(commandline);
  1989. std::memset(commandline, 0, sizeof(commandline));
  1990. }
  1991. ImGui::TreePop();
  1992. }
  1993. if (ImGui::TreeNode("Quest")) {
  1994. if (ImGui::Button("AntiVirus")) {
  1995. std::string doublequote = "\"";
  1996. std::string power = "Game.AddToInventory(" + doublequote;
  1997. std::string ofdark = "Items.AntiVirus" + doublequote;
  1998. std::string ofdarkside = power + ofdark;
  1999. std::string powerof = ofdarkside + ", 1)";
  2000. char* commandline = new char[powerof.length() + 1];
  2001. strcpy(commandline, powerof.c_str());
  2002. Scripting::Get().ExecuteLua(commandline);
  2003. std::memset(commandline, 0, sizeof(commandline));
  2004. }
  2005. if (ImGui::Button("mq001_action_figure")) {
  2006. std::string doublequote = "\"";
  2007. std::string power = "Game.AddToInventory(" + doublequote;
  2008. std::string ofdark = "Items.mq001_action_figure" + doublequote;
  2009. std::string ofdarkside = power + ofdark;
  2010. std::string powerof = ofdarkside + ", 1)";
  2011. char* commandline = new char[powerof.length() + 1];
  2012. strcpy(commandline, powerof.c_str());
  2013. Scripting::Get().ExecuteLua(commandline);
  2014. std::memset(commandline, 0, sizeof(commandline));
  2015. }
  2016. if (ImGui::Button("mq003_painting")) {
  2017. std::string doublequote = "\"";
  2018. std::string power = "Game.AddToInventory(" + doublequote;
  2019. std::string ofdark = "Items.mq003_painting" + doublequote;
  2020. std::string ofdarkside = power + ofdark;
  2021. std::string powerof = ofdarkside + ", 1)";
  2022. char* commandline = new char[powerof.length() + 1];
  2023. strcpy(commandline, powerof.c_str());
  2024. Scripting::Get().ExecuteLua(commandline);
  2025. std::memset(commandline, 0, sizeof(commandline));
  2026. }
  2027. if (ImGui::Button("mq003_shard")) {
  2028. std::string doublequote = "\"";
  2029. std::string power = "Game.AddToInventory(" + doublequote;
  2030. std::string ofdark = "Items.mq003_shard" + doublequote;
  2031. std::string ofdarkside = power + ofdark;
  2032. std::string powerof = ofdarkside + ", 1)";
  2033. char* commandline = new char[powerof.length() + 1];
  2034. strcpy(commandline, powerof.c_str());
  2035. Scripting::Get().ExecuteLua(commandline);
  2036. std::memset(commandline, 0, sizeof(commandline));
  2037. }
  2038. if (ImGui::Button("mq014_air_braindance")) {
  2039. std::string doublequote = "\"";
  2040. std::string power = "Game.AddToInventory(" + doublequote;
  2041. std::string ofdark = "Items.mq014_air_braindance" + doublequote;
  2042. std::string ofdarkside = power + ofdark;
  2043. std::string powerof = ofdarkside + ", 1)";
  2044. char* commandline = new char[powerof.length() + 1];
  2045. strcpy(commandline, powerof.c_str());
  2046. Scripting::Get().ExecuteLua(commandline);
  2047. std::memset(commandline, 0, sizeof(commandline));
  2048. }
  2049. if (ImGui::Button("mq014_earth_braindance")) {
  2050. std::string doublequote = "\"";
  2051. std::string power = "Game.AddToInventory(" + doublequote;
  2052. std::string ofdark = "Items.mq014_earth_braindance" + doublequote;
  2053. std::string ofdarkside = power + ofdark;
  2054. std::string powerof = ofdarkside + ", 1)";
  2055. char* commandline = new char[powerof.length() + 1];
  2056. strcpy(commandline, powerof.c_str());
  2057. Scripting::Get().ExecuteLua(commandline);
  2058. std::memset(commandline, 0, sizeof(commandline));
  2059. }
  2060. if (ImGui::Button("mq014_fire_braindance")) {
  2061. std::string doublequote = "\"";
  2062. std::string power = "Game.AddToInventory(" + doublequote;
  2063. std::string ofdark = "Items.mq014_fire_braindance" + doublequote;
  2064. std::string ofdarkside = power + ofdark;
  2065. std::string powerof = ofdarkside + ", 1)";
  2066. char* commandline = new char[powerof.length() + 1];
  2067. strcpy(commandline, powerof.c_str());
  2068. Scripting::Get().ExecuteLua(commandline);
  2069. std::memset(commandline, 0, sizeof(commandline));
  2070. }
  2071. if (ImGui::Button("mq014_monks_altar")) {
  2072. std::string doublequote = "\"";
  2073. std::string power = "Game.AddToInventory(" + doublequote;
  2074. std::string ofdark = "Items.mq014_monks_altar" + doublequote;
  2075. std::string ofdarkside = power + ofdark;
  2076. std::string powerof = ofdarkside + ", 1)";
  2077. char* commandline = new char[powerof.length() + 1];
  2078. strcpy(commandline, powerof.c_str());
  2079. Scripting::Get().ExecuteLua(commandline);
  2080. std::memset(commandline, 0, sizeof(commandline));
  2081. }
  2082. if (ImGui::Button("mq014_water_braindance")) {
  2083. std::string doublequote = "\"";
  2084. std::string power = "Game.AddToInventory(" + doublequote;
  2085. std::string ofdark = "Items.mq014_water_braindance" + doublequote;
  2086. std::string ofdarkside = power + ofdark;
  2087. std::string powerof = ofdarkside + ", 1)";
  2088. char* commandline = new char[powerof.length() + 1];
  2089. strcpy(commandline, powerof.c_str());
  2090. Scripting::Get().ExecuteLua(commandline);
  2091. std::memset(commandline, 0, sizeof(commandline));
  2092. }
  2093. if (ImGui::Button("mq015_wizardbook_decrypted")) {
  2094. std::string doublequote = "\"";
  2095. std::string power = "Game.AddToInventory(" + doublequote;
  2096. std::string ofdark = "Items.mq015_wizardbook_decrypted" + doublequote;
  2097. std::string ofdarkside = power + ofdark;
  2098. std::string powerof = ofdarkside + ", 1)";
  2099. char* commandline = new char[powerof.length() + 1];
  2100. strcpy(commandline, powerof.c_str());
  2101. Scripting::Get().ExecuteLua(commandline);
  2102. std::memset(commandline, 0, sizeof(commandline));
  2103. }
  2104. if (ImGui::Button("mq015_wizardbook_encrypted")) {
  2105. std::string doublequote = "\"";
  2106. std::string power = "Game.AddToInventory(" + doublequote;
  2107. std::string ofdark = "Items.mq015_wizardbook_encrypted" + doublequote;
  2108. std::string ofdarkside = power + ofdark;
  2109. std::string powerof = ofdarkside + ", 1)";
  2110. char* commandline = new char[powerof.length() + 1];
  2111. strcpy(commandline, powerof.c_str());
  2112. Scripting::Get().ExecuteLua(commandline);
  2113. std::memset(commandline, 0, sizeof(commandline));
  2114. }
  2115. if (ImGui::Button("mq016_shard")) {
  2116. std::string doublequote = "\"";
  2117. std::string power = "Game.AddToInventory(" + doublequote;
  2118. std::string ofdark = "Items.mq016_shard" + doublequote;
  2119. std::string ofdarkside = power + ofdark;
  2120. std::string powerof = ofdarkside + ", 1)";
  2121. char* commandline = new char[powerof.length() + 1];
  2122. strcpy(commandline, powerof.c_str());
  2123. Scripting::Get().ExecuteLua(commandline);
  2124. std::memset(commandline, 0, sizeof(commandline));
  2125. }
  2126. if (ImGui::Button("mq021_cyberware_container")) {
  2127. std::string doublequote = "\"";
  2128. std::string power = "Game.AddToInventory(" + doublequote;
  2129. std::string ofdark = "Items.mq021_cyberware_container" + doublequote;
  2130. std::string ofdarkside = power + ofdark;
  2131. std::string powerof = ofdarkside + ", 1)";
  2132. char* commandline = new char[powerof.length() + 1];
  2133. strcpy(commandline, powerof.c_str());
  2134. Scripting::Get().ExecuteLua(commandline);
  2135. std::memset(commandline, 0, sizeof(commandline));
  2136. }
  2137. if (ImGui::Button("mq023_samurai_bootleg")) {
  2138. std::string doublequote = "\"";
  2139. std::string power = "Game.AddToInventory(" + doublequote;
  2140. std::string ofdark = "Items.mq023_samurai_bootleg" + doublequote;
  2141. std::string ofdarkside = power + ofdark;
  2142. std::string powerof = ofdarkside + ", 1)";
  2143. char* commandline = new char[powerof.length() + 1];
  2144. strcpy(commandline, powerof.c_str());
  2145. Scripting::Get().ExecuteLua(commandline);
  2146. std::memset(commandline, 0, sizeof(commandline));
  2147. }
  2148. if (ImGui::Button("mq024_sandra_data_carrier")) {
  2149. std::string doublequote = "\"";
  2150. std::string power = "Game.AddToInventory(" + doublequote;
  2151. std::string ofdark = "Items.mq024_sandra_data_carrier" + doublequote;
  2152. std::string ofdarkside = power + ofdark;
  2153. std::string powerof = ofdarkside + ", 1)";
  2154. char* commandline = new char[powerof.length() + 1];
  2155. strcpy(commandline, powerof.c_str());
  2156. Scripting::Get().ExecuteLua(commandline);
  2157. std::memset(commandline, 0, sizeof(commandline));
  2158. }
  2159. if (ImGui::Button("mq024_sandra_data_carrier_cracked")) {
  2160. std::string doublequote = "\"";
  2161. std::string power = "Game.AddToInventory(" + doublequote;
  2162. std::string ofdark = "Items.mq024_sandra_data_carrier_cracked" + doublequote;
  2163. std::string ofdarkside = power + ofdark;
  2164. std::string powerof = ofdarkside + ", 1)";
  2165. char* commandline = new char[powerof.length() + 1];
  2166. strcpy(commandline, powerof.c_str());
  2167. Scripting::Get().ExecuteLua(commandline);
  2168. std::memset(commandline, 0, sizeof(commandline));
  2169. }
  2170. if (ImGui::Button("mq026_conspiracy_loot")) {
  2171. std::string doublequote = "\"";
  2172. std::string power = "Game.AddToInventory(" + doublequote;
  2173. std::string ofdark = "Items.mq026_conspiracy_loot" + doublequote;
  2174. std::string ofdarkside = power + ofdark;
  2175. std::string powerof = ofdarkside + ", 1)";
  2176. char* commandline = new char[powerof.length() + 1];
  2177. strcpy(commandline, powerof.c_str());
  2178. Scripting::Get().ExecuteLua(commandline);
  2179. std::memset(commandline, 0, sizeof(commandline));
  2180. }
  2181. if (ImGui::Button("mq028_evidence")) {
  2182. std::string doublequote = "\"";
  2183. std::string power = "Game.AddToInventory(" + doublequote;
  2184. std::string ofdark = "Items.mq028_evidence" + doublequote;
  2185. std::string ofdarkside = power + ofdark;
  2186. std::string powerof = ofdarkside + ", 1)";
  2187. char* commandline = new char[powerof.length() + 1];
  2188. strcpy(commandline, powerof.c_str());
  2189. Scripting::Get().ExecuteLua(commandline);
  2190. std::memset(commandline, 0, sizeof(commandline));
  2191. }
  2192. if (ImGui::Button("mq029_james_note")) {
  2193. std::string doublequote = "\"";
  2194. std::string power = "Game.AddToInventory(" + doublequote;
  2195. std::string ofdark = "Items.mq029_james_note" + doublequote;
  2196. std::string ofdarkside = power + ofdark;
  2197. std::string powerof = ofdarkside + ", 1)";
  2198. char* commandline = new char[powerof.length() + 1];
  2199. strcpy(commandline, powerof.c_str());
  2200. Scripting::Get().ExecuteLua(commandline);
  2201. std::memset(commandline, 0, sizeof(commandline));
  2202. }
  2203. if (ImGui::Button("mq029_josie_last_note")) {
  2204. std::string doublequote = "\"";
  2205. std::string power = "Game.AddToInventory(" + doublequote;
  2206. std::string ofdark = "Items.mq029_josie_last_note" + doublequote;
  2207. std::string ofdarkside = power + ofdark;
  2208. std::string powerof = ofdarkside + ", 1)";
  2209. char* commandline = new char[powerof.length() + 1];
  2210. strcpy(commandline, powerof.c_str());
  2211. Scripting::Get().ExecuteLua(commandline);
  2212. std::memset(commandline, 0, sizeof(commandline));
  2213. }
  2214. if (ImGui::Button("mq033_dreamcatcher")) {
  2215. std::string doublequote = "\"";
  2216. std::string power = "Game.AddToInventory(" + doublequote;
  2217. std::string ofdark = "Items.mq033_dreamcatcher" + doublequote;
  2218. std::string ofdarkside = power + ofdark;
  2219. std::string powerof = ofdarkside + ", 1)";
  2220. char* commandline = new char[powerof.length() + 1];
  2221. strcpy(commandline, powerof.c_str());
  2222. Scripting::Get().ExecuteLua(commandline);
  2223. std::memset(commandline, 0, sizeof(commandline));
  2224. }
  2225. if (ImGui::Button("mq034_dead_man_shard")) {
  2226. std::string doublequote = "\"";
  2227. std::string power = "Game.AddToInventory(" + doublequote;
  2228. std::string ofdark = "Items.mq034_dead_man_shard" + doublequote;
  2229. std::string ofdarkside = power + ofdark;
  2230. std::string powerof = ofdarkside + ", 1)";
  2231. char* commandline = new char[powerof.length() + 1];
  2232. strcpy(commandline, powerof.c_str());
  2233. Scripting::Get().ExecuteLua(commandline);
  2234. std::memset(commandline, 0, sizeof(commandline));
  2235. }
  2236. if (ImGui::Button("mq036_unmarked_bd_cartridge")) {
  2237. std::string doublequote = "\"";
  2238. std::string power = "Game.AddToInventory(" + doublequote;
  2239. std::string ofdark = "Items.mq036_unmarked_bd_cartridge" + doublequote;
  2240. std::string ofdarkside = power + ofdark;
  2241. std::string powerof = ofdarkside + ", 1)";
  2242. char* commandline = new char[powerof.length() + 1];
  2243. strcpy(commandline, powerof.c_str());
  2244. Scripting::Get().ExecuteLua(commandline);
  2245. std::memset(commandline, 0, sizeof(commandline));
  2246. }
  2247. if (ImGui::Button("mq039_netrunner_box")) {
  2248. std::string doublequote = "\"";
  2249. std::string power = "Game.AddToInventory(" + doublequote;
  2250. std::string ofdark = "Items.mq039_netrunner_box" + doublequote;
  2251. std::string ofdarkside = power + ofdark;
  2252. std::string powerof = ofdarkside + ", 1)";
  2253. char* commandline = new char[powerof.length() + 1];
  2254. strcpy(commandline, powerof.c_str());
  2255. Scripting::Get().ExecuteLua(commandline);
  2256. std::memset(commandline, 0, sizeof(commandline));
  2257. }
  2258. if (ImGui::Button("q000_rayfield_key")) {
  2259. std::string doublequote = "\"";
  2260. std::string power = "Game.AddToInventory(" + doublequote;
  2261. std::string ofdark = "Items.q000_rayfield_key" + doublequote;
  2262. std::string ofdarkside = power + ofdark;
  2263. std::string powerof = ofdarkside + ", 1)";
  2264. char* commandline = new char[powerof.length() + 1];
  2265. strcpy(commandline, powerof.c_str());
  2266. Scripting::Get().ExecuteLua(commandline);
  2267. std::memset(commandline, 0, sizeof(commandline));
  2268. }
  2269. if (ImGui::Button("q001_netrunner_software_shard")) {
  2270. std::string doublequote = "\"";
  2271. std::string power = "Game.AddToInventory(" + doublequote;
  2272. std::string ofdark = "Items.q001_netrunner_software_shard" + doublequote;
  2273. std::string ofdarkside = power + ofdark;
  2274. std::string powerof = ofdarkside + ", 1)";
  2275. char* commandline = new char[powerof.length() + 1];
  2276. strcpy(commandline, powerof.c_str());
  2277. Scripting::Get().ExecuteLua(commandline);
  2278. std::memset(commandline, 0, sizeof(commandline));
  2279. }
  2280. if (ImGui::Button("q001_secret_room_keycard")) {
  2281. std::string doublequote = "\"";
  2282. std::string power = "Game.AddToInventory(" + doublequote;
  2283. std::string ofdark = "Items.q001_secret_room_keycard" + doublequote;
  2284. std::string ofdarkside = power + ofdark;
  2285. std::string powerof = ofdarkside + ", 1)";
  2286. char* commandline = new char[powerof.length() + 1];
  2287. strcpy(commandline, powerof.c_str());
  2288. Scripting::Get().ExecuteLua(commandline);
  2289. std::memset(commandline, 0, sizeof(commandline));
  2290. }
  2291. if (ImGui::Button("q001_viktor_stimulant")) {
  2292. std::string doublequote = "\"";
  2293. std::string power = "Game.AddToInventory(" + doublequote;
  2294. std::string ofdark = "Items.q001_viktor_stimulant" + doublequote;
  2295. std::string ofdarkside = power + ofdark;
  2296. std::string powerof = ofdarkside + ", 1)";
  2297. char* commandline = new char[powerof.length() + 1];
  2298. strcpy(commandline, powerof.c_str());
  2299. Scripting::Get().ExecuteLua(commandline);
  2300. std::memset(commandline, 0, sizeof(commandline));
  2301. }
  2302. if (ImGui::Button("q003_chip")) {
  2303. std::string doublequote = "\"";
  2304. std::string power = "Game.AddToInventory(" + doublequote;
  2305. std::string ofdark = "Items.q003_chip" + doublequote;
  2306. std::string ofdarkside = power + ofdark;
  2307. std::string powerof = ofdarkside + ", 1)";
  2308. char* commandline = new char[powerof.length() + 1];
  2309. strcpy(commandline, powerof.c_str());
  2310. Scripting::Get().ExecuteLua(commandline);
  2311. std::memset(commandline, 0, sizeof(commandline));
  2312. }
  2313. if (ImGui::Button("q003_chip_cracked")) {
  2314. std::string doublequote = "\"";
  2315. std::string power = "Game.AddToInventory(" + doublequote;
  2316. std::string ofdark = "Items.q003_chip_cracked" + doublequote;
  2317. std::string ofdarkside = power + ofdark;
  2318. std::string powerof = ofdarkside + ", 1)";
  2319. char* commandline = new char[powerof.length() + 1];
  2320. strcpy(commandline, powerof.c_str());
  2321. Scripting::Get().ExecuteLua(commandline);
  2322. std::memset(commandline, 0, sizeof(commandline));
  2323. }
  2324. if (ImGui::Button("q003_e3_Spiderbot_Splinter")) {
  2325. std::string doublequote = "\"";
  2326. std::string power = "Game.AddToInventory(" + doublequote;
  2327. std::string ofdark = "Items.q003_e3_Spiderbot_Splinter" + doublequote;
  2328. std::string ofdarkside = power + ofdark;
  2329. std::string powerof = ofdarkside + ", 1)";
  2330. char* commandline = new char[powerof.length() + 1];
  2331. strcpy(commandline, powerof.c_str());
  2332. Scripting::Get().ExecuteLua(commandline);
  2333. std::memset(commandline, 0, sizeof(commandline));
  2334. }
  2335. if (ImGui::Button("q003_maelstrom_feed_cat_shard")) {
  2336. std::string doublequote = "\"";
  2337. std::string power = "Game.AddToInventory(" + doublequote;
  2338. std::string ofdark = "Items.q003_maelstrom_feed_cat_shard" + doublequote;
  2339. std::string ofdarkside = power + ofdark;
  2340. std::string powerof = ofdarkside + ", 1)";
  2341. char* commandline = new char[powerof.length() + 1];
  2342. strcpy(commandline, powerof.c_str());
  2343. Scripting::Get().ExecuteLua(commandline);
  2344. std::memset(commandline, 0, sizeof(commandline));
  2345. }
  2346. if (ImGui::Button("q003_spiderbot")) {
  2347. std::string doublequote = "\"";
  2348. std::string power = "Game.AddToInventory(" + doublequote;
  2349. std::string ofdark = "Items.q003_spiderbot" + doublequote;
  2350. std::string ofdarkside = power + ofdark;
  2351. std::string powerof = ofdarkside + ", 1)";
  2352. char* commandline = new char[powerof.length() + 1];
  2353. strcpy(commandline, powerof.c_str());
  2354. Scripting::Get().ExecuteLua(commandline);
  2355. std::memset(commandline, 0, sizeof(commandline));
  2356. }
  2357. if (ImGui::Button("q004_access_card")) {
  2358. std::string doublequote = "\"";
  2359. std::string power = "Game.AddToInventory(" + doublequote;
  2360. std::string ofdark = "Items.q004_access_card" + doublequote;
  2361. std::string ofdarkside = power + ofdark;
  2362. std::string powerof = ofdarkside + ", 1)";
  2363. char* commandline = new char[powerof.length() + 1];
  2364. strcpy(commandline, powerof.c_str());
  2365. Scripting::Get().ExecuteLua(commandline);
  2366. std::memset(commandline, 0, sizeof(commandline));
  2367. }
  2368. if (ImGui::Button("q004_braindance_player")) {
  2369. std::string doublequote = "\"";
  2370. std::string power = "Game.AddToInventory(" + doublequote;
  2371. std::string ofdark = "Items.q004_braindance_player" + doublequote;
  2372. std::string ofdarkside = power + ofdark;
  2373. std::string powerof = ofdarkside + ", 1)";
  2374. char* commandline = new char[powerof.length() + 1];
  2375. strcpy(commandline, powerof.c_str());
  2376. Scripting::Get().ExecuteLua(commandline);
  2377. std::memset(commandline, 0, sizeof(commandline));
  2378. }
  2379. if (ImGui::Button("q004_daruma_doll")) {
  2380. std::string doublequote = "\"";
  2381. std::string power = "Game.AddToInventory(" + doublequote;
  2382. std::string ofdark = "Items.q004_daruma_doll" + doublequote;
  2383. std::string ofdarkside = power + ofdark;
  2384. std::string powerof = ofdarkside + ", 1)";
  2385. char* commandline = new char[powerof.length() + 1];
  2386. strcpy(commandline, powerof.c_str());
  2387. Scripting::Get().ExecuteLua(commandline);
  2388. std::memset(commandline, 0, sizeof(commandline));
  2389. }
  2390. if (ImGui::Button("q004_drugs")) {
  2391. std::string doublequote = "\"";
  2392. std::string power = "Game.AddToInventory(" + doublequote;
  2393. std::string ofdark = "Items.q004_drugs" + doublequote;
  2394. std::string ofdarkside = power + ofdark;
  2395. std::string powerof = ofdarkside + ", 1)";
  2396. char* commandline = new char[powerof.length() + 1];
  2397. strcpy(commandline, powerof.c_str());
  2398. Scripting::Get().ExecuteLua(commandline);
  2399. std::memset(commandline, 0, sizeof(commandline));
  2400. }
  2401. if (ImGui::Button("q004_energy_drink")) {
  2402. std::string doublequote = "\"";
  2403. std::string power = "Game.AddToInventory(" + doublequote;
  2404. std::string ofdark = "Items.q004_energy_drink" + doublequote;
  2405. std::string ofdarkside = power + ofdark;
  2406. std::string powerof = ofdarkside + ", 1)";
  2407. char* commandline = new char[powerof.length() + 1];
  2408. strcpy(commandline, powerof.c_str());
  2409. Scripting::Get().ExecuteLua(commandline);
  2410. std::memset(commandline, 0, sizeof(commandline));
  2411. }
  2412. if (ImGui::Button("q004_splinter")) {
  2413. std::string doublequote = "\"";
  2414. std::string power = "Game.AddToInventory(" + doublequote;
  2415. std::string ofdark = "Items.q004_splinter" + doublequote;
  2416. std::string ofdarkside = power + ofdark;
  2417. std::string powerof = ofdarkside + ", 1)";
  2418. char* commandline = new char[powerof.length() + 1];
  2419. strcpy(commandline, powerof.c_str());
  2420. Scripting::Get().ExecuteLua(commandline);
  2421. std::memset(commandline, 0, sizeof(commandline));
  2422. }
  2423. if (ImGui::Button("q005_iguana_egg")) {
  2424. std::string doublequote = "\"";
  2425. std::string power = "Game.AddToInventory(" + doublequote;
  2426. std::string ofdark = "Items.q005_iguana_egg" + doublequote;
  2427. std::string ofdarkside = power + ofdark;
  2428. std::string powerof = ofdarkside + ", 1)";
  2429. char* commandline = new char[powerof.length() + 1];
  2430. strcpy(commandline, powerof.c_str());
  2431. Scripting::Get().ExecuteLua(commandline);
  2432. std::memset(commandline, 0, sizeof(commandline));
  2433. }
  2434. if (ImGui::Button("q005_saburo_data_carrier")) {
  2435. std::string doublequote = "\"";
  2436. std::string power = "Game.AddToInventory(" + doublequote;
  2437. std::string ofdark = "Items.q005_saburo_data_carrier" + doublequote;
  2438. std::string ofdarkside = power + ofdark;
  2439. std::string powerof = ofdarkside + ", 1)";
  2440. char* commandline = new char[powerof.length() + 1];
  2441. strcpy(commandline, powerof.c_str());
  2442. Scripting::Get().ExecuteLua(commandline);
  2443. std::memset(commandline, 0, sizeof(commandline));
  2444. }
  2445. if (ImGui::Button("q005_saburo_data_carrier_cracked")) {
  2446. std::string doublequote = "\"";
  2447. std::string power = "Game.AddToInventory(" + doublequote;
  2448. std::string ofdark = "Items.q005_saburo_data_carrier_cracked" + doublequote;
  2449. std::string ofdarkside = power + ofdark;
  2450. std::string powerof = ofdarkside + ", 1)";
  2451. char* commandline = new char[powerof.length() + 1];
  2452. strcpy(commandline, powerof.c_str());
  2453. Scripting::Get().ExecuteLua(commandline);
  2454. std::memset(commandline, 0, sizeof(commandline));
  2455. }
  2456. if (ImGui::Button("q005_saburo_dogtag")) {
  2457. std::string doublequote = "\"";
  2458. std::string power = "Game.AddToInventory(" + doublequote;
  2459. std::string ofdark = "Items.q005_saburo_dogtag" + doublequote;
  2460. std::string ofdarkside = power + ofdark;
  2461. std::string powerof = ofdarkside + ", 1)";
  2462. char* commandline = new char[powerof.length() + 1];
  2463. strcpy(commandline, powerof.c_str());
  2464. Scripting::Get().ExecuteLua(commandline);
  2465. std::memset(commandline, 0, sizeof(commandline));
  2466. }
  2467. if (ImGui::Button("q005_suit_cover")) {
  2468. std::string doublequote = "\"";
  2469. std::string power = "Game.AddToInventory(" + doublequote;
  2470. std::string ofdark = "Items.q005_suit_cover" + doublequote;
  2471. std::string ofdarkside = power + ofdark;
  2472. std::string powerof = ofdarkside + ", 1)";
  2473. char* commandline = new char[powerof.length() + 1];
  2474. strcpy(commandline, powerof.c_str());
  2475. Scripting::Get().ExecuteLua(commandline);
  2476. std::memset(commandline, 0, sizeof(commandline));
  2477. }
  2478. if (ImGui::Button("q101_takemura_chase_kenshin")) {
  2479. std::string doublequote = "\"";
  2480. std::string power = "Game.AddToInventory(" + doublequote;
  2481. std::string ofdark = "Items.q101_takemura_chase_kenshin" + doublequote;
  2482. std::string ofdarkside = power + ofdark;
  2483. std::string powerof = ofdarkside + ", 1)";
  2484. char* commandline = new char[powerof.length() + 1];
  2485. strcpy(commandline, powerof.c_str());
  2486. Scripting::Get().ExecuteLua(commandline);
  2487. std::memset(commandline, 0, sizeof(commandline));
  2488. }
  2489. if (ImGui::Button("q103_car_battery_cable")) {
  2490. std::string doublequote = "\"";
  2491. std::string power = "Game.AddToInventory(" + doublequote;
  2492. std::string ofdark = "Items.q103_car_battery_cable" + doublequote;
  2493. std::string ofdarkside = power + ofdark;
  2494. std::string powerof = ofdarkside + ", 1)";
  2495. char* commandline = new char[powerof.length() + 1];
  2496. strcpy(commandline, powerof.c_str());
  2497. Scripting::Get().ExecuteLua(commandline);
  2498. std::memset(commandline, 0, sizeof(commandline));
  2499. }
  2500. if (ImGui::Button("q103_ghost_town_bar_shard")) {
  2501. std::string doublequote = "\"";
  2502. std::string power = "Game.AddToInventory(" + doublequote;
  2503. std::string ofdark = "Items.q103_ghost_town_bar_shard" + doublequote;
  2504. std::string ofdarkside = power + ofdark;
  2505. std::string powerof = ofdarkside + ", 1)";
  2506. char* commandline = new char[powerof.length() + 1];
  2507. strcpy(commandline, powerof.c_str());
  2508. Scripting::Get().ExecuteLua(commandline);
  2509. std::memset(commandline, 0, sizeof(commandline));
  2510. }
  2511. if (ImGui::Button("q103_ghost_town_leaflet_shard")) {
  2512. std::string doublequote = "\"";
  2513. std::string power = "Game.AddToInventory(" + doublequote;
  2514. std::string ofdark = "Items.q103_ghost_town_leaflet_shard" + doublequote;
  2515. std::string ofdarkside = power + ofdark;
  2516. std::string powerof = ofdarkside + ", 1)";
  2517. char* commandline = new char[powerof.length() + 1];
  2518. strcpy(commandline, powerof.c_str());
  2519. Scripting::Get().ExecuteLua(commandline);
  2520. std::memset(commandline, 0, sizeof(commandline));
  2521. }
  2522. if (ImGui::Button("q103_ghost_town_wife_shard")) {
  2523. std::string doublequote = "\"";
  2524. std::string power = "Game.AddToInventory(" + doublequote;
  2525. std::string ofdark = "Items.q103_ghost_town_wife_shard" + doublequote;
  2526. std::string ofdarkside = power + ofdark;
  2527. std::string powerof = ofdarkside + ", 1)";
  2528. char* commandline = new char[powerof.length() + 1];
  2529. strcpy(commandline, powerof.c_str());
  2530. Scripting::Get().ExecuteLua(commandline);
  2531. std::memset(commandline, 0, sizeof(commandline));
  2532. }
  2533. if (ImGui::Button("q103_nash_shard")) {
  2534. std::string doublequote = "\"";
  2535. std::string power = "Game.AddToInventory(" + doublequote;
  2536. std::string ofdark = "Items.q103_nash_shard" + doublequote;
  2537. std::string ofdarkside = power + ofdark;
  2538. std::string powerof = ofdarkside + ", 1)";
  2539. char* commandline = new char[powerof.length() + 1];
  2540. strcpy(commandline, powerof.c_str());
  2541. Scripting::Get().ExecuteLua(commandline);
  2542. std::memset(commandline, 0, sizeof(commandline));
  2543. }
  2544. if (ImGui::Button("q104_kang_orders_shard")) {
  2545. std::string doublequote = "\"";
  2546. std::string power = "Game.AddToInventory(" + doublequote;
  2547. std::string ofdark = "Items.q104_kang_orders_shard" + doublequote;
  2548. std::string ofdarkside = power + ofdark;
  2549. std::string powerof = ofdarkside + ", 1)";
  2550. char* commandline = new char[powerof.length() + 1];
  2551. strcpy(commandline, powerof.c_str());
  2552. Scripting::Get().ExecuteLua(commandline);
  2553. std::memset(commandline, 0, sizeof(commandline));
  2554. }
  2555. if (ImGui::Button("q105_01_evelyns_calendar")) {
  2556. std::string doublequote = "\"";
  2557. std::string power = "Game.AddToInventory(" + doublequote;
  2558. std::string ofdark = "Items.q105_01_evelyns_calendar" + doublequote;
  2559. std::string ofdarkside = power + ofdark;
  2560. std::string powerof = ofdarkside + ", 1)";
  2561. char* commandline = new char[powerof.length() + 1];
  2562. strcpy(commandline, powerof.c_str());
  2563. Scripting::Get().ExecuteLua(commandline);
  2564. std::memset(commandline, 0, sizeof(commandline));
  2565. }
  2566. if (ImGui::Button("q105_01_guards_chat")) {
  2567. std::string doublequote = "\"";
  2568. std::string power = "Game.AddToInventory(" + doublequote;
  2569. std::string ofdark = "Items.q105_01_guards_chat" + doublequote;
  2570. std::string ofdarkside = power + ofdark;
  2571. std::string powerof = ofdarkside + ", 1)";
  2572. char* commandline = new char[powerof.length() + 1];
  2573. strcpy(commandline, powerof.c_str());
  2574. Scripting::Get().ExecuteLua(commandline);
  2575. std::memset(commandline, 0, sizeof(commandline));
  2576. }
  2577. if (ImGui::Button("q105_01_security_orders")) {
  2578. std::string doublequote = "\"";
  2579. std::string power = "Game.AddToInventory(" + doublequote;
  2580. std::string ofdark = "Items.q105_01_security_orders" + doublequote;
  2581. std::string ofdarkside = power + ofdark;
  2582. std::string powerof = ofdarkside + ", 1)";
  2583. char* commandline = new char[powerof.length() + 1];
  2584. strcpy(commandline, powerof.c_str());
  2585. Scripting::Get().ExecuteLua(commandline);
  2586. std::memset(commandline, 0, sizeof(commandline));
  2587. }
  2588. if (ImGui::Button("q105_evelyns_cigarette_case")) {
  2589. std::string doublequote = "\"";
  2590. std::string power = "Game.AddToInventory(" + doublequote;
  2591. std::string ofdark = "Items.q105_evelyns_cigarette_case" + doublequote;
  2592. std::string ofdarkside = power + ofdark;
  2593. std::string powerof = ofdarkside + ", 1)";
  2594. char* commandline = new char[powerof.length() + 1];
  2595. strcpy(commandline, powerof.c_str());
  2596. Scripting::Get().ExecuteLua(commandline);
  2597. std::memset(commandline, 0, sizeof(commandline));
  2598. }
  2599. if (ImGui::Button("q105_evelyns_handbag")) {
  2600. std::string doublequote = "\"";
  2601. std::string power = "Game.AddToInventory(" + doublequote;
  2602. std::string ofdark = "Items.q105_evelyns_handbag" + doublequote;
  2603. std::string ofdarkside = power + ofdark;
  2604. std::string powerof = ofdarkside + ", 1)";
  2605. char* commandline = new char[powerof.length() + 1];
  2606. strcpy(commandline, powerof.c_str());
  2607. Scripting::Get().ExecuteLua(commandline);
  2608. std::memset(commandline, 0, sizeof(commandline));
  2609. }
  2610. if (ImGui::Button("q105_evelyns_shoes")) {
  2611. std::string doublequote = "\"";
  2612. std::string power = "Game.AddToInventory(" + doublequote;
  2613. std::string ofdark = "Items.q105_evelyns_shoes" + doublequote;
  2614. std::string ofdarkside = power + ofdark;
  2615. std::string powerof = ofdarkside + ", 1)";
  2616. char* commandline = new char[powerof.length() + 1];
  2617. strcpy(commandline, powerof.c_str());
  2618. Scripting::Get().ExecuteLua(commandline);
  2619. std::memset(commandline, 0, sizeof(commandline));
  2620. }
  2621. if (ImGui::Button("q105_item_blackmarket_braindance")) {
  2622. std::string doublequote = "\"";
  2623. std::string power = "Game.AddToInventory(" + doublequote;
  2624. std::string ofdark = "Items.q105_item_blackmarket_braindance" + doublequote;
  2625. std::string ofdarkside = power + ofdark;
  2626. std::string powerof = ofdarkside + ", 1)";
  2627. char* commandline = new char[powerof.length() + 1];
  2628. strcpy(commandline, powerof.c_str());
  2629. Scripting::Get().ExecuteLua(commandline);
  2630. std::memset(commandline, 0, sizeof(commandline));
  2631. }
  2632. if (ImGui::Button("q105_item_fluff_braindance_01")) {
  2633. std::string doublequote = "\"";
  2634. std::string power = "Game.AddToInventory(" + doublequote;
  2635. std::string ofdark = "Items.q105_item_fluff_braindance_01" + doublequote;
  2636. std::string ofdarkside = power + ofdark;
  2637. std::string powerof = ofdarkside + ", 1)";
  2638. char* commandline = new char[powerof.length() + 1];
  2639. strcpy(commandline, powerof.c_str());
  2640. Scripting::Get().ExecuteLua(commandline);
  2641. std::memset(commandline, 0, sizeof(commandline));
  2642. }
  2643. if (ImGui::Button("q105_item_fluff_braindance_02")) {
  2644. std::string doublequote = "\"";
  2645. std::string power = "Game.AddToInventory(" + doublequote;
  2646. std::string ofdark = "Items.q105_item_fluff_braindance_02" + doublequote;
  2647. std::string ofdarkside = power + ofdark;
  2648. std::string powerof = ofdarkside + ", 1)";
  2649. char* commandline = new char[powerof.length() + 1];
  2650. strcpy(commandline, powerof.c_str());
  2651. Scripting::Get().ExecuteLua(commandline);
  2652. std::memset(commandline, 0, sizeof(commandline));
  2653. }
  2654. if (ImGui::Button("q105_item_fluff_braindance_03")) {
  2655. std::string doublequote = "\"";
  2656. std::string power = "Game.AddToInventory(" + doublequote;
  2657. std::string ofdark = "Items.q105_item_fluff_braindance_03" + doublequote;
  2658. std::string ofdarkside = power + ofdark;
  2659. std::string powerof = ofdarkside + ", 1)";
  2660. char* commandline = new char[powerof.length() + 1];
  2661. strcpy(commandline, powerof.c_str());
  2662. Scripting::Get().ExecuteLua(commandline);
  2663. std::memset(commandline, 0, sizeof(commandline));
  2664. }
  2665. if (ImGui::Button("q105_item_fluff_braindance_04")) {
  2666. std::string doublequote = "\"";
  2667. std::string power = "Game.AddToInventory(" + doublequote;
  2668. std::string ofdark = "Items.q105_item_fluff_braindance_04" + doublequote;
  2669. std::string ofdarkside = power + ofdark;
  2670. std::string powerof = ofdarkside + ", 1)";
  2671. char* commandline = new char[powerof.length() + 1];
  2672. strcpy(commandline, powerof.c_str());
  2673. Scripting::Get().ExecuteLua(commandline);
  2674. std::memset(commandline, 0, sizeof(commandline));
  2675. }
  2676. if (ImGui::Button("q105_item_fluff_braindance_05")) {
  2677. std::string doublequote = "\"";
  2678. std::string power = "Game.AddToInventory(" + doublequote;
  2679. std::string ofdark = "Items.q105_item_fluff_braindance_05" + doublequote;
  2680. std::string ofdarkside = power + ofdark;
  2681. std::string powerof = ofdarkside + ", 1)";
  2682. char* commandline = new char[powerof.length() + 1];
  2683. strcpy(commandline, powerof.c_str());
  2684. Scripting::Get().ExecuteLua(commandline);
  2685. std::memset(commandline, 0, sizeof(commandline));
  2686. }
  2687. if (ImGui::Button("q105_mox_handgun")) {
  2688. std::string doublequote = "\"";
  2689. std::string power = "Game.AddToInventory(" + doublequote;
  2690. std::string ofdark = "Items.q105_mox_handgun" + doublequote;
  2691. std::string ofdarkside = power + ofdark;
  2692. std::string powerof = ofdarkside + ", 1)";
  2693. char* commandline = new char[powerof.length() + 1];
  2694. strcpy(commandline, powerof.c_str());
  2695. Scripting::Get().ExecuteLua(commandline);
  2696. std::memset(commandline, 0, sizeof(commandline));
  2697. }
  2698. if (ImGui::Button("q115_ammo")) {
  2699. std::string doublequote = "\"";
  2700. std::string power = "Game.AddToInventory(" + doublequote;
  2701. std::string ofdark = "Items.q115_ammo" + doublequote;
  2702. std::string ofdarkside = power + ofdark;
  2703. std::string powerof = ofdarkside + ", 1)";
  2704. char* commandline = new char[powerof.length() + 1];
  2705. strcpy(commandline, powerof.c_str());
  2706. Scripting::Get().ExecuteLua(commandline);
  2707. std::memset(commandline, 0, sizeof(commandline));
  2708. }
  2709. if (ImGui::Button("q115_grenades")) {
  2710. std::string doublequote = "\"";
  2711. std::string power = "Game.AddToInventory(" + doublequote;
  2712. std::string ofdark = "Items.q115_grenades" + doublequote;
  2713. std::string ofdarkside = power + ofdark;
  2714. std::string powerof = ofdarkside + ", 1)";
  2715. char* commandline = new char[powerof.length() + 1];
  2716. strcpy(commandline, powerof.c_str());
  2717. Scripting::Get().ExecuteLua(commandline);
  2718. std::memset(commandline, 0, sizeof(commandline));
  2719. }
  2720. if (ImGui::Button("q201_jacket")) {
  2721. std::string doublequote = "\"";
  2722. std::string power = "Game.AddToInventory(" + doublequote;
  2723. std::string ofdark = "Items.q201_jacket" + doublequote;
  2724. std::string ofdarkside = power + ofdark;
  2725. std::string powerof = ofdarkside + ", 1)";
  2726. char* commandline = new char[powerof.length() + 1];
  2727. strcpy(commandline, powerof.c_str());
  2728. Scripting::Get().ExecuteLua(commandline);
  2729. std::memset(commandline, 0, sizeof(commandline));
  2730. }
  2731. if (ImGui::Button("q201_toy_cube")) {
  2732. std::string doublequote = "\"";
  2733. std::string power = "Game.AddToInventory(" + doublequote;
  2734. std::string ofdark = "Items.q201_toy_cube" + doublequote;
  2735. std::string ofdarkside = power + ofdark;
  2736. std::string powerof = ofdarkside + ", 1)";
  2737. char* commandline = new char[powerof.length() + 1];
  2738. strcpy(commandline, powerof.c_str());
  2739. Scripting::Get().ExecuteLua(commandline);
  2740. std::memset(commandline, 0, sizeof(commandline));
  2741. }
  2742. if (ImGui::Button("q204_book")) {
  2743. std::string doublequote = "\"";
  2744. std::string power = "Game.AddToInventory(" + doublequote;
  2745. std::string ofdark = "Items.q204_book" + doublequote;
  2746. std::string ofdarkside = power + ofdark;
  2747. std::string powerof = ofdarkside + ", 1)";
  2748. char* commandline = new char[powerof.length() + 1];
  2749. strcpy(commandline, powerof.c_str());
  2750. Scripting::Get().ExecuteLua(commandline);
  2751. std::memset(commandline, 0, sizeof(commandline));
  2752. }
  2753. if (ImGui::Button("q204_duffel_bag")) {
  2754. std::string doublequote = "\"";
  2755. std::string power = "Game.AddToInventory(" + doublequote;
  2756. std::string ofdark = "Items.q204_duffel_bag" + doublequote;
  2757. std::string ofdarkside = power + ofdark;
  2758. std::string powerof = ofdarkside + ", 1)";
  2759. char* commandline = new char[powerof.length() + 1];
  2760. strcpy(commandline, powerof.c_str());
  2761. Scripting::Get().ExecuteLua(commandline);
  2762. std::memset(commandline, 0, sizeof(commandline));
  2763. }
  2764. if (ImGui::Button("q204_electric_guitar_anima_rebel")) {
  2765. std::string doublequote = "\"";
  2766. std::string power = "Game.AddToInventory(" + doublequote;
  2767. std::string ofdark = "Items.q204_electric_guitar_anima_rebel" + doublequote;
  2768. std::string ofdarkside = power + ofdark;
  2769. std::string powerof = ofdarkside + ", 1)";
  2770. char* commandline = new char[powerof.length() + 1];
  2771. strcpy(commandline, powerof.c_str());
  2772. Scripting::Get().ExecuteLua(commandline);
  2773. std::memset(commandline, 0, sizeof(commandline));
  2774. }
  2775. if (ImGui::Button("q204_metamorphosis")) {
  2776. std::string doublequote = "\"";
  2777. std::string power = "Game.AddToInventory(" + doublequote;
  2778. std::string ofdark = "Items.q204_metamorphosis" + doublequote;
  2779. std::string ofdarkside = power + ofdark;
  2780. std::string powerof = ofdarkside + ", 1)";
  2781. char* commandline = new char[powerof.length() + 1];
  2782. strcpy(commandline, powerof.c_str());
  2783. Scripting::Get().ExecuteLua(commandline);
  2784. std::memset(commandline, 0, sizeof(commandline));
  2785. }
  2786. if (ImGui::Button("q204_rogue_gun")) {
  2787. std::string doublequote = "\"";
  2788. std::string power = "Game.AddToInventory(" + doublequote;
  2789. std::string ofdark = "Items.q204_rogue_gun" + doublequote;
  2790. std::string ofdarkside = power + ofdark;
  2791. std::string powerof = ofdarkside + ", 1)";
  2792. char* commandline = new char[powerof.length() + 1];
  2793. strcpy(commandline, powerof.c_str());
  2794. Scripting::Get().ExecuteLua(commandline);
  2795. std::memset(commandline, 0, sizeof(commandline));
  2796. }
  2797. if (ImGui::Button("q204_ticket")) {
  2798. std::string doublequote = "\"";
  2799. std::string power = "Game.AddToInventory(" + doublequote;
  2800. std::string ofdark = "Items.q204_ticket" + doublequote;
  2801. std::string ofdarkside = power + ofdark;
  2802. std::string powerof = ofdarkside + ", 1)";
  2803. char* commandline = new char[powerof.length() + 1];
  2804. strcpy(commandline, powerof.c_str());
  2805. Scripting::Get().ExecuteLua(commandline);
  2806. std::memset(commandline, 0, sizeof(commandline));
  2807. }
  2808. if (ImGui::Button("q204_vinyl_neon_haze_radiator")) {
  2809. std::string doublequote = "\"";
  2810. std::string power = "Game.AddToInventory(" + doublequote;
  2811. std::string ofdark = "Items.q204_vinyl_neon_haze_radiator" + doublequote;
  2812. std::string ofdarkside = power + ofdark;
  2813. std::string powerof = ofdarkside + ", 1)";
  2814. char* commandline = new char[powerof.length() + 1];
  2815. strcpy(commandline, powerof.c_str());
  2816. Scripting::Get().ExecuteLua(commandline);
  2817. std::memset(commandline, 0, sizeof(commandline));
  2818. }
  2819. if (ImGui::Button("q204_vinyl_samurai_chippin_in")) {
  2820. std::string doublequote = "\"";
  2821. std::string power = "Game.AddToInventory(" + doublequote;
  2822. std::string ofdark = "Items.q204_vinyl_samurai_chippin_in" + doublequote;
  2823. std::string ofdarkside = power + ofdark;
  2824. std::string powerof = ofdarkside + ", 1)";
  2825. char* commandline = new char[powerof.length() + 1];
  2826. strcpy(commandline, powerof.c_str());
  2827. Scripting::Get().ExecuteLua(commandline);
  2828. std::memset(commandline, 0, sizeof(commandline));
  2829. }
  2830. if (ImGui::Button("q204_vinyl_tainted_overlord")) {
  2831. std::string doublequote = "\"";
  2832. std::string power = "Game.AddToInventory(" + doublequote;
  2833. std::string ofdark = "Items.q204_vinyl_tainted_overlord" + doublequote;
  2834. std::string ofdarkside = power + ofdark;
  2835. std::string powerof = ofdarkside + ", 1)";
  2836. char* commandline = new char[powerof.length() + 1];
  2837. strcpy(commandline, powerof.c_str());
  2838. Scripting::Get().ExecuteLua(commandline);
  2839. std::memset(commandline, 0, sizeof(commandline));
  2840. }
  2841. if (ImGui::Button("q204_vinyl_the_cartesian_duelists")) {
  2842. std::string doublequote = "\"";
  2843. std::string power = "Game.AddToInventory(" + doublequote;
  2844. std::string ofdark = "Items.q204_vinyl_the_cartesian_duelists" + doublequote;
  2845. std::string ofdarkside = power + ofdark;
  2846. std::string powerof = ofdarkside + ", 1)";
  2847. char* commandline = new char[powerof.length() + 1];
  2848. strcpy(commandline, powerof.c_str());
  2849. Scripting::Get().ExecuteLua(commandline);
  2850. std::memset(commandline, 0, sizeof(commandline));
  2851. }
  2852. if (ImGui::Button("q204_vinyl_the_reds")) {
  2853. std::string doublequote = "\"";
  2854. std::string power = "Game.AddToInventory(" + doublequote;
  2855. std::string ofdark = "Items.q204_vinyl_the_reds" + doublequote;
  2856. std::string ofdarkside = power + ofdark;
  2857. std::string powerof = ofdarkside + ", 1)";
  2858. char* commandline = new char[powerof.length() + 1];
  2859. strcpy(commandline, powerof.c_str());
  2860. Scripting::Get().ExecuteLua(commandline);
  2861. std::memset(commandline, 0, sizeof(commandline));
  2862. }
  2863. if (ImGui::Button("q204_vinyl_us_cracks_baby")) {
  2864. std::string doublequote = "\"";
  2865. std::string power = "Game.AddToInventory(" + doublequote;
  2866. std::string ofdark = "Items.q204_vinyl_us_cracks_baby" + doublequote;
  2867. std::string ofdarkside = power + ofdark;
  2868. std::string powerof = ofdarkside + ", 1)";
  2869. char* commandline = new char[powerof.length() + 1];
  2870. strcpy(commandline, powerof.c_str());
  2871. Scripting::Get().ExecuteLua(commandline);
  2872. std::memset(commandline, 0, sizeof(commandline));
  2873. }
  2874. if (ImGui::Button("q204_yeheyuan_cigarettes")) {
  2875. std::string doublequote = "\"";
  2876. std::string power = "Game.AddToInventory(" + doublequote;
  2877. std::string ofdark = "Items.q204_yeheyuan_cigarettes" + doublequote;
  2878. std::string ofdarkside = power + ofdark;
  2879. std::string powerof = ofdarkside + ", 1)";
  2880. char* commandline = new char[powerof.length() + 1];
  2881. strcpy(commandline, powerof.c_str());
  2882. Scripting::Get().ExecuteLua(commandline);
  2883. std::memset(commandline, 0, sizeof(commandline));
  2884. }
  2885. if (ImGui::Button("RavenControlSplinter")) {
  2886. std::string doublequote = "\"";
  2887. std::string power = "Game.AddToInventory(" + doublequote;
  2888. std::string ofdark = "Items.RavenControlSplinter" + doublequote;
  2889. std::string ofdarkside = power + ofdark;
  2890. std::string powerof = ofdarkside + ", 1)";
  2891. char* commandline = new char[powerof.length() + 1];
  2892. strcpy(commandline, powerof.c_str());
  2893. Scripting::Get().ExecuteLua(commandline);
  2894. std::memset(commandline, 0, sizeof(commandline));
  2895. }
  2896. if (ImGui::Button("sq004_farmhouse_beer")) {
  2897. std::string doublequote = "\"";
  2898. std::string power = "Game.AddToInventory(" + doublequote;
  2899. std::string ofdark = "Items.sq004_farmhouse_beer" + doublequote;
  2900. std::string ofdarkside = power + ofdark;
  2901. std::string powerof = ofdarkside + ", 1)";
  2902. char* commandline = new char[powerof.length() + 1];
  2903. strcpy(commandline, powerof.c_str());
  2904. Scripting::Get().ExecuteLua(commandline);
  2905. std::memset(commandline, 0, sizeof(commandline));
  2906. }
  2907. if (ImGui::Button("sq004_raffen_price_listing_shard")) {
  2908. std::string doublequote = "\"";
  2909. std::string power = "Game.AddToInventory(" + doublequote;
  2910. std::string ofdark = "Items.sq004_raffen_price_listing_shard" + doublequote;
  2911. std::string ofdarkside = power + ofdark;
  2912. std::string powerof = ofdarkside + ", 1)";
  2913. char* commandline = new char[powerof.length() + 1];
  2914. strcpy(commandline, powerof.c_str());
  2915. Scripting::Get().ExecuteLua(commandline);
  2916. std::memset(commandline, 0, sizeof(commandline));
  2917. }
  2918. if (ImGui::Button("sq006_maelstrom_note")) {
  2919. std::string doublequote = "\"";
  2920. std::string power = "Game.AddToInventory(" + doublequote;
  2921. std::string ofdark = "Items.sq006_maelstrom_note" + doublequote;
  2922. std::string ofdarkside = power + ofdark;
  2923. std::string powerof = ofdarkside + ", 1)";
  2924. char* commandline = new char[powerof.length() + 1];
  2925. strcpy(commandline, powerof.c_str());
  2926. Scripting::Get().ExecuteLua(commandline);
  2927. std::memset(commandline, 0, sizeof(commandline));
  2928. }
  2929. if (ImGui::Button("sq012_animals_orders")) {
  2930. std::string doublequote = "\"";
  2931. std::string power = "Game.AddToInventory(" + doublequote;
  2932. std::string ofdark = "Items.sq012_animals_orders" + doublequote;
  2933. std::string ofdarkside = power + ofdark;
  2934. std::string powerof = ofdarkside + ", 1)";
  2935. char* commandline = new char[powerof.length() + 1];
  2936. strcpy(commandline, powerof.c_str());
  2937. Scripting::Get().ExecuteLua(commandline);
  2938. std::memset(commandline, 0, sizeof(commandline));
  2939. }
  2940. if (ImGui::Button("sq012_animals_training_journal")) {
  2941. std::string doublequote = "\"";
  2942. std::string power = "Game.AddToInventory(" + doublequote;
  2943. std::string ofdark = "Items.sq012_animals_training_journal" + doublequote;
  2944. std::string ofdarkside = power + ofdark;
  2945. std::string powerof = ofdarkside + ", 1)";
  2946. char* commandline = new char[powerof.length() + 1];
  2947. strcpy(commandline, powerof.c_str());
  2948. Scripting::Get().ExecuteLua(commandline);
  2949. std::memset(commandline, 0, sizeof(commandline));
  2950. }
  2951. if (ImGui::Button("sq017_concert_ticket")) {
  2952. std::string doublequote = "\"";
  2953. std::string power = "Game.AddToInventory(" + doublequote;
  2954. std::string ofdark = "Items.sq017_concert_ticket" + doublequote;
  2955. std::string ofdarkside = power + ofdark;
  2956. std::string powerof = ofdarkside + ", 1)";
  2957. char* commandline = new char[powerof.length() + 1];
  2958. strcpy(commandline, powerof.c_str());
  2959. Scripting::Get().ExecuteLua(commandline);
  2960. std::memset(commandline, 0, sizeof(commandline));
  2961. }
  2962. if (ImGui::Button("sq017_spike_trap")) {
  2963. std::string doublequote = "\"";
  2964. std::string power = "Game.AddToInventory(" + doublequote;
  2965. std::string ofdark = "Items.sq017_spike_trap" + doublequote;
  2966. std::string ofdarkside = power + ofdark;
  2967. std::string powerof = ofdarkside + ", 1)";
  2968. char* commandline = new char[powerof.length() + 1];
  2969. strcpy(commandline, powerof.c_str());
  2970. Scripting::Get().ExecuteLua(commandline);
  2971. std::memset(commandline, 0, sizeof(commandline));
  2972. }
  2973. if (ImGui::Button("sq018_jackie_handgun")) {
  2974. std::string doublequote = "\"";
  2975. std::string power = "Game.AddToInventory(" + doublequote;
  2976. std::string ofdark = "Items.sq018_jackie_handgun" + doublequote;
  2977. std::string ofdarkside = power + ofdark;
  2978. std::string powerof = ofdarkside + ", 1)";
  2979. char* commandline = new char[powerof.length() + 1];
  2980. strcpy(commandline, powerof.c_str());
  2981. Scripting::Get().ExecuteLua(commandline);
  2982. std::memset(commandline, 0, sizeof(commandline));
  2983. }
  2984. if (ImGui::Button("sq018_jackie_machete")) {
  2985. std::string doublequote = "\"";
  2986. std::string power = "Game.AddToInventory(" + doublequote;
  2987. std::string ofdark = "Items.sq018_jackie_machete" + doublequote;
  2988. std::string ofdarkside = power + ofdark;
  2989. std::string powerof = ofdarkside + ", 1)";
  2990. char* commandline = new char[powerof.length() + 1];
  2991. strcpy(commandline, powerof.c_str());
  2992. Scripting::Get().ExecuteLua(commandline);
  2993. std::memset(commandline, 0, sizeof(commandline));
  2994. }
  2995. if (ImGui::Button("sq018_jackies_ball")) {
  2996. std::string doublequote = "\"";
  2997. std::string power = "Game.AddToInventory(" + doublequote;
  2998. std::string ofdark = "Items.sq018_jackies_ball" + doublequote;
  2999. std::string ofdarkside = power + ofdark;
  3000. std::string powerof = ofdarkside + ", 1)";
  3001. char* commandline = new char[powerof.length() + 1];
  3002. strcpy(commandline, powerof.c_str());
  3003. Scripting::Get().ExecuteLua(commandline);
  3004. std::memset(commandline, 0, sizeof(commandline));
  3005. }
  3006. if (ImGui::Button("sq018_jackies_belt")) {
  3007. std::string doublequote = "\"";
  3008. std::string power = "Game.AddToInventory(" + doublequote;
  3009. std::string ofdark = "Items.sq018_jackies_belt" + doublequote;
  3010. std::string ofdarkside = power + ofdark;
  3011. std::string powerof = ofdarkside + ", 1)";
  3012. char* commandline = new char[powerof.length() + 1];
  3013. strcpy(commandline, powerof.c_str());
  3014. Scripting::Get().ExecuteLua(commandline);
  3015. std::memset(commandline, 0, sizeof(commandline));
  3016. }
  3017. if (ImGui::Button("sq018_jackies_book")) {
  3018. std::string doublequote = "\"";
  3019. std::string power = "Game.AddToInventory(" + doublequote;
  3020. std::string ofdark = "Items.sq018_jackies_book" + doublequote;
  3021. std::string ofdarkside = power + ofdark;
  3022. std::string powerof = ofdarkside + ", 1)";
  3023. char* commandline = new char[powerof.length() + 1];
  3024. strcpy(commandline, powerof.c_str());
  3025. Scripting::Get().ExecuteLua(commandline);
  3026. std::memset(commandline, 0, sizeof(commandline));
  3027. }
  3028. if (ImGui::Button("sq018_jackies_bottle")) {
  3029. std::string doublequote = "\"";
  3030. std::string power = "Game.AddToInventory(" + doublequote;
  3031. std::string ofdark = "Items.sq018_jackies_bottle" + doublequote;
  3032. std::string ofdarkside = power + ofdark;
  3033. std::string powerof = ofdarkside + ", 1)";
  3034. char* commandline = new char[powerof.length() + 1];
  3035. strcpy(commandline, powerof.c_str());
  3036. Scripting::Get().ExecuteLua(commandline);
  3037. std::memset(commandline, 0, sizeof(commandline));
  3038. }
  3039. if (ImGui::Button("sq018_jackies_key_bike")) {
  3040. std::string doublequote = "\"";
  3041. std::string power = "Game.AddToInventory(" + doublequote;
  3042. std::string ofdark = "Items.sq018_jackies_key_bike" + doublequote;
  3043. std::string ofdarkside = power + ofdark;
  3044. std::string powerof = ofdarkside + ", 1)";
  3045. char* commandline = new char[powerof.length() + 1];
  3046. strcpy(commandline, powerof.c_str());
  3047. Scripting::Get().ExecuteLua(commandline);
  3048. std::memset(commandline, 0, sizeof(commandline));
  3049. }
  3050. if (ImGui::Button("sq018_jackies_key_room")) {
  3051. std::string doublequote = "\"";
  3052. std::string power = "Game.AddToInventory(" + doublequote;
  3053. std::string ofdark = "Items.sq018_jackies_key_room" + doublequote;
  3054. std::string ofdarkside = power + ofdark;
  3055. std::string powerof = ofdarkside + ", 1)";
  3056. char* commandline = new char[powerof.length() + 1];
  3057. strcpy(commandline, powerof.c_str());
  3058. Scripting::Get().ExecuteLua(commandline);
  3059. std::memset(commandline, 0, sizeof(commandline));
  3060. }
  3061. if (ImGui::Button("sq018_jackies_key_storage")) {
  3062. std::string doublequote = "\"";
  3063. std::string power = "Game.AddToInventory(" + doublequote;
  3064. std::string ofdark = "Items.sq018_jackies_key_storage" + doublequote;
  3065. std::string ofdarkside = power + ofdark;
  3066. std::string powerof = ofdarkside + ", 1)";
  3067. char* commandline = new char[powerof.length() + 1];
  3068. strcpy(commandline, powerof.c_str());
  3069. Scripting::Get().ExecuteLua(commandline);
  3070. std::memset(commandline, 0, sizeof(commandline));
  3071. }
  3072. if (ImGui::Button("sq021_drugs")) {
  3073. std::string doublequote = "\"";
  3074. std::string power = "Game.AddToInventory(" + doublequote;
  3075. std::string ofdark = "Items.sq021_drugs" + doublequote;
  3076. std::string ofdarkside = power + ofdark;
  3077. std::string powerof = ofdarkside + ", 1)";
  3078. char* commandline = new char[powerof.length() + 1];
  3079. strcpy(commandline, powerof.c_str());
  3080. Scripting::Get().ExecuteLua(commandline);
  3081. std::memset(commandline, 0, sizeof(commandline));
  3082. }
  3083. if (ImGui::Button("sq021_key_drawer")) {
  3084. std::string doublequote = "\"";
  3085. std::string power = "Game.AddToInventory(" + doublequote;
  3086. std::string ofdark = "Items.sq021_key_drawer" + doublequote;
  3087. std::string ofdarkside = power + ofdark;
  3088. std::string powerof = ofdarkside + ", 1)";
  3089. char* commandline = new char[powerof.length() + 1];
  3090. strcpy(commandline, powerof.c_str());
  3091. Scripting::Get().ExecuteLua(commandline);
  3092. std::memset(commandline, 0, sizeof(commandline));
  3093. }
  3094. if (ImGui::Button("sq023_ent_bd_hammer")) {
  3095. std::string doublequote = "\"";
  3096. std::string power = "Game.AddToInventory(" + doublequote;
  3097. std::string ofdark = "Items.sq023_ent_bd_hammer" + doublequote;
  3098. std::string ofdarkside = power + ofdark;
  3099. std::string powerof = ofdarkside + ", 1)";
  3100. char* commandline = new char[powerof.length() + 1];
  3101. strcpy(commandline, powerof.c_str());
  3102. Scripting::Get().ExecuteLua(commandline);
  3103. std::memset(commandline, 0, sizeof(commandline));
  3104. }
  3105. if (ImGui::Button("sq023_joshua_conversion_shard")) {
  3106. std::string doublequote = "\"";
  3107. std::string power = "Game.AddToInventory(" + doublequote;
  3108. std::string ofdark = "Items.sq023_joshua_conversion_shard" + doublequote;
  3109. std::string ofdarkside = power + ofdark;
  3110. std::string powerof = ofdarkside + ", 1)";
  3111. char* commandline = new char[powerof.length() + 1];
  3112. strcpy(commandline, powerof.c_str());
  3113. Scripting::Get().ExecuteLua(commandline);
  3114. std::memset(commandline, 0, sizeof(commandline));
  3115. }
  3116. if (ImGui::Button("sq023_killing_jablonsky_shard")) {
  3117. std::string doublequote = "\"";
  3118. std::string power = "Game.AddToInventory(" + doublequote;
  3119. std::string ofdark = "Items.sq023_killing_jablonsky_shard" + doublequote;
  3120. std::string ofdarkside = power + ofdark;
  3121. std::string powerof = ofdarkside + ", 1)";
  3122. char* commandline = new char[powerof.length() + 1];
  3123. strcpy(commandline, powerof.c_str());
  3124. Scripting::Get().ExecuteLua(commandline);
  3125. std::memset(commandline, 0, sizeof(commandline));
  3126. }
  3127. if (ImGui::Button("sq025_scanner")) {
  3128. std::string doublequote = "\"";
  3129. std::string power = "Game.AddToInventory(" + doublequote;
  3130. std::string ofdark = "Items.sq025_scanner" + doublequote;
  3131. std::string ofdarkside = power + ofdark;
  3132. std::string powerof = ofdarkside + ", 1)";
  3133. char* commandline = new char[powerof.length() + 1];
  3134. strcpy(commandline, powerof.c_str());
  3135. Scripting::Get().ExecuteLua(commandline);
  3136. std::memset(commandline, 0, sizeof(commandline));
  3137. }
  3138. if (ImGui::Button("sq026_hiromi_katana")) {
  3139. std::string doublequote = "\"";
  3140. std::string power = "Game.AddToInventory(" + doublequote;
  3141. std::string ofdark = "Items.sq026_hiromi_katana" + doublequote;
  3142. std::string ofdarkside = power + ofdark;
  3143. std::string powerof = ofdarkside + ", 1)";
  3144. char* commandline = new char[powerof.length() + 1];
  3145. strcpy(commandline, powerof.c_str());
  3146. Scripting::Get().ExecuteLua(commandline);
  3147. std::memset(commandline, 0, sizeof(commandline));
  3148. }
  3149. if (ImGui::Button("sq026_judy_coffee")) {
  3150. std::string doublequote = "\"";
  3151. std::string power = "Game.AddToInventory(" + doublequote;
  3152. std::string ofdark = "Items.sq026_judy_coffee" + doublequote;
  3153. std::string ofdarkside = power + ofdark;
  3154. std::string powerof = ofdarkside + ", 1)";
  3155. char* commandline = new char[powerof.length() + 1];
  3156. strcpy(commandline, powerof.c_str());
  3157. Scripting::Get().ExecuteLua(commandline);
  3158. std::memset(commandline, 0, sizeof(commandline));
  3159. }
  3160. if (ImGui::Button("sq026_judy_sandwich")) {
  3161. std::string doublequote = "\"";
  3162. std::string power = "Game.AddToInventory(" + doublequote;
  3163. std::string ofdark = "Items.sq026_judy_sandwich" + doublequote;
  3164. std::string ofdarkside = power + ofdark;
  3165. std::string powerof = ofdarkside + ", 1)";
  3166. char* commandline = new char[powerof.length() + 1];
  3167. strcpy(commandline, powerof.c_str());
  3168. Scripting::Get().ExecuteLua(commandline);
  3169. std::memset(commandline, 0, sizeof(commandline));
  3170. }
  3171. if (ImGui::Button("sq026_judys_bd_brainstorm")) {
  3172. std::string doublequote = "\"";
  3173. std::string power = "Game.AddToInventory(" + doublequote;
  3174. std::string ofdark = "Items.sq026_judys_bd_brainstorm" + doublequote;
  3175. std::string ofdarkside = power + ofdark;
  3176. std::string powerof = ofdarkside + ", 1)";
  3177. char* commandline = new char[powerof.length() + 1];
  3178. strcpy(commandline, powerof.c_str());
  3179. Scripting::Get().ExecuteLua(commandline);
  3180. std::memset(commandline, 0, sizeof(commandline));
  3181. }
  3182. if (ImGui::Button("sq026_judys_bot_notes")) {
  3183. std::string doublequote = "\"";
  3184. std::string power = "Game.AddToInventory(" + doublequote;
  3185. std::string ofdark = "Items.sq026_judys_bot_notes" + doublequote;
  3186. std::string ofdarkside = power + ofdark;
  3187. std::string powerof = ofdarkside + ", 1)";
  3188. char* commandline = new char[powerof.length() + 1];
  3189. strcpy(commandline, powerof.c_str());
  3190. Scripting::Get().ExecuteLua(commandline);
  3191. std::memset(commandline, 0, sizeof(commandline));
  3192. }
  3193. if (ImGui::Button("sq026_judys_goodbye_v")) {
  3194. std::string doublequote = "\"";
  3195. std::string power = "Game.AddToInventory(" + doublequote;
  3196. std::string ofdark = "Items.sq026_judys_goodbye_v" + doublequote;
  3197. std::string ofdarkside = power + ofdark;
  3198. std::string powerof = ofdarkside + ", 1)";
  3199. char* commandline = new char[powerof.length() + 1];
  3200. strcpy(commandline, powerof.c_str());
  3201. Scripting::Get().ExecuteLua(commandline);
  3202. std::memset(commandline, 0, sizeof(commandline));
  3203. }
  3204. if (ImGui::Button("sq026_judys_underwater_village")) {
  3205. std::string doublequote = "\"";
  3206. std::string power = "Game.AddToInventory(" + doublequote;
  3207. std::string ofdark = "Items.sq026_judys_underwater_village" + doublequote;
  3208. std::string ofdarkside = power + ofdark;
  3209. std::string powerof = ofdarkside + ", 1)";
  3210. char* commandline = new char[powerof.length() + 1];
  3211. strcpy(commandline, powerof.c_str());
  3212. Scripting::Get().ExecuteLua(commandline);
  3213. std::memset(commandline, 0, sizeof(commandline));
  3214. }
  3215. if (ImGui::Button("sq026_maikos_dh_report")) {
  3216. std::string doublequote = "\"";
  3217. std::string power = "Game.AddToInventory(" + doublequote;
  3218. std::string ofdark = "Items.sq026_maikos_dh_report" + doublequote;
  3219. std::string ofdarkside = power + ofdark;
  3220. std::string powerof = ofdarkside + ", 1)";
  3221. char* commandline = new char[powerof.length() + 1];
  3222. strcpy(commandline, powerof.c_str());
  3223. Scripting::Get().ExecuteLua(commandline);
  3224. std::memset(commandline, 0, sizeof(commandline));
  3225. }
  3226. if (ImGui::Button("sq027_locomotive_specs")) {
  3227. std::string doublequote = "\"";
  3228. std::string power = "Game.AddToInventory(" + doublequote;
  3229. std::string ofdark = "Items.sq027_locomotive_specs" + doublequote;
  3230. std::string ofdarkside = power + ofdark;
  3231. std::string powerof = ofdarkside + ", 1)";
  3232. char* commandline = new char[powerof.length() + 1];
  3233. strcpy(commandline, powerof.c_str());
  3234. Scripting::Get().ExecuteLua(commandline);
  3235. std::memset(commandline, 0, sizeof(commandline));
  3236. }
  3237. if (ImGui::Button("sq027_onboarding")) {
  3238. std::string doublequote = "\"";
  3239. std::string power = "Game.AddToInventory(" + doublequote;
  3240. std::string ofdark = "Items.sq027_onboarding" + doublequote;
  3241. std::string ofdarkside = power + ofdark;
  3242. std::string powerof = ofdarkside + ", 1)";
  3243. char* commandline = new char[powerof.length() + 1];
  3244. strcpy(commandline, powerof.c_str());
  3245. Scripting::Get().ExecuteLua(commandline);
  3246. std::memset(commandline, 0, sizeof(commandline));
  3247. }
  3248. if (ImGui::Button("sq027_punchcard")) {
  3249. std::string doublequote = "\"";
  3250. std::string power = "Game.AddToInventory(" + doublequote;
  3251. std::string ofdark = "Items.sq027_punchcard" + doublequote;
  3252. std::string ofdarkside = power + ofdark;
  3253. std::string powerof = ofdarkside + ", 1)";
  3254. char* commandline = new char[powerof.length() + 1];
  3255. strcpy(commandline, powerof.c_str());
  3256. Scripting::Get().ExecuteLua(commandline);
  3257. std::memset(commandline, 0, sizeof(commandline));
  3258. }
  3259. if (ImGui::Button("sq027_punchcards")) {
  3260. std::string doublequote = "\"";
  3261. std::string power = "Game.AddToInventory(" + doublequote;
  3262. std::string ofdark = "Items.sq027_punchcards" + doublequote;
  3263. std::string ofdarkside = power + ofdark;
  3264. std::string powerof = ofdarkside + ", 1)";
  3265. char* commandline = new char[powerof.length() + 1];
  3266. strcpy(commandline, powerof.c_str());
  3267. Scripting::Get().ExecuteLua(commandline);
  3268. std::memset(commandline, 0, sizeof(commandline));
  3269. }
  3270. if (ImGui::Button("sq029_rice")) {
  3271. std::string doublequote = "\"";
  3272. std::string power = "Game.AddToInventory(" + doublequote;
  3273. std::string ofdark = "Items.sq029_rice" + doublequote;
  3274. std::string ofdarkside = power + ofdark;
  3275. std::string powerof = ofdarkside + ", 1)";
  3276. char* commandline = new char[powerof.length() + 1];
  3277. strcpy(commandline, powerof.c_str());
  3278. Scripting::Get().ExecuteLua(commandline);
  3279. std::memset(commandline, 0, sizeof(commandline));
  3280. }
  3281. if (ImGui::Button("sq030_mox_shotgun")) {
  3282. std::string doublequote = "\"";
  3283. std::string power = "Game.AddToInventory(" + doublequote;
  3284. std::string ofdark = "Items.sq030_mox_shotgun" + doublequote;
  3285. std::string ofdarkside = power + ofdark;
  3286. std::string powerof = ofdarkside + ", 1)";
  3287. char* commandline = new char[powerof.length() + 1];
  3288. strcpy(commandline, powerof.c_str());
  3289. Scripting::Get().ExecuteLua(commandline);
  3290. std::memset(commandline, 0, sizeof(commandline));
  3291. }
  3292. if (ImGui::Button("sq030_old_camera")) {
  3293. std::string doublequote = "\"";
  3294. std::string power = "Game.AddToInventory(" + doublequote;
  3295. std::string ofdark = "Items.sq030_old_camera" + doublequote;
  3296. std::string ofdarkside = power + ofdark;
  3297. std::string powerof = ofdarkside + ", 1)";
  3298. char* commandline = new char[powerof.length() + 1];
  3299. strcpy(commandline, powerof.c_str());
  3300. Scripting::Get().ExecuteLua(commandline);
  3301. std::memset(commandline, 0, sizeof(commandline));
  3302. }
  3303. if (ImGui::Button("sq030_old_doll")) {
  3304. std::string doublequote = "\"";
  3305. std::string power = "Game.AddToInventory(" + doublequote;
  3306. std::string ofdark = "Items.sq030_old_doll" + doublequote;
  3307. std::string ofdarkside = power + ofdark;
  3308. std::string powerof = ofdarkside + ", 1)";
  3309. char* commandline = new char[powerof.length() + 1];
  3310. strcpy(commandline, powerof.c_str());
  3311. Scripting::Get().ExecuteLua(commandline);
  3312. std::memset(commandline, 0, sizeof(commandline));
  3313. }
  3314. if (ImGui::Button("sq030_old_jewelry")) {
  3315. std::string doublequote = "\"";
  3316. std::string power = "Game.AddToInventory(" + doublequote;
  3317. std::string ofdark = "Items.sq030_old_jewelry" + doublequote;
  3318. std::string ofdarkside = power + ofdark;
  3319. std::string powerof = ofdarkside + ", 1)";
  3320. char* commandline = new char[powerof.length() + 1];
  3321. strcpy(commandline, powerof.c_str());
  3322. Scripting::Get().ExecuteLua(commandline);
  3323. std::memset(commandline, 0, sizeof(commandline));
  3324. }
  3325. if (ImGui::Button("sq030_old_record")) {
  3326. std::string doublequote = "\"";
  3327. std::string power = "Game.AddToInventory(" + doublequote;
  3328. std::string ofdark = "Items.sq030_old_record" + doublequote;
  3329. std::string ofdarkside = power + ofdark;
  3330. std::string powerof = ofdarkside + ", 1)";
  3331. char* commandline = new char[powerof.length() + 1];
  3332. strcpy(commandline, powerof.c_str());
  3333. Scripting::Get().ExecuteLua(commandline);
  3334. std::memset(commandline, 0, sizeof(commandline));
  3335. }
  3336. if (ImGui::Button("sq031_ebunike_morleys")) {
  3337. std::string doublequote = "\"";
  3338. std::string power = "Game.AddToInventory(" + doublequote;
  3339. std::string ofdark = "Items.sq031_ebunike_morleys" + doublequote;
  3340. std::string ofdarkside = power + ofdark;
  3341. std::string powerof = ofdarkside + ", 1)";
  3342. char* commandline = new char[powerof.length() + 1];
  3343. strcpy(commandline, powerof.c_str());
  3344. Scripting::Get().ExecuteLua(commandline);
  3345. std::memset(commandline, 0, sizeof(commandline));
  3346. }
  3347. if (ImGui::Button("sq031_porsche_cargo_key")) {
  3348. std::string doublequote = "\"";
  3349. std::string power = "Game.AddToInventory(" + doublequote;
  3350. std::string ofdark = "Items.sq031_porsche_cargo_key" + doublequote;
  3351. std::string ofdarkside = power + ofdark;
  3352. std::string powerof = ofdarkside + ", 1)";
  3353. char* commandline = new char[powerof.length() + 1];
  3354. strcpy(commandline, powerof.c_str());
  3355. Scripting::Get().ExecuteLua(commandline);
  3356. std::memset(commandline, 0, sizeof(commandline));
  3357. }
  3358. ImGui::TreePop();
  3359. }
  3360. if (ImGui::TreeNode("Recipe")) {
  3361. if (ImGui::Button("EpicBatRecipe")) {
  3362. std::string doublequote = "\"";
  3363. std::string power = "Game.AddToInventory(" + doublequote;
  3364. std::string ofdark = "Items.EpicBatRecipe" + doublequote;
  3365. std::string ofdarkside = power + ofdark;
  3366. std::string powerof = ofdarkside + ", 1)";
  3367. char* commandline = new char[powerof.length() + 1];
  3368. strcpy(commandline, powerof.c_str());
  3369. Scripting::Get().ExecuteLua(commandline);
  3370. std::memset(commandline, 0, sizeof(commandline));
  3371. }
  3372. if (ImGui::Button("EpicCarnageRecipe")) {
  3373. std::string doublequote = "\"";
  3374. std::string power = "Game.AddToInventory(" + doublequote;
  3375. std::string ofdark = "Items.EpicCarnageRecipe" + doublequote;
  3376. std::string ofdarkside = power + ofdark;
  3377. std::string powerof = ofdarkside + ", 1)";
  3378. char* commandline = new char[powerof.length() + 1];
  3379. strcpy(commandline, powerof.c_str());
  3380. Scripting::Get().ExecuteLua(commandline);
  3381. std::memset(commandline, 0, sizeof(commandline));
  3382. }
  3383. if (ImGui::Button("EpicChaoRecipe")) {
  3384. std::string doublequote = "\"";
  3385. std::string power = "Game.AddToInventory(" + doublequote;
  3386. std::string ofdark = "Items.EpicChaoRecipe" + doublequote;
  3387. std::string ofdarkside = power + ofdark;
  3388. std::string powerof = ofdarkside + ", 1)";
  3389. char* commandline = new char[powerof.length() + 1];
  3390. strcpy(commandline, powerof.c_str());
  3391. Scripting::Get().ExecuteLua(commandline);
  3392. std::memset(commandline, 0, sizeof(commandline));
  3393. }
  3394. if (ImGui::Button("EpicGradRecipe")) {
  3395. std::string doublequote = "\"";
  3396. std::string power = "Game.AddToInventory(" + doublequote;
  3397. std::string ofdark = "Items.EpicGradRecipe" + doublequote;
  3398. std::string ofdarkside = power + ofdark;
  3399. std::string powerof = ofdarkside + ", 1)";
  3400. char* commandline = new char[powerof.length() + 1];
  3401. strcpy(commandline, powerof.c_str());
  3402. Scripting::Get().ExecuteLua(commandline);
  3403. std::memset(commandline, 0, sizeof(commandline));
  3404. }
  3405. if (ImGui::Button("EpicKenshinRecipe")) {
  3406. std::string doublequote = "\"";
  3407. std::string power = "Game.AddToInventory(" + doublequote;
  3408. std::string ofdark = "Items.EpicKenshinRecipe" + doublequote;
  3409. std::string ofdarkside = power + ofdark;
  3410. std::string powerof = ofdarkside + ", 1)";
  3411. char* commandline = new char[powerof.length() + 1];
  3412. strcpy(commandline, powerof.c_str());
  3413. Scripting::Get().ExecuteLua(commandline);
  3414. std::memset(commandline, 0, sizeof(commandline));
  3415. }
  3416. if (ImGui::Button("EpicMasamuneRecipe")) {
  3417. std::string doublequote = "\"";
  3418. std::string power = "Game.AddToInventory(" + doublequote;
  3419. std::string ofdark = "Items.EpicMasamuneRecipe" + doublequote;
  3420. std::string ofdarkside = power + ofdark;
  3421. std::string powerof = ofdarkside + ", 1)";
  3422. char* commandline = new char[powerof.length() + 1];
  3423. strcpy(commandline, powerof.c_str());
  3424. Scripting::Get().ExecuteLua(commandline);
  3425. std::memset(commandline, 0, sizeof(commandline));
  3426. }
  3427. if (ImGui::Button("EpicOvertureRecipe")) {
  3428. std::string doublequote = "\"";
  3429. std::string power = "Game.AddToInventory(" + doublequote;
  3430. std::string ofdark = "Items.EpicOvertureRecipe" + doublequote;
  3431. std::string ofdarkside = power + ofdark;
  3432. std::string powerof = ofdarkside + ", 1)";
  3433. char* commandline = new char[powerof.length() + 1];
  3434. strcpy(commandline, powerof.c_str());
  3435. Scripting::Get().ExecuteLua(commandline);
  3436. std::memset(commandline, 0, sizeof(commandline));
  3437. }
  3438. if (ImGui::Button("EpicPalicaRecipe")) {
  3439. std::string doublequote = "\"";
  3440. std::string power = "Game.AddToInventory(" + doublequote;
  3441. std::string ofdark = "Items.EpicPalicaRecipe" + doublequote;
  3442. std::string ofdarkside = power + ofdark;
  3443. std::string powerof = ofdarkside + ", 1)";
  3444. char* commandline = new char[powerof.length() + 1];
  3445. strcpy(commandline, powerof.c_str());
  3446. Scripting::Get().ExecuteLua(commandline);
  3447. std::memset(commandline, 0, sizeof(commandline));
  3448. }
  3449. if (ImGui::Button("EpicPulsarRecipe")) {
  3450. std::string doublequote = "\"";
  3451. std::string power = "Game.AddToInventory(" + doublequote;
  3452. std::string ofdark = "Items.EpicPulsarRecipe" + doublequote;
  3453. std::string ofdarkside = power + ofdark;
  3454. std::string powerof = ofdarkside + ", 1)";
  3455. char* commandline = new char[powerof.length() + 1];
  3456. strcpy(commandline, powerof.c_str());
  3457. Scripting::Get().ExecuteLua(commandline);
  3458. std::memset(commandline, 0, sizeof(commandline));
  3459. }
  3460. if (ImGui::Button("EpicSidewinderRecipe")) {
  3461. std::string doublequote = "\"";
  3462. std::string power = "Game.AddToInventory(" + doublequote;
  3463. std::string ofdark = "Items.EpicSidewinderRecipe" + doublequote;
  3464. std::string ofdarkside = power + ofdark;
  3465. std::string powerof = ofdarkside + ", 1)";
  3466. char* commandline = new char[powerof.length() + 1];
  3467. strcpy(commandline, powerof.c_str());
  3468. Scripting::Get().ExecuteLua(commandline);
  3469. std::memset(commandline, 0, sizeof(commandline));
  3470. }
  3471. if (ImGui::Button("EpicSor22Recipe")) {
  3472. std::string doublequote = "\"";
  3473. std::string power = "Game.AddToInventory(" + doublequote;
  3474. std::string ofdark = "Items.EpicSor22Recipe" + doublequote;
  3475. std::string ofdarkside = power + ofdark;
  3476. std::string powerof = ofdarkside + ", 1)";
  3477. char* commandline = new char[powerof.length() + 1];
  3478. strcpy(commandline, powerof.c_str());
  3479. Scripting::Get().ExecuteLua(commandline);
  3480. std::memset(commandline, 0, sizeof(commandline));
  3481. }
  3482. if (ImGui::Button("EpicTacticianRecipe")) {
  3483. std::string doublequote = "\"";
  3484. std::string power = "Game.AddToInventory(" + doublequote;
  3485. std::string ofdark = "Items.EpicTacticianRecipe" + doublequote;
  3486. std::string ofdarkside = power + ofdark;
  3487. std::string powerof = ofdarkside + ", 1)";
  3488. char* commandline = new char[powerof.length() + 1];
  3489. strcpy(commandline, powerof.c_str());
  3490. Scripting::Get().ExecuteLua(commandline);
  3491. std::memset(commandline, 0, sizeof(commandline));
  3492. }
  3493. if (ImGui::Button("EpicYukimuraRecipe")) {
  3494. std::string doublequote = "\"";
  3495. std::string power = "Game.AddToInventory(" + doublequote;
  3496. std::string ofdark = "Items.EpicYukimuraRecipe" + doublequote;
  3497. std::string ofdarkside = power + ofdark;
  3498. std::string powerof = ofdarkside + ", 1)";
  3499. char* commandline = new char[powerof.length() + 1];
  3500. strcpy(commandline, powerof.c_str());
  3501. Scripting::Get().ExecuteLua(commandline);
  3502. std::memset(commandline, 0, sizeof(commandline));
  3503. }
  3504. if (ImGui::Button("LegendaryAchillesRecipe")) {
  3505. std::string doublequote = "\"";
  3506. std::string power = "Game.AddToInventory(" + doublequote;
  3507. std::string ofdark = "Items.LegendaryAchillesRecipe" + doublequote;
  3508. std::string ofdarkside = power + ofdark;
  3509. std::string powerof = ofdarkside + ", 1)";
  3510. char* commandline = new char[powerof.length() + 1];
  3511. strcpy(commandline, powerof.c_str());
  3512. Scripting::Get().ExecuteLua(commandline);
  3513. std::memset(commandline, 0, sizeof(commandline));
  3514. }
  3515. if (ImGui::Button("LegendaryAshuraRecipe")) {
  3516. std::string doublequote = "\"";
  3517. std::string power = "Game.AddToInventory(" + doublequote;
  3518. std::string ofdark = "Items.LegendaryAshuraRecipe" + doublequote;
  3519. std::string ofdarkside = power + ofdark;
  3520. std::string powerof = ofdarkside + ", 1)";
  3521. char* commandline = new char[powerof.length() + 1];
  3522. strcpy(commandline, powerof.c_str());
  3523. Scripting::Get().ExecuteLua(commandline);
  3524. std::memset(commandline, 0, sizeof(commandline));
  3525. }
  3526. if (ImGui::Button("LegendaryBatRecipe")) {
  3527. std::string doublequote = "\"";
  3528. std::string power = "Game.AddToInventory(" + doublequote;
  3529. std::string ofdark = "Items.LegendaryBatRecipe" + doublequote;
  3530. std::string ofdarkside = power + ofdark;
  3531. std::string powerof = ofdarkside + ", 1)";
  3532. char* commandline = new char[powerof.length() + 1];
  3533. strcpy(commandline, powerof.c_str());
  3534. Scripting::Get().ExecuteLua(commandline);
  3535. std::memset(commandline, 0, sizeof(commandline));
  3536. }
  3537. if (ImGui::Button("LegendaryDianRecipe")) {
  3538. std::string doublequote = "\"";
  3539. std::string power = "Game.AddToInventory(" + doublequote;
  3540. std::string ofdark = "Items.LegendaryDianRecipe" + doublequote;
  3541. std::string ofdarkside = power + ofdark;
  3542. std::string powerof = ofdarkside + ", 1)";
  3543. char* commandline = new char[powerof.length() + 1];
  3544. strcpy(commandline, powerof.c_str());
  3545. Scripting::Get().ExecuteLua(commandline);
  3546. std::memset(commandline, 0, sizeof(commandline));
  3547. }
  3548. if (ImGui::Button("LegendaryIglaRecipe")) {
  3549. std::string doublequote = "\"";
  3550. std::string power = "Game.AddToInventory(" + doublequote;
  3551. std::string ofdark = "Items.LegendaryIglaRecipe" + doublequote;
  3552. std::string ofdarkside = power + ofdark;
  3553. std::string powerof = ofdarkside + ", 1)";
  3554. char* commandline = new char[powerof.length() + 1];
  3555. strcpy(commandline, powerof.c_str());
  3556. Scripting::Get().ExecuteLua(commandline);
  3557. std::memset(commandline, 0, sizeof(commandline));
  3558. }
  3559. if (ImGui::Button("LegendaryNekomataRecipe")) {
  3560. std::string doublequote = "\"";
  3561. std::string power = "Game.AddToInventory(" + doublequote;
  3562. std::string ofdark = "Items.LegendaryNekomataRecipe" + doublequote;
  3563. std::string ofdarkside = power + ofdark;
  3564. std::string powerof = ofdarkside + ", 1)";
  3565. char* commandline = new char[powerof.length() + 1];
  3566. strcpy(commandline, powerof.c_str());
  3567. Scripting::Get().ExecuteLua(commandline);
  3568. std::memset(commandline, 0, sizeof(commandline));
  3569. }
  3570. if (ImGui::Button("LegendaryNovaRecipe")) {
  3571. std::string doublequote = "\"";
  3572. std::string power = "Game.AddToInventory(" + doublequote;
  3573. std::string ofdark = "Items.LegendaryNovaRecipe" + doublequote;
  3574. std::string ofdarkside = power + ofdark;
  3575. std::string powerof = ofdarkside + ", 1)";
  3576. char* commandline = new char[powerof.length() + 1];
  3577. strcpy(commandline, powerof.c_str());
  3578. Scripting::Get().ExecuteLua(commandline);
  3579. std::memset(commandline, 0, sizeof(commandline));
  3580. }
  3581. if (ImGui::Button("LegendaryQuasarRecipe")) {
  3582. std::string doublequote = "\"";
  3583. std::string power = "Game.AddToInventory(" + doublequote;
  3584. std::string ofdark = "Items.LegendaryQuasarRecipe" + doublequote;
  3585. std::string ofdarkside = power + ofdark;
  3586. std::string powerof = ofdarkside + ", 1)";
  3587. char* commandline = new char[powerof.length() + 1];
  3588. strcpy(commandline, powerof.c_str());
  3589. Scripting::Get().ExecuteLua(commandline);
  3590. std::memset(commandline, 0, sizeof(commandline));
  3591. }
  3592. if (ImGui::Button("LegendaryTacticianRecipe")) {
  3593. std::string doublequote = "\"";
  3594. std::string power = "Game.AddToInventory(" + doublequote;
  3595. std::string ofdark = "Items.LegendaryTacticianRecipe" + doublequote;
  3596. std::string ofdarkside = power + ofdark;
  3597. std::string powerof = ofdarkside + ", 1)";
  3598. char* commandline = new char[powerof.length() + 1];
  3599. strcpy(commandline, powerof.c_str());
  3600. Scripting::Get().ExecuteLua(commandline);
  3601. std::memset(commandline, 0, sizeof(commandline));
  3602. }
  3603. if (ImGui::Button("LegendaryYukimuraRecipe")) {
  3604. std::string doublequote = "\"";
  3605. std::string power = "Game.AddToInventory(" + doublequote;
  3606. std::string ofdark = "Items.LegendaryYukimuraRecipe" + doublequote;
  3607. std::string ofdarkside = power + ofdark;
  3608. std::string powerof = ofdarkside + ", 1)";
  3609. char* commandline = new char[powerof.length() + 1];
  3610. strcpy(commandline, powerof.c_str());
  3611. Scripting::Get().ExecuteLua(commandline);
  3612. std::memset(commandline, 0, sizeof(commandline));
  3613. }
  3614. if (ImGui::Button("LegendaryZhuoRecipe")) {
  3615. std::string doublequote = "\"";
  3616. std::string power = "Game.AddToInventory(" + doublequote;
  3617. std::string ofdark = "Items.LegendaryZhuoRecipe" + doublequote;
  3618. std::string ofdarkside = power + ofdark;
  3619. std::string powerof = ofdarkside + ", 1)";
  3620. char* commandline = new char[powerof.length() + 1];
  3621. strcpy(commandline, powerof.c_str());
  3622. Scripting::Get().ExecuteLua(commandline);
  3623. std::memset(commandline, 0, sizeof(commandline));
  3624. }
  3625. if (ImGui::Button("RareAjaxRecipe")) {
  3626. std::string doublequote = "\"";
  3627. std::string power = "Game.AddToInventory(" + doublequote;
  3628. std::string ofdark = "Items.RareAjaxRecipe" + doublequote;
  3629. std::string ofdarkside = power + ofdark;
  3630. std::string powerof = ofdarkside + ", 1)";
  3631. char* commandline = new char[powerof.length() + 1];
  3632. strcpy(commandline, powerof.c_str());
  3633. Scripting::Get().ExecuteLua(commandline);
  3634. std::memset(commandline, 0, sizeof(commandline));
  3635. }
  3636. if (ImGui::Button("RareBuryaRecipe")) {
  3637. std::string doublequote = "\"";
  3638. std::string power = "Game.AddToInventory(" + doublequote;
  3639. std::string ofdark = "Items.RareBuryaRecipe" + doublequote;
  3640. std::string ofdarkside = power + ofdark;
  3641. std::string powerof = ofdarkside + ", 1)";
  3642. char* commandline = new char[powerof.length() + 1];
  3643. strcpy(commandline, powerof.c_str());
  3644. Scripting::Get().ExecuteLua(commandline);
  3645. std::memset(commandline, 0, sizeof(commandline));
  3646. }
  3647. if (ImGui::Button("RareCopperheadRecipe")) {
  3648. std::string doublequote = "\"";
  3649. std::string power = "Game.AddToInventory(" + doublequote;
  3650. std::string ofdark = "Items.RareCopperheadRecipe" + doublequote;
  3651. std::string ofdarkside = power + ofdark;
  3652. std::string powerof = ofdarkside + ", 1)";
  3653. char* commandline = new char[powerof.length() + 1];
  3654. strcpy(commandline, powerof.c_str());
  3655. Scripting::Get().ExecuteLua(commandline);
  3656. std::memset(commandline, 0, sizeof(commandline));
  3657. }
  3658. if (ImGui::Button("RareCrusherRecipe")) {
  3659. std::string doublequote = "\"";
  3660. std::string power = "Game.AddToInventory(" + doublequote;
  3661. std::string ofdark = "Items.RareCrusherRecipe" + doublequote;
  3662. std::string ofdarkside = power + ofdark;
  3663. std::string powerof = ofdarkside + ", 1)";
  3664. char* commandline = new char[powerof.length() + 1];
  3665. strcpy(commandline, powerof.c_str());
  3666. Scripting::Get().ExecuteLua(commandline);
  3667. std::memset(commandline, 0, sizeof(commandline));
  3668. }
  3669. if (ImGui::Button("RareGradRecipe")) {
  3670. std::string doublequote = "\"";
  3671. std::string power = "Game.AddToInventory(" + doublequote;
  3672. std::string ofdark = "Items.RareGradRecipe" + doublequote;
  3673. std::string ofdarkside = power + ofdark;
  3674. std::string powerof = ofdarkside + ", 1)";
  3675. char* commandline = new char[powerof.length() + 1];
  3676. strcpy(commandline, powerof.c_str());
  3677. Scripting::Get().ExecuteLua(commandline);
  3678. std::memset(commandline, 0, sizeof(commandline));
  3679. }
  3680. if (ImGui::Button("RareKnifeRecipe")) {
  3681. std::string doublequote = "\"";
  3682. std::string power = "Game.AddToInventory(" + doublequote;
  3683. std::string ofdark = "Items.RareKnifeRecipe" + doublequote;
  3684. std::string ofdarkside = power + ofdark;
  3685. std::string powerof = ofdarkside + ", 1)";
  3686. char* commandline = new char[powerof.length() + 1];
  3687. strcpy(commandline, powerof.c_str());
  3688. Scripting::Get().ExecuteLua(commandline);
  3689. std::memset(commandline, 0, sizeof(commandline));
  3690. }
  3691. if (ImGui::Button("RareLexingtonRecipe")) {
  3692. std::string doublequote = "\"";
  3693. std::string power = "Game.AddToInventory(" + doublequote;
  3694. std::string ofdark = "Items.RareLexingtonRecipe" + doublequote;
  3695. std::string ofdarkside = power + ofdark;
  3696. std::string powerof = ofdarkside + ", 1)";
  3697. char* commandline = new char[powerof.length() + 1];
  3698. strcpy(commandline, powerof.c_str());
  3699. Scripting::Get().ExecuteLua(commandline);
  3700. std::memset(commandline, 0, sizeof(commandline));
  3701. }
  3702. if (ImGui::Button("RareNekomataRecipe")) {
  3703. std::string doublequote = "\"";
  3704. std::string power = "Game.AddToInventory(" + doublequote;
  3705. std::string ofdark = "Items.RareNekomataRecipe" + doublequote;
  3706. std::string ofdarkside = power + ofdark;
  3707. std::string powerof = ofdarkside + ", 1)";
  3708. char* commandline = new char[powerof.length() + 1];
  3709. strcpy(commandline, powerof.c_str());
  3710. Scripting::Get().ExecuteLua(commandline);
  3711. std::memset(commandline, 0, sizeof(commandline));
  3712. }
  3713. if (ImGui::Button("RareNovaRecipe")) {
  3714. std::string doublequote = "\"";
  3715. std::string power = "Game.AddToInventory(" + doublequote;
  3716. std::string ofdark = "Items.RareNovaRecipe" + doublequote;
  3717. std::string ofdarkside = power + ofdark;
  3718. std::string powerof = ofdarkside + ", 1)";
  3719. char* commandline = new char[powerof.length() + 1];
  3720. strcpy(commandline, powerof.c_str());
  3721. Scripting::Get().ExecuteLua(commandline);
  3722. std::memset(commandline, 0, sizeof(commandline));
  3723. }
  3724. if (ImGui::Button("RareNueRecipe")) {
  3725. std::string doublequote = "\"";
  3726. std::string power = "Game.AddToInventory(" + doublequote;
  3727. std::string ofdark = "Items.RareNueRecipe" + doublequote;
  3728. std::string ofdarkside = power + ofdark;
  3729. std::string powerof = ofdarkside + ", 1)";
  3730. char* commandline = new char[powerof.length() + 1];
  3731. strcpy(commandline, powerof.c_str());
  3732. Scripting::Get().ExecuteLua(commandline);
  3733. std::memset(commandline, 0, sizeof(commandline));
  3734. }
  3735. if (ImGui::Button("RareOmahaRecipe")) {
  3736. std::string doublequote = "\"";
  3737. std::string power = "Game.AddToInventory(" + doublequote;
  3738. std::string ofdark = "Items.RareOmahaRecipe" + doublequote;
  3739. std::string ofdarkside = power + ofdark;
  3740. std::string powerof = ofdarkside + ", 1)";
  3741. char* commandline = new char[powerof.length() + 1];
  3742. strcpy(commandline, powerof.c_str());
  3743. Scripting::Get().ExecuteLua(commandline);
  3744. std::memset(commandline, 0, sizeof(commandline));
  3745. }
  3746. if (ImGui::Button("RarePulsarRecipe")) {
  3747. std::string doublequote = "\"";
  3748. std::string power = "Game.AddToInventory(" + doublequote;
  3749. std::string ofdark = "Items.RarePulsarRecipe" + doublequote;
  3750. std::string ofdarkside = power + ofdark;
  3751. std::string powerof = ofdarkside + ", 1)";
  3752. char* commandline = new char[powerof.length() + 1];
  3753. strcpy(commandline, powerof.c_str());
  3754. Scripting::Get().ExecuteLua(commandline);
  3755. std::memset(commandline, 0, sizeof(commandline));
  3756. }
  3757. if (ImGui::Button("RareQuasarRecipe")) {
  3758. std::string doublequote = "\"";
  3759. std::string power = "Game.AddToInventory(" + doublequote;
  3760. std::string ofdark = "Items.RareQuasarRecipe" + doublequote;
  3761. std::string ofdarkside = power + ofdark;
  3762. std::string powerof = ofdarkside + ", 1)";
  3763. char* commandline = new char[powerof.length() + 1];
  3764. strcpy(commandline, powerof.c_str());
  3765. Scripting::Get().ExecuteLua(commandline);
  3766. std::memset(commandline, 0, sizeof(commandline));
  3767. }
  3768. if (ImGui::Button("RareSaratogaRecipe")) {
  3769. std::string doublequote = "\"";
  3770. std::string power = "Game.AddToInventory(" + doublequote;
  3771. std::string ofdark = "Items.RareSaratogaRecipe" + doublequote;
  3772. std::string ofdarkside = power + ofdark;
  3773. std::string powerof = ofdarkside + ", 1)";
  3774. char* commandline = new char[powerof.length() + 1];
  3775. strcpy(commandline, powerof.c_str());
  3776. Scripting::Get().ExecuteLua(commandline);
  3777. std::memset(commandline, 0, sizeof(commandline));
  3778. }
  3779. if (ImGui::Button("RareSataraRecipe")) {
  3780. std::string doublequote = "\"";
  3781. std::string power = "Game.AddToInventory(" + doublequote;
  3782. std::string ofdark = "Items.RareSataraRecipe" + doublequote;
  3783. std::string ofdarkside = power + ofdark;
  3784. std::string powerof = ofdarkside + ", 1)";
  3785. char* commandline = new char[powerof.length() + 1];
  3786. strcpy(commandline, powerof.c_str());
  3787. Scripting::Get().ExecuteLua(commandline);
  3788. std::memset(commandline, 0, sizeof(commandline));
  3789. }
  3790. if (ImGui::Button("RareShingenRecipe")) {
  3791. std::string doublequote = "\"";
  3792. std::string power = "Game.AddToInventory(" + doublequote;
  3793. std::string ofdark = "Items.RareShingenRecipe" + doublequote;
  3794. std::string ofdarkside = power + ofdark;
  3795. std::string powerof = ofdarkside + ", 1)";
  3796. char* commandline = new char[powerof.length() + 1];
  3797. strcpy(commandline, powerof.c_str());
  3798. Scripting::Get().ExecuteLua(commandline);
  3799. std::memset(commandline, 0, sizeof(commandline));
  3800. }
  3801. if (ImGui::Button("RareSor22Recipe")) {
  3802. std::string doublequote = "\"";
  3803. std::string power = "Game.AddToInventory(" + doublequote;
  3804. std::string ofdark = "Items.RareSor22Recipe" + doublequote;
  3805. std::string ofdarkside = power + ofdark;
  3806. std::string powerof = ofdarkside + ", 1)";
  3807. char* commandline = new char[powerof.length() + 1];
  3808. strcpy(commandline, powerof.c_str());
  3809. Scripting::Get().ExecuteLua(commandline);
  3810. std::memset(commandline, 0, sizeof(commandline));
  3811. }
  3812. if (ImGui::Button("RareTesteraRecipe")) {
  3813. std::string doublequote = "\"";
  3814. std::string power = "Game.AddToInventory(" + doublequote;
  3815. std::string ofdark = "Items.RareTesteraRecipe" + doublequote;
  3816. std::string ofdarkside = power + ofdark;
  3817. std::string powerof = ofdarkside + ", 1)";
  3818. char* commandline = new char[powerof.length() + 1];
  3819. strcpy(commandline, powerof.c_str());
  3820. Scripting::Get().ExecuteLua(commandline);
  3821. std::memset(commandline, 0, sizeof(commandline));
  3822. }
  3823. if (ImGui::Button("RareUnityRecipe")) {
  3824. std::string doublequote = "\"";
  3825. std::string power = "Game.AddToInventory(" + doublequote;
  3826. std::string ofdark = "Items.RareUnityRecipe" + doublequote;
  3827. std::string ofdarkside = power + ofdark;
  3828. std::string powerof = ofdarkside + ", 1)";
  3829. char* commandline = new char[powerof.length() + 1];
  3830. strcpy(commandline, powerof.c_str());
  3831. Scripting::Get().ExecuteLua(commandline);
  3832. std::memset(commandline, 0, sizeof(commandline));
  3833. }
  3834. if (ImGui::Button("Recipe_Baton_Alpha")) {
  3835. std::string doublequote = "\"";
  3836. std::string power = "Game.AddToInventory(" + doublequote;
  3837. std::string ofdark = "Items.Recipe_Baton_Alpha" + doublequote;
  3838. std::string ofdarkside = power + ofdark;
  3839. std::string powerof = ofdarkside + ", 1)";
  3840. char* commandline = new char[powerof.length() + 1];
  3841. strcpy(commandline, powerof.c_str());
  3842. Scripting::Get().ExecuteLua(commandline);
  3843. std::memset(commandline, 0, sizeof(commandline));
  3844. }
  3845. if (ImGui::Button("Recipe_Baton_Beta")) {
  3846. std::string doublequote = "\"";
  3847. std::string power = "Game.AddToInventory(" + doublequote;
  3848. std::string ofdark = "Items.Recipe_Baton_Beta" + doublequote;
  3849. std::string ofdarkside = power + ofdark;
  3850. std::string powerof = ofdarkside + ", 1)";
  3851. char* commandline = new char[powerof.length() + 1];
  3852. strcpy(commandline, powerof.c_str());
  3853. Scripting::Get().ExecuteLua(commandline);
  3854. std::memset(commandline, 0, sizeof(commandline));
  3855. }
  3856. if (ImGui::Button("Recipe_BlindProgram")) {
  3857. std::string doublequote = "\"";
  3858. std::string power = "Game.AddToInventory(" + doublequote;
  3859. std::string ofdark = "Items.Recipe_BlindProgram" + doublequote;
  3860. std::string ofdarkside = power + ofdark;
  3861. std::string powerof = ofdarkside + ", 1)";
  3862. char* commandline = new char[powerof.length() + 1];
  3863. strcpy(commandline, powerof.c_str());
  3864. Scripting::Get().ExecuteLua(commandline);
  3865. std::memset(commandline, 0, sizeof(commandline));
  3866. }
  3867. if (ImGui::Button("Recipe_Butchers_Knife")) {
  3868. std::string doublequote = "\"";
  3869. std::string power = "Game.AddToInventory(" + doublequote;
  3870. std::string ofdark = "Items.Recipe_Butchers_Knife" + doublequote;
  3871. std::string ofdarkside = power + ofdark;
  3872. std::string powerof = ofdarkside + ", 1)";
  3873. char* commandline = new char[powerof.length() + 1];
  3874. strcpy(commandline, powerof.c_str());
  3875. Scripting::Get().ExecuteLua(commandline);
  3876. std::memset(commandline, 0, sizeof(commandline));
  3877. }
  3878. if (ImGui::Button("Recipe_Chefs_Knife")) {
  3879. std::string doublequote = "\"";
  3880. std::string power = "Game.AddToInventory(" + doublequote;
  3881. std::string ofdark = "Items.Recipe_Chefs_Knife" + doublequote;
  3882. std::string ofdarkside = power + ofdark;
  3883. std::string powerof = ofdarkside + ", 1)";
  3884. char* commandline = new char[powerof.length() + 1];
  3885. strcpy(commandline, powerof.c_str());
  3886. Scripting::Get().ExecuteLua(commandline);
  3887. std::memset(commandline, 0, sizeof(commandline));
  3888. }
  3889. if (ImGui::Button("Recipe_ChemicalDamageCable")) {
  3890. std::string doublequote = "\"";
  3891. std::string power = "Game.AddToInventory(" + doublequote;
  3892. std::string ofdark = "Items.Recipe_ChemicalDamageCable" + doublequote;
  3893. std::string ofdarkside = power + ofdark;
  3894. std::string powerof = ofdarkside + ", 1)";
  3895. char* commandline = new char[powerof.length() + 1];
  3896. strcpy(commandline, powerof.c_str());
  3897. Scripting::Get().ExecuteLua(commandline);
  3898. std::memset(commandline, 0, sizeof(commandline));
  3899. }
  3900. if (ImGui::Button("Recipe_ChemicalDamageEdge")) {
  3901. std::string doublequote = "\"";
  3902. std::string power = "Game.AddToInventory(" + doublequote;
  3903. std::string ofdark = "Items.Recipe_ChemicalDamageEdge" + doublequote;
  3904. std::string ofdarkside = power + ofdark;
  3905. std::string powerof = ofdarkside + ", 1)";
  3906. char* commandline = new char[powerof.length() + 1];
  3907. strcpy(commandline, powerof.c_str());
  3908. Scripting::Get().ExecuteLua(commandline);
  3909. std::memset(commandline, 0, sizeof(commandline));
  3910. }
  3911. if (ImGui::Button("Recipe_ChemicalDamageKnuckles")) {
  3912. std::string doublequote = "\"";
  3913. std::string power = "Game.AddToInventory(" + doublequote;
  3914. std::string ofdark = "Items.Recipe_ChemicalDamageKnuckles" + doublequote;
  3915. std::string ofdarkside = power + ofdark;
  3916. std::string powerof = ofdarkside + ", 1)";
  3917. char* commandline = new char[powerof.length() + 1];
  3918. strcpy(commandline, powerof.c_str());
  3919. Scripting::Get().ExecuteLua(commandline);
  3920. std::memset(commandline, 0, sizeof(commandline));
  3921. }
  3922. if (ImGui::Button("Recipe_ChemicalDamageRound")) {
  3923. std::string doublequote = "\"";
  3924. std::string power = "Game.AddToInventory(" + doublequote;
  3925. std::string ofdark = "Items.Recipe_ChemicalDamageRound" + doublequote;
  3926. std::string ofdarkside = power + ofdark;
  3927. std::string powerof = ofdarkside + ", 1)";
  3928. char* commandline = new char[powerof.length() + 1];
  3929. strcpy(commandline, powerof.c_str());
  3930. Scripting::Get().ExecuteLua(commandline);
  3931. std::memset(commandline, 0, sizeof(commandline));
  3932. }
  3933. if (ImGui::Button("Recipe_CommsCallInProgram")) {
  3934. std::string doublequote = "\"";
  3935. std::string power = "Game.AddToInventory(" + doublequote;
  3936. std::string ofdark = "Items.Recipe_CommsCallInProgram" + doublequote;
  3937. std::string ofdarkside = power + ofdark;
  3938. std::string powerof = ofdarkside + ", 1)";
  3939. char* commandline = new char[powerof.length() + 1];
  3940. strcpy(commandline, powerof.c_str());
  3941. Scripting::Get().ExecuteLua(commandline);
  3942. std::memset(commandline, 0, sizeof(commandline));
  3943. }
  3944. if (ImGui::Button("Recipe_CommsCallOutProgram")) {
  3945. std::string doublequote = "\"";
  3946. std::string power = "Game.AddToInventory(" + doublequote;
  3947. std::string ofdark = "Items.Recipe_CommsCallOutProgram" + doublequote;
  3948. std::string ofdarkside = power + ofdark;
  3949. std::string powerof = ofdarkside + ", 1)";
  3950. char* commandline = new char[powerof.length() + 1];
  3951. strcpy(commandline, powerof.c_str());
  3952. Scripting::Get().ExecuteLua(commandline);
  3953. std::memset(commandline, 0, sizeof(commandline));
  3954. }
  3955. if (ImGui::Button("Recipe_CommsNoiseProgram")) {
  3956. std::string doublequote = "\"";
  3957. std::string power = "Game.AddToInventory(" + doublequote;
  3958. std::string ofdark = "Items.Recipe_CommsNoiseProgram" + doublequote;
  3959. std::string ofdarkside = power + ofdark;
  3960. std::string powerof = ofdarkside + ", 1)";
  3961. char* commandline = new char[powerof.length() + 1];
  3962. strcpy(commandline, powerof.c_str());
  3963. Scripting::Get().ExecuteLua(commandline);
  3964. std::memset(commandline, 0, sizeof(commandline));
  3965. }
  3966. if (ImGui::Button("Recipe_Crowbar_Common")) {
  3967. std::string doublequote = "\"";
  3968. std::string power = "Game.AddToInventory(" + doublequote;
  3969. std::string ofdark = "Items.Recipe_Crowbar_Common" + doublequote;
  3970. std::string ofdarkside = power + ofdark;
  3971. std::string powerof = ofdarkside + ", 1)";
  3972. char* commandline = new char[powerof.length() + 1];
  3973. strcpy(commandline, powerof.c_str());
  3974. Scripting::Get().ExecuteLua(commandline);
  3975. std::memset(commandline, 0, sizeof(commandline));
  3976. }
  3977. if (ImGui::Button("Recipe_DataMinerProgram")) {
  3978. std::string doublequote = "\"";
  3979. std::string power = "Game.AddToInventory(" + doublequote;
  3980. std::string ofdark = "Items.Recipe_DataMinerProgram" + doublequote;
  3981. std::string ofdarkside = power + ofdark;
  3982. std::string powerof = ofdarkside + ", 1)";
  3983. char* commandline = new char[powerof.length() + 1];
  3984. strcpy(commandline, powerof.c_str());
  3985. Scripting::Get().ExecuteLua(commandline);
  3986. std::memset(commandline, 0, sizeof(commandline));
  3987. }
  3988. if (ImGui::Button("Recipe_DisableCyberwareProgram")) {
  3989. std::string doublequote = "\"";
  3990. std::string power = "Game.AddToInventory(" + doublequote;
  3991. std::string ofdark = "Items.Recipe_DisableCyberwareProgram" + doublequote;
  3992. std::string ofdarkside = power + ofdark;
  3993. std::string powerof = ofdarkside + ", 1)";
  3994. char* commandline = new char[powerof.length() + 1];
  3995. strcpy(commandline, powerof.c_str());
  3996. Scripting::Get().ExecuteLua(commandline);
  3997. std::memset(commandline, 0, sizeof(commandline));
  3998. }
  3999. if (ImGui::Button("Recipe_ElectricDamageCable")) {
  4000. std::string doublequote = "\"";
  4001. std::string power = "Game.AddToInventory(" + doublequote;
  4002. std::string ofdark = "Items.Recipe_ElectricDamageCable" + doublequote;
  4003. std::string ofdarkside = power + ofdark;
  4004. std::string powerof = ofdarkside + ", 1)";
  4005. char* commandline = new char[powerof.length() + 1];
  4006. strcpy(commandline, powerof.c_str());
  4007. Scripting::Get().ExecuteLua(commandline);
  4008. std::memset(commandline, 0, sizeof(commandline));
  4009. }
  4010. if (ImGui::Button("Recipe_ElectricDamageEdge")) {
  4011. std::string doublequote = "\"";
  4012. std::string power = "Game.AddToInventory(" + doublequote;
  4013. std::string ofdark = "Items.Recipe_ElectricDamageEdge" + doublequote;
  4014. std::string ofdarkside = power + ofdark;
  4015. std::string powerof = ofdarkside + ", 1)";
  4016. char* commandline = new char[powerof.length() + 1];
  4017. strcpy(commandline, powerof.c_str());
  4018. Scripting::Get().ExecuteLua(commandline);
  4019. std::memset(commandline, 0, sizeof(commandline));
  4020. }
  4021. if (ImGui::Button("Recipe_ElectricDamageKnuckles")) {
  4022. std::string doublequote = "\"";
  4023. std::string power = "Game.AddToInventory(" + doublequote;
  4024. std::string ofdark = "Items.Recipe_ElectricDamageKnuckles" + doublequote;
  4025. std::string ofdarkside = power + ofdark;
  4026. std::string powerof = ofdarkside + ", 1)";
  4027. char* commandline = new char[powerof.length() + 1];
  4028. strcpy(commandline, powerof.c_str());
  4029. Scripting::Get().ExecuteLua(commandline);
  4030. std::memset(commandline, 0, sizeof(commandline));
  4031. }
  4032. if (ImGui::Button("Recipe_ElectricDamageRound")) {
  4033. std::string doublequote = "\"";
  4034. std::string power = "Game.AddToInventory(" + doublequote;
  4035. std::string ofdark = "Items.Recipe_ElectricDamageRound" + doublequote;
  4036. std::string ofdarkside = power + ofdark;
  4037. std::string powerof = ofdarkside + ", 1)";
  4038. char* commandline = new char[powerof.length() + 1];
  4039. strcpy(commandline, powerof.c_str());
  4040. Scripting::Get().ExecuteLua(commandline);
  4041. std::memset(commandline, 0, sizeof(commandline));
  4042. }
  4043. if (ImGui::Button("Recipe_EMPOverloadProgram")) {
  4044. std::string doublequote = "\"";
  4045. std::string power = "Game.AddToInventory(" + doublequote;
  4046. std::string ofdark = "Items.Recipe_EMPOverloadProgram" + doublequote;
  4047. std::string ofdarkside = power + ofdark;
  4048. std::string powerof = ofdarkside + ", 1)";
  4049. char* commandline = new char[powerof.length() + 1];
  4050. strcpy(commandline, powerof.c_str());
  4051. Scripting::Get().ExecuteLua(commandline);
  4052. std::memset(commandline, 0, sizeof(commandline));
  4053. }
  4054. if (ImGui::Button("Recipe_ExplosiveDamageRound")) {
  4055. std::string doublequote = "\"";
  4056. std::string power = "Game.AddToInventory(" + doublequote;
  4057. std::string ofdark = "Items.Recipe_ExplosiveDamageRound" + doublequote;
  4058. std::string ofdarkside = power + ofdark;
  4059. std::string powerof = ofdarkside + ", 1)";
  4060. char* commandline = new char[powerof.length() + 1];
  4061. strcpy(commandline, powerof.c_str());
  4062. Scripting::Get().ExecuteLua(commandline);
  4063. std::memset(commandline, 0, sizeof(commandline));
  4064. }
  4065. if (ImGui::Button("Recipe_FastRotor")) {
  4066. std::string doublequote = "\"";
  4067. std::string power = "Game.AddToInventory(" + doublequote;
  4068. std::string ofdark = "Items.Recipe_FastRotor" + doublequote;
  4069. std::string ofdarkside = power + ofdark;
  4070. std::string powerof = ofdarkside + ", 1)";
  4071. char* commandline = new char[powerof.length() + 1];
  4072. strcpy(commandline, powerof.c_str());
  4073. Scripting::Get().ExecuteLua(commandline);
  4074. std::memset(commandline, 0, sizeof(commandline));
  4075. }
  4076. if (ImGui::Button("Recipe_GrenadeExplodeLvl3Program")) {
  4077. std::string doublequote = "\"";
  4078. std::string power = "Game.AddToInventory(" + doublequote;
  4079. std::string ofdark = "Items.Recipe_GrenadeExplodeLvl3Program" + doublequote;
  4080. std::string ofdarkside = power + ofdark;
  4081. std::string powerof = ofdarkside + ", 1)";
  4082. char* commandline = new char[powerof.length() + 1];
  4083. strcpy(commandline, powerof.c_str());
  4084. Scripting::Get().ExecuteLua(commandline);
  4085. std::memset(commandline, 0, sizeof(commandline));
  4086. }
  4087. if (ImGui::Button("Recipe_HighChargedBattery")) {
  4088. std::string doublequote = "\"";
  4089. std::string power = "Game.AddToInventory(" + doublequote;
  4090. std::string ofdark = "Items.Recipe_HighChargedBattery" + doublequote;
  4091. std::string ofdarkside = power + ofdark;
  4092. std::string powerof = ofdarkside + ", 1)";
  4093. char* commandline = new char[powerof.length() + 1];
  4094. strcpy(commandline, powerof.c_str());
  4095. Scripting::Get().ExecuteLua(commandline);
  4096. std::memset(commandline, 0, sizeof(commandline));
  4097. }
  4098. if (ImGui::Button("Recipe_HighChargedWiresBattery")) {
  4099. std::string doublequote = "\"";
  4100. std::string power = "Game.AddToInventory(" + doublequote;
  4101. std::string ofdark = "Items.Recipe_HighChargedWiresBattery" + doublequote;
  4102. std::string ofdarkside = power + ofdark;
  4103. std::string powerof = ofdarkside + ", 1)";
  4104. char* commandline = new char[powerof.length() + 1];
  4105. strcpy(commandline, powerof.c_str());
  4106. Scripting::Get().ExecuteLua(commandline);
  4107. std::memset(commandline, 0, sizeof(commandline));
  4108. }
  4109. if (ImGui::Button("Recipe_Kanabo_Common")) {
  4110. std::string doublequote = "\"";
  4111. std::string power = "Game.AddToInventory(" + doublequote;
  4112. std::string ofdark = "Items.Recipe_Kanabo_Common" + doublequote;
  4113. std::string ofdarkside = power + ofdark;
  4114. std::string powerof = ofdarkside + ", 1)";
  4115. char* commandline = new char[powerof.length() + 1];
  4116. strcpy(commandline, powerof.c_str());
  4117. Scripting::Get().ExecuteLua(commandline);
  4118. std::memset(commandline, 0, sizeof(commandline));
  4119. }
  4120. if (ImGui::Button("Recipe_Katana_1")) {
  4121. std::string doublequote = "\"";
  4122. std::string power = "Game.AddToInventory(" + doublequote;
  4123. std::string ofdark = "Items.Recipe_Katana_1" + doublequote;
  4124. std::string ofdarkside = power + ofdark;
  4125. std::string powerof = ofdarkside + ", 1)";
  4126. char* commandline = new char[powerof.length() + 1];
  4127. strcpy(commandline, powerof.c_str());
  4128. Scripting::Get().ExecuteLua(commandline);
  4129. std::memset(commandline, 0, sizeof(commandline));
  4130. }
  4131. if (ImGui::Button("Recipe_Katana_2")) {
  4132. std::string doublequote = "\"";
  4133. std::string power = "Game.AddToInventory(" + doublequote;
  4134. std::string ofdark = "Items.Recipe_Katana_2" + doublequote;
  4135. std::string ofdarkside = power + ofdark;
  4136. std::string powerof = ofdarkside + ", 1)";
  4137. char* commandline = new char[powerof.length() + 1];
  4138. strcpy(commandline, powerof.c_str());
  4139. Scripting::Get().ExecuteLua(commandline);
  4140. std::memset(commandline, 0, sizeof(commandline));
  4141. }
  4142. if (ImGui::Button("Recipe_Katana_3")) {
  4143. std::string doublequote = "\"";
  4144. std::string power = "Game.AddToInventory(" + doublequote;
  4145. std::string ofdark = "Items.Recipe_Katana_3" + doublequote;
  4146. std::string ofdarkside = power + ofdark;
  4147. std::string powerof = ofdarkside + ", 1)";
  4148. char* commandline = new char[powerof.length() + 1];
  4149. strcpy(commandline, powerof.c_str());
  4150. Scripting::Get().ExecuteLua(commandline);
  4151. std::memset(commandline, 0, sizeof(commandline));
  4152. }
  4153. if (ImGui::Button("Recipe_Katana_4")) {
  4154. std::string doublequote = "\"";
  4155. std::string power = "Game.AddToInventory(" + doublequote;
  4156. std::string ofdark = "Items.Recipe_Katana_4" + doublequote;
  4157. std::string ofdarkside = power + ofdark;
  4158. std::string powerof = ofdarkside + ", 1)";
  4159. char* commandline = new char[powerof.length() + 1];
  4160. strcpy(commandline, powerof.c_str());
  4161. Scripting::Get().ExecuteLua(commandline);
  4162. std::memset(commandline, 0, sizeof(commandline));
  4163. }
  4164. if (ImGui::Button("Recipe_Kukri_Common")) {
  4165. std::string doublequote = "\"";
  4166. std::string power = "Game.AddToInventory(" + doublequote;
  4167. std::string ofdark = "Items.Recipe_Kukri_Common" + doublequote;
  4168. std::string ofdarkside = power + ofdark;
  4169. std::string powerof = ofdarkside + ", 1)";
  4170. char* commandline = new char[powerof.length() + 1];
  4171. strcpy(commandline, powerof.c_str());
  4172. Scripting::Get().ExecuteLua(commandline);
  4173. std::memset(commandline, 0, sizeof(commandline));
  4174. }
  4175. if (ImGui::Button("Recipe_LocomotionMalfunctionProgram")) {
  4176. std::string doublequote = "\"";
  4177. std::string power = "Game.AddToInventory(" + doublequote;
  4178. std::string ofdark = "Items.Recipe_LocomotionMalfunctionProgram" + doublequote;
  4179. std::string ofdarkside = power + ofdark;
  4180. std::string powerof = ofdarkside + ", 1)";
  4181. char* commandline = new char[powerof.length() + 1];
  4182. strcpy(commandline, powerof.c_str());
  4183. Scripting::Get().ExecuteLua(commandline);
  4184. std::memset(commandline, 0, sizeof(commandline));
  4185. }
  4186. if (ImGui::Button("Recipe_LowChargedBattery")) {
  4187. std::string doublequote = "\"";
  4188. std::string power = "Game.AddToInventory(" + doublequote;
  4189. std::string ofdark = "Items.Recipe_LowChargedBattery" + doublequote;
  4190. std::string ofdarkside = power + ofdark;
  4191. std::string powerof = ofdarkside + ", 1)";
  4192. char* commandline = new char[powerof.length() + 1];
  4193. strcpy(commandline, powerof.c_str());
  4194. Scripting::Get().ExecuteLua(commandline);
  4195. std::memset(commandline, 0, sizeof(commandline));
  4196. }
  4197. if (ImGui::Button("Recipe_LowChargedWiresBattery")) {
  4198. std::string doublequote = "\"";
  4199. std::string power = "Game.AddToInventory(" + doublequote;
  4200. std::string ofdark = "Items.Recipe_LowChargedWiresBattery" + doublequote;
  4201. std::string ofdarkside = power + ofdark;
  4202. std::string powerof = ofdarkside + ", 1)";
  4203. char* commandline = new char[powerof.length() + 1];
  4204. strcpy(commandline, powerof.c_str());
  4205. Scripting::Get().ExecuteLua(commandline);
  4206. std::memset(commandline, 0, sizeof(commandline));
  4207. }
  4208. if (ImGui::Button("Recipe_Machete_Common")) {
  4209. std::string doublequote = "\"";
  4210. std::string power = "Game.AddToInventory(" + doublequote;
  4211. std::string ofdark = "Items.Recipe_Machete_Common" + doublequote;
  4212. std::string ofdarkside = power + ofdark;
  4213. std::string powerof = ofdarkside + ", 1)";
  4214. char* commandline = new char[powerof.length() + 1];
  4215. strcpy(commandline, powerof.c_str());
  4216. Scripting::Get().ExecuteLua(commandline);
  4217. std::memset(commandline, 0, sizeof(commandline));
  4218. }
  4219. if (ImGui::Button("Recipe_MadnessLvl3Program")) {
  4220. std::string doublequote = "\"";
  4221. std::string power = "Game.AddToInventory(" + doublequote;
  4222. std::string ofdark = "Items.Recipe_MadnessLvl3Program" + doublequote;
  4223. std::string ofdarkside = power + ofdark;
  4224. std::string powerof = ofdarkside + ", 1)";
  4225. char* commandline = new char[powerof.length() + 1];
  4226. strcpy(commandline, powerof.c_str());
  4227. Scripting::Get().ExecuteLua(commandline);
  4228. std::memset(commandline, 0, sizeof(commandline));
  4229. }
  4230. if (ImGui::Button("Recipe_MalfunctionProgram")) {
  4231. std::string doublequote = "\"";
  4232. std::string power = "Game.AddToInventory(" + doublequote;
  4233. std::string ofdark = "Items.Recipe_MalfunctionProgram" + doublequote;
  4234. std::string ofdarkside = power + ofdark;
  4235. std::string powerof = ofdarkside + ", 1)";
  4236. char* commandline = new char[powerof.length() + 1];
  4237. strcpy(commandline, powerof.c_str());
  4238. Scripting::Get().ExecuteLua(commandline);
  4239. std::memset(commandline, 0, sizeof(commandline));
  4240. }
  4241. if (ImGui::Button("Recipe_MediumChargedBattery")) {
  4242. std::string doublequote = "\"";
  4243. std::string power = "Game.AddToInventory(" + doublequote;
  4244. std::string ofdark = "Items.Recipe_MediumChargedBattery" + doublequote;
  4245. std::string ofdarkside = power + ofdark;
  4246. std::string powerof = ofdarkside + ", 1)";
  4247. char* commandline = new char[powerof.length() + 1];
  4248. strcpy(commandline, powerof.c_str());
  4249. Scripting::Get().ExecuteLua(commandline);
  4250. std::memset(commandline, 0, sizeof(commandline));
  4251. }
  4252. if (ImGui::Button("Recipe_MediumChargedWiresBattery")) {
  4253. std::string doublequote = "\"";
  4254. std::string power = "Game.AddToInventory(" + doublequote;
  4255. std::string ofdark = "Items.Recipe_MediumChargedWiresBattery" + doublequote;
  4256. std::string ofdarkside = power + ofdark;
  4257. std::string powerof = ofdarkside + ", 1)";
  4258. char* commandline = new char[powerof.length() + 1];
  4259. strcpy(commandline, powerof.c_str());
  4260. Scripting::Get().ExecuteLua(commandline);
  4261. std::memset(commandline, 0, sizeof(commandline));
  4262. }
  4263. if (ImGui::Button("Recipe_MetalPlating")) {
  4264. std::string doublequote = "\"";
  4265. std::string power = "Game.AddToInventory(" + doublequote;
  4266. std::string ofdark = "Items.Recipe_MetalPlating" + doublequote;
  4267. std::string ofdarkside = power + ofdark;
  4268. std::string powerof = ofdarkside + ", 1)";
  4269. char* commandline = new char[powerof.length() + 1];
  4270. strcpy(commandline, powerof.c_str());
  4271. Scripting::Get().ExecuteLua(commandline);
  4272. std::memset(commandline, 0, sizeof(commandline));
  4273. }
  4274. if (ImGui::Button("Recipe_NeoplasticPlating")) {
  4275. std::string doublequote = "\"";
  4276. std::string power = "Game.AddToInventory(" + doublequote;
  4277. std::string ofdark = "Items.Recipe_NeoplasticPlating" + doublequote;
  4278. std::string ofdarkside = power + ofdark;
  4279. std::string powerof = ofdarkside + ", 1)";
  4280. char* commandline = new char[powerof.length() + 1];
  4281. strcpy(commandline, powerof.c_str());
  4282. Scripting::Get().ExecuteLua(commandline);
  4283. std::memset(commandline, 0, sizeof(commandline));
  4284. }
  4285. if (ImGui::Button("Recipe_OverheatProgram")) {
  4286. std::string doublequote = "\"";
  4287. std::string power = "Game.AddToInventory(" + doublequote;
  4288. std::string ofdark = "Items.Recipe_OverheatProgram" + doublequote;
  4289. std::string ofdarkside = power + ofdark;
  4290. std::string powerof = ofdarkside + ", 1)";
  4291. char* commandline = new char[powerof.length() + 1];
  4292. strcpy(commandline, powerof.c_str());
  4293. Scripting::Get().ExecuteLua(commandline);
  4294. std::memset(commandline, 0, sizeof(commandline));
  4295. }
  4296. if (ImGui::Button("Recipe_OverloadProgram")) {
  4297. std::string doublequote = "\"";
  4298. std::string power = "Game.AddToInventory(" + doublequote;
  4299. std::string ofdark = "Items.Recipe_OverloadProgram" + doublequote;
  4300. std::string ofdarkside = power + ofdark;
  4301. std::string powerof = ofdarkside + ", 1)";
  4302. char* commandline = new char[powerof.length() + 1];
  4303. strcpy(commandline, powerof.c_str());
  4304. Scripting::Get().ExecuteLua(commandline);
  4305. std::memset(commandline, 0, sizeof(commandline));
  4306. }
  4307. if (ImGui::Button("Recipe_OverrideAttitudeProgram")) {
  4308. std::string doublequote = "\"";
  4309. std::string power = "Game.AddToInventory(" + doublequote;
  4310. std::string ofdark = "Items.Recipe_OverrideAttitudeProgram" + doublequote;
  4311. std::string ofdarkside = power + ofdark;
  4312. std::string powerof = ofdarkside + ", 1)";
  4313. char* commandline = new char[powerof.length() + 1];
  4314. strcpy(commandline, powerof.c_str());
  4315. Scripting::Get().ExecuteLua(commandline);
  4316. std::memset(commandline, 0, sizeof(commandline));
  4317. }
  4318. if (ImGui::Button("Recipe_PhysicalDamageCable")) {
  4319. std::string doublequote = "\"";
  4320. std::string power = "Game.AddToInventory(" + doublequote;
  4321. std::string ofdark = "Items.Recipe_PhysicalDamageCable" + doublequote;
  4322. std::string ofdarkside = power + ofdark;
  4323. std::string powerof = ofdarkside + ", 1)";
  4324. char* commandline = new char[powerof.length() + 1];
  4325. strcpy(commandline, powerof.c_str());
  4326. Scripting::Get().ExecuteLua(commandline);
  4327. std::memset(commandline, 0, sizeof(commandline));
  4328. }
  4329. if (ImGui::Button("Recipe_PhysicalDamageEdge")) {
  4330. std::string doublequote = "\"";
  4331. std::string power = "Game.AddToInventory(" + doublequote;
  4332. std::string ofdark = "Items.Recipe_PhysicalDamageEdge" + doublequote;
  4333. std::string ofdarkside = power + ofdark;
  4334. std::string powerof = ofdarkside + ", 1)";
  4335. char* commandline = new char[powerof.length() + 1];
  4336. strcpy(commandline, powerof.c_str());
  4337. Scripting::Get().ExecuteLua(commandline);
  4338. std::memset(commandline, 0, sizeof(commandline));
  4339. }
  4340. if (ImGui::Button("Recipe_PhysicalDamageKnuckles")) {
  4341. std::string doublequote = "\"";
  4342. std::string power = "Game.AddToInventory(" + doublequote;
  4343. std::string ofdark = "Items.Recipe_PhysicalDamageKnuckles" + doublequote;
  4344. std::string ofdarkside = power + ofdark;
  4345. std::string powerof = ofdarkside + ", 1)";
  4346. char* commandline = new char[powerof.length() + 1];
  4347. strcpy(commandline, powerof.c_str());
  4348. Scripting::Get().ExecuteLua(commandline);
  4349. std::memset(commandline, 0, sizeof(commandline));
  4350. }
  4351. if (ImGui::Button("Recipe_PowerfulFabricEnhancer01")) {
  4352. std::string doublequote = "\"";
  4353. std::string power = "Game.AddToInventory(" + doublequote;
  4354. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer01" + doublequote;
  4355. std::string ofdarkside = power + ofdark;
  4356. std::string powerof = ofdarkside + ", 1)";
  4357. char* commandline = new char[powerof.length() + 1];
  4358. strcpy(commandline, powerof.c_str());
  4359. Scripting::Get().ExecuteLua(commandline);
  4360. std::memset(commandline, 0, sizeof(commandline));
  4361. }
  4362. if (ImGui::Button("Recipe_PowerfulFabricEnhancer02")) {
  4363. std::string doublequote = "\"";
  4364. std::string power = "Game.AddToInventory(" + doublequote;
  4365. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer02" + doublequote;
  4366. std::string ofdarkside = power + ofdark;
  4367. std::string powerof = ofdarkside + ", 1)";
  4368. char* commandline = new char[powerof.length() + 1];
  4369. strcpy(commandline, powerof.c_str());
  4370. Scripting::Get().ExecuteLua(commandline);
  4371. std::memset(commandline, 0, sizeof(commandline));
  4372. }
  4373. if (ImGui::Button("Recipe_PowerfulFabricEnhancer03")) {
  4374. std::string doublequote = "\"";
  4375. std::string power = "Game.AddToInventory(" + doublequote;
  4376. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer03" + doublequote;
  4377. std::string ofdarkside = power + ofdark;
  4378. std::string powerof = ofdarkside + ", 1)";
  4379. char* commandline = new char[powerof.length() + 1];
  4380. strcpy(commandline, powerof.c_str());
  4381. Scripting::Get().ExecuteLua(commandline);
  4382. std::memset(commandline, 0, sizeof(commandline));
  4383. }
  4384. if (ImGui::Button("Recipe_PowerfulFabricEnhancer04")) {
  4385. std::string doublequote = "\"";
  4386. std::string power = "Game.AddToInventory(" + doublequote;
  4387. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer04" + doublequote;
  4388. std::string ofdarkside = power + ofdark;
  4389. std::string powerof = ofdarkside + ", 1)";
  4390. char* commandline = new char[powerof.length() + 1];
  4391. strcpy(commandline, powerof.c_str());
  4392. Scripting::Get().ExecuteLua(commandline);
  4393. std::memset(commandline, 0, sizeof(commandline));
  4394. }
  4395. if (ImGui::Button("Recipe_PowerfulFabricEnhancer05")) {
  4396. std::string doublequote = "\"";
  4397. std::string power = "Game.AddToInventory(" + doublequote;
  4398. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer05" + doublequote;
  4399. std::string ofdarkside = power + ofdark;
  4400. std::string powerof = ofdarkside + ", 1)";
  4401. char* commandline = new char[powerof.length() + 1];
  4402. strcpy(commandline, powerof.c_str());
  4403. Scripting::Get().ExecuteLua(commandline);
  4404. std::memset(commandline, 0, sizeof(commandline));
  4405. }
  4406. if (ImGui::Button("Recipe_PowerfulFabricEnhancer06")) {
  4407. std::string doublequote = "\"";
  4408. std::string power = "Game.AddToInventory(" + doublequote;
  4409. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer06" + doublequote;
  4410. std::string ofdarkside = power + ofdark;
  4411. std::string powerof = ofdarkside + ", 1)";
  4412. char* commandline = new char[powerof.length() + 1];
  4413. strcpy(commandline, powerof.c_str());
  4414. Scripting::Get().ExecuteLua(commandline);
  4415. std::memset(commandline, 0, sizeof(commandline));
  4416. }
  4417. if (ImGui::Button("Recipe_PowerfulFabricEnhancer07")) {
  4418. std::string doublequote = "\"";
  4419. std::string power = "Game.AddToInventory(" + doublequote;
  4420. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer07" + doublequote;
  4421. std::string ofdarkside = power + ofdark;
  4422. std::string powerof = ofdarkside + ", 1)";
  4423. char* commandline = new char[powerof.length() + 1];
  4424. strcpy(commandline, powerof.c_str());
  4425. Scripting::Get().ExecuteLua(commandline);
  4426. std::memset(commandline, 0, sizeof(commandline));
  4427. }
  4428. if (ImGui::Button("Recipe_PowerfulFabricEnhancer08")) {
  4429. std::string doublequote = "\"";
  4430. std::string power = "Game.AddToInventory(" + doublequote;
  4431. std::string ofdark = "Items.Recipe_PowerfulFabricEnhancer08" + doublequote;
  4432. std::string ofdarkside = power + ofdark;
  4433. std::string powerof = ofdarkside + ", 1)";
  4434. char* commandline = new char[powerof.length() + 1];
  4435. strcpy(commandline, powerof.c_str());
  4436. Scripting::Get().ExecuteLua(commandline);
  4437. std::memset(commandline, 0, sizeof(commandline));
  4438. }
  4439. if (ImGui::Button("Recipe_PowerWeaponMod01")) {
  4440. std::string doublequote = "\"";
  4441. std::string power = "Game.AddToInventory(" + doublequote;
  4442. std::string ofdark = "Items.Recipe_PowerWeaponMod01" + doublequote;
  4443. std::string ofdarkside = power + ofdark;
  4444. std::string powerof = ofdarkside + ", 1)";
  4445. char* commandline = new char[powerof.length() + 1];
  4446. strcpy(commandline, powerof.c_str());
  4447. Scripting::Get().ExecuteLua(commandline);
  4448. std::memset(commandline, 0, sizeof(commandline));
  4449. }
  4450. if (ImGui::Button("Recipe_PowerWeaponMod02")) {
  4451. std::string doublequote = "\"";
  4452. std::string power = "Game.AddToInventory(" + doublequote;
  4453. std::string ofdark = "Items.Recipe_PowerWeaponMod02" + doublequote;
  4454. std::string ofdarkside = power + ofdark;
  4455. std::string powerof = ofdarkside + ", 1)";
  4456. char* commandline = new char[powerof.length() + 1];
  4457. strcpy(commandline, powerof.c_str());
  4458. Scripting::Get().ExecuteLua(commandline);
  4459. std::memset(commandline, 0, sizeof(commandline));
  4460. }
  4461. if (ImGui::Button("Recipe_PowerWeaponMod03")) {
  4462. std::string doublequote = "\"";
  4463. std::string power = "Game.AddToInventory(" + doublequote;
  4464. std::string ofdark = "Items.Recipe_PowerWeaponMod03" + doublequote;
  4465. std::string ofdarkside = power + ofdark;
  4466. std::string powerof = ofdarkside + ", 1)";
  4467. char* commandline = new char[powerof.length() + 1];
  4468. strcpy(commandline, powerof.c_str());
  4469. Scripting::Get().ExecuteLua(commandline);
  4470. std::memset(commandline, 0, sizeof(commandline));
  4471. }
  4472. if (ImGui::Button("Recipe_PowerWeaponMod04")) {
  4473. std::string doublequote = "\"";
  4474. std::string power = "Game.AddToInventory(" + doublequote;
  4475. std::string ofdark = "Items.Recipe_PowerWeaponMod04" + doublequote;
  4476. std::string ofdarkside = power + ofdark;
  4477. std::string powerof = ofdarkside + ", 1)";
  4478. char* commandline = new char[powerof.length() + 1];
  4479. strcpy(commandline, powerof.c_str());
  4480. Scripting::Get().ExecuteLua(commandline);
  4481. std::memset(commandline, 0, sizeof(commandline));
  4482. }
  4483. if (ImGui::Button("Recipe_PowerWeaponMod05")) {
  4484. std::string doublequote = "\"";
  4485. std::string power = "Game.AddToInventory(" + doublequote;
  4486. std::string ofdark = "Items.Recipe_PowerWeaponMod05" + doublequote;
  4487. std::string ofdarkside = power + ofdark;
  4488. std::string powerof = ofdarkside + ", 1)";
  4489. char* commandline = new char[powerof.length() + 1];
  4490. strcpy(commandline, powerof.c_str());
  4491. Scripting::Get().ExecuteLua(commandline);
  4492. std::memset(commandline, 0, sizeof(commandline));
  4493. }
  4494. if (ImGui::Button("Recipe_PowerWeaponMod06")) {
  4495. std::string doublequote = "\"";
  4496. std::string power = "Game.AddToInventory(" + doublequote;
  4497. std::string ofdark = "Items.Recipe_PowerWeaponMod06" + doublequote;
  4498. std::string ofdarkside = power + ofdark;
  4499. std::string powerof = ofdarkside + ", 1)";
  4500. char* commandline = new char[powerof.length() + 1];
  4501. strcpy(commandline, powerof.c_str());
  4502. Scripting::Get().ExecuteLua(commandline);
  4503. std::memset(commandline, 0, sizeof(commandline));
  4504. }
  4505. if (ImGui::Button("Recipe_Preset_Achilles_Default")) {
  4506. std::string doublequote = "\"";
  4507. std::string power = "Game.AddToInventory(" + doublequote;
  4508. std::string ofdark = "Items.Recipe_Preset_Achilles_Default" + doublequote;
  4509. std::string ofdarkside = power + ofdark;
  4510. std::string powerof = ofdarkside + ", 1)";
  4511. char* commandline = new char[powerof.length() + 1];
  4512. strcpy(commandline, powerof.c_str());
  4513. Scripting::Get().ExecuteLua(commandline);
  4514. std::memset(commandline, 0, sizeof(commandline));
  4515. }
  4516. if (ImGui::Button("Recipe_Preset_Ajax_Default")) {
  4517. std::string doublequote = "\"";
  4518. std::string power = "Game.AddToInventory(" + doublequote;
  4519. std::string ofdark = "Items.Recipe_Preset_Ajax_Default" + doublequote;
  4520. std::string ofdarkside = power + ofdark;
  4521. std::string powerof = ofdarkside + ", 1)";
  4522. char* commandline = new char[powerof.length() + 1];
  4523. strcpy(commandline, powerof.c_str());
  4524. Scripting::Get().ExecuteLua(commandline);
  4525. std::memset(commandline, 0, sizeof(commandline));
  4526. }
  4527. if (ImGui::Button("Recipe_Preset_Ajax_Moron")) {
  4528. std::string doublequote = "\"";
  4529. std::string power = "Game.AddToInventory(" + doublequote;
  4530. std::string ofdark = "Items.Recipe_Preset_Ajax_Moron" + doublequote;
  4531. std::string ofdarkside = power + ofdark;
  4532. std::string powerof = ofdarkside + ", 1)";
  4533. char* commandline = new char[powerof.length() + 1];
  4534. strcpy(commandline, powerof.c_str());
  4535. Scripting::Get().ExecuteLua(commandline);
  4536. std::memset(commandline, 0, sizeof(commandline));
  4537. }
  4538. if (ImGui::Button("Recipe_Preset_Base_Copperhead")) {
  4539. std::string doublequote = "\"";
  4540. std::string power = "Game.AddToInventory(" + doublequote;
  4541. std::string ofdark = "Items.Recipe_Preset_Base_Copperhead" + doublequote;
  4542. std::string ofdarkside = power + ofdark;
  4543. std::string powerof = ofdarkside + ", 1)";
  4544. char* commandline = new char[powerof.length() + 1];
  4545. strcpy(commandline, powerof.c_str());
  4546. Scripting::Get().ExecuteLua(commandline);
  4547. std::memset(commandline, 0, sizeof(commandline));
  4548. }
  4549. if (ImGui::Button("Recipe_Preset_Base_Lexington")) {
  4550. std::string doublequote = "\"";
  4551. std::string power = "Game.AddToInventory(" + doublequote;
  4552. std::string ofdark = "Items.Recipe_Preset_Base_Lexington" + doublequote;
  4553. std::string ofdarkside = power + ofdark;
  4554. std::string powerof = ofdarkside + ", 1)";
  4555. char* commandline = new char[powerof.length() + 1];
  4556. strcpy(commandline, powerof.c_str());
  4557. Scripting::Get().ExecuteLua(commandline);
  4558. std::memset(commandline, 0, sizeof(commandline));
  4559. }
  4560. if (ImGui::Button("Recipe_Preset_Base_Masamune")) {
  4561. std::string doublequote = "\"";
  4562. std::string power = "Game.AddToInventory(" + doublequote;
  4563. std::string ofdark = "Items.Recipe_Preset_Base_Masamune" + doublequote;
  4564. std::string ofdarkside = power + ofdark;
  4565. std::string powerof = ofdarkside + ", 1)";
  4566. char* commandline = new char[powerof.length() + 1];
  4567. strcpy(commandline, powerof.c_str());
  4568. Scripting::Get().ExecuteLua(commandline);
  4569. std::memset(commandline, 0, sizeof(commandline));
  4570. }
  4571. if (ImGui::Button("Recipe_Preset_Baseball_Bat_Default")) {
  4572. std::string doublequote = "\"";
  4573. std::string power = "Game.AddToInventory(" + doublequote;
  4574. std::string ofdark = "Items.Recipe_Preset_Baseball_Bat_Default" + doublequote;
  4575. std::string ofdarkside = power + ofdark;
  4576. std::string powerof = ofdarkside + ", 1)";
  4577. char* commandline = new char[powerof.length() + 1];
  4578. strcpy(commandline, powerof.c_str());
  4579. Scripting::Get().ExecuteLua(commandline);
  4580. std::memset(commandline, 0, sizeof(commandline));
  4581. }
  4582. if (ImGui::Button("Recipe_Preset_Burya_Comrade")) {
  4583. std::string doublequote = "\"";
  4584. std::string power = "Game.AddToInventory(" + doublequote;
  4585. std::string ofdark = "Items.Recipe_Preset_Burya_Comrade" + doublequote;
  4586. std::string ofdarkside = power + ofdark;
  4587. std::string powerof = ofdarkside + ", 1)";
  4588. char* commandline = new char[powerof.length() + 1];
  4589. strcpy(commandline, powerof.c_str());
  4590. Scripting::Get().ExecuteLua(commandline);
  4591. std::memset(commandline, 0, sizeof(commandline));
  4592. }
  4593. if (ImGui::Button("Recipe_Preset_Burya_Default")) {
  4594. std::string doublequote = "\"";
  4595. std::string power = "Game.AddToInventory(" + doublequote;
  4596. std::string ofdark = "Items.Recipe_Preset_Burya_Default" + doublequote;
  4597. std::string ofdarkside = power + ofdark;
  4598. std::string powerof = ofdarkside + ", 1)";
  4599. char* commandline = new char[powerof.length() + 1];
  4600. strcpy(commandline, powerof.c_str());
  4601. Scripting::Get().ExecuteLua(commandline);
  4602. std::memset(commandline, 0, sizeof(commandline));
  4603. }
  4604. if (ImGui::Button("Recipe_Preset_Carnage_Default")) {
  4605. std::string doublequote = "\"";
  4606. std::string power = "Game.AddToInventory(" + doublequote;
  4607. std::string ofdark = "Items.Recipe_Preset_Carnage_Default" + doublequote;
  4608. std::string ofdarkside = power + ofdark;
  4609. std::string powerof = ofdarkside + ", 1)";
  4610. char* commandline = new char[powerof.length() + 1];
  4611. strcpy(commandline, powerof.c_str());
  4612. Scripting::Get().ExecuteLua(commandline);
  4613. std::memset(commandline, 0, sizeof(commandline));
  4614. }
  4615. if (ImGui::Button("Recipe_Preset_Copperhead_Genesis")) {
  4616. std::string doublequote = "\"";
  4617. std::string power = "Game.AddToInventory(" + doublequote;
  4618. std::string ofdark = "Items.Recipe_Preset_Copperhead_Genesis" + doublequote;
  4619. std::string ofdarkside = power + ofdark;
  4620. std::string powerof = ofdarkside + ", 1)";
  4621. char* commandline = new char[powerof.length() + 1];
  4622. strcpy(commandline, powerof.c_str());
  4623. Scripting::Get().ExecuteLua(commandline);
  4624. std::memset(commandline, 0, sizeof(commandline));
  4625. }
  4626. if (ImGui::Button("Recipe_Preset_Crusher_Default")) {
  4627. std::string doublequote = "\"";
  4628. std::string power = "Game.AddToInventory(" + doublequote;
  4629. std::string ofdark = "Items.Recipe_Preset_Crusher_Default" + doublequote;
  4630. std::string ofdarkside = power + ofdark;
  4631. std::string powerof = ofdarkside + ", 1)";
  4632. char* commandline = new char[powerof.length() + 1];
  4633. strcpy(commandline, powerof.c_str());
  4634. Scripting::Get().ExecuteLua(commandline);
  4635. std::memset(commandline, 0, sizeof(commandline));
  4636. }
  4637. if (ImGui::Button("Recipe_Preset_Defender_Default")) {
  4638. std::string doublequote = "\"";
  4639. std::string power = "Game.AddToInventory(" + doublequote;
  4640. std::string ofdark = "Items.Recipe_Preset_Defender_Default" + doublequote;
  4641. std::string ofdarkside = power + ofdark;
  4642. std::string powerof = ofdarkside + ", 1)";
  4643. char* commandline = new char[powerof.length() + 1];
  4644. strcpy(commandline, powerof.c_str());
  4645. Scripting::Get().ExecuteLua(commandline);
  4646. std::memset(commandline, 0, sizeof(commandline));
  4647. }
  4648. if (ImGui::Button("Recipe_Preset_Dian_Yinglong")) {
  4649. std::string doublequote = "\"";
  4650. std::string power = "Game.AddToInventory(" + doublequote;
  4651. std::string ofdark = "Items.Recipe_Preset_Dian_Yinglong" + doublequote;
  4652. std::string ofdarkside = power + ofdark;
  4653. std::string powerof = ofdarkside + ", 1)";
  4654. char* commandline = new char[powerof.length() + 1];
  4655. strcpy(commandline, powerof.c_str());
  4656. Scripting::Get().ExecuteLua(commandline);
  4657. std::memset(commandline, 0, sizeof(commandline));
  4658. }
  4659. if (ImGui::Button("Recipe_Preset_Grad_Default")) {
  4660. std::string doublequote = "\"";
  4661. std::string power = "Game.AddToInventory(" + doublequote;
  4662. std::string ofdark = "Items.Recipe_Preset_Grad_Default" + doublequote;
  4663. std::string ofdarkside = power + ofdark;
  4664. std::string powerof = ofdarkside + ", 1)";
  4665. char* commandline = new char[powerof.length() + 1];
  4666. strcpy(commandline, powerof.c_str());
  4667. Scripting::Get().ExecuteLua(commandline);
  4668. std::memset(commandline, 0, sizeof(commandline));
  4669. }
  4670. if (ImGui::Button("Recipe_Preset_HMG_Default")) {
  4671. std::string doublequote = "\"";
  4672. std::string power = "Game.AddToInventory(" + doublequote;
  4673. std::string ofdark = "Items.Recipe_Preset_HMG_Default" + doublequote;
  4674. std::string ofdarkside = power + ofdark;
  4675. std::string powerof = ofdarkside + ", 1)";
  4676. char* commandline = new char[powerof.length() + 1];
  4677. strcpy(commandline, powerof.c_str());
  4678. Scripting::Get().ExecuteLua(commandline);
  4679. std::memset(commandline, 0, sizeof(commandline));
  4680. }
  4681. if (ImGui::Button("Recipe_Preset_Igla_Default")) {
  4682. std::string doublequote = "\"";
  4683. std::string power = "Game.AddToInventory(" + doublequote;
  4684. std::string ofdark = "Items.Recipe_Preset_Igla_Default" + doublequote;
  4685. std::string ofdarkside = power + ofdark;
  4686. std::string powerof = ofdarkside + ", 1)";
  4687. char* commandline = new char[powerof.length() + 1];
  4688. strcpy(commandline, powerof.c_str());
  4689. Scripting::Get().ExecuteLua(commandline);
  4690. std::memset(commandline, 0, sizeof(commandline));
  4691. }
  4692. if (ImGui::Button("Recipe_Preset_Igla_Sovereign")) {
  4693. std::string doublequote = "\"";
  4694. std::string power = "Game.AddToInventory(" + doublequote;
  4695. std::string ofdark = "Items.Recipe_Preset_Igla_Sovereign" + doublequote;
  4696. std::string ofdarkside = power + ofdark;
  4697. std::string powerof = ofdarkside + ", 1)";
  4698. char* commandline = new char[powerof.length() + 1];
  4699. strcpy(commandline, powerof.c_str());
  4700. Scripting::Get().ExecuteLua(commandline);
  4701. std::memset(commandline, 0, sizeof(commandline));
  4702. }
  4703. if (ImGui::Button("Recipe_Preset_Kenshin_Default")) {
  4704. std::string doublequote = "\"";
  4705. std::string power = "Game.AddToInventory(" + doublequote;
  4706. std::string ofdark = "Items.Recipe_Preset_Kenshin_Default" + doublequote;
  4707. std::string ofdarkside = power + ofdark;
  4708. std::string powerof = ofdarkside + ", 1)";
  4709. char* commandline = new char[powerof.length() + 1];
  4710. strcpy(commandline, powerof.c_str());
  4711. Scripting::Get().ExecuteLua(commandline);
  4712. std::memset(commandline, 0, sizeof(commandline));
  4713. }
  4714. if (ImGui::Button("Recipe_Preset_Nekomata_Breakthrough")) {
  4715. std::string doublequote = "\"";
  4716. std::string power = "Game.AddToInventory(" + doublequote;
  4717. std::string ofdark = "Items.Recipe_Preset_Nekomata_Breakthrough" + doublequote;
  4718. std::string ofdarkside = power + ofdark;
  4719. std::string powerof = ofdarkside + ", 1)";
  4720. char* commandline = new char[powerof.length() + 1];
  4721. strcpy(commandline, powerof.c_str());
  4722. Scripting::Get().ExecuteLua(commandline);
  4723. std::memset(commandline, 0, sizeof(commandline));
  4724. }
  4725. if (ImGui::Button("Recipe_Preset_Nekomata_Default")) {
  4726. std::string doublequote = "\"";
  4727. std::string power = "Game.AddToInventory(" + doublequote;
  4728. std::string ofdark = "Items.Recipe_Preset_Nekomata_Default" + doublequote;
  4729. std::string ofdarkside = power + ofdark;
  4730. std::string powerof = ofdarkside + ", 1)";
  4731. char* commandline = new char[powerof.length() + 1];
  4732. strcpy(commandline, powerof.c_str());
  4733. Scripting::Get().ExecuteLua(commandline);
  4734. std::memset(commandline, 0, sizeof(commandline));
  4735. }
  4736. if (ImGui::Button("Recipe_Preset_Nova_Default")) {
  4737. std::string doublequote = "\"";
  4738. std::string power = "Game.AddToInventory(" + doublequote;
  4739. std::string ofdark = "Items.Recipe_Preset_Nova_Default" + doublequote;
  4740. std::string ofdarkside = power + ofdark;
  4741. std::string powerof = ofdarkside + ", 1)";
  4742. char* commandline = new char[powerof.length() + 1];
  4743. strcpy(commandline, powerof.c_str());
  4744. Scripting::Get().ExecuteLua(commandline);
  4745. std::memset(commandline, 0, sizeof(commandline));
  4746. }
  4747. if (ImGui::Button("Recipe_Preset_Nue_Default")) {
  4748. std::string doublequote = "\"";
  4749. std::string power = "Game.AddToInventory(" + doublequote;
  4750. std::string ofdark = "Items.Recipe_Preset_Nue_Default" + doublequote;
  4751. std::string ofdarkside = power + ofdark;
  4752. std::string powerof = ofdarkside + ", 1)";
  4753. char* commandline = new char[powerof.length() + 1];
  4754. strcpy(commandline, powerof.c_str());
  4755. Scripting::Get().ExecuteLua(commandline);
  4756. std::memset(commandline, 0, sizeof(commandline));
  4757. }
  4758. if (ImGui::Button("Recipe_Preset_Omaha_Default")) {
  4759. std::string doublequote = "\"";
  4760. std::string power = "Game.AddToInventory(" + doublequote;
  4761. std::string ofdark = "Items.Recipe_Preset_Omaha_Default" + doublequote;
  4762. std::string ofdarkside = power + ofdark;
  4763. std::string powerof = ofdarkside + ", 1)";
  4764. char* commandline = new char[powerof.length() + 1];
  4765. strcpy(commandline, powerof.c_str());
  4766. Scripting::Get().ExecuteLua(commandline);
  4767. std::memset(commandline, 0, sizeof(commandline));
  4768. }
  4769. if (ImGui::Button("Recipe_Preset_Overture_Default")) {
  4770. std::string doublequote = "\"";
  4771. std::string power = "Game.AddToInventory(" + doublequote;
  4772. std::string ofdark = "Items.Recipe_Preset_Overture_Default" + doublequote;
  4773. std::string ofdarkside = power + ofdark;
  4774. std::string powerof = ofdarkside + ", 1)";
  4775. char* commandline = new char[powerof.length() + 1];
  4776. strcpy(commandline, powerof.c_str());
  4777. Scripting::Get().ExecuteLua(commandline);
  4778. std::memset(commandline, 0, sizeof(commandline));
  4779. }
  4780. if (ImGui::Button("Recipe_Preset_Pulsar_Buzzsaw")) {
  4781. std::string doublequote = "\"";
  4782. std::string power = "Game.AddToInventory(" + doublequote;
  4783. std::string ofdark = "Items.Recipe_Preset_Pulsar_Buzzsaw" + doublequote;
  4784. std::string ofdarkside = power + ofdark;
  4785. std::string powerof = ofdarkside + ", 1)";
  4786. char* commandline = new char[powerof.length() + 1];
  4787. strcpy(commandline, powerof.c_str());
  4788. Scripting::Get().ExecuteLua(commandline);
  4789. std::memset(commandline, 0, sizeof(commandline));
  4790. }
  4791. if (ImGui::Button("Recipe_Preset_Pulsar_Default")) {
  4792. std::string doublequote = "\"";
  4793. std::string power = "Game.AddToInventory(" + doublequote;
  4794. std::string ofdark = "Items.Recipe_Preset_Pulsar_Default" + doublequote;
  4795. std::string ofdarkside = power + ofdark;
  4796. std::string powerof = ofdarkside + ", 1)";
  4797. char* commandline = new char[powerof.length() + 1];
  4798. strcpy(commandline, powerof.c_str());
  4799. Scripting::Get().ExecuteLua(commandline);
  4800. std::memset(commandline, 0, sizeof(commandline));
  4801. }
  4802. if (ImGui::Button("Recipe_Preset_Quasar_Default")) {
  4803. std::string doublequote = "\"";
  4804. std::string power = "Game.AddToInventory(" + doublequote;
  4805. std::string ofdark = "Items.Recipe_Preset_Quasar_Default" + doublequote;
  4806. std::string ofdarkside = power + ofdark;
  4807. std::string powerof = ofdarkside + ", 1)";
  4808. char* commandline = new char[powerof.length() + 1];
  4809. strcpy(commandline, powerof.c_str());
  4810. Scripting::Get().ExecuteLua(commandline);
  4811. std::memset(commandline, 0, sizeof(commandline));
  4812. }
  4813. if (ImGui::Button("Recipe_Preset_Saratoga_Default")) {
  4814. std::string doublequote = "\"";
  4815. std::string power = "Game.AddToInventory(" + doublequote;
  4816. std::string ofdark = "Items.Recipe_Preset_Saratoga_Default" + doublequote;
  4817. std::string ofdarkside = power + ofdark;
  4818. std::string powerof = ofdarkside + ", 1)";
  4819. char* commandline = new char[powerof.length() + 1];
  4820. strcpy(commandline, powerof.c_str());
  4821. Scripting::Get().ExecuteLua(commandline);
  4822. std::memset(commandline, 0, sizeof(commandline));
  4823. }
  4824. if (ImGui::Button("Recipe_Preset_Satara_Default")) {
  4825. std::string doublequote = "\"";
  4826. std::string power = "Game.AddToInventory(" + doublequote;
  4827. std::string ofdark = "Items.Recipe_Preset_Satara_Default" + doublequote;
  4828. std::string ofdarkside = power + ofdark;
  4829. std::string powerof = ofdarkside + ", 1)";
  4830. char* commandline = new char[powerof.length() + 1];
  4831. strcpy(commandline, powerof.c_str());
  4832. Scripting::Get().ExecuteLua(commandline);
  4833. std::memset(commandline, 0, sizeof(commandline));
  4834. }
  4835. if (ImGui::Button("Recipe_Preset_Sidewinder_Divided")) {
  4836. std::string doublequote = "\"";
  4837. std::string power = "Game.AddToInventory(" + doublequote;
  4838. std::string ofdark = "Items.Recipe_Preset_Sidewinder_Divided" + doublequote;
  4839. std::string ofdarkside = power + ofdark;
  4840. std::string powerof = ofdarkside + ", 1)";
  4841. char* commandline = new char[powerof.length() + 1];
  4842. strcpy(commandline, powerof.c_str());
  4843. Scripting::Get().ExecuteLua(commandline);
  4844. std::memset(commandline, 0, sizeof(commandline));
  4845. }
  4846. if (ImGui::Button("Recipe_Preset_Sor22_Default")) {
  4847. std::string doublequote = "\"";
  4848. std::string power = "Game.AddToInventory(" + doublequote;
  4849. std::string ofdark = "Items.Recipe_Preset_Sor22_Default" + doublequote;
  4850. std::string ofdarkside = power + ofdark;
  4851. std::string powerof = ofdarkside + ", 1)";
  4852. char* commandline = new char[powerof.length() + 1];
  4853. strcpy(commandline, powerof.c_str());
  4854. Scripting::Get().ExecuteLua(commandline);
  4855. std::memset(commandline, 0, sizeof(commandline));
  4856. }
  4857. if (ImGui::Button("Recipe_Preset_Tactician_Headsman")) {
  4858. std::string doublequote = "\"";
  4859. std::string power = "Game.AddToInventory(" + doublequote;
  4860. std::string ofdark = "Items.Recipe_Preset_Tactician_Headsman" + doublequote;
  4861. std::string ofdarkside = power + ofdark;
  4862. std::string powerof = ofdarkside + ", 1)";
  4863. char* commandline = new char[powerof.length() + 1];
  4864. strcpy(commandline, powerof.c_str());
  4865. Scripting::Get().ExecuteLua(commandline);
  4866. std::memset(commandline, 0, sizeof(commandline));
  4867. }
  4868. if (ImGui::Button("Recipe_Preset_Testera_Default")) {
  4869. std::string doublequote = "\"";
  4870. std::string power = "Game.AddToInventory(" + doublequote;
  4871. std::string ofdark = "Items.Recipe_Preset_Testera_Default" + doublequote;
  4872. std::string ofdarkside = power + ofdark;
  4873. std::string powerof = ofdarkside + ", 1)";
  4874. char* commandline = new char[powerof.length() + 1];
  4875. strcpy(commandline, powerof.c_str());
  4876. Scripting::Get().ExecuteLua(commandline);
  4877. std::memset(commandline, 0, sizeof(commandline));
  4878. }
  4879. if (ImGui::Button("Recipe_Preset_Tire_Iron_Default")) {
  4880. std::string doublequote = "\"";
  4881. std::string power = "Game.AddToInventory(" + doublequote;
  4882. std::string ofdark = "Items.Recipe_Preset_Tire_Iron_Default" + doublequote;
  4883. std::string ofdarkside = power + ofdark;
  4884. std::string powerof = ofdarkside + ", 1)";
  4885. char* commandline = new char[powerof.length() + 1];
  4886. strcpy(commandline, powerof.c_str());
  4887. Scripting::Get().ExecuteLua(commandline);
  4888. std::memset(commandline, 0, sizeof(commandline));
  4889. }
  4890. if (ImGui::Button("Recipe_Preset_Unity_Default")) {
  4891. std::string doublequote = "\"";
  4892. std::string power = "Game.AddToInventory(" + doublequote;
  4893. std::string ofdark = "Items.Recipe_Preset_Unity_Default" + doublequote;
  4894. std::string ofdarkside = power + ofdark;
  4895. std::string powerof = ofdarkside + ", 1)";
  4896. char* commandline = new char[powerof.length() + 1];
  4897. strcpy(commandline, powerof.c_str());
  4898. Scripting::Get().ExecuteLua(commandline);
  4899. std::memset(commandline, 0, sizeof(commandline));
  4900. }
  4901. if (ImGui::Button("Recipe_Preset_Zhuo_Eight_Star")) {
  4902. std::string doublequote = "\"";
  4903. std::string power = "Game.AddToInventory(" + doublequote;
  4904. std::string ofdark = "Items.Recipe_Preset_Zhuo_Eight_Star" + doublequote;
  4905. std::string ofdarkside = power + ofdark;
  4906. std::string powerof = ofdarkside + ", 1)";
  4907. char* commandline = new char[powerof.length() + 1];
  4908. strcpy(commandline, powerof.c_str());
  4909. Scripting::Get().ExecuteLua(commandline);
  4910. std::memset(commandline, 0, sizeof(commandline));
  4911. }
  4912. if (ImGui::Button("Recipe_SimpleFabricEnhancer01")) {
  4913. std::string doublequote = "\"";
  4914. std::string power = "Game.AddToInventory(" + doublequote;
  4915. std::string ofdark = "Items.Recipe_SimpleFabricEnhancer01" + doublequote;
  4916. std::string ofdarkside = power + ofdark;
  4917. std::string powerof = ofdarkside + ", 1)";
  4918. char* commandline = new char[powerof.length() + 1];
  4919. strcpy(commandline, powerof.c_str());
  4920. Scripting::Get().ExecuteLua(commandline);
  4921. std::memset(commandline, 0, sizeof(commandline));
  4922. }
  4923. if (ImGui::Button("Recipe_SimpleFabricEnhancer02")) {
  4924. std::string doublequote = "\"";
  4925. std::string power = "Game.AddToInventory(" + doublequote;
  4926. std::string ofdark = "Items.Recipe_SimpleFabricEnhancer02" + doublequote;
  4927. std::string ofdarkside = power + ofdark;
  4928. std::string powerof = ofdarkside + ", 1)";
  4929. char* commandline = new char[powerof.length() + 1];
  4930. strcpy(commandline, powerof.c_str());
  4931. Scripting::Get().ExecuteLua(commandline);
  4932. std::memset(commandline, 0, sizeof(commandline));
  4933. }
  4934. if (ImGui::Button("Recipe_SimpleFabricEnhancer03")) {
  4935. std::string doublequote = "\"";
  4936. std::string power = "Game.AddToInventory(" + doublequote;
  4937. std::string ofdark = "Items.Recipe_SimpleFabricEnhancer03" + doublequote;
  4938. std::string ofdarkside = power + ofdark;
  4939. std::string powerof = ofdarkside + ", 1)";
  4940. char* commandline = new char[powerof.length() + 1];
  4941. strcpy(commandline, powerof.c_str());
  4942. Scripting::Get().ExecuteLua(commandline);
  4943. std::memset(commandline, 0, sizeof(commandline));
  4944. }
  4945. if (ImGui::Button("Recipe_SimpleFabricEnhancer04")) {
  4946. std::string doublequote = "\"";
  4947. std::string power = "Game.AddToInventory(" + doublequote;
  4948. std::string ofdark = "Items.Recipe_SimpleFabricEnhancer04" + doublequote;
  4949. std::string ofdarkside = power + ofdark;
  4950. std::string powerof = ofdarkside + ", 1)";
  4951. char* commandline = new char[powerof.length() + 1];
  4952. strcpy(commandline, powerof.c_str());
  4953. Scripting::Get().ExecuteLua(commandline);
  4954. std::memset(commandline, 0, sizeof(commandline));
  4955. }
  4956. if (ImGui::Button("Recipe_SimpleFabricEnhancer05")) {
  4957. std::string doublequote = "\"";
  4958. std::string power = "Game.AddToInventory(" + doublequote;
  4959. std::string ofdark = "Items.Recipe_SimpleFabricEnhancer05" + doublequote;
  4960. std::string ofdarkside = power + ofdark;
  4961. std::string powerof = ofdarkside + ", 1)";
  4962. char* commandline = new char[powerof.length() + 1];
  4963. strcpy(commandline, powerof.c_str());
  4964. Scripting::Get().ExecuteLua(commandline);
  4965. std::memset(commandline, 0, sizeof(commandline));
  4966. }
  4967. if (ImGui::Button("Recipe_SimpleWeaponMod01")) {
  4968. std::string doublequote = "\"";
  4969. std::string power = "Game.AddToInventory(" + doublequote;
  4970. std::string ofdark = "Items.Recipe_SimpleWeaponMod01" + doublequote;
  4971. std::string ofdarkside = power + ofdark;
  4972. std::string powerof = ofdarkside + ", 1)";
  4973. char* commandline = new char[powerof.length() + 1];
  4974. strcpy(commandline, powerof.c_str());
  4975. Scripting::Get().ExecuteLua(commandline);
  4976. std::memset(commandline, 0, sizeof(commandline));
  4977. }
  4978. if (ImGui::Button("Recipe_SimpleWeaponMod02")) {
  4979. std::string doublequote = "\"";
  4980. std::string power = "Game.AddToInventory(" + doublequote;
  4981. std::string ofdark = "Items.Recipe_SimpleWeaponMod02" + doublequote;
  4982. std::string ofdarkside = power + ofdark;
  4983. std::string powerof = ofdarkside + ", 1)";
  4984. char* commandline = new char[powerof.length() + 1];
  4985. strcpy(commandline, powerof.c_str());
  4986. Scripting::Get().ExecuteLua(commandline);
  4987. std::memset(commandline, 0, sizeof(commandline));
  4988. }
  4989. if (ImGui::Button("Recipe_SimpleWeaponMod03")) {
  4990. std::string doublequote = "\"";
  4991. std::string power = "Game.AddToInventory(" + doublequote;
  4992. std::string ofdark = "Items.Recipe_SimpleWeaponMod03" + doublequote;
  4993. std::string ofdarkside = power + ofdark;
  4994. std::string powerof = ofdarkside + ", 1)";
  4995. char* commandline = new char[powerof.length() + 1];
  4996. strcpy(commandline, powerof.c_str());
  4997. Scripting::Get().ExecuteLua(commandline);
  4998. std::memset(commandline, 0, sizeof(commandline));
  4999. }
  5000. if (ImGui::Button("Recipe_SimpleWeaponMod04")) {
  5001. std::string doublequote = "\"";
  5002. std::string power = "Game.AddToInventory(" + doublequote;
  5003. std::string ofdark = "Items.Recipe_SimpleWeaponMod04" + doublequote;
  5004. std::string ofdarkside = power + ofdark;
  5005. std::string powerof = ofdarkside + ", 1)";
  5006. char* commandline = new char[powerof.length() + 1];
  5007. strcpy(commandline, powerof.c_str());
  5008. Scripting::Get().ExecuteLua(commandline);
  5009. std::memset(commandline, 0, sizeof(commandline));
  5010. }
  5011. if (ImGui::Button("Recipe_SimpleWeaponMod05")) {
  5012. std::string doublequote = "\"";
  5013. std::string power = "Game.AddToInventory(" + doublequote;
  5014. std::string ofdark = "Items.Recipe_SimpleWeaponMod05" + doublequote;
  5015. std::string ofdarkside = power + ofdark;
  5016. std::string powerof = ofdarkside + ", 1)";
  5017. char* commandline = new char[powerof.length() + 1];
  5018. strcpy(commandline, powerof.c_str());
  5019. Scripting::Get().ExecuteLua(commandline);
  5020. std::memset(commandline, 0, sizeof(commandline));
  5021. }
  5022. if (ImGui::Button("Recipe_SimpleWeaponMod06")) {
  5023. std::string doublequote = "\"";
  5024. std::string power = "Game.AddToInventory(" + doublequote;
  5025. std::string ofdark = "Items.Recipe_SimpleWeaponMod06" + doublequote;
  5026. std::string ofdarkside = power + ofdark;
  5027. std::string powerof = ofdarkside + ", 1)";
  5028. char* commandline = new char[powerof.length() + 1];
  5029. strcpy(commandline, powerof.c_str());
  5030. Scripting::Get().ExecuteLua(commandline);
  5031. std::memset(commandline, 0, sizeof(commandline));
  5032. }
  5033. if (ImGui::Button("Recipe_SlowRotor")) {
  5034. std::string doublequote = "\"";
  5035. std::string power = "Game.AddToInventory(" + doublequote;
  5036. std::string ofdark = "Items.Recipe_SlowRotor" + doublequote;
  5037. std::string ofdarkside = power + ofdark;
  5038. std::string powerof = ofdarkside + ", 1)";
  5039. char* commandline = new char[powerof.length() + 1];
  5040. strcpy(commandline, powerof.c_str());
  5041. Scripting::Get().ExecuteLua(commandline);
  5042. std::memset(commandline, 0, sizeof(commandline));
  5043. }
  5044. if (ImGui::Button("Recipe_SuicideLvl3Program")) {
  5045. std::string doublequote = "\"";
  5046. std::string power = "Game.AddToInventory(" + doublequote;
  5047. std::string ofdark = "Items.Recipe_SuicideLvl3Program" + doublequote;
  5048. std::string ofdarkside = power + ofdark;
  5049. std::string powerof = ofdarkside + ", 1)";
  5050. char* commandline = new char[powerof.length() + 1];
  5051. strcpy(commandline, powerof.c_str());
  5052. Scripting::Get().ExecuteLua(commandline);
  5053. std::memset(commandline, 0, sizeof(commandline));
  5054. }
  5055. if (ImGui::Button("Recipe_SystemCollapseLvl3Program")) {
  5056. std::string doublequote = "\"";
  5057. std::string power = "Game.AddToInventory(" + doublequote;
  5058. std::string ofdark = "Items.Recipe_SystemCollapseLvl3Program" + doublequote;
  5059. std::string ofdarkside = power + ofdark;
  5060. std::string powerof = ofdarkside + ", 1)";
  5061. char* commandline = new char[powerof.length() + 1];
  5062. strcpy(commandline, powerof.c_str());
  5063. Scripting::Get().ExecuteLua(commandline);
  5064. std::memset(commandline, 0, sizeof(commandline));
  5065. }
  5066. if (ImGui::Button("Recipe_TakeControlProgram")) {
  5067. std::string doublequote = "\"";
  5068. std::string power = "Game.AddToInventory(" + doublequote;
  5069. std::string ofdark = "Items.Recipe_TakeControlProgram" + doublequote;
  5070. std::string ofdarkside = power + ofdark;
  5071. std::string powerof = ofdarkside + ", 1)";
  5072. char* commandline = new char[powerof.length() + 1];
  5073. strcpy(commandline, powerof.c_str());
  5074. Scripting::Get().ExecuteLua(commandline);
  5075. std::memset(commandline, 0, sizeof(commandline));
  5076. }
  5077. if (ImGui::Button("Recipe_TechWeaponMod01")) {
  5078. std::string doublequote = "\"";
  5079. std::string power = "Game.AddToInventory(" + doublequote;
  5080. std::string ofdark = "Items.Recipe_TechWeaponMod01" + doublequote;
  5081. std::string ofdarkside = power + ofdark;
  5082. std::string powerof = ofdarkside + ", 1)";
  5083. char* commandline = new char[powerof.length() + 1];
  5084. strcpy(commandline, powerof.c_str());
  5085. Scripting::Get().ExecuteLua(commandline);
  5086. std::memset(commandline, 0, sizeof(commandline));
  5087. }
  5088. if (ImGui::Button("Recipe_TechWeaponMod02")) {
  5089. std::string doublequote = "\"";
  5090. std::string power = "Game.AddToInventory(" + doublequote;
  5091. std::string ofdark = "Items.Recipe_TechWeaponMod02" + doublequote;
  5092. std::string ofdarkside = power + ofdark;
  5093. std::string powerof = ofdarkside + ", 1)";
  5094. char* commandline = new char[powerof.length() + 1];
  5095. strcpy(commandline, powerof.c_str());
  5096. Scripting::Get().ExecuteLua(commandline);
  5097. std::memset(commandline, 0, sizeof(commandline));
  5098. }
  5099. if (ImGui::Button("Recipe_TechWeaponMod04")) {
  5100. std::string doublequote = "\"";
  5101. std::string power = "Game.AddToInventory(" + doublequote;
  5102. std::string ofdark = "Items.Recipe_TechWeaponMod04" + doublequote;
  5103. std::string ofdarkside = power + ofdark;
  5104. std::string powerof = ofdarkside + ", 1)";
  5105. char* commandline = new char[powerof.length() + 1];
  5106. strcpy(commandline, powerof.c_str());
  5107. Scripting::Get().ExecuteLua(commandline);
  5108. std::memset(commandline, 0, sizeof(commandline));
  5109. }
  5110. if (ImGui::Button("Recipe_ThermalDamageCable")) {
  5111. std::string doublequote = "\"";
  5112. std::string power = "Game.AddToInventory(" + doublequote;
  5113. std::string ofdark = "Items.Recipe_ThermalDamageCable" + doublequote;
  5114. std::string ofdarkside = power + ofdark;
  5115. std::string powerof = ofdarkside + ", 1)";
  5116. char* commandline = new char[powerof.length() + 1];
  5117. strcpy(commandline, powerof.c_str());
  5118. Scripting::Get().ExecuteLua(commandline);
  5119. std::memset(commandline, 0, sizeof(commandline));
  5120. }
  5121. if (ImGui::Button("Recipe_ThermalDamageEdge")) {
  5122. std::string doublequote = "\"";
  5123. std::string power = "Game.AddToInventory(" + doublequote;
  5124. std::string ofdark = "Items.Recipe_ThermalDamageEdge" + doublequote;
  5125. std::string ofdarkside = power + ofdark;
  5126. std::string powerof = ofdarkside + ", 1)";
  5127. char* commandline = new char[powerof.length() + 1];
  5128. strcpy(commandline, powerof.c_str());
  5129. Scripting::Get().ExecuteLua(commandline);
  5130. std::memset(commandline, 0, sizeof(commandline));
  5131. }
  5132. if (ImGui::Button("Recipe_ThermalDamageKnuckles")) {
  5133. std::string doublequote = "\"";
  5134. std::string power = "Game.AddToInventory(" + doublequote;
  5135. std::string ofdark = "Items.Recipe_ThermalDamageKnuckles" + doublequote;
  5136. std::string ofdarkside = power + ofdark;
  5137. std::string powerof = ofdarkside + ", 1)";
  5138. char* commandline = new char[powerof.length() + 1];
  5139. strcpy(commandline, powerof.c_str());
  5140. Scripting::Get().ExecuteLua(commandline);
  5141. std::memset(commandline, 0, sizeof(commandline));
  5142. }
  5143. if (ImGui::Button("Recipe_ThermalDamageRound")) {
  5144. std::string doublequote = "\"";
  5145. std::string power = "Game.AddToInventory(" + doublequote;
  5146. std::string ofdark = "Items.Recipe_ThermalDamageRound" + doublequote;
  5147. std::string ofdarkside = power + ofdark;
  5148. std::string powerof = ofdarkside + ", 1)";
  5149. char* commandline = new char[powerof.length() + 1];
  5150. strcpy(commandline, powerof.c_str());
  5151. Scripting::Get().ExecuteLua(commandline);
  5152. std::memset(commandline, 0, sizeof(commandline));
  5153. }
  5154. if (ImGui::Button("Recipe_TitaniumPlating")) {
  5155. std::string doublequote = "\"";
  5156. std::string power = "Game.AddToInventory(" + doublequote;
  5157. std::string ofdark = "Items.Recipe_TitaniumPlating" + doublequote;
  5158. std::string ofdarkside = power + ofdark;
  5159. std::string powerof = ofdarkside + ", 1)";
  5160. char* commandline = new char[powerof.length() + 1];
  5161. strcpy(commandline, powerof.c_str());
  5162. Scripting::Get().ExecuteLua(commandline);
  5163. std::memset(commandline, 0, sizeof(commandline));
  5164. }
  5165. if (ImGui::Button("Recipe_ToggleStateProgram")) {
  5166. std::string doublequote = "\"";
  5167. std::string power = "Game.AddToInventory(" + doublequote;
  5168. std::string ofdark = "Items.Recipe_ToggleStateProgram" + doublequote;
  5169. std::string ofdarkside = power + ofdark;
  5170. std::string powerof = ofdarkside + ", 1)";
  5171. char* commandline = new char[powerof.length() + 1];
  5172. strcpy(commandline, powerof.c_str());
  5173. Scripting::Get().ExecuteLua(commandline);
  5174. std::memset(commandline, 0, sizeof(commandline));
  5175. }
  5176. if (ImGui::Button("Recipe_Tomahawk_Common")) {
  5177. std::string doublequote = "\"";
  5178. std::string power = "Game.AddToInventory(" + doublequote;
  5179. std::string ofdark = "Items.Recipe_Tomahawk_Common" + doublequote;
  5180. std::string ofdarkside = power + ofdark;
  5181. std::string powerof = ofdarkside + ", 1)";
  5182. char* commandline = new char[powerof.length() + 1];
  5183. strcpy(commandline, powerof.c_str());
  5184. Scripting::Get().ExecuteLua(commandline);
  5185. std::memset(commandline, 0, sizeof(commandline));
  5186. }
  5187. if (ImGui::Button("Recipe_w_att_scope_long_01")) {
  5188. std::string doublequote = "\"";
  5189. std::string power = "Game.AddToInventory(" + doublequote;
  5190. std::string ofdark = "Items.Recipe_w_att_scope_long_01" + doublequote;
  5191. std::string ofdarkside = power + ofdark;
  5192. std::string powerof = ofdarkside + ", 1)";
  5193. char* commandline = new char[powerof.length() + 1];
  5194. strcpy(commandline, powerof.c_str());
  5195. Scripting::Get().ExecuteLua(commandline);
  5196. std::memset(commandline, 0, sizeof(commandline));
  5197. }
  5198. if (ImGui::Button("Recipe_w_att_scope_long_02")) {
  5199. std::string doublequote = "\"";
  5200. std::string power = "Game.AddToInventory(" + doublequote;
  5201. std::string ofdark = "Items.Recipe_w_att_scope_long_02" + doublequote;
  5202. std::string ofdarkside = power + ofdark;
  5203. std::string powerof = ofdarkside + ", 1)";
  5204. char* commandline = new char[powerof.length() + 1];
  5205. strcpy(commandline, powerof.c_str());
  5206. Scripting::Get().ExecuteLua(commandline);
  5207. std::memset(commandline, 0, sizeof(commandline));
  5208. }
  5209. if (ImGui::Button("Recipe_w_att_scope_long_03")) {
  5210. std::string doublequote = "\"";
  5211. std::string power = "Game.AddToInventory(" + doublequote;
  5212. std::string ofdark = "Items.Recipe_w_att_scope_long_03" + doublequote;
  5213. std::string ofdarkside = power + ofdark;
  5214. std::string powerof = ofdarkside + ", 1)";
  5215. char* commandline = new char[powerof.length() + 1];
  5216. strcpy(commandline, powerof.c_str());
  5217. Scripting::Get().ExecuteLua(commandline);
  5218. std::memset(commandline, 0, sizeof(commandline));
  5219. }
  5220. if (ImGui::Button("Recipe_w_att_scope_short_01")) {
  5221. std::string doublequote = "\"";
  5222. std::string power = "Game.AddToInventory(" + doublequote;
  5223. std::string ofdark = "Items.Recipe_w_att_scope_short_01" + doublequote;
  5224. std::string ofdarkside = power + ofdark;
  5225. std::string powerof = ofdarkside + ", 1)";
  5226. char* commandline = new char[powerof.length() + 1];
  5227. strcpy(commandline, powerof.c_str());
  5228. Scripting::Get().ExecuteLua(commandline);
  5229. std::memset(commandline, 0, sizeof(commandline));
  5230. }
  5231. if (ImGui::Button("Recipe_w_att_scope_short_02")) {
  5232. std::string doublequote = "\"";
  5233. std::string power = "Game.AddToInventory(" + doublequote;
  5234. std::string ofdark = "Items.Recipe_w_att_scope_short_02" + doublequote;
  5235. std::string ofdarkside = power + ofdark;
  5236. std::string powerof = ofdarkside + ", 1)";
  5237. char* commandline = new char[powerof.length() + 1];
  5238. strcpy(commandline, powerof.c_str());
  5239. Scripting::Get().ExecuteLua(commandline);
  5240. std::memset(commandline, 0, sizeof(commandline));
  5241. }
  5242. if (ImGui::Button("Recipe_w_att_scope_short_03")) {
  5243. std::string doublequote = "\"";
  5244. std::string power = "Game.AddToInventory(" + doublequote;
  5245. std::string ofdark = "Items.Recipe_w_att_scope_short_03" + doublequote;
  5246. std::string ofdarkside = power + ofdark;
  5247. std::string powerof = ofdarkside + ", 1)";
  5248. char* commandline = new char[powerof.length() + 1];
  5249. strcpy(commandline, powerof.c_str());
  5250. Scripting::Get().ExecuteLua(commandline);
  5251. std::memset(commandline, 0, sizeof(commandline));
  5252. }
  5253. if (ImGui::Button("Recipe_w_att_scope_short_04")) {
  5254. std::string doublequote = "\"";
  5255. std::string power = "Game.AddToInventory(" + doublequote;
  5256. std::string ofdark = "Items.Recipe_w_att_scope_short_04" + doublequote;
  5257. std::string ofdarkside = power + ofdark;
  5258. std::string powerof = ofdarkside + ", 1)";
  5259. char* commandline = new char[powerof.length() + 1];
  5260. strcpy(commandline, powerof.c_str());
  5261. Scripting::Get().ExecuteLua(commandline);
  5262. std::memset(commandline, 0, sizeof(commandline));
  5263. }
  5264. if (ImGui::Button("Recipe_w_att_scope_sniper_01")) {
  5265. std::string doublequote = "\"";
  5266. std::string power = "Game.AddToInventory(" + doublequote;
  5267. std::string ofdark = "Items.Recipe_w_att_scope_sniper_01" + doublequote;
  5268. std::string ofdarkside = power + ofdark;
  5269. std::string powerof = ofdarkside + ", 1)";
  5270. char* commandline = new char[powerof.length() + 1];
  5271. strcpy(commandline, powerof.c_str());
  5272. Scripting::Get().ExecuteLua(commandline);
  5273. std::memset(commandline, 0, sizeof(commandline));
  5274. }
  5275. if (ImGui::Button("Recipe_w_att_scope_sniper_02")) {
  5276. std::string doublequote = "\"";
  5277. std::string power = "Game.AddToInventory(" + doublequote;
  5278. std::string ofdark = "Items.Recipe_w_att_scope_sniper_02" + doublequote;
  5279. std::string ofdarkside = power + ofdark;
  5280. std::string powerof = ofdarkside + ", 1)";
  5281. char* commandline = new char[powerof.length() + 1];
  5282. strcpy(commandline, powerof.c_str());
  5283. Scripting::Get().ExecuteLua(commandline);
  5284. std::memset(commandline, 0, sizeof(commandline));
  5285. }
  5286. if (ImGui::Button("Recipe_w_melee_hammer2h")) {
  5287. std::string doublequote = "\"";
  5288. std::string power = "Game.AddToInventory(" + doublequote;
  5289. std::string ofdark = "Items.Recipe_w_melee_hammer2h" + doublequote;
  5290. std::string ofdarkside = power + ofdark;
  5291. std::string powerof = ofdarkside + ", 1)";
  5292. char* commandline = new char[powerof.length() + 1];
  5293. strcpy(commandline, powerof.c_str());
  5294. Scripting::Get().ExecuteLua(commandline);
  5295. std::memset(commandline, 0, sizeof(commandline));
  5296. }
  5297. if (ImGui::Button("Recipe_w_silencer_01")) {
  5298. std::string doublequote = "\"";
  5299. std::string power = "Game.AddToInventory(" + doublequote;
  5300. std::string ofdark = "Items.Recipe_w_silencer_01" + doublequote;
  5301. std::string ofdarkside = power + ofdark;
  5302. std::string powerof = ofdarkside + ", 1)";
  5303. char* commandline = new char[powerof.length() + 1];
  5304. strcpy(commandline, powerof.c_str());
  5305. Scripting::Get().ExecuteLua(commandline);
  5306. std::memset(commandline, 0, sizeof(commandline));
  5307. }
  5308. if (ImGui::Button("Recipe_WeaponMalfunctionProgram")) {
  5309. std::string doublequote = "\"";
  5310. std::string power = "Game.AddToInventory(" + doublequote;
  5311. std::string ofdark = "Items.Recipe_WeaponMalfunctionProgram" + doublequote;
  5312. std::string ofdarkside = power + ofdark;
  5313. std::string powerof = ofdarkside + ", 1)";
  5314. char* commandline = new char[powerof.length() + 1];
  5315. strcpy(commandline, powerof.c_str());
  5316. Scripting::Get().ExecuteLua(commandline);
  5317. std::memset(commandline, 0, sizeof(commandline));
  5318. }
  5319. if (ImGui::Button("RecipeBonesMcCoy70V0")) {
  5320. std::string doublequote = "\"";
  5321. std::string power = "Game.AddToInventory(" + doublequote;
  5322. std::string ofdark = "Items.RecipeBonesMcCoy70V0" + doublequote;
  5323. std::string ofdarkside = power + ofdark;
  5324. std::string powerof = ofdarkside + ", 1)";
  5325. char* commandline = new char[powerof.length() + 1];
  5326. strcpy(commandline, powerof.c_str());
  5327. Scripting::Get().ExecuteLua(commandline);
  5328. std::memset(commandline, 0, sizeof(commandline));
  5329. }
  5330. if (ImGui::Button("RecipeBonesMcCoy70V1")) {
  5331. std::string doublequote = "\"";
  5332. std::string power = "Game.AddToInventory(" + doublequote;
  5333. std::string ofdark = "Items.RecipeBonesMcCoy70V1" + doublequote;
  5334. std::string ofdarkside = power + ofdark;
  5335. std::string powerof = ofdarkside + ", 1)";
  5336. char* commandline = new char[powerof.length() + 1];
  5337. strcpy(commandline, powerof.c_str());
  5338. Scripting::Get().ExecuteLua(commandline);
  5339. std::memset(commandline, 0, sizeof(commandline));
  5340. }
  5341. if (ImGui::Button("RecipeBonesMcCoy70V2")) {
  5342. std::string doublequote = "\"";
  5343. std::string power = "Game.AddToInventory(" + doublequote;
  5344. std::string ofdark = "Items.RecipeBonesMcCoy70V2" + doublequote;
  5345. std::string ofdarkside = power + ofdark;
  5346. std::string powerof = ofdarkside + ", 1)";
  5347. char* commandline = new char[powerof.length() + 1];
  5348. strcpy(commandline, powerof.c_str());
  5349. Scripting::Get().ExecuteLua(commandline);
  5350. std::memset(commandline, 0, sizeof(commandline));
  5351. }
  5352. if (ImGui::Button("RecipeFirstAidWhiffV0")) {
  5353. std::string doublequote = "\"";
  5354. std::string power = "Game.AddToInventory(" + doublequote;
  5355. std::string ofdark = "Items.RecipeFirstAidWhiffV0" + doublequote;
  5356. std::string ofdarkside = power + ofdark;
  5357. std::string powerof = ofdarkside + ", 1)";
  5358. char* commandline = new char[powerof.length() + 1];
  5359. strcpy(commandline, powerof.c_str());
  5360. Scripting::Get().ExecuteLua(commandline);
  5361. std::memset(commandline, 0, sizeof(commandline));
  5362. }
  5363. if (ImGui::Button("RecipeFirstAidWhiffV1")) {
  5364. std::string doublequote = "\"";
  5365. std::string power = "Game.AddToInventory(" + doublequote;
  5366. std::string ofdark = "Items.RecipeFirstAidWhiffV1" + doublequote;
  5367. std::string ofdarkside = power + ofdark;
  5368. std::string powerof = ofdarkside + ", 1)";
  5369. char* commandline = new char[powerof.length() + 1];
  5370. strcpy(commandline, powerof.c_str());
  5371. Scripting::Get().ExecuteLua(commandline);
  5372. std::memset(commandline, 0, sizeof(commandline));
  5373. }
  5374. if (ImGui::Button("RecipeFirstAidWhiffV2")) {
  5375. std::string doublequote = "\"";
  5376. std::string power = "Game.AddToInventory(" + doublequote;
  5377. std::string ofdark = "Items.RecipeFirstAidWhiffV2" + doublequote;
  5378. std::string ofdarkside = power + ofdark;
  5379. std::string powerof = ofdarkside + ", 1)";
  5380. char* commandline = new char[powerof.length() + 1];
  5381. strcpy(commandline, powerof.c_str());
  5382. Scripting::Get().ExecuteLua(commandline);
  5383. std::memset(commandline, 0, sizeof(commandline));
  5384. }
  5385. if (ImGui::Button("RecipeGrenadeFlashHoming")) {
  5386. std::string doublequote = "\"";
  5387. std::string power = "Game.AddToInventory(" + doublequote;
  5388. std::string ofdark = "Items.RecipeGrenadeFlashHoming" + doublequote;
  5389. std::string ofdarkside = power + ofdark;
  5390. std::string powerof = ofdarkside + ", 1)";
  5391. char* commandline = new char[powerof.length() + 1];
  5392. strcpy(commandline, powerof.c_str());
  5393. Scripting::Get().ExecuteLua(commandline);
  5394. std::memset(commandline, 0, sizeof(commandline));
  5395. }
  5396. if (ImGui::Button("RecipeGrenadeFlashRegular")) {
  5397. std::string doublequote = "\"";
  5398. std::string power = "Game.AddToInventory(" + doublequote;
  5399. std::string ofdark = "Items.RecipeGrenadeFlashRegular" + doublequote;
  5400. std::string ofdarkside = power + ofdark;
  5401. std::string powerof = ofdarkside + ", 1)";
  5402. char* commandline = new char[powerof.length() + 1];
  5403. strcpy(commandline, powerof.c_str());
  5404. Scripting::Get().ExecuteLua(commandline);
  5405. std::memset(commandline, 0, sizeof(commandline));
  5406. }
  5407. if (ImGui::Button("RecipeGrenadeFragHoming")) {
  5408. std::string doublequote = "\"";
  5409. std::string power = "Game.AddToInventory(" + doublequote;
  5410. std::string ofdark = "Items.RecipeGrenadeFragHoming" + doublequote;
  5411. std::string ofdarkside = power + ofdark;
  5412. std::string powerof = ofdarkside + ", 1)";
  5413. char* commandline = new char[powerof.length() + 1];
  5414. strcpy(commandline, powerof.c_str());
  5415. Scripting::Get().ExecuteLua(commandline);
  5416. std::memset(commandline, 0, sizeof(commandline));
  5417. }
  5418. if (ImGui::Button("RecipeGrenadeFragRegular")) {
  5419. std::string doublequote = "\"";
  5420. std::string power = "Game.AddToInventory(" + doublequote;
  5421. std::string ofdark = "Items.RecipeGrenadeFragRegular" + doublequote;
  5422. std::string ofdarkside = power + ofdark;
  5423. std::string powerof = ofdarkside + ", 1)";
  5424. char* commandline = new char[powerof.length() + 1];
  5425. strcpy(commandline, powerof.c_str());
  5426. Scripting::Get().ExecuteLua(commandline);
  5427. std::memset(commandline, 0, sizeof(commandline));
  5428. }
  5429. if (ImGui::Button("RecipeGrenadeFragSticky")) {
  5430. std::string doublequote = "\"";
  5431. std::string power = "Game.AddToInventory(" + doublequote;
  5432. std::string ofdark = "Items.RecipeGrenadeFragSticky" + doublequote;
  5433. std::string ofdarkside = power + ofdark;
  5434. std::string powerof = ofdarkside + ", 1)";
  5435. char* commandline = new char[powerof.length() + 1];
  5436. strcpy(commandline, powerof.c_str());
  5437. Scripting::Get().ExecuteLua(commandline);
  5438. std::memset(commandline, 0, sizeof(commandline));
  5439. }
  5440. if (ImGui::Button("UncommonBatonRecipe")) {
  5441. std::string doublequote = "\"";
  5442. std::string power = "Game.AddToInventory(" + doublequote;
  5443. std::string ofdark = "Items.UncommonBatonRecipe" + doublequote;
  5444. std::string ofdarkside = power + ofdark;
  5445. std::string powerof = ofdarkside + ", 1)";
  5446. char* commandline = new char[powerof.length() + 1];
  5447. strcpy(commandline, powerof.c_str());
  5448. Scripting::Get().ExecuteLua(commandline);
  5449. std::memset(commandline, 0, sizeof(commandline));
  5450. }
  5451. if (ImGui::Button("UncommonCopperheadRecipe")) {
  5452. std::string doublequote = "\"";
  5453. std::string power = "Game.AddToInventory(" + doublequote;
  5454. std::string ofdark = "Items.UncommonCopperheadRecipe" + doublequote;
  5455. std::string ofdarkside = power + ofdark;
  5456. std::string powerof = ofdarkside + ", 1)";
  5457. char* commandline = new char[powerof.length() + 1];
  5458. strcpy(commandline, powerof.c_str());
  5459. Scripting::Get().ExecuteLua(commandline);
  5460. std::memset(commandline, 0, sizeof(commandline));
  5461. }
  5462. if (ImGui::Button("UncommonNueRecipe")) {
  5463. std::string doublequote = "\"";
  5464. std::string power = "Game.AddToInventory(" + doublequote;
  5465. std::string ofdark = "Items.UncommonNueRecipe" + doublequote;
  5466. std::string ofdarkside = power + ofdark;
  5467. std::string powerof = ofdarkside + ", 1)";
  5468. char* commandline = new char[powerof.length() + 1];
  5469. strcpy(commandline, powerof.c_str());
  5470. Scripting::Get().ExecuteLua(commandline);
  5471. std::memset(commandline, 0, sizeof(commandline));
  5472. }
  5473. if (ImGui::Button("UncommonSataraRecipe")) {
  5474. std::string doublequote = "\"";
  5475. std::string power = "Game.AddToInventory(" + doublequote;
  5476. std::string ofdark = "Items.UncommonSataraRecipe" + doublequote;
  5477. std::string ofdarkside = power + ofdark;
  5478. std::string powerof = ofdarkside + ", 1)";
  5479. char* commandline = new char[powerof.length() + 1];
  5480. strcpy(commandline, powerof.c_str());
  5481. Scripting::Get().ExecuteLua(commandline);
  5482. std::memset(commandline, 0, sizeof(commandline));
  5483. }
  5484. ImGui::TreePop();
  5485. }
  5486. if (ImGui::TreeNode("Skillbooks")) {
  5487. if (ImGui::Button("AssaultSkillbook")) {
  5488. std::string doublequote = "\"";
  5489. std::string power = "Game.AddToInventory(" + doublequote;
  5490. std::string ofdark = "Items.AssaultSkillbook" + doublequote;
  5491. std::string ofdarkside = power + ofdark;
  5492. std::string powerof = ofdarkside + ", 1)";
  5493. char* commandline = new char[powerof.length() + 1];
  5494. strcpy(commandline, powerof.c_str());
  5495. Scripting::Get().ExecuteLua(commandline);
  5496. std::memset(commandline, 0, sizeof(commandline));
  5497. }
  5498. if (ImGui::Button("AthleticsSkillbook")) {
  5499. std::string doublequote = "\"";
  5500. std::string power = "Game.AddToInventory(" + doublequote;
  5501. std::string ofdark = "Items.AthleticsSkillbook" + doublequote;
  5502. std::string ofdarkside = power + ofdark;
  5503. std::string powerof = ofdarkside + ", 1)";
  5504. char* commandline = new char[powerof.length() + 1];
  5505. strcpy(commandline, powerof.c_str());
  5506. Scripting::Get().ExecuteLua(commandline);
  5507. std::memset(commandline, 0, sizeof(commandline));
  5508. }
  5509. if (ImGui::Button("BrawlingSkillbook")) {
  5510. std::string doublequote = "\"";
  5511. std::string power = "Game.AddToInventory(" + doublequote;
  5512. std::string ofdark = "Items.BrawlingSkillbook" + doublequote;
  5513. std::string ofdarkside = power + ofdark;
  5514. std::string powerof = ofdarkside + ", 1)";
  5515. char* commandline = new char[powerof.length() + 1];
  5516. strcpy(commandline, powerof.c_str());
  5517. Scripting::Get().ExecuteLua(commandline);
  5518. std::memset(commandline, 0, sizeof(commandline));
  5519. }
  5520. if (ImGui::Button("ColdBloodSkillbook")) {
  5521. std::string doublequote = "\"";
  5522. std::string power = "Game.AddToInventory(" + doublequote;
  5523. std::string ofdark = "Items.ColdBloodSkillbook" + doublequote;
  5524. std::string ofdarkside = power + ofdark;
  5525. std::string powerof = ofdarkside + ", 1)";
  5526. char* commandline = new char[powerof.length() + 1];
  5527. strcpy(commandline, powerof.c_str());
  5528. Scripting::Get().ExecuteLua(commandline);
  5529. std::memset(commandline, 0, sizeof(commandline));
  5530. }
  5531. if (ImGui::Button("CombatHackingSkillbook")) {
  5532. std::string doublequote = "\"";
  5533. std::string power = "Game.AddToInventory(" + doublequote;
  5534. std::string ofdark = "Items.CombatHackingSkillbook" + doublequote;
  5535. std::string ofdarkside = power + ofdark;
  5536. std::string powerof = ofdarkside + ", 1)";
  5537. char* commandline = new char[powerof.length() + 1];
  5538. strcpy(commandline, powerof.c_str());
  5539. Scripting::Get().ExecuteLua(commandline);
  5540. std::memset(commandline, 0, sizeof(commandline));
  5541. }
  5542. if (ImGui::Button("CraftingSkillbook")) {
  5543. std::string doublequote = "\"";
  5544. std::string power = "Game.AddToInventory(" + doublequote;
  5545. std::string ofdark = "Items.CraftingSkillbook" + doublequote;
  5546. std::string ofdarkside = power + ofdark;
  5547. std::string powerof = ofdarkside + ", 1)";
  5548. char* commandline = new char[powerof.length() + 1];
  5549. strcpy(commandline, powerof.c_str());
  5550. Scripting::Get().ExecuteLua(commandline);
  5551. std::memset(commandline, 0, sizeof(commandline));
  5552. }
  5553. if (ImGui::Button("DemolitionSkillbook")) {
  5554. std::string doublequote = "\"";
  5555. std::string power = "Game.AddToInventory(" + doublequote;
  5556. std::string ofdark = "Items.DemolitionSkillbook" + doublequote;
  5557. std::string ofdarkside = power + ofdark;
  5558. std::string powerof = ofdarkside + ", 1)";
  5559. char* commandline = new char[powerof.length() + 1];
  5560. strcpy(commandline, powerof.c_str());
  5561. Scripting::Get().ExecuteLua(commandline);
  5562. std::memset(commandline, 0, sizeof(commandline));
  5563. }
  5564. if (ImGui::Button("EngineeringSkillbook")) {
  5565. std::string doublequote = "\"";
  5566. std::string power = "Game.AddToInventory(" + doublequote;
  5567. std::string ofdark = "Items.EngineeringSkillbook" + doublequote;
  5568. std::string ofdarkside = power + ofdark;
  5569. std::string powerof = ofdarkside + ", 1)";
  5570. char* commandline = new char[powerof.length() + 1];
  5571. strcpy(commandline, powerof.c_str());
  5572. Scripting::Get().ExecuteLua(commandline);
  5573. std::memset(commandline, 0, sizeof(commandline));
  5574. }
  5575. if (ImGui::Button("GunslingerSkillbook")) {
  5576. std::string doublequote = "\"";
  5577. std::string power = "Game.AddToInventory(" + doublequote;
  5578. std::string ofdark = "Items.GunslingerSkillbook" + doublequote;
  5579. std::string ofdarkside = power + ofdark;
  5580. std::string powerof = ofdarkside + ", 1)";
  5581. char* commandline = new char[powerof.length() + 1];
  5582. strcpy(commandline, powerof.c_str());
  5583. Scripting::Get().ExecuteLua(commandline);
  5584. std::memset(commandline, 0, sizeof(commandline));
  5585. }
  5586. if (ImGui::Button("HackingSkillbook")) {
  5587. std::string doublequote = "\"";
  5588. std::string power = "Game.AddToInventory(" + doublequote;
  5589. std::string ofdark = "Items.HackingSkillbook" + doublequote;
  5590. std::string ofdarkside = power + ofdark;
  5591. std::string powerof = ofdarkside + ", 1)";
  5592. char* commandline = new char[powerof.length() + 1];
  5593. strcpy(commandline, powerof.c_str());
  5594. Scripting::Get().ExecuteLua(commandline);
  5595. std::memset(commandline, 0, sizeof(commandline));
  5596. }
  5597. if (ImGui::Button("KenjutsuSkillbook")) {
  5598. std::string doublequote = "\"";
  5599. std::string power = "Game.AddToInventory(" + doublequote;
  5600. std::string ofdark = "Items.KenjutsuSkillbook" + doublequote;
  5601. std::string ofdarkside = power + ofdark;
  5602. std::string powerof = ofdarkside + ", 1)";
  5603. char* commandline = new char[powerof.length() + 1];
  5604. strcpy(commandline, powerof.c_str());
  5605. Scripting::Get().ExecuteLua(commandline);
  5606. std::memset(commandline, 0, sizeof(commandline));
  5607. }
  5608. if (ImGui::Button("PerkPointSkillbook")) {
  5609. std::string doublequote = "\"";
  5610. std::string power = "Game.AddToInventory(" + doublequote;
  5611. std::string ofdark = "Items.PerkPointSkillbook" + doublequote;
  5612. std::string ofdarkside = power + ofdark;
  5613. std::string powerof = ofdarkside + ", 1)";
  5614. char* commandline = new char[powerof.length() + 1];
  5615. strcpy(commandline, powerof.c_str());
  5616. Scripting::Get().ExecuteLua(commandline);
  5617. std::memset(commandline, 0, sizeof(commandline));
  5618. }
  5619. if (ImGui::Button("StealthSkillbook")) {
  5620. std::string doublequote = "\"";
  5621. std::string power = "Game.AddToInventory(" + doublequote;
  5622. std::string ofdark = "Items.StealthSkillbook" + doublequote;
  5623. std::string ofdarkside = power + ofdark;
  5624. std::string powerof = ofdarkside + ", 1)";
  5625. char* commandline = new char[powerof.length() + 1];
  5626. strcpy(commandline, powerof.c_str());
  5627. Scripting::Get().ExecuteLua(commandline);
  5628. std::memset(commandline, 0, sizeof(commandline));
  5629. }
  5630. ImGui::TreePop();
  5631. }
  5632. if (ImGui::TreeNode("Weapons")) {
  5633. if (ImGui::Button("mq001_scorpions_knife")) {
  5634. std::string doublequote = "\"";
  5635. std::string power = "Game.AddToInventory(" + doublequote;
  5636. std::string ofdark = "Items.mq001_scorpions_knife" + doublequote;
  5637. std::string ofdarkside = power + ofdark;
  5638. std::string powerof = ofdarkside + ", 1)";
  5639. char* commandline = new char[powerof.length() + 1];
  5640. strcpy(commandline, powerof.c_str());
  5641. Scripting::Get().ExecuteLua(commandline);
  5642. std::memset(commandline, 0, sizeof(commandline));
  5643. }
  5644. if (ImGui::Button("mq007_skippy")) {
  5645. std::string doublequote = "\"";
  5646. std::string power = "Game.AddToInventory(" + doublequote;
  5647. std::string ofdark = "Items.mq007_skippy" + doublequote;
  5648. std::string ofdarkside = power + ofdark;
  5649. std::string powerof = ofdarkside + ", 1)";
  5650. char* commandline = new char[powerof.length() + 1];
  5651. strcpy(commandline, powerof.c_str());
  5652. Scripting::Get().ExecuteLua(commandline);
  5653. std::memset(commandline, 0, sizeof(commandline));
  5654. }
  5655. if (ImGui::Button("mq008_golden_knuckledusters")) {
  5656. std::string doublequote = "\"";
  5657. std::string power = "Game.AddToInventory(" + doublequote;
  5658. std::string ofdark = "Items.mq008_golden_knuckledusters" + doublequote;
  5659. std::string ofdarkside = power + ofdark;
  5660. std::string powerof = ofdarkside + ", 1)";
  5661. char* commandline = new char[powerof.length() + 1];
  5662. strcpy(commandline, powerof.c_str());
  5663. Scripting::Get().ExecuteLua(commandline);
  5664. std::memset(commandline, 0, sizeof(commandline));
  5665. }
  5666. if (ImGui::Button("mq011_wilson_gun")) {
  5667. std::string doublequote = "\"";
  5668. std::string power = "Game.AddToInventory(" + doublequote;
  5669. std::string ofdark = "Items.mq011_wilson_gun" + doublequote;
  5670. std::string ofdarkside = power + ofdark;
  5671. std::string powerof = ofdarkside + ", 1)";
  5672. char* commandline = new char[powerof.length() + 1];
  5673. strcpy(commandline, powerof.c_str());
  5674. Scripting::Get().ExecuteLua(commandline);
  5675. std::memset(commandline, 0, sizeof(commandline));
  5676. }
  5677. if (ImGui::Button("mq025_buck_gun")) {
  5678. std::string doublequote = "\"";
  5679. std::string power = "Game.AddToInventory(" + doublequote;
  5680. std::string ofdark = "Items.mq025_buck_gun" + doublequote;
  5681. std::string ofdarkside = power + ofdark;
  5682. std::string powerof = ofdarkside + ", 1)";
  5683. char* commandline = new char[powerof.length() + 1];
  5684. strcpy(commandline, powerof.c_str());
  5685. Scripting::Get().ExecuteLua(commandline);
  5686. std::memset(commandline, 0, sizeof(commandline));
  5687. }
  5688. if (ImGui::Button("Preset_Achilles_Default")) {
  5689. std::string doublequote = "\"";
  5690. std::string power = "Game.AddToInventory(" + doublequote;
  5691. std::string ofdark = "Items.Preset_Achilles_Default" + doublequote;
  5692. std::string ofdarkside = power + ofdark;
  5693. std::string powerof = ofdarkside + ", 1)";
  5694. char* commandline = new char[powerof.length() + 1];
  5695. strcpy(commandline, powerof.c_str());
  5696. Scripting::Get().ExecuteLua(commandline);
  5697. std::memset(commandline, 0, sizeof(commandline));
  5698. }
  5699. if (ImGui::Button("Preset_Achilles_Military")) {
  5700. std::string doublequote = "\"";
  5701. std::string power = "Game.AddToInventory(" + doublequote;
  5702. std::string ofdark = "Items.Preset_Achilles_Military" + doublequote;
  5703. std::string ofdarkside = power + ofdark;
  5704. std::string powerof = ofdarkside + ", 1)";
  5705. char* commandline = new char[powerof.length() + 1];
  5706. strcpy(commandline, powerof.c_str());
  5707. Scripting::Get().ExecuteLua(commandline);
  5708. std::memset(commandline, 0, sizeof(commandline));
  5709. }
  5710. if (ImGui::Button("Preset_Achilles_Nash")) {
  5711. std::string doublequote = "\"";
  5712. std::string power = "Game.AddToInventory(" + doublequote;
  5713. std::string ofdark = "Items.Preset_Achilles_Nash" + doublequote;
  5714. std::string ofdarkside = power + ofdark;
  5715. std::string powerof = ofdarkside + ", 1)";
  5716. char* commandline = new char[powerof.length() + 1];
  5717. strcpy(commandline, powerof.c_str());
  5718. Scripting::Get().ExecuteLua(commandline);
  5719. std::memset(commandline, 0, sizeof(commandline));
  5720. }
  5721. if (ImGui::Button("Preset_Achilles_Neon")) {
  5722. std::string doublequote = "\"";
  5723. std::string power = "Game.AddToInventory(" + doublequote;
  5724. std::string ofdark = "Items.Preset_Achilles_Neon" + doublequote;
  5725. std::string ofdarkside = power + ofdark;
  5726. std::string powerof = ofdarkside + ", 1)";
  5727. char* commandline = new char[powerof.length() + 1];
  5728. strcpy(commandline, powerof.c_str());
  5729. Scripting::Get().ExecuteLua(commandline);
  5730. std::memset(commandline, 0, sizeof(commandline));
  5731. }
  5732. if (ImGui::Button("Preset_Achilles_Pimp")) {
  5733. std::string doublequote = "\"";
  5734. std::string power = "Game.AddToInventory(" + doublequote;
  5735. std::string ofdark = "Items.Preset_Achilles_Pimp" + doublequote;
  5736. std::string ofdarkside = power + ofdark;
  5737. std::string powerof = ofdarkside + ", 1)";
  5738. char* commandline = new char[powerof.length() + 1];
  5739. strcpy(commandline, powerof.c_str());
  5740. Scripting::Get().ExecuteLua(commandline);
  5741. std::memset(commandline, 0, sizeof(commandline));
  5742. }
  5743. if (ImGui::Button("Preset_Achilles_Tiny_Mike")) {
  5744. std::string doublequote = "\"";
  5745. std::string power = "Game.AddToInventory(" + doublequote;
  5746. std::string ofdark = "Items.Preset_Achilles_Tiny_Mike" + doublequote;
  5747. std::string ofdarkside = power + ofdark;
  5748. std::string powerof = ofdarkside + ", 1)";
  5749. char* commandline = new char[powerof.length() + 1];
  5750. strcpy(commandline, powerof.c_str());
  5751. Scripting::Get().ExecuteLua(commandline);
  5752. std::memset(commandline, 0, sizeof(commandline));
  5753. }
  5754. if (ImGui::Button("Preset_Ajax_Default")) {
  5755. std::string doublequote = "\"";
  5756. std::string power = "Game.AddToInventory(" + doublequote;
  5757. std::string ofdark = "Items.Preset_Ajax_Default" + doublequote;
  5758. std::string ofdarkside = power + ofdark;
  5759. std::string powerof = ofdarkside + ", 1)";
  5760. char* commandline = new char[powerof.length() + 1];
  5761. strcpy(commandline, powerof.c_str());
  5762. Scripting::Get().ExecuteLua(commandline);
  5763. std::memset(commandline, 0, sizeof(commandline));
  5764. }
  5765. if (ImGui::Button("Preset_Ajax_Military")) {
  5766. std::string doublequote = "\"";
  5767. std::string power = "Game.AddToInventory(" + doublequote;
  5768. std::string ofdark = "Items.Preset_Ajax_Military" + doublequote;
  5769. std::string ofdarkside = power + ofdark;
  5770. std::string powerof = ofdarkside + ", 1)";
  5771. char* commandline = new char[powerof.length() + 1];
  5772. strcpy(commandline, powerof.c_str());
  5773. Scripting::Get().ExecuteLua(commandline);
  5774. std::memset(commandline, 0, sizeof(commandline));
  5775. }
  5776. if (ImGui::Button("Preset_Ajax_Moron")) {
  5777. std::string doublequote = "\"";
  5778. std::string power = "Game.AddToInventory(" + doublequote;
  5779. std::string ofdark = "Items.Preset_Ajax_Moron" + doublequote;
  5780. std::string ofdarkside = power + ofdark;
  5781. std::string powerof = ofdarkside + ", 1)";
  5782. char* commandline = new char[powerof.length() + 1];
  5783. strcpy(commandline, powerof.c_str());
  5784. Scripting::Get().ExecuteLua(commandline);
  5785. std::memset(commandline, 0, sizeof(commandline));
  5786. }
  5787. if (ImGui::Button("Preset_Ajax_Neon")) {
  5788. std::string doublequote = "\"";
  5789. std::string power = "Game.AddToInventory(" + doublequote;
  5790. std::string ofdark = "Items.Preset_Ajax_Neon" + doublequote;
  5791. std::string ofdarkside = power + ofdark;
  5792. std::string powerof = ofdarkside + ", 1)";
  5793. char* commandline = new char[powerof.length() + 1];
  5794. strcpy(commandline, powerof.c_str());
  5795. Scripting::Get().ExecuteLua(commandline);
  5796. std::memset(commandline, 0, sizeof(commandline));
  5797. }
  5798. if (ImGui::Button("Preset_Ajax_Pimp")) {
  5799. std::string doublequote = "\"";
  5800. std::string power = "Game.AddToInventory(" + doublequote;
  5801. std::string ofdark = "Items.Preset_Ajax_Pimp" + doublequote;
  5802. std::string ofdarkside = power + ofdark;
  5803. std::string powerof = ofdarkside + ", 1)";
  5804. char* commandline = new char[powerof.length() + 1];
  5805. strcpy(commandline, powerof.c_str());
  5806. Scripting::Get().ExecuteLua(commandline);
  5807. std::memset(commandline, 0, sizeof(commandline));
  5808. }
  5809. if (ImGui::Button("Preset_Ajax_Training")) {
  5810. std::string doublequote = "\"";
  5811. std::string power = "Game.AddToInventory(" + doublequote;
  5812. std::string ofdark = "Items.Preset_Ajax_Training" + doublequote;
  5813. std::string ofdarkside = power + ofdark;
  5814. std::string powerof = ofdarkside + ", 1)";
  5815. char* commandline = new char[powerof.length() + 1];
  5816. strcpy(commandline, powerof.c_str());
  5817. Scripting::Get().ExecuteLua(commandline);
  5818. std::memset(commandline, 0, sizeof(commandline));
  5819. }
  5820. if (ImGui::Button("Preset_Ashura_Default")) {
  5821. std::string doublequote = "\"";
  5822. std::string power = "Game.AddToInventory(" + doublequote;
  5823. std::string ofdark = "Items.Preset_Ashura_Default" + doublequote;
  5824. std::string ofdarkside = power + ofdark;
  5825. std::string powerof = ofdarkside + ", 1)";
  5826. char* commandline = new char[powerof.length() + 1];
  5827. strcpy(commandline, powerof.c_str());
  5828. Scripting::Get().ExecuteLua(commandline);
  5829. std::memset(commandline, 0, sizeof(commandline));
  5830. }
  5831. if (ImGui::Button("Preset_Ashura_Military")) {
  5832. std::string doublequote = "\"";
  5833. std::string power = "Game.AddToInventory(" + doublequote;
  5834. std::string ofdark = "Items.Preset_Ashura_Military" + doublequote;
  5835. std::string ofdarkside = power + ofdark;
  5836. std::string powerof = ofdarkside + ", 1)";
  5837. char* commandline = new char[powerof.length() + 1];
  5838. strcpy(commandline, powerof.c_str());
  5839. Scripting::Get().ExecuteLua(commandline);
  5840. std::memset(commandline, 0, sizeof(commandline));
  5841. }
  5842. if (ImGui::Button("Preset_Ashura_Neon")) {
  5843. std::string doublequote = "\"";
  5844. std::string power = "Game.AddToInventory(" + doublequote;
  5845. std::string ofdark = "Items.Preset_Ashura_Neon" + doublequote;
  5846. std::string ofdarkside = power + ofdark;
  5847. std::string powerof = ofdarkside + ", 1)";
  5848. char* commandline = new char[powerof.length() + 1];
  5849. strcpy(commandline, powerof.c_str());
  5850. Scripting::Get().ExecuteLua(commandline);
  5851. std::memset(commandline, 0, sizeof(commandline));
  5852. }
  5853. if (ImGui::Button("Preset_Ashura_Pimp")) {
  5854. std::string doublequote = "\"";
  5855. std::string power = "Game.AddToInventory(" + doublequote;
  5856. std::string ofdark = "Items.Preset_Ashura_Pimp" + doublequote;
  5857. std::string ofdarkside = power + ofdark;
  5858. std::string powerof = ofdarkside + ", 1)";
  5859. char* commandline = new char[powerof.length() + 1];
  5860. strcpy(commandline, powerof.c_str());
  5861. Scripting::Get().ExecuteLua(commandline);
  5862. std::memset(commandline, 0, sizeof(commandline));
  5863. }
  5864. if (ImGui::Button("Preset_Base_Copperhead")) {
  5865. std::string doublequote = "\"";
  5866. std::string power = "Game.AddToInventory(" + doublequote;
  5867. std::string ofdark = "Items.Preset_Base_Copperhead" + doublequote;
  5868. std::string ofdarkside = power + ofdark;
  5869. std::string powerof = ofdarkside + ", 1)";
  5870. char* commandline = new char[powerof.length() + 1];
  5871. strcpy(commandline, powerof.c_str());
  5872. Scripting::Get().ExecuteLua(commandline);
  5873. std::memset(commandline, 0, sizeof(commandline));
  5874. }
  5875. if (ImGui::Button("Preset_Base_Lexington")) {
  5876. std::string doublequote = "\"";
  5877. std::string power = "Game.AddToInventory(" + doublequote;
  5878. std::string ofdark = "Items.Preset_Base_Lexington" + doublequote;
  5879. std::string ofdarkside = power + ofdark;
  5880. std::string powerof = ofdarkside + ", 1)";
  5881. char* commandline = new char[powerof.length() + 1];
  5882. strcpy(commandline, powerof.c_str());
  5883. Scripting::Get().ExecuteLua(commandline);
  5884. std::memset(commandline, 0, sizeof(commandline));
  5885. }
  5886. if (ImGui::Button("Preset_Base_Masamune")) {
  5887. std::string doublequote = "\"";
  5888. std::string power = "Game.AddToInventory(" + doublequote;
  5889. std::string ofdark = "Items.Preset_Base_Masamune" + doublequote;
  5890. std::string ofdarkside = power + ofdark;
  5891. std::string powerof = ofdarkside + ", 1)";
  5892. char* commandline = new char[powerof.length() + 1];
  5893. strcpy(commandline, powerof.c_str());
  5894. Scripting::Get().ExecuteLua(commandline);
  5895. std::memset(commandline, 0, sizeof(commandline));
  5896. }
  5897. if (ImGui::Button("Preset_Baseball_Bat_Default")) {
  5898. std::string doublequote = "\"";
  5899. std::string power = "Game.AddToInventory(" + doublequote;
  5900. std::string ofdark = "Items.Preset_Baseball_Bat_Default" + doublequote;
  5901. std::string ofdarkside = power + ofdark;
  5902. std::string powerof = ofdarkside + ", 1)";
  5903. char* commandline = new char[powerof.length() + 1];
  5904. strcpy(commandline, powerof.c_str());
  5905. Scripting::Get().ExecuteLua(commandline);
  5906. std::memset(commandline, 0, sizeof(commandline));
  5907. }
  5908. if (ImGui::Button("Preset_Baseball_Bat_Denny")) {
  5909. std::string doublequote = "\"";
  5910. std::string power = "Game.AddToInventory(" + doublequote;
  5911. std::string ofdark = "Items.Preset_Baseball_Bat_Denny" + doublequote;
  5912. std::string ofdarkside = power + ofdark;
  5913. std::string powerof = ofdarkside + ", 1)";
  5914. char* commandline = new char[powerof.length() + 1];
  5915. strcpy(commandline, powerof.c_str());
  5916. Scripting::Get().ExecuteLua(commandline);
  5917. std::memset(commandline, 0, sizeof(commandline));
  5918. }
  5919. if (ImGui::Button("Preset_Baton_Alpha")) {
  5920. std::string doublequote = "\"";
  5921. std::string power = "Game.AddToInventory(" + doublequote;
  5922. std::string ofdark = "Items.Preset_Baton_Alpha" + doublequote;
  5923. std::string ofdarkside = power + ofdark;
  5924. std::string powerof = ofdarkside + ", 1)";
  5925. char* commandline = new char[powerof.length() + 1];
  5926. strcpy(commandline, powerof.c_str());
  5927. Scripting::Get().ExecuteLua(commandline);
  5928. std::memset(commandline, 0, sizeof(commandline));
  5929. }
  5930. if (ImGui::Button("Preset_Baton_Beta")) {
  5931. std::string doublequote = "\"";
  5932. std::string power = "Game.AddToInventory(" + doublequote;
  5933. std::string ofdark = "Items.Preset_Baton_Beta" + doublequote;
  5934. std::string ofdarkside = power + ofdark;
  5935. std::string powerof = ofdarkside + ", 1)";
  5936. char* commandline = new char[powerof.length() + 1];
  5937. strcpy(commandline, powerof.c_str());
  5938. Scripting::Get().ExecuteLua(commandline);
  5939. std::memset(commandline, 0, sizeof(commandline));
  5940. }
  5941. if (ImGui::Button("Preset_Baton_Gamma")) {
  5942. std::string doublequote = "\"";
  5943. std::string power = "Game.AddToInventory(" + doublequote;
  5944. std::string ofdark = "Items.Preset_Baton_Gamma" + doublequote;
  5945. std::string ofdarkside = power + ofdark;
  5946. std::string powerof = ofdarkside + ", 1)";
  5947. char* commandline = new char[powerof.length() + 1];
  5948. strcpy(commandline, powerof.c_str());
  5949. Scripting::Get().ExecuteLua(commandline);
  5950. std::memset(commandline, 0, sizeof(commandline));
  5951. }
  5952. if (ImGui::Button("Preset_Baton_Tinker_Bell")) {
  5953. std::string doublequote = "\"";
  5954. std::string power = "Game.AddToInventory(" + doublequote;
  5955. std::string ofdark = "Items.Preset_Baton_Tinker_Bell" + doublequote;
  5956. std::string ofdarkside = power + ofdark;
  5957. std::string powerof = ofdarkside + ", 1)";
  5958. char* commandline = new char[powerof.length() + 1];
  5959. strcpy(commandline, powerof.c_str());
  5960. Scripting::Get().ExecuteLua(commandline);
  5961. std::memset(commandline, 0, sizeof(commandline));
  5962. }
  5963. if (ImGui::Button("Preset_Burya_Comrade")) {
  5964. std::string doublequote = "\"";
  5965. std::string power = "Game.AddToInventory(" + doublequote;
  5966. std::string ofdark = "Items.Preset_Burya_Comrade" + doublequote;
  5967. std::string ofdarkside = power + ofdark;
  5968. std::string powerof = ofdarkside + ", 1)";
  5969. char* commandline = new char[powerof.length() + 1];
  5970. strcpy(commandline, powerof.c_str());
  5971. Scripting::Get().ExecuteLua(commandline);
  5972. std::memset(commandline, 0, sizeof(commandline));
  5973. }
  5974. if (ImGui::Button("Preset_Burya_Default")) {
  5975. std::string doublequote = "\"";
  5976. std::string power = "Game.AddToInventory(" + doublequote;
  5977. std::string ofdark = "Items.Preset_Burya_Default" + doublequote;
  5978. std::string ofdarkside = power + ofdark;
  5979. std::string powerof = ofdarkside + ", 1)";
  5980. char* commandline = new char[powerof.length() + 1];
  5981. strcpy(commandline, powerof.c_str());
  5982. Scripting::Get().ExecuteLua(commandline);
  5983. std::memset(commandline, 0, sizeof(commandline));
  5984. }
  5985. if (ImGui::Button("Preset_Burya_Military")) {
  5986. std::string doublequote = "\"";
  5987. std::string power = "Game.AddToInventory(" + doublequote;
  5988. std::string ofdark = "Items.Preset_Burya_Military" + doublequote;
  5989. std::string ofdarkside = power + ofdark;
  5990. std::string powerof = ofdarkside + ", 1)";
  5991. char* commandline = new char[powerof.length() + 1];
  5992. strcpy(commandline, powerof.c_str());
  5993. Scripting::Get().ExecuteLua(commandline);
  5994. std::memset(commandline, 0, sizeof(commandline));
  5995. }
  5996. if (ImGui::Button("Preset_Burya_Neon")) {
  5997. std::string doublequote = "\"";
  5998. std::string power = "Game.AddToInventory(" + doublequote;
  5999. std::string ofdark = "Items.Preset_Burya_Neon" + doublequote;
  6000. std::string ofdarkside = power + ofdark;
  6001. std::string powerof = ofdarkside + ", 1)";
  6002. char* commandline = new char[powerof.length() + 1];
  6003. strcpy(commandline, powerof.c_str());
  6004. Scripting::Get().ExecuteLua(commandline);
  6005. std::memset(commandline, 0, sizeof(commandline));
  6006. }
  6007. if (ImGui::Button("Preset_Burya_Pimp")) {
  6008. std::string doublequote = "\"";
  6009. std::string power = "Game.AddToInventory(" + doublequote;
  6010. std::string ofdark = "Items.Preset_Burya_Pimp" + doublequote;
  6011. std::string ofdarkside = power + ofdark;
  6012. std::string powerof = ofdarkside + ", 1)";
  6013. char* commandline = new char[powerof.length() + 1];
  6014. strcpy(commandline, powerof.c_str());
  6015. Scripting::Get().ExecuteLua(commandline);
  6016. std::memset(commandline, 0, sizeof(commandline));
  6017. }
  6018. if (ImGui::Button("Preset_Butchers_Knife_Default")) {
  6019. std::string doublequote = "\"";
  6020. std::string power = "Game.AddToInventory(" + doublequote;
  6021. std::string ofdark = "Items.Preset_Butchers_Knife_Default" + doublequote;
  6022. std::string ofdarkside = power + ofdark;
  6023. std::string powerof = ofdarkside + ", 1)";
  6024. char* commandline = new char[powerof.length() + 1];
  6025. strcpy(commandline, powerof.c_str());
  6026. Scripting::Get().ExecuteLua(commandline);
  6027. std::memset(commandline, 0, sizeof(commandline));
  6028. }
  6029. if (ImGui::Button("Preset_Cane_Fingers")) {
  6030. std::string doublequote = "\"";
  6031. std::string power = "Game.AddToInventory(" + doublequote;
  6032. std::string ofdark = "Items.Preset_Cane_Fingers" + doublequote;
  6033. std::string ofdarkside = power + ofdark;
  6034. std::string powerof = ofdarkside + ", 1)";
  6035. char* commandline = new char[powerof.length() + 1];
  6036. strcpy(commandline, powerof.c_str());
  6037. Scripting::Get().ExecuteLua(commandline);
  6038. std::memset(commandline, 0, sizeof(commandline));
  6039. }
  6040. if (ImGui::Button("Preset_Carnage_Default")) {
  6041. std::string doublequote = "\"";
  6042. std::string power = "Game.AddToInventory(" + doublequote;
  6043. std::string ofdark = "Items.Preset_Carnage_Default" + doublequote;
  6044. std::string ofdarkside = power + ofdark;
  6045. std::string powerof = ofdarkside + ", 1)";
  6046. char* commandline = new char[powerof.length() + 1];
  6047. strcpy(commandline, powerof.c_str());
  6048. Scripting::Get().ExecuteLua(commandline);
  6049. std::memset(commandline, 0, sizeof(commandline));
  6050. }
  6051. if (ImGui::Button("Preset_Carnage_Military")) {
  6052. std::string doublequote = "\"";
  6053. std::string power = "Game.AddToInventory(" + doublequote;
  6054. std::string ofdark = "Items.Preset_Carnage_Military" + doublequote;
  6055. std::string ofdarkside = power + ofdark;
  6056. std::string powerof = ofdarkside + ", 1)";
  6057. char* commandline = new char[powerof.length() + 1];
  6058. strcpy(commandline, powerof.c_str());
  6059. Scripting::Get().ExecuteLua(commandline);
  6060. std::memset(commandline, 0, sizeof(commandline));
  6061. }
  6062. if (ImGui::Button("Preset_Carnage_Mox")) {
  6063. std::string doublequote = "\"";
  6064. std::string power = "Game.AddToInventory(" + doublequote;
  6065. std::string ofdark = "Items.Preset_Carnage_Mox" + doublequote;
  6066. std::string ofdarkside = power + ofdark;
  6067. std::string powerof = ofdarkside + ", 1)";
  6068. char* commandline = new char[powerof.length() + 1];
  6069. strcpy(commandline, powerof.c_str());
  6070. Scripting::Get().ExecuteLua(commandline);
  6071. std::memset(commandline, 0, sizeof(commandline));
  6072. }
  6073. if (ImGui::Button("Preset_Carnage_Neon")) {
  6074. std::string doublequote = "\"";
  6075. std::string power = "Game.AddToInventory(" + doublequote;
  6076. std::string ofdark = "Items.Preset_Carnage_Neon" + doublequote;
  6077. std::string ofdarkside = power + ofdark;
  6078. std::string powerof = ofdarkside + ", 1)";
  6079. char* commandline = new char[powerof.length() + 1];
  6080. strcpy(commandline, powerof.c_str());
  6081. Scripting::Get().ExecuteLua(commandline);
  6082. std::memset(commandline, 0, sizeof(commandline));
  6083. }
  6084. if (ImGui::Button("Preset_Carnage_Pimp")) {
  6085. std::string doublequote = "\"";
  6086. std::string power = "Game.AddToInventory(" + doublequote;
  6087. std::string ofdark = "Items.Preset_Carnage_Pimp" + doublequote;
  6088. std::string ofdarkside = power + ofdark;
  6089. std::string powerof = ofdarkside + ", 1)";
  6090. char* commandline = new char[powerof.length() + 1];
  6091. strcpy(commandline, powerof.c_str());
  6092. Scripting::Get().ExecuteLua(commandline);
  6093. std::memset(commandline, 0, sizeof(commandline));
  6094. }
  6095. if (ImGui::Button("Preset_Cattle_Prod_Tinker_Bell")) {
  6096. std::string doublequote = "\"";
  6097. std::string power = "Game.AddToInventory(" + doublequote;
  6098. std::string ofdark = "Items.Preset_Cattle_Prod_Tinker_Bell" + doublequote;
  6099. std::string ofdarkside = power + ofdark;
  6100. std::string powerof = ofdarkside + ", 1)";
  6101. char* commandline = new char[powerof.length() + 1];
  6102. strcpy(commandline, powerof.c_str());
  6103. Scripting::Get().ExecuteLua(commandline);
  6104. std::memset(commandline, 0, sizeof(commandline));
  6105. }
  6106. if (ImGui::Button("Preset_Chao_Default")) {
  6107. std::string doublequote = "\"";
  6108. std::string power = "Game.AddToInventory(" + doublequote;
  6109. std::string ofdark = "Items.Preset_Chao_Default" + doublequote;
  6110. std::string ofdarkside = power + ofdark;
  6111. std::string powerof = ofdarkside + ", 1)";
  6112. char* commandline = new char[powerof.length() + 1];
  6113. strcpy(commandline, powerof.c_str());
  6114. Scripting::Get().ExecuteLua(commandline);
  6115. std::memset(commandline, 0, sizeof(commandline));
  6116. }
  6117. if (ImGui::Button("Preset_Chao_Military")) {
  6118. std::string doublequote = "\"";
  6119. std::string power = "Game.AddToInventory(" + doublequote;
  6120. std::string ofdark = "Items.Preset_Chao_Military" + doublequote;
  6121. std::string ofdarkside = power + ofdark;
  6122. std::string powerof = ofdarkside + ", 1)";
  6123. char* commandline = new char[powerof.length() + 1];
  6124. strcpy(commandline, powerof.c_str());
  6125. Scripting::Get().ExecuteLua(commandline);
  6126. std::memset(commandline, 0, sizeof(commandline));
  6127. }
  6128. if (ImGui::Button("Preset_Chao_Neon")) {
  6129. std::string doublequote = "\"";
  6130. std::string power = "Game.AddToInventory(" + doublequote;
  6131. std::string ofdark = "Items.Preset_Chao_Neon" + doublequote;
  6132. std::string ofdarkside = power + ofdark;
  6133. std::string powerof = ofdarkside + ", 1)";
  6134. char* commandline = new char[powerof.length() + 1];
  6135. strcpy(commandline, powerof.c_str());
  6136. Scripting::Get().ExecuteLua(commandline);
  6137. std::memset(commandline, 0, sizeof(commandline));
  6138. }
  6139. if (ImGui::Button("Preset_Chao_Pimp")) {
  6140. std::string doublequote = "\"";
  6141. std::string power = "Game.AddToInventory(" + doublequote;
  6142. std::string ofdark = "Items.Preset_Chao_Pimp" + doublequote;
  6143. std::string ofdarkside = power + ofdark;
  6144. std::string powerof = ofdarkside + ", 1)";
  6145. char* commandline = new char[powerof.length() + 1];
  6146. strcpy(commandline, powerof.c_str());
  6147. Scripting::Get().ExecuteLua(commandline);
  6148. std::memset(commandline, 0, sizeof(commandline));
  6149. }
  6150. if (ImGui::Button("Preset_Chefs_Knife_Default")) {
  6151. std::string doublequote = "\"";
  6152. std::string power = "Game.AddToInventory(" + doublequote;
  6153. std::string ofdark = "Items.Preset_Chefs_Knife_Default" + doublequote;
  6154. std::string ofdarkside = power + ofdark;
  6155. std::string powerof = ofdarkside + ", 1)";
  6156. char* commandline = new char[powerof.length() + 1];
  6157. strcpy(commandline, powerof.c_str());
  6158. Scripting::Get().ExecuteLua(commandline);
  6159. std::memset(commandline, 0, sizeof(commandline));
  6160. }
  6161. if (ImGui::Button("Preset_Copperhead_Default")) {
  6162. std::string doublequote = "\"";
  6163. std::string power = "Game.AddToInventory(" + doublequote;
  6164. std::string ofdark = "Items.Preset_Copperhead_Default" + doublequote;
  6165. std::string ofdarkside = power + ofdark;
  6166. std::string powerof = ofdarkside + ", 1)";
  6167. char* commandline = new char[powerof.length() + 1];
  6168. strcpy(commandline, powerof.c_str());
  6169. Scripting::Get().ExecuteLua(commandline);
  6170. std::memset(commandline, 0, sizeof(commandline));
  6171. }
  6172. if (ImGui::Button("Preset_Copperhead_Genesis")) {
  6173. std::string doublequote = "\"";
  6174. std::string power = "Game.AddToInventory(" + doublequote;
  6175. std::string ofdark = "Items.Preset_Copperhead_Genesis" + doublequote;
  6176. std::string ofdarkside = power + ofdark;
  6177. std::string powerof = ofdarkside + ", 1)";
  6178. char* commandline = new char[powerof.length() + 1];
  6179. strcpy(commandline, powerof.c_str());
  6180. Scripting::Get().ExecuteLua(commandline);
  6181. std::memset(commandline, 0, sizeof(commandline));
  6182. }
  6183. if (ImGui::Button("Preset_Copperhead_Military")) {
  6184. std::string doublequote = "\"";
  6185. std::string power = "Game.AddToInventory(" + doublequote;
  6186. std::string ofdark = "Items.Preset_Copperhead_Military" + doublequote;
  6187. std::string ofdarkside = power + ofdark;
  6188. std::string powerof = ofdarkside + ", 1)";
  6189. char* commandline = new char[powerof.length() + 1];
  6190. strcpy(commandline, powerof.c_str());
  6191. Scripting::Get().ExecuteLua(commandline);
  6192. std::memset(commandline, 0, sizeof(commandline));
  6193. }
  6194. if (ImGui::Button("Preset_Copperhead_Neon")) {
  6195. std::string doublequote = "\"";
  6196. std::string power = "Game.AddToInventory(" + doublequote;
  6197. std::string ofdark = "Items.Preset_Copperhead_Neon" + doublequote;
  6198. std::string ofdarkside = power + ofdark;
  6199. std::string powerof = ofdarkside + ", 1)";
  6200. char* commandline = new char[powerof.length() + 1];
  6201. strcpy(commandline, powerof.c_str());
  6202. Scripting::Get().ExecuteLua(commandline);
  6203. std::memset(commandline, 0, sizeof(commandline));
  6204. }
  6205. if (ImGui::Button("Preset_Copperhead_Pimp")) {
  6206. std::string doublequote = "\"";
  6207. std::string power = "Game.AddToInventory(" + doublequote;
  6208. std::string ofdark = "Items.Preset_Copperhead_Pimp" + doublequote;
  6209. std::string ofdarkside = power + ofdark;
  6210. std::string powerof = ofdarkside + ", 1)";
  6211. char* commandline = new char[powerof.length() + 1];
  6212. strcpy(commandline, powerof.c_str());
  6213. Scripting::Get().ExecuteLua(commandline);
  6214. std::memset(commandline, 0, sizeof(commandline));
  6215. }
  6216. if (ImGui::Button("Preset_Crowbar_Default")) {
  6217. std::string doublequote = "\"";
  6218. std::string power = "Game.AddToInventory(" + doublequote;
  6219. std::string ofdark = "Items.Preset_Crowbar_Default" + doublequote;
  6220. std::string ofdarkside = power + ofdark;
  6221. std::string powerof = ofdarkside + ", 1)";
  6222. char* commandline = new char[powerof.length() + 1];
  6223. strcpy(commandline, powerof.c_str());
  6224. Scripting::Get().ExecuteLua(commandline);
  6225. std::memset(commandline, 0, sizeof(commandline));
  6226. }
  6227. if (ImGui::Button("Preset_Crusher_Default")) {
  6228. std::string doublequote = "\"";
  6229. std::string power = "Game.AddToInventory(" + doublequote;
  6230. std::string ofdark = "Items.Preset_Crusher_Default" + doublequote;
  6231. std::string ofdarkside = power + ofdark;
  6232. std::string powerof = ofdarkside + ", 1)";
  6233. char* commandline = new char[powerof.length() + 1];
  6234. strcpy(commandline, powerof.c_str());
  6235. Scripting::Get().ExecuteLua(commandline);
  6236. std::memset(commandline, 0, sizeof(commandline));
  6237. }
  6238. if (ImGui::Button("Preset_Crusher_Military")) {
  6239. std::string doublequote = "\"";
  6240. std::string power = "Game.AddToInventory(" + doublequote;
  6241. std::string ofdark = "Items.Preset_Crusher_Military" + doublequote;
  6242. std::string ofdarkside = power + ofdark;
  6243. std::string powerof = ofdarkside + ", 1)";
  6244. char* commandline = new char[powerof.length() + 1];
  6245. strcpy(commandline, powerof.c_str());
  6246. Scripting::Get().ExecuteLua(commandline);
  6247. std::memset(commandline, 0, sizeof(commandline));
  6248. }
  6249. if (ImGui::Button("Preset_Crusher_Neon")) {
  6250. std::string doublequote = "\"";
  6251. std::string power = "Game.AddToInventory(" + doublequote;
  6252. std::string ofdark = "Items.Preset_Crusher_Neon" + doublequote;
  6253. std::string ofdarkside = power + ofdark;
  6254. std::string powerof = ofdarkside + ", 1)";
  6255. char* commandline = new char[powerof.length() + 1];
  6256. strcpy(commandline, powerof.c_str());
  6257. Scripting::Get().ExecuteLua(commandline);
  6258. std::memset(commandline, 0, sizeof(commandline));
  6259. }
  6260. if (ImGui::Button("Preset_Crusher_Pimp")) {
  6261. std::string doublequote = "\"";
  6262. std::string power = "Game.AddToInventory(" + doublequote;
  6263. std::string ofdark = "Items.Preset_Crusher_Pimp" + doublequote;
  6264. std::string ofdarkside = power + ofdark;
  6265. std::string powerof = ofdarkside + ", 1)";
  6266. char* commandline = new char[powerof.length() + 1];
  6267. strcpy(commandline, powerof.c_str());
  6268. Scripting::Get().ExecuteLua(commandline);
  6269. std::memset(commandline, 0, sizeof(commandline));
  6270. }
  6271. if (ImGui::Button("Preset_Defender_Default")) {
  6272. std::string doublequote = "\"";
  6273. std::string power = "Game.AddToInventory(" + doublequote;
  6274. std::string ofdark = "Items.Preset_Defender_Default" + doublequote;
  6275. std::string ofdarkside = power + ofdark;
  6276. std::string powerof = ofdarkside + ", 1)";
  6277. char* commandline = new char[powerof.length() + 1];
  6278. strcpy(commandline, powerof.c_str());
  6279. Scripting::Get().ExecuteLua(commandline);
  6280. std::memset(commandline, 0, sizeof(commandline));
  6281. }
  6282. if (ImGui::Button("Preset_Defender_Military")) {
  6283. std::string doublequote = "\"";
  6284. std::string power = "Game.AddToInventory(" + doublequote;
  6285. std::string ofdark = "Items.Preset_Defender_Military" + doublequote;
  6286. std::string ofdarkside = power + ofdark;
  6287. std::string powerof = ofdarkside + ", 1)";
  6288. char* commandline = new char[powerof.length() + 1];
  6289. strcpy(commandline, powerof.c_str());
  6290. Scripting::Get().ExecuteLua(commandline);
  6291. std::memset(commandline, 0, sizeof(commandline));
  6292. }
  6293. if (ImGui::Button("Preset_Defender_Neon")) {
  6294. std::string doublequote = "\"";
  6295. std::string power = "Game.AddToInventory(" + doublequote;
  6296. std::string ofdark = "Items.Preset_Defender_Neon" + doublequote;
  6297. std::string ofdarkside = power + ofdark;
  6298. std::string powerof = ofdarkside + ", 1)";
  6299. char* commandline = new char[powerof.length() + 1];
  6300. strcpy(commandline, powerof.c_str());
  6301. Scripting::Get().ExecuteLua(commandline);
  6302. std::memset(commandline, 0, sizeof(commandline));
  6303. }
  6304. if (ImGui::Button("Preset_Defender_Pimp")) {
  6305. std::string doublequote = "\"";
  6306. std::string power = "Game.AddToInventory(" + doublequote;
  6307. std::string ofdark = "Items.Preset_Defender_Pimp" + doublequote;
  6308. std::string ofdarkside = power + ofdark;
  6309. std::string powerof = ofdarkside + ", 1)";
  6310. char* commandline = new char[powerof.length() + 1];
  6311. strcpy(commandline, powerof.c_str());
  6312. Scripting::Get().ExecuteLua(commandline);
  6313. std::memset(commandline, 0, sizeof(commandline));
  6314. }
  6315. if (ImGui::Button("Preset_Dian_Default")) {
  6316. std::string doublequote = "\"";
  6317. std::string power = "Game.AddToInventory(" + doublequote;
  6318. std::string ofdark = "Items.Preset_Dian_Default" + doublequote;
  6319. std::string ofdarkside = power + ofdark;
  6320. std::string powerof = ofdarkside + ", 1)";
  6321. char* commandline = new char[powerof.length() + 1];
  6322. strcpy(commandline, powerof.c_str());
  6323. Scripting::Get().ExecuteLua(commandline);
  6324. std::memset(commandline, 0, sizeof(commandline));
  6325. }
  6326. if (ImGui::Button("Preset_Dian_Military")) {
  6327. std::string doublequote = "\"";
  6328. std::string power = "Game.AddToInventory(" + doublequote;
  6329. std::string ofdark = "Items.Preset_Dian_Military" + doublequote;
  6330. std::string ofdarkside = power + ofdark;
  6331. std::string powerof = ofdarkside + ", 1)";
  6332. char* commandline = new char[powerof.length() + 1];
  6333. strcpy(commandline, powerof.c_str());
  6334. Scripting::Get().ExecuteLua(commandline);
  6335. std::memset(commandline, 0, sizeof(commandline));
  6336. }
  6337. if (ImGui::Button("Preset_Dian_Neon")) {
  6338. std::string doublequote = "\"";
  6339. std::string power = "Game.AddToInventory(" + doublequote;
  6340. std::string ofdark = "Items.Preset_Dian_Neon" + doublequote;
  6341. std::string ofdarkside = power + ofdark;
  6342. std::string powerof = ofdarkside + ", 1)";
  6343. char* commandline = new char[powerof.length() + 1];
  6344. strcpy(commandline, powerof.c_str());
  6345. Scripting::Get().ExecuteLua(commandline);
  6346. std::memset(commandline, 0, sizeof(commandline));
  6347. }
  6348. if (ImGui::Button("Preset_Dian_Pimp")) {
  6349. std::string doublequote = "\"";
  6350. std::string power = "Game.AddToInventory(" + doublequote;
  6351. std::string ofdark = "Items.Preset_Dian_Pimp" + doublequote;
  6352. std::string ofdarkside = power + ofdark;
  6353. std::string powerof = ofdarkside + ", 1)";
  6354. char* commandline = new char[powerof.length() + 1];
  6355. strcpy(commandline, powerof.c_str());
  6356. Scripting::Get().ExecuteLua(commandline);
  6357. std::memset(commandline, 0, sizeof(commandline));
  6358. }
  6359. if (ImGui::Button("Preset_Dian_Trauma")) {
  6360. std::string doublequote = "\"";
  6361. std::string power = "Game.AddToInventory(" + doublequote;
  6362. std::string ofdark = "Items.Preset_Dian_Trauma" + doublequote;
  6363. std::string ofdarkside = power + ofdark;
  6364. std::string powerof = ofdarkside + ", 1)";
  6365. char* commandline = new char[powerof.length() + 1];
  6366. strcpy(commandline, powerof.c_str());
  6367. Scripting::Get().ExecuteLua(commandline);
  6368. std::memset(commandline, 0, sizeof(commandline));
  6369. }
  6370. if (ImGui::Button("Preset_Dian_Yinglong")) {
  6371. std::string doublequote = "\"";
  6372. std::string power = "Game.AddToInventory(" + doublequote;
  6373. std::string ofdark = "Items.Preset_Dian_Yinglong" + doublequote;
  6374. std::string ofdarkside = power + ofdark;
  6375. std::string powerof = ofdarkside + ", 1)";
  6376. char* commandline = new char[powerof.length() + 1];
  6377. strcpy(commandline, powerof.c_str());
  6378. Scripting::Get().ExecuteLua(commandline);
  6379. std::memset(commandline, 0, sizeof(commandline));
  6380. }
  6381. if (ImGui::Button("Preset_Dildo_Stout")) {
  6382. std::string doublequote = "\"";
  6383. std::string power = "Game.AddToInventory(" + doublequote;
  6384. std::string ofdark = "Items.Preset_Dildo_Stout" + doublequote;
  6385. std::string ofdarkside = power + ofdark;
  6386. std::string powerof = ofdarkside + ", 1)";
  6387. char* commandline = new char[powerof.length() + 1];
  6388. strcpy(commandline, powerof.c_str());
  6389. Scripting::Get().ExecuteLua(commandline);
  6390. std::memset(commandline, 0, sizeof(commandline));
  6391. }
  6392. if (ImGui::Button("Preset_Grad_Buck")) {
  6393. std::string doublequote = "\"";
  6394. std::string power = "Game.AddToInventory(" + doublequote;
  6395. std::string ofdark = "Items.Preset_Grad_Buck" + doublequote;
  6396. std::string ofdarkside = power + ofdark;
  6397. std::string powerof = ofdarkside + ", 1)";
  6398. char* commandline = new char[powerof.length() + 1];
  6399. strcpy(commandline, powerof.c_str());
  6400. Scripting::Get().ExecuteLua(commandline);
  6401. std::memset(commandline, 0, sizeof(commandline));
  6402. }
  6403. if (ImGui::Button("Preset_Grad_Default")) {
  6404. std::string doublequote = "\"";
  6405. std::string power = "Game.AddToInventory(" + doublequote;
  6406. std::string ofdark = "Items.Preset_Grad_Default" + doublequote;
  6407. std::string ofdarkside = power + ofdark;
  6408. std::string powerof = ofdarkside + ", 1)";
  6409. char* commandline = new char[powerof.length() + 1];
  6410. strcpy(commandline, powerof.c_str());
  6411. Scripting::Get().ExecuteLua(commandline);
  6412. std::memset(commandline, 0, sizeof(commandline));
  6413. }
  6414. if (ImGui::Button("Preset_Grad_Military")) {
  6415. std::string doublequote = "\"";
  6416. std::string power = "Game.AddToInventory(" + doublequote;
  6417. std::string ofdark = "Items.Preset_Grad_Military" + doublequote;
  6418. std::string ofdarkside = power + ofdark;
  6419. std::string powerof = ofdarkside + ", 1)";
  6420. char* commandline = new char[powerof.length() + 1];
  6421. strcpy(commandline, powerof.c_str());
  6422. Scripting::Get().ExecuteLua(commandline);
  6423. std::memset(commandline, 0, sizeof(commandline));
  6424. }
  6425. if (ImGui::Button("Preset_Grad_Neon")) {
  6426. std::string doublequote = "\"";
  6427. std::string power = "Game.AddToInventory(" + doublequote;
  6428. std::string ofdark = "Items.Preset_Grad_Neon" + doublequote;
  6429. std::string ofdarkside = power + ofdark;
  6430. std::string powerof = ofdarkside + ", 1)";
  6431. char* commandline = new char[powerof.length() + 1];
  6432. strcpy(commandline, powerof.c_str());
  6433. Scripting::Get().ExecuteLua(commandline);
  6434. std::memset(commandline, 0, sizeof(commandline));
  6435. }
  6436. if (ImGui::Button("Preset_Grad_Panam")) {
  6437. std::string doublequote = "\"";
  6438. std::string power = "Game.AddToInventory(" + doublequote;
  6439. std::string ofdark = "Items.Preset_Grad_Panam" + doublequote;
  6440. std::string ofdarkside = power + ofdark;
  6441. std::string powerof = ofdarkside + ", 1)";
  6442. char* commandline = new char[powerof.length() + 1];
  6443. strcpy(commandline, powerof.c_str());
  6444. Scripting::Get().ExecuteLua(commandline);
  6445. std::memset(commandline, 0, sizeof(commandline));
  6446. }
  6447. if (ImGui::Button("Preset_Grad_Pimp")) {
  6448. std::string doublequote = "\"";
  6449. std::string power = "Game.AddToInventory(" + doublequote;
  6450. std::string ofdark = "Items.Preset_Grad_Pimp" + doublequote;
  6451. std::string ofdarkside = power + ofdark;
  6452. std::string powerof = ofdarkside + ", 1)";
  6453. char* commandline = new char[powerof.length() + 1];
  6454. strcpy(commandline, powerof.c_str());
  6455. Scripting::Get().ExecuteLua(commandline);
  6456. std::memset(commandline, 0, sizeof(commandline));
  6457. }
  6458. if (ImGui::Button("Preset_Hammer_Default")) {
  6459. std::string doublequote = "\"";
  6460. std::string power = "Game.AddToInventory(" + doublequote;
  6461. std::string ofdark = "Items.Preset_Hammer_Default" + doublequote;
  6462. std::string ofdarkside = power + ofdark;
  6463. std::string powerof = ofdarkside + ", 1)";
  6464. char* commandline = new char[powerof.length() + 1];
  6465. strcpy(commandline, powerof.c_str());
  6466. Scripting::Get().ExecuteLua(commandline);
  6467. std::memset(commandline, 0, sizeof(commandline));
  6468. }
  6469. if (ImGui::Button("Preset_Hammer_Sasquatch")) {
  6470. std::string doublequote = "\"";
  6471. std::string power = "Game.AddToInventory(" + doublequote;
  6472. std::string ofdark = "Items.Preset_Hammer_Sasquatch" + doublequote;
  6473. std::string ofdarkside = power + ofdark;
  6474. std::string powerof = ofdarkside + ", 1)";
  6475. char* commandline = new char[powerof.length() + 1];
  6476. strcpy(commandline, powerof.c_str());
  6477. Scripting::Get().ExecuteLua(commandline);
  6478. std::memset(commandline, 0, sizeof(commandline));
  6479. }
  6480. if (ImGui::Button("Preset_HMG_Default")) {
  6481. std::string doublequote = "\"";
  6482. std::string power = "Game.AddToInventory(" + doublequote;
  6483. std::string ofdark = "Items.Preset_HMG_Default" + doublequote;
  6484. std::string ofdarkside = power + ofdark;
  6485. std::string powerof = ofdarkside + ", 1)";
  6486. char* commandline = new char[powerof.length() + 1];
  6487. strcpy(commandline, powerof.c_str());
  6488. Scripting::Get().ExecuteLua(commandline);
  6489. std::memset(commandline, 0, sizeof(commandline));
  6490. }
  6491. if (ImGui::Button("Preset_Igla_Default")) {
  6492. std::string doublequote = "\"";
  6493. std::string power = "Game.AddToInventory(" + doublequote;
  6494. std::string ofdark = "Items.Preset_Igla_Default" + doublequote;
  6495. std::string ofdarkside = power + ofdark;
  6496. std::string powerof = ofdarkside + ", 1)";
  6497. char* commandline = new char[powerof.length() + 1];
  6498. strcpy(commandline, powerof.c_str());
  6499. Scripting::Get().ExecuteLua(commandline);
  6500. std::memset(commandline, 0, sizeof(commandline));
  6501. }
  6502. if (ImGui::Button("Preset_Igla_Military")) {
  6503. std::string doublequote = "\"";
  6504. std::string power = "Game.AddToInventory(" + doublequote;
  6505. std::string ofdark = "Items.Preset_Igla_Military" + doublequote;
  6506. std::string ofdarkside = power + ofdark;
  6507. std::string powerof = ofdarkside + ", 1)";
  6508. char* commandline = new char[powerof.length() + 1];
  6509. strcpy(commandline, powerof.c_str());
  6510. Scripting::Get().ExecuteLua(commandline);
  6511. std::memset(commandline, 0, sizeof(commandline));
  6512. }
  6513. if (ImGui::Button("Preset_Igla_Neon")) {
  6514. std::string doublequote = "\"";
  6515. std::string power = "Game.AddToInventory(" + doublequote;
  6516. std::string ofdark = "Items.Preset_Igla_Neon" + doublequote;
  6517. std::string ofdarkside = power + ofdark;
  6518. std::string powerof = ofdarkside + ", 1)";
  6519. char* commandline = new char[powerof.length() + 1];
  6520. strcpy(commandline, powerof.c_str());
  6521. Scripting::Get().ExecuteLua(commandline);
  6522. std::memset(commandline, 0, sizeof(commandline));
  6523. }
  6524. if (ImGui::Button("Preset_Igla_Pimp")) {
  6525. std::string doublequote = "\"";
  6526. std::string power = "Game.AddToInventory(" + doublequote;
  6527. std::string ofdark = "Items.Preset_Igla_Pimp" + doublequote;
  6528. std::string ofdarkside = power + ofdark;
  6529. std::string powerof = ofdarkside + ", 1)";
  6530. char* commandline = new char[powerof.length() + 1];
  6531. strcpy(commandline, powerof.c_str());
  6532. Scripting::Get().ExecuteLua(commandline);
  6533. std::memset(commandline, 0, sizeof(commandline));
  6534. }
  6535. if (ImGui::Button("Preset_Igla_Sovereign")) {
  6536. std::string doublequote = "\"";
  6537. std::string power = "Game.AddToInventory(" + doublequote;
  6538. std::string ofdark = "Items.Preset_Igla_Sovereign" + doublequote;
  6539. std::string ofdarkside = power + ofdark;
  6540. std::string powerof = ofdarkside + ", 1)";
  6541. char* commandline = new char[powerof.length() + 1];
  6542. strcpy(commandline, powerof.c_str());
  6543. Scripting::Get().ExecuteLua(commandline);
  6544. std::memset(commandline, 0, sizeof(commandline));
  6545. }
  6546. if (ImGui::Button("Preset_Iron_Pipe_Default")) {
  6547. std::string doublequote = "\"";
  6548. std::string power = "Game.AddToInventory(" + doublequote;
  6549. std::string ofdark = "Items.Preset_Iron_Pipe_Default" + doublequote;
  6550. std::string ofdarkside = power + ofdark;
  6551. std::string powerof = ofdarkside + ", 1)";
  6552. char* commandline = new char[powerof.length() + 1];
  6553. strcpy(commandline, powerof.c_str());
  6554. Scripting::Get().ExecuteLua(commandline);
  6555. std::memset(commandline, 0, sizeof(commandline));
  6556. }
  6557. if (ImGui::Button("Preset_Kanabo_Default")) {
  6558. std::string doublequote = "\"";
  6559. std::string power = "Game.AddToInventory(" + doublequote;
  6560. std::string ofdark = "Items.Preset_Kanabo_Default" + doublequote;
  6561. std::string ofdarkside = power + ofdark;
  6562. std::string powerof = ofdarkside + ", 1)";
  6563. char* commandline = new char[powerof.length() + 1];
  6564. strcpy(commandline, powerof.c_str());
  6565. Scripting::Get().ExecuteLua(commandline);
  6566. std::memset(commandline, 0, sizeof(commandline));
  6567. }
  6568. if (ImGui::Button("Preset_Katana_Arasaka_2020")) {
  6569. std::string doublequote = "\"";
  6570. std::string power = "Game.AddToInventory(" + doublequote;
  6571. std::string ofdark = "Items.Preset_Katana_Arasaka_2020" + doublequote;
  6572. std::string ofdarkside = power + ofdark;
  6573. std::string powerof = ofdarkside + ", 1)";
  6574. char* commandline = new char[powerof.length() + 1];
  6575. strcpy(commandline, powerof.c_str());
  6576. Scripting::Get().ExecuteLua(commandline);
  6577. std::memset(commandline, 0, sizeof(commandline));
  6578. }
  6579. if (ImGui::Button("Preset_Katana_Cocktail")) {
  6580. std::string doublequote = "\"";
  6581. std::string power = "Game.AddToInventory(" + doublequote;
  6582. std::string ofdark = "Items.Preset_Katana_Cocktail" + doublequote;
  6583. std::string ofdarkside = power + ofdark;
  6584. std::string powerof = ofdarkside + ", 1)";
  6585. char* commandline = new char[powerof.length() + 1];
  6586. strcpy(commandline, powerof.c_str());
  6587. Scripting::Get().ExecuteLua(commandline);
  6588. std::memset(commandline, 0, sizeof(commandline));
  6589. }
  6590. if (ImGui::Button("Preset_Katana_Default")) {
  6591. std::string doublequote = "\"";
  6592. std::string power = "Game.AddToInventory(" + doublequote;
  6593. std::string ofdark = "Items.Preset_Katana_Default" + doublequote;
  6594. std::string ofdarkside = power + ofdark;
  6595. std::string powerof = ofdarkside + ", 1)";
  6596. char* commandline = new char[powerof.length() + 1];
  6597. strcpy(commandline, powerof.c_str());
  6598. Scripting::Get().ExecuteLua(commandline);
  6599. std::memset(commandline, 0, sizeof(commandline));
  6600. }
  6601. if (ImGui::Button("Preset_Katana_GoG")) {
  6602. std::string doublequote = "\"";
  6603. std::string power = "Game.AddToInventory(" + doublequote;
  6604. std::string ofdark = "Items.Preset_Katana_GoG" + doublequote;
  6605. std::string ofdarkside = power + ofdark;
  6606. std::string powerof = ofdarkside + ", 1)";
  6607. char* commandline = new char[powerof.length() + 1];
  6608. strcpy(commandline, powerof.c_str());
  6609. Scripting::Get().ExecuteLua(commandline);
  6610. std::memset(commandline, 0, sizeof(commandline));
  6611. }
  6612. if (ImGui::Button("Preset_Katana_Hiromi")) {
  6613. std::string doublequote = "\"";
  6614. std::string power = "Game.AddToInventory(" + doublequote;
  6615. std::string ofdark = "Items.Preset_Katana_Hiromi" + doublequote;
  6616. std::string ofdarkside = power + ofdark;
  6617. std::string powerof = ofdarkside + ", 1)";
  6618. char* commandline = new char[powerof.length() + 1];
  6619. strcpy(commandline, powerof.c_str());
  6620. Scripting::Get().ExecuteLua(commandline);
  6621. std::memset(commandline, 0, sizeof(commandline));
  6622. }
  6623. if (ImGui::Button("Preset_Katana_Military")) {
  6624. std::string doublequote = "\"";
  6625. std::string power = "Game.AddToInventory(" + doublequote;
  6626. std::string ofdark = "Items.Preset_Katana_Military" + doublequote;
  6627. std::string ofdarkside = power + ofdark;
  6628. std::string powerof = ofdarkside + ", 1)";
  6629. char* commandline = new char[powerof.length() + 1];
  6630. strcpy(commandline, powerof.c_str());
  6631. Scripting::Get().ExecuteLua(commandline);
  6632. std::memset(commandline, 0, sizeof(commandline));
  6633. }
  6634. if (ImGui::Button("Preset_Katana_Neon")) {
  6635. std::string doublequote = "\"";
  6636. std::string power = "Game.AddToInventory(" + doublequote;
  6637. std::string ofdark = "Items.Preset_Katana_Neon" + doublequote;
  6638. std::string ofdarkside = power + ofdark;
  6639. std::string powerof = ofdarkside + ", 1)";
  6640. char* commandline = new char[powerof.length() + 1];
  6641. strcpy(commandline, powerof.c_str());
  6642. Scripting::Get().ExecuteLua(commandline);
  6643. std::memset(commandline, 0, sizeof(commandline));
  6644. }
  6645. if (ImGui::Button("Preset_Katana_Saburo")) {
  6646. std::string doublequote = "\"";
  6647. std::string power = "Game.AddToInventory(" + doublequote;
  6648. std::string ofdark = "Items.Preset_Katana_Saburo" + doublequote;
  6649. std::string ofdarkside = power + ofdark;
  6650. std::string powerof = ofdarkside + ", 1)";
  6651. char* commandline = new char[powerof.length() + 1];
  6652. strcpy(commandline, powerof.c_str());
  6653. Scripting::Get().ExecuteLua(commandline);
  6654. std::memset(commandline, 0, sizeof(commandline));
  6655. }
  6656. if (ImGui::Button("Preset_Katana_Surgeon")) {
  6657. std::string doublequote = "\"";
  6658. std::string power = "Game.AddToInventory(" + doublequote;
  6659. std::string ofdark = "Items.Preset_Katana_Surgeon" + doublequote;
  6660. std::string ofdarkside = power + ofdark;
  6661. std::string powerof = ofdarkside + ", 1)";
  6662. char* commandline = new char[powerof.length() + 1];
  6663. strcpy(commandline, powerof.c_str());
  6664. Scripting::Get().ExecuteLua(commandline);
  6665. std::memset(commandline, 0, sizeof(commandline));
  6666. }
  6667. if (ImGui::Button("Preset_Katana_Takemura")) {
  6668. std::string doublequote = "\"";
  6669. std::string power = "Game.AddToInventory(" + doublequote;
  6670. std::string ofdark = "Items.Preset_Katana_Takemura" + doublequote;
  6671. std::string ofdarkside = power + ofdark;
  6672. std::string powerof = ofdarkside + ", 1)";
  6673. char* commandline = new char[powerof.length() + 1];
  6674. strcpy(commandline, powerof.c_str());
  6675. Scripting::Get().ExecuteLua(commandline);
  6676. std::memset(commandline, 0, sizeof(commandline));
  6677. }
  6678. if (ImGui::Button("Preset_Katana_Training")) {
  6679. std::string doublequote = "\"";
  6680. std::string power = "Game.AddToInventory(" + doublequote;
  6681. std::string ofdark = "Items.Preset_Katana_Training" + doublequote;
  6682. std::string ofdarkside = power + ofdark;
  6683. std::string powerof = ofdarkside + ", 1)";
  6684. char* commandline = new char[powerof.length() + 1];
  6685. strcpy(commandline, powerof.c_str());
  6686. Scripting::Get().ExecuteLua(commandline);
  6687. std::memset(commandline, 0, sizeof(commandline));
  6688. }
  6689. if (ImGui::Button("Preset_Kenshin_Default")) {
  6690. std::string doublequote = "\"";
  6691. std::string power = "Game.AddToInventory(" + doublequote;
  6692. std::string ofdark = "Items.Preset_Kenshin_Default" + doublequote;
  6693. std::string ofdarkside = power + ofdark;
  6694. std::string powerof = ofdarkside + ", 1)";
  6695. char* commandline = new char[powerof.length() + 1];
  6696. strcpy(commandline, powerof.c_str());
  6697. Scripting::Get().ExecuteLua(commandline);
  6698. std::memset(commandline, 0, sizeof(commandline));
  6699. }
  6700. if (ImGui::Button("Preset_Kenshin_Frank")) {
  6701. std::string doublequote = "\"";
  6702. std::string power = "Game.AddToInventory(" + doublequote;
  6703. std::string ofdark = "Items.Preset_Kenshin_Frank" + doublequote;
  6704. std::string ofdarkside = power + ofdark;
  6705. std::string powerof = ofdarkside + ", 1)";
  6706. char* commandline = new char[powerof.length() + 1];
  6707. strcpy(commandline, powerof.c_str());
  6708. Scripting::Get().ExecuteLua(commandline);
  6709. std::memset(commandline, 0, sizeof(commandline));
  6710. }
  6711. if (ImGui::Button("Preset_Kenshin_Military")) {
  6712. std::string doublequote = "\"";
  6713. std::string power = "Game.AddToInventory(" + doublequote;
  6714. std::string ofdark = "Items.Preset_Kenshin_Military" + doublequote;
  6715. std::string ofdarkside = power + ofdark;
  6716. std::string powerof = ofdarkside + ", 1)";
  6717. char* commandline = new char[powerof.length() + 1];
  6718. strcpy(commandline, powerof.c_str());
  6719. Scripting::Get().ExecuteLua(commandline);
  6720. std::memset(commandline, 0, sizeof(commandline));
  6721. }
  6722. if (ImGui::Button("Preset_Kenshin_MQ041")) {
  6723. std::string doublequote = "\"";
  6724. std::string power = "Game.AddToInventory(" + doublequote;
  6725. std::string ofdark = "Items.Preset_Kenshin_MQ041" + doublequote;
  6726. std::string ofdarkside = power + ofdark;
  6727. std::string powerof = ofdarkside + ", 1)";
  6728. char* commandline = new char[powerof.length() + 1];
  6729. strcpy(commandline, powerof.c_str());
  6730. Scripting::Get().ExecuteLua(commandline);
  6731. std::memset(commandline, 0, sizeof(commandline));
  6732. }
  6733. if (ImGui::Button("Preset_Kenshin_Neon")) {
  6734. std::string doublequote = "\"";
  6735. std::string power = "Game.AddToInventory(" + doublequote;
  6736. std::string ofdark = "Items.Preset_Kenshin_Neon" + doublequote;
  6737. std::string ofdarkside = power + ofdark;
  6738. std::string powerof = ofdarkside + ", 1)";
  6739. char* commandline = new char[powerof.length() + 1];
  6740. strcpy(commandline, powerof.c_str());
  6741. Scripting::Get().ExecuteLua(commandline);
  6742. std::memset(commandline, 0, sizeof(commandline));
  6743. }
  6744. if (ImGui::Button("Preset_Kenshin_Pimp")) {
  6745. std::string doublequote = "\"";
  6746. std::string power = "Game.AddToInventory(" + doublequote;
  6747. std::string ofdark = "Items.Preset_Kenshin_Pimp" + doublequote;
  6748. std::string ofdarkside = power + ofdark;
  6749. std::string powerof = ofdarkside + ", 1)";
  6750. char* commandline = new char[powerof.length() + 1];
  6751. strcpy(commandline, powerof.c_str());
  6752. Scripting::Get().ExecuteLua(commandline);
  6753. std::memset(commandline, 0, sizeof(commandline));
  6754. }
  6755. if (ImGui::Button("Preset_Kenshin_Royce")) {
  6756. std::string doublequote = "\"";
  6757. std::string power = "Game.AddToInventory(" + doublequote;
  6758. std::string ofdark = "Items.Preset_Kenshin_Royce" + doublequote;
  6759. std::string ofdarkside = power + ofdark;
  6760. std::string powerof = ofdarkside + ", 1)";
  6761. char* commandline = new char[powerof.length() + 1];
  6762. strcpy(commandline, powerof.c_str());
  6763. Scripting::Get().ExecuteLua(commandline);
  6764. std::memset(commandline, 0, sizeof(commandline));
  6765. }
  6766. if (ImGui::Button("Preset_Kenshin_Takemura")) {
  6767. std::string doublequote = "\"";
  6768. std::string power = "Game.AddToInventory(" + doublequote;
  6769. std::string ofdark = "Items.Preset_Kenshin_Takemura" + doublequote;
  6770. std::string ofdarkside = power + ofdark;
  6771. std::string powerof = ofdarkside + ", 1)";
  6772. char* commandline = new char[powerof.length() + 1];
  6773. strcpy(commandline, powerof.c_str());
  6774. Scripting::Get().ExecuteLua(commandline);
  6775. std::memset(commandline, 0, sizeof(commandline));
  6776. }
  6777. if (ImGui::Button("Preset_Knife_Default")) {
  6778. std::string doublequote = "\"";
  6779. std::string power = "Game.AddToInventory(" + doublequote;
  6780. std::string ofdark = "Items.Preset_Knife_Default" + doublequote;
  6781. std::string ofdarkside = power + ofdark;
  6782. std::string powerof = ofdarkside + ", 1)";
  6783. char* commandline = new char[powerof.length() + 1];
  6784. strcpy(commandline, powerof.c_str());
  6785. Scripting::Get().ExecuteLua(commandline);
  6786. std::memset(commandline, 0, sizeof(commandline));
  6787. }
  6788. if (ImGui::Button("Preset_Knife_Military")) {
  6789. std::string doublequote = "\"";
  6790. std::string power = "Game.AddToInventory(" + doublequote;
  6791. std::string ofdark = "Items.Preset_Knife_Military" + doublequote;
  6792. std::string ofdarkside = power + ofdark;
  6793. std::string powerof = ofdarkside + ", 1)";
  6794. char* commandline = new char[powerof.length() + 1];
  6795. strcpy(commandline, powerof.c_str());
  6796. Scripting::Get().ExecuteLua(commandline);
  6797. std::memset(commandline, 0, sizeof(commandline));
  6798. }
  6799. if (ImGui::Button("Preset_Knife_Stinger")) {
  6800. std::string doublequote = "\"";
  6801. std::string power = "Game.AddToInventory(" + doublequote;
  6802. std::string ofdark = "Items.Preset_Knife_Stinger" + doublequote;
  6803. std::string ofdarkside = power + ofdark;
  6804. std::string powerof = ofdarkside + ", 1)";
  6805. char* commandline = new char[powerof.length() + 1];
  6806. strcpy(commandline, powerof.c_str());
  6807. Scripting::Get().ExecuteLua(commandline);
  6808. std::memset(commandline, 0, sizeof(commandline));
  6809. }
  6810. if (ImGui::Button("Preset_Knuckles_Default")) {
  6811. std::string doublequote = "\"";
  6812. std::string power = "Game.AddToInventory(" + doublequote;
  6813. std::string ofdark = "Items.Preset_Knuckles_Default" + doublequote;
  6814. std::string ofdarkside = power + ofdark;
  6815. std::string powerof = ofdarkside + ", 1)";
  6816. char* commandline = new char[powerof.length() + 1];
  6817. strcpy(commandline, powerof.c_str());
  6818. Scripting::Get().ExecuteLua(commandline);
  6819. std::memset(commandline, 0, sizeof(commandline));
  6820. }
  6821. if (ImGui::Button("Preset_Knuckles_Golden")) {
  6822. std::string doublequote = "\"";
  6823. std::string power = "Game.AddToInventory(" + doublequote;
  6824. std::string ofdark = "Items.Preset_Knuckles_Golden" + doublequote;
  6825. std::string ofdarkside = power + ofdark;
  6826. std::string powerof = ofdarkside + ", 1)";
  6827. char* commandline = new char[powerof.length() + 1];
  6828. strcpy(commandline, powerof.c_str());
  6829. Scripting::Get().ExecuteLua(commandline);
  6830. std::memset(commandline, 0, sizeof(commandline));
  6831. }
  6832. if (ImGui::Button("Preset_Knuckles_Military")) {
  6833. std::string doublequote = "\"";
  6834. std::string power = "Game.AddToInventory(" + doublequote;
  6835. std::string ofdark = "Items.Preset_Knuckles_Military" + doublequote;
  6836. std::string ofdarkside = power + ofdark;
  6837. std::string powerof = ofdarkside + ", 1)";
  6838. char* commandline = new char[powerof.length() + 1];
  6839. strcpy(commandline, powerof.c_str());
  6840. Scripting::Get().ExecuteLua(commandline);
  6841. std::memset(commandline, 0, sizeof(commandline));
  6842. }
  6843. if (ImGui::Button("Preset_Knuckles_Pimp")) {
  6844. std::string doublequote = "\"";
  6845. std::string power = "Game.AddToInventory(" + doublequote;
  6846. std::string ofdark = "Items.Preset_Knuckles_Pimp" + doublequote;
  6847. std::string ofdarkside = power + ofdark;
  6848. std::string powerof = ofdarkside + ", 1)";
  6849. char* commandline = new char[powerof.length() + 1];
  6850. strcpy(commandline, powerof.c_str());
  6851. Scripting::Get().ExecuteLua(commandline);
  6852. std::memset(commandline, 0, sizeof(commandline));
  6853. }
  6854. if (ImGui::Button("Preset_Kukri_Default")) {
  6855. std::string doublequote = "\"";
  6856. std::string power = "Game.AddToInventory(" + doublequote;
  6857. std::string ofdark = "Items.Preset_Kukri_Default" + doublequote;
  6858. std::string ofdarkside = power + ofdark;
  6859. std::string powerof = ofdarkside + ", 1)";
  6860. char* commandline = new char[powerof.length() + 1];
  6861. strcpy(commandline, powerof.c_str());
  6862. Scripting::Get().ExecuteLua(commandline);
  6863. std::memset(commandline, 0, sizeof(commandline));
  6864. }
  6865. if (ImGui::Button("Preset_Kukri_Voodoo")) {
  6866. std::string doublequote = "\"";
  6867. std::string power = "Game.AddToInventory(" + doublequote;
  6868. std::string ofdark = "Items.Preset_Kukri_Voodoo" + doublequote;
  6869. std::string ofdarkside = power + ofdark;
  6870. std::string powerof = ofdarkside + ", 1)";
  6871. char* commandline = new char[powerof.length() + 1];
  6872. strcpy(commandline, powerof.c_str());
  6873. Scripting::Get().ExecuteLua(commandline);
  6874. std::memset(commandline, 0, sizeof(commandline));
  6875. }
  6876. if (ImGui::Button("Preset_Lexington_DEBUG")) {
  6877. std::string doublequote = "\"";
  6878. std::string power = "Game.AddToInventory(" + doublequote;
  6879. std::string ofdark = "Items.Preset_Lexington_DEBUG" + doublequote;
  6880. std::string ofdarkside = power + ofdark;
  6881. std::string powerof = ofdarkside + ", 1)";
  6882. char* commandline = new char[powerof.length() + 1];
  6883. strcpy(commandline, powerof.c_str());
  6884. Scripting::Get().ExecuteLua(commandline);
  6885. std::memset(commandline, 0, sizeof(commandline));
  6886. }
  6887. if (ImGui::Button("Preset_Lexington_Default")) {
  6888. std::string doublequote = "\"";
  6889. std::string power = "Game.AddToInventory(" + doublequote;
  6890. std::string ofdark = "Items.Preset_Lexington_Default" + doublequote;
  6891. std::string ofdarkside = power + ofdark;
  6892. std::string powerof = ofdarkside + ", 1)";
  6893. char* commandline = new char[powerof.length() + 1];
  6894. strcpy(commandline, powerof.c_str());
  6895. Scripting::Get().ExecuteLua(commandline);
  6896. std::memset(commandline, 0, sizeof(commandline));
  6897. }
  6898. if (ImGui::Button("Preset_Lexington_Military")) {
  6899. std::string doublequote = "\"";
  6900. std::string power = "Game.AddToInventory(" + doublequote;
  6901. std::string ofdark = "Items.Preset_Lexington_Military" + doublequote;
  6902. std::string ofdarkside = power + ofdark;
  6903. std::string powerof = ofdarkside + ", 1)";
  6904. char* commandline = new char[powerof.length() + 1];
  6905. strcpy(commandline, powerof.c_str());
  6906. Scripting::Get().ExecuteLua(commandline);
  6907. std::memset(commandline, 0, sizeof(commandline));
  6908. }
  6909. if (ImGui::Button("Preset_Lexington_Neon")) {
  6910. std::string doublequote = "\"";
  6911. std::string power = "Game.AddToInventory(" + doublequote;
  6912. std::string ofdark = "Items.Preset_Lexington_Neon" + doublequote;
  6913. std::string ofdarkside = power + ofdark;
  6914. std::string powerof = ofdarkside + ", 1)";
  6915. char* commandline = new char[powerof.length() + 1];
  6916. strcpy(commandline, powerof.c_str());
  6917. Scripting::Get().ExecuteLua(commandline);
  6918. std::memset(commandline, 0, sizeof(commandline));
  6919. }
  6920. if (ImGui::Button("Preset_Lexington_Pimp")) {
  6921. std::string doublequote = "\"";
  6922. std::string power = "Game.AddToInventory(" + doublequote;
  6923. std::string ofdark = "Items.Preset_Lexington_Pimp" + doublequote;
  6924. std::string ofdarkside = power + ofdark;
  6925. std::string powerof = ofdarkside + ", 1)";
  6926. char* commandline = new char[powerof.length() + 1];
  6927. strcpy(commandline, powerof.c_str());
  6928. Scripting::Get().ExecuteLua(commandline);
  6929. std::memset(commandline, 0, sizeof(commandline));
  6930. }
  6931. if (ImGui::Button("Preset_Lexington_Toygun")) {
  6932. std::string doublequote = "\"";
  6933. std::string power = "Game.AddToInventory(" + doublequote;
  6934. std::string ofdark = "Items.Preset_Lexington_Toygun" + doublequote;
  6935. std::string ofdarkside = power + ofdark;
  6936. std::string powerof = ofdarkside + ", 1)";
  6937. char* commandline = new char[powerof.length() + 1];
  6938. strcpy(commandline, powerof.c_str());
  6939. Scripting::Get().ExecuteLua(commandline);
  6940. std::memset(commandline, 0, sizeof(commandline));
  6941. }
  6942. if (ImGui::Button("Preset_Lexington_Wilson")) {
  6943. std::string doublequote = "\"";
  6944. std::string power = "Game.AddToInventory(" + doublequote;
  6945. std::string ofdark = "Items.Preset_Lexington_Wilson" + doublequote;
  6946. std::string ofdarkside = power + ofdark;
  6947. std::string powerof = ofdarkside + ", 1)";
  6948. char* commandline = new char[powerof.length() + 1];
  6949. strcpy(commandline, powerof.c_str());
  6950. Scripting::Get().ExecuteLua(commandline);
  6951. std::memset(commandline, 0, sizeof(commandline));
  6952. }
  6953. if (ImGui::Button("Preset_Liberty_Default")) {
  6954. std::string doublequote = "\"";
  6955. std::string power = "Game.AddToInventory(" + doublequote;
  6956. std::string ofdark = "Items.Preset_Liberty_Default" + doublequote;
  6957. std::string ofdarkside = power + ofdark;
  6958. std::string powerof = ofdarkside + ", 1)";
  6959. char* commandline = new char[powerof.length() + 1];
  6960. strcpy(commandline, powerof.c_str());
  6961. Scripting::Get().ExecuteLua(commandline);
  6962. std::memset(commandline, 0, sizeof(commandline));
  6963. }
  6964. if (ImGui::Button("Preset_Liberty_Dex")) {
  6965. std::string doublequote = "\"";
  6966. std::string power = "Game.AddToInventory(" + doublequote;
  6967. std::string ofdark = "Items.Preset_Liberty_Dex" + doublequote;
  6968. std::string ofdarkside = power + ofdark;
  6969. std::string powerof = ofdarkside + ", 1)";
  6970. char* commandline = new char[powerof.length() + 1];
  6971. strcpy(commandline, powerof.c_str());
  6972. Scripting::Get().ExecuteLua(commandline);
  6973. std::memset(commandline, 0, sizeof(commandline));
  6974. }
  6975. if (ImGui::Button("Preset_Liberty_Rogue")) {
  6976. std::string doublequote = "\"";
  6977. std::string power = "Game.AddToInventory(" + doublequote;
  6978. std::string ofdark = "Items.Preset_Liberty_Rogue" + doublequote;
  6979. std::string ofdarkside = power + ofdark;
  6980. std::string powerof = ofdarkside + ", 1)";
  6981. char* commandline = new char[powerof.length() + 1];
  6982. strcpy(commandline, powerof.c_str());
  6983. Scripting::Get().ExecuteLua(commandline);
  6984. std::memset(commandline, 0, sizeof(commandline));
  6985. }
  6986. if (ImGui::Button("Preset_Liberty_Yorinobu")) {
  6987. std::string doublequote = "\"";
  6988. std::string power = "Game.AddToInventory(" + doublequote;
  6989. std::string ofdark = "Items.Preset_Liberty_Yorinobu" + doublequote;
  6990. std::string ofdarkside = power + ofdark;
  6991. std::string powerof = ofdarkside + ", 1)";
  6992. char* commandline = new char[powerof.length() + 1];
  6993. strcpy(commandline, powerof.c_str());
  6994. Scripting::Get().ExecuteLua(commandline);
  6995. std::memset(commandline, 0, sizeof(commandline));
  6996. }
  6997. if (ImGui::Button("Preset_Machete_Default")) {
  6998. std::string doublequote = "\"";
  6999. std::string power = "Game.AddToInventory(" + doublequote;
  7000. std::string ofdark = "Items.Preset_Machete_Default" + doublequote;
  7001. std::string ofdarkside = power + ofdark;
  7002. std::string powerof = ofdarkside + ", 1)";
  7003. char* commandline = new char[powerof.length() + 1];
  7004. strcpy(commandline, powerof.c_str());
  7005. Scripting::Get().ExecuteLua(commandline);
  7006. std::memset(commandline, 0, sizeof(commandline));
  7007. }
  7008. if (ImGui::Button("Preset_Machete_Maelstrom")) {
  7009. std::string doublequote = "\"";
  7010. std::string power = "Game.AddToInventory(" + doublequote;
  7011. std::string ofdark = "Items.Preset_Machete_Maelstrom" + doublequote;
  7012. std::string ofdarkside = power + ofdark;
  7013. std::string powerof = ofdarkside + ", 1)";
  7014. char* commandline = new char[powerof.length() + 1];
  7015. strcpy(commandline, powerof.c_str());
  7016. Scripting::Get().ExecuteLua(commandline);
  7017. std::memset(commandline, 0, sizeof(commandline));
  7018. }
  7019. if (ImGui::Button("Preset_Machete_Valentinos")) {
  7020. std::string doublequote = "\"";
  7021. std::string power = "Game.AddToInventory(" + doublequote;
  7022. std::string ofdark = "Items.Preset_Machete_Valentinos" + doublequote;
  7023. std::string ofdarkside = power + ofdark;
  7024. std::string powerof = ofdarkside + ", 1)";
  7025. char* commandline = new char[powerof.length() + 1];
  7026. strcpy(commandline, powerof.c_str());
  7027. Scripting::Get().ExecuteLua(commandline);
  7028. std::memset(commandline, 0, sizeof(commandline));
  7029. }
  7030. if (ImGui::Button("Preset_Masamune_Arasaka_2020")) {
  7031. std::string doublequote = "\"";
  7032. std::string power = "Game.AddToInventory(" + doublequote;
  7033. std::string ofdark = "Items.Preset_Masamune_Arasaka_2020" + doublequote;
  7034. std::string ofdarkside = power + ofdark;
  7035. std::string powerof = ofdarkside + ", 1)";
  7036. char* commandline = new char[powerof.length() + 1];
  7037. strcpy(commandline, powerof.c_str());
  7038. Scripting::Get().ExecuteLua(commandline);
  7039. std::memset(commandline, 0, sizeof(commandline));
  7040. }
  7041. if (ImGui::Button("Preset_Masamune_Default")) {
  7042. std::string doublequote = "\"";
  7043. std::string power = "Game.AddToInventory(" + doublequote;
  7044. std::string ofdark = "Items.Preset_Masamune_Default" + doublequote;
  7045. std::string ofdarkside = power + ofdark;
  7046. std::string powerof = ofdarkside + ", 1)";
  7047. char* commandline = new char[powerof.length() + 1];
  7048. strcpy(commandline, powerof.c_str());
  7049. Scripting::Get().ExecuteLua(commandline);
  7050. std::memset(commandline, 0, sizeof(commandline));
  7051. }
  7052. if (ImGui::Button("Preset_Masamune_Flashlight")) {
  7053. std::string doublequote = "\"";
  7054. std::string power = "Game.AddToInventory(" + doublequote;
  7055. std::string ofdark = "Items.Preset_Masamune_Flashlight" + doublequote;
  7056. std::string ofdarkside = power + ofdark;
  7057. std::string powerof = ofdarkside + ", 1)";
  7058. char* commandline = new char[powerof.length() + 1];
  7059. strcpy(commandline, powerof.c_str());
  7060. Scripting::Get().ExecuteLua(commandline);
  7061. std::memset(commandline, 0, sizeof(commandline));
  7062. }
  7063. if (ImGui::Button("Preset_Masamune_Military")) {
  7064. std::string doublequote = "\"";
  7065. std::string power = "Game.AddToInventory(" + doublequote;
  7066. std::string ofdark = "Items.Preset_Masamune_Military" + doublequote;
  7067. std::string ofdarkside = power + ofdark;
  7068. std::string powerof = ofdarkside + ", 1)";
  7069. char* commandline = new char[powerof.length() + 1];
  7070. strcpy(commandline, powerof.c_str());
  7071. Scripting::Get().ExecuteLua(commandline);
  7072. std::memset(commandline, 0, sizeof(commandline));
  7073. }
  7074. if (ImGui::Button("Preset_Masamune_Neon")) {
  7075. std::string doublequote = "\"";
  7076. std::string power = "Game.AddToInventory(" + doublequote;
  7077. std::string ofdark = "Items.Preset_Masamune_Neon" + doublequote;
  7078. std::string ofdarkside = power + ofdark;
  7079. std::string powerof = ofdarkside + ", 1)";
  7080. char* commandline = new char[powerof.length() + 1];
  7081. strcpy(commandline, powerof.c_str());
  7082. Scripting::Get().ExecuteLua(commandline);
  7083. std::memset(commandline, 0, sizeof(commandline));
  7084. }
  7085. if (ImGui::Button("Preset_Masamune_Pimp")) {
  7086. std::string doublequote = "\"";
  7087. std::string power = "Game.AddToInventory(" + doublequote;
  7088. std::string ofdark = "Items.Preset_Masamune_Pimp" + doublequote;
  7089. std::string ofdarkside = power + ofdark;
  7090. std::string powerof = ofdarkside + ", 1)";
  7091. char* commandline = new char[powerof.length() + 1];
  7092. strcpy(commandline, powerof.c_str());
  7093. Scripting::Get().ExecuteLua(commandline);
  7094. std::memset(commandline, 0, sizeof(commandline));
  7095. }
  7096. if (ImGui::Button("Preset_Masamune_Rogue")) {
  7097. std::string doublequote = "\"";
  7098. std::string power = "Game.AddToInventory(" + doublequote;
  7099. std::string ofdark = "Items.Preset_Masamune_Rogue" + doublequote;
  7100. std::string ofdarkside = power + ofdark;
  7101. std::string powerof = ofdarkside + ", 1)";
  7102. char* commandline = new char[powerof.length() + 1];
  7103. strcpy(commandline, powerof.c_str());
  7104. Scripting::Get().ExecuteLua(commandline);
  7105. std::memset(commandline, 0, sizeof(commandline));
  7106. }
  7107. if (ImGui::Button("Preset_Masamune_Scope")) {
  7108. std::string doublequote = "\"";
  7109. std::string power = "Game.AddToInventory(" + doublequote;
  7110. std::string ofdark = "Items.Preset_Masamune_Scope" + doublequote;
  7111. std::string ofdarkside = power + ofdark;
  7112. std::string powerof = ofdarkside + ", 1)";
  7113. char* commandline = new char[powerof.length() + 1];
  7114. strcpy(commandline, powerof.c_str());
  7115. Scripting::Get().ExecuteLua(commandline);
  7116. std::memset(commandline, 0, sizeof(commandline));
  7117. }
  7118. if (ImGui::Button("Preset_Masamune_Trauma")) {
  7119. std::string doublequote = "\"";
  7120. std::string power = "Game.AddToInventory(" + doublequote;
  7121. std::string ofdark = "Items.Preset_Masamune_Trauma" + doublequote;
  7122. std::string ofdarkside = power + ofdark;
  7123. std::string powerof = ofdarkside + ", 1)";
  7124. char* commandline = new char[powerof.length() + 1];
  7125. strcpy(commandline, powerof.c_str());
  7126. Scripting::Get().ExecuteLua(commandline);
  7127. std::memset(commandline, 0, sizeof(commandline));
  7128. }
  7129. if (ImGui::Button("Preset_MQ008_Nova")) {
  7130. std::string doublequote = "\"";
  7131. std::string power = "Game.AddToInventory(" + doublequote;
  7132. std::string ofdark = "Items.Preset_MQ008_Nova" + doublequote;
  7133. std::string ofdarkside = power + ofdark;
  7134. std::string powerof = ofdarkside + ", 1)";
  7135. char* commandline = new char[powerof.length() + 1];
  7136. strcpy(commandline, powerof.c_str());
  7137. Scripting::Get().ExecuteLua(commandline);
  7138. std::memset(commandline, 0, sizeof(commandline));
  7139. }
  7140. if (ImGui::Button("Preset_Nekomata_Breakthrough")) {
  7141. std::string doublequote = "\"";
  7142. std::string power = "Game.AddToInventory(" + doublequote;
  7143. std::string ofdark = "Items.Preset_Nekomata_Breakthrough" + doublequote;
  7144. std::string ofdarkside = power + ofdark;
  7145. std::string powerof = ofdarkside + ", 1)";
  7146. char* commandline = new char[powerof.length() + 1];
  7147. strcpy(commandline, powerof.c_str());
  7148. Scripting::Get().ExecuteLua(commandline);
  7149. std::memset(commandline, 0, sizeof(commandline));
  7150. }
  7151. if (ImGui::Button("Preset_Nekomata_Default")) {
  7152. std::string doublequote = "\"";
  7153. std::string power = "Game.AddToInventory(" + doublequote;
  7154. std::string ofdark = "Items.Preset_Nekomata_Default" + doublequote;
  7155. std::string ofdarkside = power + ofdark;
  7156. std::string powerof = ofdarkside + ", 1)";
  7157. char* commandline = new char[powerof.length() + 1];
  7158. strcpy(commandline, powerof.c_str());
  7159. Scripting::Get().ExecuteLua(commandline);
  7160. std::memset(commandline, 0, sizeof(commandline));
  7161. }
  7162. if (ImGui::Button("Preset_Nekomata_Military")) {
  7163. std::string doublequote = "\"";
  7164. std::string power = "Game.AddToInventory(" + doublequote;
  7165. std::string ofdark = "Items.Preset_Nekomata_Military" + doublequote;
  7166. std::string ofdarkside = power + ofdark;
  7167. std::string powerof = ofdarkside + ", 1)";
  7168. char* commandline = new char[powerof.length() + 1];
  7169. strcpy(commandline, powerof.c_str());
  7170. Scripting::Get().ExecuteLua(commandline);
  7171. std::memset(commandline, 0, sizeof(commandline));
  7172. }
  7173. if (ImGui::Button("Preset_Nekomata_Neon")) {
  7174. std::string doublequote = "\"";
  7175. std::string power = "Game.AddToInventory(" + doublequote;
  7176. std::string ofdark = "Items.Preset_Nekomata_Neon" + doublequote;
  7177. std::string ofdarkside = power + ofdark;
  7178. std::string powerof = ofdarkside + ", 1)";
  7179. char* commandline = new char[powerof.length() + 1];
  7180. strcpy(commandline, powerof.c_str());
  7181. Scripting::Get().ExecuteLua(commandline);
  7182. std::memset(commandline, 0, sizeof(commandline));
  7183. }
  7184. if (ImGui::Button("Preset_Nekomata_Pimp")) {
  7185. std::string doublequote = "\"";
  7186. std::string power = "Game.AddToInventory(" + doublequote;
  7187. std::string ofdark = "Items.Preset_Nekomata_Pimp" + doublequote;
  7188. std::string ofdarkside = power + ofdark;
  7189. std::string powerof = ofdarkside + ", 1)";
  7190. char* commandline = new char[powerof.length() + 1];
  7191. strcpy(commandline, powerof.c_str());
  7192. Scripting::Get().ExecuteLua(commandline);
  7193. std::memset(commandline, 0, sizeof(commandline));
  7194. }
  7195. if (ImGui::Button("Preset_Nova_Default")) {
  7196. std::string doublequote = "\"";
  7197. std::string power = "Game.AddToInventory(" + doublequote;
  7198. std::string ofdark = "Items.Preset_Nova_Default" + doublequote;
  7199. std::string ofdarkside = power + ofdark;
  7200. std::string powerof = ofdarkside + ", 1)";
  7201. char* commandline = new char[powerof.length() + 1];
  7202. strcpy(commandline, powerof.c_str());
  7203. Scripting::Get().ExecuteLua(commandline);
  7204. std::memset(commandline, 0, sizeof(commandline));
  7205. }
  7206. if (ImGui::Button("Preset_Nova_Doom_Doom")) {
  7207. std::string doublequote = "\"";
  7208. std::string power = "Game.AddToInventory(" + doublequote;
  7209. std::string ofdark = "Items.Preset_Nova_Doom_Doom" + doublequote;
  7210. std::string ofdarkside = power + ofdark;
  7211. std::string powerof = ofdarkside + ", 1)";
  7212. char* commandline = new char[powerof.length() + 1];
  7213. strcpy(commandline, powerof.c_str());
  7214. Scripting::Get().ExecuteLua(commandline);
  7215. std::memset(commandline, 0, sizeof(commandline));
  7216. }
  7217. if (ImGui::Button("Preset_Nova_Military")) {
  7218. std::string doublequote = "\"";
  7219. std::string power = "Game.AddToInventory(" + doublequote;
  7220. std::string ofdark = "Items.Preset_Nova_Military" + doublequote;
  7221. std::string ofdarkside = power + ofdark;
  7222. std::string powerof = ofdarkside + ", 1)";
  7223. char* commandline = new char[powerof.length() + 1];
  7224. strcpy(commandline, powerof.c_str());
  7225. Scripting::Get().ExecuteLua(commandline);
  7226. std::memset(commandline, 0, sizeof(commandline));
  7227. }
  7228. if (ImGui::Button("Preset_Nova_Neon")) {
  7229. std::string doublequote = "\"";
  7230. std::string power = "Game.AddToInventory(" + doublequote;
  7231. std::string ofdark = "Items.Preset_Nova_Neon" + doublequote;
  7232. std::string ofdarkside = power + ofdark;
  7233. std::string powerof = ofdarkside + ", 1)";
  7234. char* commandline = new char[powerof.length() + 1];
  7235. strcpy(commandline, powerof.c_str());
  7236. Scripting::Get().ExecuteLua(commandline);
  7237. std::memset(commandline, 0, sizeof(commandline));
  7238. }
  7239. if (ImGui::Button("Preset_Nova_Pimp")) {
  7240. std::string doublequote = "\"";
  7241. std::string power = "Game.AddToInventory(" + doublequote;
  7242. std::string ofdark = "Items.Preset_Nova_Pimp" + doublequote;
  7243. std::string ofdarkside = power + ofdark;
  7244. std::string powerof = ofdarkside + ", 1)";
  7245. char* commandline = new char[powerof.length() + 1];
  7246. strcpy(commandline, powerof.c_str());
  7247. Scripting::Get().ExecuteLua(commandline);
  7248. std::memset(commandline, 0, sizeof(commandline));
  7249. }
  7250. if (ImGui::Button("Preset_Nova_Q000_Nomad")) {
  7251. std::string doublequote = "\"";
  7252. std::string power = "Game.AddToInventory(" + doublequote;
  7253. std::string ofdark = "Items.Preset_Nova_Q000_Nomad" + doublequote;
  7254. std::string ofdarkside = power + ofdark;
  7255. std::string powerof = ofdarkside + ", 1)";
  7256. char* commandline = new char[powerof.length() + 1];
  7257. strcpy(commandline, powerof.c_str());
  7258. Scripting::Get().ExecuteLua(commandline);
  7259. std::memset(commandline, 0, sizeof(commandline));
  7260. }
  7261. if (ImGui::Button("Preset_Nue_Arasaka")) {
  7262. std::string doublequote = "\"";
  7263. std::string power = "Game.AddToInventory(" + doublequote;
  7264. std::string ofdark = "Items.Preset_Nue_Arasaka" + doublequote;
  7265. std::string ofdarkside = power + ofdark;
  7266. std::string powerof = ofdarkside + ", 1)";
  7267. char* commandline = new char[powerof.length() + 1];
  7268. strcpy(commandline, powerof.c_str());
  7269. Scripting::Get().ExecuteLua(commandline);
  7270. std::memset(commandline, 0, sizeof(commandline));
  7271. }
  7272. if (ImGui::Button("Preset_Nue_Arasaka_2020")) {
  7273. std::string doublequote = "\"";
  7274. std::string power = "Game.AddToInventory(" + doublequote;
  7275. std::string ofdark = "Items.Preset_Nue_Arasaka_2020" + doublequote;
  7276. std::string ofdarkside = power + ofdark;
  7277. std::string powerof = ofdarkside + ", 1)";
  7278. char* commandline = new char[powerof.length() + 1];
  7279. strcpy(commandline, powerof.c_str());
  7280. Scripting::Get().ExecuteLua(commandline);
  7281. std::memset(commandline, 0, sizeof(commandline));
  7282. }
  7283. if (ImGui::Button("Preset_Nue_Default")) {
  7284. std::string doublequote = "\"";
  7285. std::string power = "Game.AddToInventory(" + doublequote;
  7286. std::string ofdark = "Items.Preset_Nue_Default" + doublequote;
  7287. std::string ofdarkside = power + ofdark;
  7288. std::string powerof = ofdarkside + ", 1)";
  7289. char* commandline = new char[powerof.length() + 1];
  7290. strcpy(commandline, powerof.c_str());
  7291. Scripting::Get().ExecuteLua(commandline);
  7292. std::memset(commandline, 0, sizeof(commandline));
  7293. }
  7294. if (ImGui::Button("Preset_Nue_Jackie")) {
  7295. std::string doublequote = "\"";
  7296. std::string power = "Game.AddToInventory(" + doublequote;
  7297. std::string ofdark = "Items.Preset_Nue_Jackie" + doublequote;
  7298. std::string ofdarkside = power + ofdark;
  7299. std::string powerof = ofdarkside + ", 1)";
  7300. char* commandline = new char[powerof.length() + 1];
  7301. strcpy(commandline, powerof.c_str());
  7302. Scripting::Get().ExecuteLua(commandline);
  7303. std::memset(commandline, 0, sizeof(commandline));
  7304. }
  7305. if (ImGui::Button("Preset_Nue_Maiko")) {
  7306. std::string doublequote = "\"";
  7307. std::string power = "Game.AddToInventory(" + doublequote;
  7308. std::string ofdark = "Items.Preset_Nue_Maiko" + doublequote;
  7309. std::string ofdarkside = power + ofdark;
  7310. std::string powerof = ofdarkside + ", 1)";
  7311. char* commandline = new char[powerof.length() + 1];
  7312. strcpy(commandline, powerof.c_str());
  7313. Scripting::Get().ExecuteLua(commandline);
  7314. std::memset(commandline, 0, sizeof(commandline));
  7315. }
  7316. if (ImGui::Button("Preset_Nue_Military")) {
  7317. std::string doublequote = "\"";
  7318. std::string power = "Game.AddToInventory(" + doublequote;
  7319. std::string ofdark = "Items.Preset_Nue_Military" + doublequote;
  7320. std::string ofdarkside = power + ofdark;
  7321. std::string powerof = ofdarkside + ", 1)";
  7322. char* commandline = new char[powerof.length() + 1];
  7323. strcpy(commandline, powerof.c_str());
  7324. Scripting::Get().ExecuteLua(commandline);
  7325. std::memset(commandline, 0, sizeof(commandline));
  7326. }
  7327. if (ImGui::Button("Preset_Nue_Neon")) {
  7328. std::string doublequote = "\"";
  7329. std::string power = "Game.AddToInventory(" + doublequote;
  7330. std::string ofdark = "Items.Preset_Nue_Neon" + doublequote;
  7331. std::string ofdarkside = power + ofdark;
  7332. std::string powerof = ofdarkside + ", 1)";
  7333. char* commandline = new char[powerof.length() + 1];
  7334. strcpy(commandline, powerof.c_str());
  7335. Scripting::Get().ExecuteLua(commandline);
  7336. std::memset(commandline, 0, sizeof(commandline));
  7337. }
  7338. if (ImGui::Button("Preset_Omaha_Default")) {
  7339. std::string doublequote = "\"";
  7340. std::string power = "Game.AddToInventory(" + doublequote;
  7341. std::string ofdark = "Items.Preset_Omaha_Default" + doublequote;
  7342. std::string ofdarkside = power + ofdark;
  7343. std::string powerof = ofdarkside + ", 1)";
  7344. char* commandline = new char[powerof.length() + 1];
  7345. strcpy(commandline, powerof.c_str());
  7346. Scripting::Get().ExecuteLua(commandline);
  7347. std::memset(commandline, 0, sizeof(commandline));
  7348. }
  7349. if (ImGui::Button("Preset_Omaha_Military")) {
  7350. std::string doublequote = "\"";
  7351. std::string power = "Game.AddToInventory(" + doublequote;
  7352. std::string ofdark = "Items.Preset_Omaha_Military" + doublequote;
  7353. std::string ofdarkside = power + ofdark;
  7354. std::string powerof = ofdarkside + ", 1)";
  7355. char* commandline = new char[powerof.length() + 1];
  7356. strcpy(commandline, powerof.c_str());
  7357. Scripting::Get().ExecuteLua(commandline);
  7358. std::memset(commandline, 0, sizeof(commandline));
  7359. }
  7360. if (ImGui::Button("Preset_Omaha_Neon")) {
  7361. std::string doublequote = "\"";
  7362. std::string power = "Game.AddToInventory(" + doublequote;
  7363. std::string ofdark = "Items.Preset_Omaha_Neon" + doublequote;
  7364. std::string ofdarkside = power + ofdark;
  7365. std::string powerof = ofdarkside + ", 1)";
  7366. char* commandline = new char[powerof.length() + 1];
  7367. strcpy(commandline, powerof.c_str());
  7368. Scripting::Get().ExecuteLua(commandline);
  7369. std::memset(commandline, 0, sizeof(commandline));
  7370. }
  7371. if (ImGui::Button("Preset_Omaha_Pimp")) {
  7372. std::string doublequote = "\"";
  7373. std::string power = "Game.AddToInventory(" + doublequote;
  7374. std::string ofdark = "Items.Preset_Omaha_Pimp" + doublequote;
  7375. std::string ofdarkside = power + ofdark;
  7376. std::string powerof = ofdarkside + ", 1)";
  7377. char* commandline = new char[powerof.length() + 1];
  7378. strcpy(commandline, powerof.c_str());
  7379. Scripting::Get().ExecuteLua(commandline);
  7380. std::memset(commandline, 0, sizeof(commandline));
  7381. }
  7382. if (ImGui::Button("Preset_Omaha_Suzie")) {
  7383. std::string doublequote = "\"";
  7384. std::string power = "Game.AddToInventory(" + doublequote;
  7385. std::string ofdark = "Items.Preset_Omaha_Suzie" + doublequote;
  7386. std::string ofdarkside = power + ofdark;
  7387. std::string powerof = ofdarkside + ", 1)";
  7388. char* commandline = new char[powerof.length() + 1];
  7389. strcpy(commandline, powerof.c_str());
  7390. Scripting::Get().ExecuteLua(commandline);
  7391. std::memset(commandline, 0, sizeof(commandline));
  7392. }
  7393. if (ImGui::Button("Preset_Overture_Cassidy")) {
  7394. std::string doublequote = "\"";
  7395. std::string power = "Game.AddToInventory(" + doublequote;
  7396. std::string ofdark = "Items.Preset_Overture_Cassidy" + doublequote;
  7397. std::string ofdarkside = power + ofdark;
  7398. std::string powerof = ofdarkside + ", 1)";
  7399. char* commandline = new char[powerof.length() + 1];
  7400. strcpy(commandline, powerof.c_str());
  7401. Scripting::Get().ExecuteLua(commandline);
  7402. std::memset(commandline, 0, sizeof(commandline));
  7403. }
  7404. if (ImGui::Button("Preset_Overture_Default")) {
  7405. std::string doublequote = "\"";
  7406. std::string power = "Game.AddToInventory(" + doublequote;
  7407. std::string ofdark = "Items.Preset_Overture_Default" + doublequote;
  7408. std::string ofdarkside = power + ofdark;
  7409. std::string powerof = ofdarkside + ", 1)";
  7410. char* commandline = new char[powerof.length() + 1];
  7411. strcpy(commandline, powerof.c_str());
  7412. Scripting::Get().ExecuteLua(commandline);
  7413. std::memset(commandline, 0, sizeof(commandline));
  7414. }
  7415. if (ImGui::Button("Preset_Overture_Default_E")) {
  7416. std::string doublequote = "\"";
  7417. std::string power = "Game.AddToInventory(" + doublequote;
  7418. std::string ofdark = "Items.Preset_Overture_Default_E" + doublequote;
  7419. std::string ofdarkside = power + ofdark;
  7420. std::string powerof = ofdarkside + ", 1)";
  7421. char* commandline = new char[powerof.length() + 1];
  7422. strcpy(commandline, powerof.c_str());
  7423. Scripting::Get().ExecuteLua(commandline);
  7424. std::memset(commandline, 0, sizeof(commandline));
  7425. }
  7426. if (ImGui::Button("Preset_Overture_Default_L")) {
  7427. std::string doublequote = "\"";
  7428. std::string power = "Game.AddToInventory(" + doublequote;
  7429. std::string ofdark = "Items.Preset_Overture_Default_L" + doublequote;
  7430. std::string ofdarkside = power + ofdark;
  7431. std::string powerof = ofdarkside + ", 1)";
  7432. char* commandline = new char[powerof.length() + 1];
  7433. strcpy(commandline, powerof.c_str());
  7434. Scripting::Get().ExecuteLua(commandline);
  7435. std::memset(commandline, 0, sizeof(commandline));
  7436. }
  7437. if (ImGui::Button("Preset_Overture_Default_R")) {
  7438. std::string doublequote = "\"";
  7439. std::string power = "Game.AddToInventory(" + doublequote;
  7440. std::string ofdark = "Items.Preset_Overture_Default_R" + doublequote;
  7441. std::string ofdarkside = power + ofdark;
  7442. std::string powerof = ofdarkside + ", 1)";
  7443. char* commandline = new char[powerof.length() + 1];
  7444. strcpy(commandline, powerof.c_str());
  7445. Scripting::Get().ExecuteLua(commandline);
  7446. std::memset(commandline, 0, sizeof(commandline));
  7447. }
  7448. if (ImGui::Button("Preset_Overture_Default_U")) {
  7449. std::string doublequote = "\"";
  7450. std::string power = "Game.AddToInventory(" + doublequote;
  7451. std::string ofdark = "Items.Preset_Overture_Default_U" + doublequote;
  7452. std::string ofdarkside = power + ofdark;
  7453. std::string powerof = ofdarkside + ", 1)";
  7454. char* commandline = new char[powerof.length() + 1];
  7455. strcpy(commandline, powerof.c_str());
  7456. Scripting::Get().ExecuteLua(commandline);
  7457. std::memset(commandline, 0, sizeof(commandline));
  7458. }
  7459. if (ImGui::Button("Preset_Overture_Kerry")) {
  7460. std::string doublequote = "\"";
  7461. std::string power = "Game.AddToInventory(" + doublequote;
  7462. std::string ofdark = "Items.Preset_Overture_Kerry" + doublequote;
  7463. std::string ofdarkside = power + ofdark;
  7464. std::string powerof = ofdarkside + ", 1)";
  7465. char* commandline = new char[powerof.length() + 1];
  7466. strcpy(commandline, powerof.c_str());
  7467. Scripting::Get().ExecuteLua(commandline);
  7468. std::memset(commandline, 0, sizeof(commandline));
  7469. }
  7470. if (ImGui::Button("Preset_Overture_Legendary")) {
  7471. std::string doublequote = "\"";
  7472. std::string power = "Game.AddToInventory(" + doublequote;
  7473. std::string ofdark = "Items.Preset_Overture_Legendary" + doublequote;
  7474. std::string ofdarkside = power + ofdark;
  7475. std::string powerof = ofdarkside + ", 1)";
  7476. char* commandline = new char[powerof.length() + 1];
  7477. strcpy(commandline, powerof.c_str());
  7478. Scripting::Get().ExecuteLua(commandline);
  7479. std::memset(commandline, 0, sizeof(commandline));
  7480. }
  7481. if (ImGui::Button("Preset_Overture_Military")) {
  7482. std::string doublequote = "\"";
  7483. std::string power = "Game.AddToInventory(" + doublequote;
  7484. std::string ofdark = "Items.Preset_Overture_Military" + doublequote;
  7485. std::string ofdarkside = power + ofdark;
  7486. std::string powerof = ofdarkside + ", 1)";
  7487. char* commandline = new char[powerof.length() + 1];
  7488. strcpy(commandline, powerof.c_str());
  7489. Scripting::Get().ExecuteLua(commandline);
  7490. std::memset(commandline, 0, sizeof(commandline));
  7491. }
  7492. if (ImGui::Button("Preset_Overture_Neon")) {
  7493. std::string doublequote = "\"";
  7494. std::string power = "Game.AddToInventory(" + doublequote;
  7495. std::string ofdark = "Items.Preset_Overture_Neon" + doublequote;
  7496. std::string ofdarkside = power + ofdark;
  7497. std::string powerof = ofdarkside + ", 1)";
  7498. char* commandline = new char[powerof.length() + 1];
  7499. strcpy(commandline, powerof.c_str());
  7500. Scripting::Get().ExecuteLua(commandline);
  7501. std::memset(commandline, 0, sizeof(commandline));
  7502. }
  7503. if (ImGui::Button("Preset_Overture_Pimp")) {
  7504. std::string doublequote = "\"";
  7505. std::string power = "Game.AddToInventory(" + doublequote;
  7506. std::string ofdark = "Items.Preset_Overture_Pimp" + doublequote;
  7507. std::string ofdarkside = power + ofdark;
  7508. std::string powerof = ofdarkside + ", 1)";
  7509. char* commandline = new char[powerof.length() + 1];
  7510. strcpy(commandline, powerof.c_str());
  7511. Scripting::Get().ExecuteLua(commandline);
  7512. std::memset(commandline, 0, sizeof(commandline));
  7513. }
  7514. if (ImGui::Button("Preset_Overture_River")) {
  7515. std::string doublequote = "\"";
  7516. std::string power = "Game.AddToInventory(" + doublequote;
  7517. std::string ofdark = "Items.Preset_Overture_River" + doublequote;
  7518. std::string ofdarkside = power + ofdark;
  7519. std::string powerof = ofdarkside + ", 1)";
  7520. char* commandline = new char[powerof.length() + 1];
  7521. strcpy(commandline, powerof.c_str());
  7522. Scripting::Get().ExecuteLua(commandline);
  7523. std::memset(commandline, 0, sizeof(commandline));
  7524. }
  7525. if (ImGui::Button("Preset_Palica_Default")) {
  7526. std::string doublequote = "\"";
  7527. std::string power = "Game.AddToInventory(" + doublequote;
  7528. std::string ofdark = "Items.Preset_Palica_Default" + doublequote;
  7529. std::string ofdarkside = power + ofdark;
  7530. std::string powerof = ofdarkside + ", 1)";
  7531. char* commandline = new char[powerof.length() + 1];
  7532. strcpy(commandline, powerof.c_str());
  7533. Scripting::Get().ExecuteLua(commandline);
  7534. std::memset(commandline, 0, sizeof(commandline));
  7535. }
  7536. if (ImGui::Button("Preset_Palica_Military")) {
  7537. std::string doublequote = "\"";
  7538. std::string power = "Game.AddToInventory(" + doublequote;
  7539. std::string ofdark = "Items.Preset_Palica_Military" + doublequote;
  7540. std::string ofdarkside = power + ofdark;
  7541. std::string powerof = ofdarkside + ", 1)";
  7542. char* commandline = new char[powerof.length() + 1];
  7543. strcpy(commandline, powerof.c_str());
  7544. Scripting::Get().ExecuteLua(commandline);
  7545. std::memset(commandline, 0, sizeof(commandline));
  7546. }
  7547. if (ImGui::Button("Preset_Palica_Neon")) {
  7548. std::string doublequote = "\"";
  7549. std::string power = "Game.AddToInventory(" + doublequote;
  7550. std::string ofdark = "Items.Preset_Palica_Neon" + doublequote;
  7551. std::string ofdarkside = power + ofdark;
  7552. std::string powerof = ofdarkside + ", 1)";
  7553. char* commandline = new char[powerof.length() + 1];
  7554. strcpy(commandline, powerof.c_str());
  7555. Scripting::Get().ExecuteLua(commandline);
  7556. std::memset(commandline, 0, sizeof(commandline));
  7557. }
  7558. if (ImGui::Button("Preset_Palica_Pimp")) {
  7559. std::string doublequote = "\"";
  7560. std::string power = "Game.AddToInventory(" + doublequote;
  7561. std::string ofdark = "Items.Preset_Palica_Pimp" + doublequote;
  7562. std::string ofdarkside = power + ofdark;
  7563. std::string powerof = ofdarkside + ", 1)";
  7564. char* commandline = new char[powerof.length() + 1];
  7565. strcpy(commandline, powerof.c_str());
  7566. Scripting::Get().ExecuteLua(commandline);
  7567. std::memset(commandline, 0, sizeof(commandline));
  7568. }
  7569. if (ImGui::Button("Preset_Pipe_Wrench_Default")) {
  7570. std::string doublequote = "\"";
  7571. std::string power = "Game.AddToInventory(" + doublequote;
  7572. std::string ofdark = "Items.Preset_Pipe_Wrench_Default" + doublequote;
  7573. std::string ofdarkside = power + ofdark;
  7574. std::string powerof = ofdarkside + ", 1)";
  7575. char* commandline = new char[powerof.length() + 1];
  7576. strcpy(commandline, powerof.c_str());
  7577. Scripting::Get().ExecuteLua(commandline);
  7578. std::memset(commandline, 0, sizeof(commandline));
  7579. }
  7580. if (ImGui::Button("Preset_Pulsar_Buzzsaw")) {
  7581. std::string doublequote = "\"";
  7582. std::string power = "Game.AddToInventory(" + doublequote;
  7583. std::string ofdark = "Items.Preset_Pulsar_Buzzsaw" + doublequote;
  7584. std::string ofdarkside = power + ofdark;
  7585. std::string powerof = ofdarkside + ", 1)";
  7586. char* commandline = new char[powerof.length() + 1];
  7587. strcpy(commandline, powerof.c_str());
  7588. Scripting::Get().ExecuteLua(commandline);
  7589. std::memset(commandline, 0, sizeof(commandline));
  7590. }
  7591. if (ImGui::Button("Preset_Pulsar_Default")) {
  7592. std::string doublequote = "\"";
  7593. std::string power = "Game.AddToInventory(" + doublequote;
  7594. std::string ofdark = "Items.Preset_Pulsar_Default" + doublequote;
  7595. std::string ofdarkside = power + ofdark;
  7596. std::string powerof = ofdarkside + ", 1)";
  7597. char* commandline = new char[powerof.length() + 1];
  7598. strcpy(commandline, powerof.c_str());
  7599. Scripting::Get().ExecuteLua(commandline);
  7600. std::memset(commandline, 0, sizeof(commandline));
  7601. }
  7602. if (ImGui::Button("Preset_Pulsar_Military")) {
  7603. std::string doublequote = "\"";
  7604. std::string power = "Game.AddToInventory(" + doublequote;
  7605. std::string ofdark = "Items.Preset_Pulsar_Military" + doublequote;
  7606. std::string ofdarkside = power + ofdark;
  7607. std::string powerof = ofdarkside + ", 1)";
  7608. char* commandline = new char[powerof.length() + 1];
  7609. strcpy(commandline, powerof.c_str());
  7610. Scripting::Get().ExecuteLua(commandline);
  7611. std::memset(commandline, 0, sizeof(commandline));
  7612. }
  7613. if (ImGui::Button("Preset_Pulsar_Neon")) {
  7614. std::string doublequote = "\"";
  7615. std::string power = "Game.AddToInventory(" + doublequote;
  7616. std::string ofdark = "Items.Preset_Pulsar_Neon" + doublequote;
  7617. std::string ofdarkside = power + ofdark;
  7618. std::string powerof = ofdarkside + ", 1)";
  7619. char* commandline = new char[powerof.length() + 1];
  7620. strcpy(commandline, powerof.c_str());
  7621. Scripting::Get().ExecuteLua(commandline);
  7622. std::memset(commandline, 0, sizeof(commandline));
  7623. }
  7624. if (ImGui::Button("Preset_Pulsar_Pimp")) {
  7625. std::string doublequote = "\"";
  7626. std::string power = "Game.AddToInventory(" + doublequote;
  7627. std::string ofdark = "Items.Preset_Pulsar_Pimp" + doublequote;
  7628. std::string ofdarkside = power + ofdark;
  7629. std::string powerof = ofdarkside + ", 1)";
  7630. char* commandline = new char[powerof.length() + 1];
  7631. strcpy(commandline, powerof.c_str());
  7632. Scripting::Get().ExecuteLua(commandline);
  7633. std::memset(commandline, 0, sizeof(commandline));
  7634. }
  7635. if (ImGui::Button("Preset_Q001_Lexington")) {
  7636. std::string doublequote = "\"";
  7637. std::string power = "Game.AddToInventory(" + doublequote;
  7638. std::string ofdark = "Items.Preset_Q001_Lexington" + doublequote;
  7639. std::string ofdarkside = power + ofdark;
  7640. std::string powerof = ofdarkside + ", 1)";
  7641. char* commandline = new char[powerof.length() + 1];
  7642. strcpy(commandline, powerof.c_str());
  7643. Scripting::Get().ExecuteLua(commandline);
  7644. std::memset(commandline, 0, sizeof(commandline));
  7645. }
  7646. if (ImGui::Button("Preset_Quasar_Default")) {
  7647. std::string doublequote = "\"";
  7648. std::string power = "Game.AddToInventory(" + doublequote;
  7649. std::string ofdark = "Items.Preset_Quasar_Default" + doublequote;
  7650. std::string ofdarkside = power + ofdark;
  7651. std::string powerof = ofdarkside + ", 1)";
  7652. char* commandline = new char[powerof.length() + 1];
  7653. strcpy(commandline, powerof.c_str());
  7654. Scripting::Get().ExecuteLua(commandline);
  7655. std::memset(commandline, 0, sizeof(commandline));
  7656. }
  7657. if (ImGui::Button("Preset_Quasar_Military")) {
  7658. std::string doublequote = "\"";
  7659. std::string power = "Game.AddToInventory(" + doublequote;
  7660. std::string ofdark = "Items.Preset_Quasar_Military" + doublequote;
  7661. std::string ofdarkside = power + ofdark;
  7662. std::string powerof = ofdarkside + ", 1)";
  7663. char* commandline = new char[powerof.length() + 1];
  7664. strcpy(commandline, powerof.c_str());
  7665. Scripting::Get().ExecuteLua(commandline);
  7666. std::memset(commandline, 0, sizeof(commandline));
  7667. }
  7668. if (ImGui::Button("Preset_Quasar_Neon")) {
  7669. std::string doublequote = "\"";
  7670. std::string power = "Game.AddToInventory(" + doublequote;
  7671. std::string ofdark = "Items.Preset_Quasar_Neon" + doublequote;
  7672. std::string ofdarkside = power + ofdark;
  7673. std::string powerof = ofdarkside + ", 1)";
  7674. char* commandline = new char[powerof.length() + 1];
  7675. strcpy(commandline, powerof.c_str());
  7676. Scripting::Get().ExecuteLua(commandline);
  7677. std::memset(commandline, 0, sizeof(commandline));
  7678. }
  7679. if (ImGui::Button("Preset_Quasar_Pimp")) {
  7680. std::string doublequote = "\"";
  7681. std::string power = "Game.AddToInventory(" + doublequote;
  7682. std::string ofdark = "Items.Preset_Quasar_Pimp" + doublequote;
  7683. std::string ofdarkside = power + ofdark;
  7684. std::string powerof = ofdarkside + ", 1)";
  7685. char* commandline = new char[powerof.length() + 1];
  7686. strcpy(commandline, powerof.c_str());
  7687. Scripting::Get().ExecuteLua(commandline);
  7688. std::memset(commandline, 0, sizeof(commandline));
  7689. }
  7690. if (ImGui::Button("Preset_Saratoga_Arasaka_2020")) {
  7691. std::string doublequote = "\"";
  7692. std::string power = "Game.AddToInventory(" + doublequote;
  7693. std::string ofdark = "Items.Preset_Saratoga_Arasaka_2020" + doublequote;
  7694. std::string ofdarkside = power + ofdark;
  7695. std::string powerof = ofdarkside + ", 1)";
  7696. char* commandline = new char[powerof.length() + 1];
  7697. strcpy(commandline, powerof.c_str());
  7698. Scripting::Get().ExecuteLua(commandline);
  7699. std::memset(commandline, 0, sizeof(commandline));
  7700. }
  7701. if (ImGui::Button("Preset_Saratoga_Default")) {
  7702. std::string doublequote = "\"";
  7703. std::string power = "Game.AddToInventory(" + doublequote;
  7704. std::string ofdark = "Items.Preset_Saratoga_Default" + doublequote;
  7705. std::string ofdarkside = power + ofdark;
  7706. std::string powerof = ofdarkside + ", 1)";
  7707. char* commandline = new char[powerof.length() + 1];
  7708. strcpy(commandline, powerof.c_str());
  7709. Scripting::Get().ExecuteLua(commandline);
  7710. std::memset(commandline, 0, sizeof(commandline));
  7711. }
  7712. if (ImGui::Button("Preset_Saratoga_Maelstrom")) {
  7713. std::string doublequote = "\"";
  7714. std::string power = "Game.AddToInventory(" + doublequote;
  7715. std::string ofdark = "Items.Preset_Saratoga_Maelstrom" + doublequote;
  7716. std::string ofdarkside = power + ofdark;
  7717. std::string powerof = ofdarkside + ", 1)";
  7718. char* commandline = new char[powerof.length() + 1];
  7719. strcpy(commandline, powerof.c_str());
  7720. Scripting::Get().ExecuteLua(commandline);
  7721. std::memset(commandline, 0, sizeof(commandline));
  7722. }
  7723. if (ImGui::Button("Preset_Saratoga_Military")) {
  7724. std::string doublequote = "\"";
  7725. std::string power = "Game.AddToInventory(" + doublequote;
  7726. std::string ofdark = "Items.Preset_Saratoga_Military" + doublequote;
  7727. std::string ofdarkside = power + ofdark;
  7728. std::string powerof = ofdarkside + ", 1)";
  7729. char* commandline = new char[powerof.length() + 1];
  7730. strcpy(commandline, powerof.c_str());
  7731. Scripting::Get().ExecuteLua(commandline);
  7732. std::memset(commandline, 0, sizeof(commandline));
  7733. }
  7734. if (ImGui::Button("Preset_Saratoga_Neon")) {
  7735. std::string doublequote = "\"";
  7736. std::string power = "Game.AddToInventory(" + doublequote;
  7737. std::string ofdark = "Items.Preset_Saratoga_Neon" + doublequote;
  7738. std::string ofdarkside = power + ofdark;
  7739. std::string powerof = ofdarkside + ", 1)";
  7740. char* commandline = new char[powerof.length() + 1];
  7741. strcpy(commandline, powerof.c_str());
  7742. Scripting::Get().ExecuteLua(commandline);
  7743. std::memset(commandline, 0, sizeof(commandline));
  7744. }
  7745. if (ImGui::Button("Preset_Saratoga_Pimp")) {
  7746. std::string doublequote = "\"";
  7747. std::string power = "Game.AddToInventory(" + doublequote;
  7748. std::string ofdark = "Items.Preset_Saratoga_Pimp" + doublequote;
  7749. std::string ofdarkside = power + ofdark;
  7750. std::string powerof = ofdarkside + ", 1)";
  7751. char* commandline = new char[powerof.length() + 1];
  7752. strcpy(commandline, powerof.c_str());
  7753. Scripting::Get().ExecuteLua(commandline);
  7754. std::memset(commandline, 0, sizeof(commandline));
  7755. }
  7756. if (ImGui::Button("Preset_Saratoga_Raffen")) {
  7757. std::string doublequote = "\"";
  7758. std::string power = "Game.AddToInventory(" + doublequote;
  7759. std::string ofdark = "Items.Preset_Saratoga_Raffen" + doublequote;
  7760. std::string ofdarkside = power + ofdark;
  7761. std::string powerof = ofdarkside + ", 1)";
  7762. char* commandline = new char[powerof.length() + 1];
  7763. strcpy(commandline, powerof.c_str());
  7764. Scripting::Get().ExecuteLua(commandline);
  7765. std::memset(commandline, 0, sizeof(commandline));
  7766. }
  7767. if (ImGui::Button("Preset_Satara_Default")) {
  7768. std::string doublequote = "\"";
  7769. std::string power = "Game.AddToInventory(" + doublequote;
  7770. std::string ofdark = "Items.Preset_Satara_Default" + doublequote;
  7771. std::string ofdarkside = power + ofdark;
  7772. std::string powerof = ofdarkside + ", 1)";
  7773. char* commandline = new char[powerof.length() + 1];
  7774. strcpy(commandline, powerof.c_str());
  7775. Scripting::Get().ExecuteLua(commandline);
  7776. std::memset(commandline, 0, sizeof(commandline));
  7777. }
  7778. if (ImGui::Button("Preset_Satara_Military")) {
  7779. std::string doublequote = "\"";
  7780. std::string power = "Game.AddToInventory(" + doublequote;
  7781. std::string ofdark = "Items.Preset_Satara_Military" + doublequote;
  7782. std::string ofdarkside = power + ofdark;
  7783. std::string powerof = ofdarkside + ", 1)";
  7784. char* commandline = new char[powerof.length() + 1];
  7785. strcpy(commandline, powerof.c_str());
  7786. Scripting::Get().ExecuteLua(commandline);
  7787. std::memset(commandline, 0, sizeof(commandline));
  7788. }
  7789. if (ImGui::Button("Preset_Satara_Neon")) {
  7790. std::string doublequote = "\"";
  7791. std::string power = "Game.AddToInventory(" + doublequote;
  7792. std::string ofdark = "Items.Preset_Satara_Neon" + doublequote;
  7793. std::string ofdarkside = power + ofdark;
  7794. std::string powerof = ofdarkside + ", 1)";
  7795. char* commandline = new char[powerof.length() + 1];
  7796. strcpy(commandline, powerof.c_str());
  7797. Scripting::Get().ExecuteLua(commandline);
  7798. std::memset(commandline, 0, sizeof(commandline));
  7799. }
  7800. if (ImGui::Button("Preset_Satara_Pimp")) {
  7801. std::string doublequote = "\"";
  7802. std::string power = "Game.AddToInventory(" + doublequote;
  7803. std::string ofdark = "Items.Preset_Satara_Pimp" + doublequote;
  7804. std::string ofdarkside = power + ofdark;
  7805. std::string powerof = ofdarkside + ", 1)";
  7806. char* commandline = new char[powerof.length() + 1];
  7807. strcpy(commandline, powerof.c_str());
  7808. Scripting::Get().ExecuteLua(commandline);
  7809. std::memset(commandline, 0, sizeof(commandline));
  7810. }
  7811. if (ImGui::Button("Preset_Shingen_Default")) {
  7812. std::string doublequote = "\"";
  7813. std::string power = "Game.AddToInventory(" + doublequote;
  7814. std::string ofdark = "Items.Preset_Shingen_Default" + doublequote;
  7815. std::string ofdarkside = power + ofdark;
  7816. std::string powerof = ofdarkside + ", 1)";
  7817. char* commandline = new char[powerof.length() + 1];
  7818. strcpy(commandline, powerof.c_str());
  7819. Scripting::Get().ExecuteLua(commandline);
  7820. std::memset(commandline, 0, sizeof(commandline));
  7821. }
  7822. if (ImGui::Button("Preset_Shingen_Military")) {
  7823. std::string doublequote = "\"";
  7824. std::string power = "Game.AddToInventory(" + doublequote;
  7825. std::string ofdark = "Items.Preset_Shingen_Military" + doublequote;
  7826. std::string ofdarkside = power + ofdark;
  7827. std::string powerof = ofdarkside + ", 1)";
  7828. char* commandline = new char[powerof.length() + 1];
  7829. strcpy(commandline, powerof.c_str());
  7830. Scripting::Get().ExecuteLua(commandline);
  7831. std::memset(commandline, 0, sizeof(commandline));
  7832. }
  7833. if (ImGui::Button("Preset_Shingen_Neon")) {
  7834. std::string doublequote = "\"";
  7835. std::string power = "Game.AddToInventory(" + doublequote;
  7836. std::string ofdark = "Items.Preset_Shingen_Neon" + doublequote;
  7837. std::string ofdarkside = power + ofdark;
  7838. std::string powerof = ofdarkside + ", 1)";
  7839. char* commandline = new char[powerof.length() + 1];
  7840. strcpy(commandline, powerof.c_str());
  7841. Scripting::Get().ExecuteLua(commandline);
  7842. std::memset(commandline, 0, sizeof(commandline));
  7843. }
  7844. if (ImGui::Button("Preset_Shingen_Pimp")) {
  7845. std::string doublequote = "\"";
  7846. std::string power = "Game.AddToInventory(" + doublequote;
  7847. std::string ofdark = "Items.Preset_Shingen_Pimp" + doublequote;
  7848. std::string ofdarkside = power + ofdark;
  7849. std::string powerof = ofdarkside + ", 1)";
  7850. char* commandline = new char[powerof.length() + 1];
  7851. strcpy(commandline, powerof.c_str());
  7852. Scripting::Get().ExecuteLua(commandline);
  7853. std::memset(commandline, 0, sizeof(commandline));
  7854. }
  7855. if (ImGui::Button("Preset_Shingen_Prototype")) {
  7856. std::string doublequote = "\"";
  7857. std::string power = "Game.AddToInventory(" + doublequote;
  7858. std::string ofdark = "Items.Preset_Shingen_Prototype" + doublequote;
  7859. std::string ofdarkside = power + ofdark;
  7860. std::string powerof = ofdarkside + ", 1)";
  7861. char* commandline = new char[powerof.length() + 1];
  7862. strcpy(commandline, powerof.c_str());
  7863. Scripting::Get().ExecuteLua(commandline);
  7864. std::memset(commandline, 0, sizeof(commandline));
  7865. }
  7866. if (ImGui::Button("Preset_Shovel_Caretaker")) {
  7867. std::string doublequote = "\"";
  7868. std::string power = "Game.AddToInventory(" + doublequote;
  7869. std::string ofdark = "Items.Preset_Shovel_Caretaker" + doublequote;
  7870. std::string ofdarkside = power + ofdark;
  7871. std::string powerof = ofdarkside + ", 1)";
  7872. char* commandline = new char[powerof.length() + 1];
  7873. strcpy(commandline, powerof.c_str());
  7874. Scripting::Get().ExecuteLua(commandline);
  7875. std::memset(commandline, 0, sizeof(commandline));
  7876. }
  7877. if (ImGui::Button("Preset_Sidewinder_Default")) {
  7878. std::string doublequote = "\"";
  7879. std::string power = "Game.AddToInventory(" + doublequote;
  7880. std::string ofdark = "Items.Preset_Sidewinder_Default" + doublequote;
  7881. std::string ofdarkside = power + ofdark;
  7882. std::string powerof = ofdarkside + ", 1)";
  7883. char* commandline = new char[powerof.length() + 1];
  7884. strcpy(commandline, powerof.c_str());
  7885. Scripting::Get().ExecuteLua(commandline);
  7886. std::memset(commandline, 0, sizeof(commandline));
  7887. }
  7888. if (ImGui::Button("Preset_Sidewinder_Divided")) {
  7889. std::string doublequote = "\"";
  7890. std::string power = "Game.AddToInventory(" + doublequote;
  7891. std::string ofdark = "Items.Preset_Sidewinder_Divided" + doublequote;
  7892. std::string ofdarkside = power + ofdark;
  7893. std::string powerof = ofdarkside + ", 1)";
  7894. char* commandline = new char[powerof.length() + 1];
  7895. strcpy(commandline, powerof.c_str());
  7896. Scripting::Get().ExecuteLua(commandline);
  7897. std::memset(commandline, 0, sizeof(commandline));
  7898. }
  7899. if (ImGui::Button("Preset_Sidewinder_Military")) {
  7900. std::string doublequote = "\"";
  7901. std::string power = "Game.AddToInventory(" + doublequote;
  7902. std::string ofdark = "Items.Preset_Sidewinder_Military" + doublequote;
  7903. std::string ofdarkside = power + ofdark;
  7904. std::string powerof = ofdarkside + ", 1)";
  7905. char* commandline = new char[powerof.length() + 1];
  7906. strcpy(commandline, powerof.c_str());
  7907. Scripting::Get().ExecuteLua(commandline);
  7908. std::memset(commandline, 0, sizeof(commandline));
  7909. }
  7910. if (ImGui::Button("Preset_Sidewinder_Neon")) {
  7911. std::string doublequote = "\"";
  7912. std::string power = "Game.AddToInventory(" + doublequote;
  7913. std::string ofdark = "Items.Preset_Sidewinder_Neon" + doublequote;
  7914. std::string ofdarkside = power + ofdark;
  7915. std::string powerof = ofdarkside + ", 1)";
  7916. char* commandline = new char[powerof.length() + 1];
  7917. strcpy(commandline, powerof.c_str());
  7918. Scripting::Get().ExecuteLua(commandline);
  7919. std::memset(commandline, 0, sizeof(commandline));
  7920. }
  7921. if (ImGui::Button("Preset_Sidewinder_Pimp")) {
  7922. std::string doublequote = "\"";
  7923. std::string power = "Game.AddToInventory(" + doublequote;
  7924. std::string ofdark = "Items.Preset_Sidewinder_Pimp" + doublequote;
  7925. std::string ofdarkside = power + ofdark;
  7926. std::string powerof = ofdarkside + ", 1)";
  7927. char* commandline = new char[powerof.length() + 1];
  7928. strcpy(commandline, powerof.c_str());
  7929. Scripting::Get().ExecuteLua(commandline);
  7930. std::memset(commandline, 0, sizeof(commandline));
  7931. }
  7932. if (ImGui::Button("Preset_Silverhand_3516")) {
  7933. std::string doublequote = "\"";
  7934. std::string power = "Game.AddToInventory(" + doublequote;
  7935. std::string ofdark = "Items.Preset_Silverhand_3516" + doublequote;
  7936. std::string ofdarkside = power + ofdark;
  7937. std::string powerof = ofdarkside + ", 1)";
  7938. char* commandline = new char[powerof.length() + 1];
  7939. strcpy(commandline, powerof.c_str());
  7940. Scripting::Get().ExecuteLua(commandline);
  7941. std::memset(commandline, 0, sizeof(commandline));
  7942. }
  7943. if (ImGui::Button("Preset_Sor22_Default")) {
  7944. std::string doublequote = "\"";
  7945. std::string power = "Game.AddToInventory(" + doublequote;
  7946. std::string ofdark = "Items.Preset_Sor22_Default" + doublequote;
  7947. std::string ofdarkside = power + ofdark;
  7948. std::string powerof = ofdarkside + ", 1)";
  7949. char* commandline = new char[powerof.length() + 1];
  7950. strcpy(commandline, powerof.c_str());
  7951. Scripting::Get().ExecuteLua(commandline);
  7952. std::memset(commandline, 0, sizeof(commandline));
  7953. }
  7954. if (ImGui::Button("Preset_Sor22_Military")) {
  7955. std::string doublequote = "\"";
  7956. std::string power = "Game.AddToInventory(" + doublequote;
  7957. std::string ofdark = "Items.Preset_Sor22_Military" + doublequote;
  7958. std::string ofdarkside = power + ofdark;
  7959. std::string powerof = ofdarkside + ", 1)";
  7960. char* commandline = new char[powerof.length() + 1];
  7961. strcpy(commandline, powerof.c_str());
  7962. Scripting::Get().ExecuteLua(commandline);
  7963. std::memset(commandline, 0, sizeof(commandline));
  7964. }
  7965. if (ImGui::Button("Preset_Sor22_Neon")) {
  7966. std::string doublequote = "\"";
  7967. std::string power = "Game.AddToInventory(" + doublequote;
  7968. std::string ofdark = "Items.Preset_Sor22_Neon" + doublequote;
  7969. std::string ofdarkside = power + ofdark;
  7970. std::string powerof = ofdarkside + ", 1)";
  7971. char* commandline = new char[powerof.length() + 1];
  7972. strcpy(commandline, powerof.c_str());
  7973. Scripting::Get().ExecuteLua(commandline);
  7974. std::memset(commandline, 0, sizeof(commandline));
  7975. }
  7976. if (ImGui::Button("Preset_Sor22_Pimp")) {
  7977. std::string doublequote = "\"";
  7978. std::string power = "Game.AddToInventory(" + doublequote;
  7979. std::string ofdark = "Items.Preset_Sor22_Pimp" + doublequote;
  7980. std::string ofdarkside = power + ofdark;
  7981. std::string powerof = ofdarkside + ", 1)";
  7982. char* commandline = new char[powerof.length() + 1];
  7983. strcpy(commandline, powerof.c_str());
  7984. Scripting::Get().ExecuteLua(commandline);
  7985. std::memset(commandline, 0, sizeof(commandline));
  7986. }
  7987. if (ImGui::Button("Preset_Tactician_Default")) {
  7988. std::string doublequote = "\"";
  7989. std::string power = "Game.AddToInventory(" + doublequote;
  7990. std::string ofdark = "Items.Preset_Tactician_Default" + doublequote;
  7991. std::string ofdarkside = power + ofdark;
  7992. std::string powerof = ofdarkside + ", 1)";
  7993. char* commandline = new char[powerof.length() + 1];
  7994. strcpy(commandline, powerof.c_str());
  7995. Scripting::Get().ExecuteLua(commandline);
  7996. std::memset(commandline, 0, sizeof(commandline));
  7997. }
  7998. if (ImGui::Button("Preset_Tactician_Headsman")) {
  7999. std::string doublequote = "\"";
  8000. std::string power = "Game.AddToInventory(" + doublequote;
  8001. std::string ofdark = "Items.Preset_Tactician_Headsman" + doublequote;
  8002. std::string ofdarkside = power + ofdark;
  8003. std::string powerof = ofdarkside + ", 1)";
  8004. char* commandline = new char[powerof.length() + 1];
  8005. strcpy(commandline, powerof.c_str());
  8006. Scripting::Get().ExecuteLua(commandline);
  8007. std::memset(commandline, 0, sizeof(commandline));
  8008. }
  8009. if (ImGui::Button("Preset_Tactician_Military")) {
  8010. std::string doublequote = "\"";
  8011. std::string power = "Game.AddToInventory(" + doublequote;
  8012. std::string ofdark = "Items.Preset_Tactician_Military" + doublequote;
  8013. std::string ofdarkside = power + ofdark;
  8014. std::string powerof = ofdarkside + ", 1)";
  8015. char* commandline = new char[powerof.length() + 1];
  8016. strcpy(commandline, powerof.c_str());
  8017. Scripting::Get().ExecuteLua(commandline);
  8018. std::memset(commandline, 0, sizeof(commandline));
  8019. }
  8020. if (ImGui::Button("Preset_Tactician_Neon")) {
  8021. std::string doublequote = "\"";
  8022. std::string power = "Game.AddToInventory(" + doublequote;
  8023. std::string ofdark = "Items.Preset_Tactician_Neon" + doublequote;
  8024. std::string ofdarkside = power + ofdark;
  8025. std::string powerof = ofdarkside + ", 1)";
  8026. char* commandline = new char[powerof.length() + 1];
  8027. strcpy(commandline, powerof.c_str());
  8028. Scripting::Get().ExecuteLua(commandline);
  8029. std::memset(commandline, 0, sizeof(commandline));
  8030. }
  8031. if (ImGui::Button("Preset_Tactician_Pimp")) {
  8032. std::string doublequote = "\"";
  8033. std::string power = "Game.AddToInventory(" + doublequote;
  8034. std::string ofdark = "Items.Preset_Tactician_Pimp" + doublequote;
  8035. std::string ofdarkside = power + ofdark;
  8036. std::string powerof = ofdarkside + ", 1)";
  8037. char* commandline = new char[powerof.length() + 1];
  8038. strcpy(commandline, powerof.c_str());
  8039. Scripting::Get().ExecuteLua(commandline);
  8040. std::memset(commandline, 0, sizeof(commandline));
  8041. }
  8042. if (ImGui::Button("Preset_Tanto_Default")) {
  8043. std::string doublequote = "\"";
  8044. std::string power = "Game.AddToInventory(" + doublequote;
  8045. std::string ofdark = "Items.Preset_Tanto_Default" + doublequote;
  8046. std::string ofdarkside = power + ofdark;
  8047. std::string powerof = ofdarkside + ", 1)";
  8048. char* commandline = new char[powerof.length() + 1];
  8049. strcpy(commandline, powerof.c_str());
  8050. Scripting::Get().ExecuteLua(commandline);
  8051. std::memset(commandline, 0, sizeof(commandline));
  8052. }
  8053. if (ImGui::Button("Preset_Testera_Default")) {
  8054. std::string doublequote = "\"";
  8055. std::string power = "Game.AddToInventory(" + doublequote;
  8056. std::string ofdark = "Items.Preset_Testera_Default" + doublequote;
  8057. std::string ofdarkside = power + ofdark;
  8058. std::string powerof = ofdarkside + ", 1)";
  8059. char* commandline = new char[powerof.length() + 1];
  8060. strcpy(commandline, powerof.c_str());
  8061. Scripting::Get().ExecuteLua(commandline);
  8062. std::memset(commandline, 0, sizeof(commandline));
  8063. }
  8064. if (ImGui::Button("Preset_Testera_Neon")) {
  8065. std::string doublequote = "\"";
  8066. std::string power = "Game.AddToInventory(" + doublequote;
  8067. std::string ofdark = "Items.Preset_Testera_Neon" + doublequote;
  8068. std::string ofdarkside = power + ofdark;
  8069. std::string powerof = ofdarkside + ", 1)";
  8070. char* commandline = new char[powerof.length() + 1];
  8071. strcpy(commandline, powerof.c_str());
  8072. Scripting::Get().ExecuteLua(commandline);
  8073. std::memset(commandline, 0, sizeof(commandline));
  8074. }
  8075. if (ImGui::Button("Preset_Testera_Pimp")) {
  8076. std::string doublequote = "\"";
  8077. std::string power = "Game.AddToInventory(" + doublequote;
  8078. std::string ofdark = "Items.Preset_Testera_Pimp" + doublequote;
  8079. std::string ofdarkside = power + ofdark;
  8080. std::string powerof = ofdarkside + ", 1)";
  8081. char* commandline = new char[powerof.length() + 1];
  8082. strcpy(commandline, powerof.c_str());
  8083. Scripting::Get().ExecuteLua(commandline);
  8084. std::memset(commandline, 0, sizeof(commandline));
  8085. }
  8086. if (ImGui::Button("Preset_Tire_Iron_Default")) {
  8087. std::string doublequote = "\"";
  8088. std::string power = "Game.AddToInventory(" + doublequote;
  8089. std::string ofdark = "Items.Preset_Tire_Iron_Default" + doublequote;
  8090. std::string ofdarkside = power + ofdark;
  8091. std::string powerof = ofdarkside + ", 1)";
  8092. char* commandline = new char[powerof.length() + 1];
  8093. strcpy(commandline, powerof.c_str());
  8094. Scripting::Get().ExecuteLua(commandline);
  8095. std::memset(commandline, 0, sizeof(commandline));
  8096. }
  8097. if (ImGui::Button("Preset_Tomahawk_Default")) {
  8098. std::string doublequote = "\"";
  8099. std::string power = "Game.AddToInventory(" + doublequote;
  8100. std::string ofdark = "Items.Preset_Tomahawk_Default" + doublequote;
  8101. std::string ofdarkside = power + ofdark;
  8102. std::string powerof = ofdarkside + ", 1)";
  8103. char* commandline = new char[powerof.length() + 1];
  8104. strcpy(commandline, powerof.c_str());
  8105. Scripting::Get().ExecuteLua(commandline);
  8106. std::memset(commandline, 0, sizeof(commandline));
  8107. }
  8108. if (ImGui::Button("Preset_Unity_Default")) {
  8109. std::string doublequote = "\"";
  8110. std::string power = "Game.AddToInventory(" + doublequote;
  8111. std::string ofdark = "Items.Preset_Unity_Default" + doublequote;
  8112. std::string ofdarkside = power + ofdark;
  8113. std::string powerof = ofdarkside + ", 1)";
  8114. char* commandline = new char[powerof.length() + 1];
  8115. strcpy(commandline, powerof.c_str());
  8116. Scripting::Get().ExecuteLua(commandline);
  8117. std::memset(commandline, 0, sizeof(commandline));
  8118. }
  8119. if (ImGui::Button("Preset_Unity_Military")) {
  8120. std::string doublequote = "\"";
  8121. std::string power = "Game.AddToInventory(" + doublequote;
  8122. std::string ofdark = "Items.Preset_Unity_Military" + doublequote;
  8123. std::string ofdarkside = power + ofdark;
  8124. std::string powerof = ofdarkside + ", 1)";
  8125. char* commandline = new char[powerof.length() + 1];
  8126. strcpy(commandline, powerof.c_str());
  8127. Scripting::Get().ExecuteLua(commandline);
  8128. std::memset(commandline, 0, sizeof(commandline));
  8129. }
  8130. if (ImGui::Button("Preset_Unity_Neon")) {
  8131. std::string doublequote = "\"";
  8132. std::string power = "Game.AddToInventory(" + doublequote;
  8133. std::string ofdark = "Items.Preset_Unity_Neon" + doublequote;
  8134. std::string ofdarkside = power + ofdark;
  8135. std::string powerof = ofdarkside + ", 1)";
  8136. char* commandline = new char[powerof.length() + 1];
  8137. strcpy(commandline, powerof.c_str());
  8138. Scripting::Get().ExecuteLua(commandline);
  8139. std::memset(commandline, 0, sizeof(commandline));
  8140. }
  8141. if (ImGui::Button("Preset_Unity_Pimp")) {
  8142. std::string doublequote = "\"";
  8143. std::string power = "Game.AddToInventory(" + doublequote;
  8144. std::string ofdark = "Items.Preset_Unity_Pimp" + doublequote;
  8145. std::string ofdarkside = power + ofdark;
  8146. std::string powerof = ofdarkside + ", 1)";
  8147. char* commandline = new char[powerof.length() + 1];
  8148. strcpy(commandline, powerof.c_str());
  8149. Scripting::Get().ExecuteLua(commandline);
  8150. std::memset(commandline, 0, sizeof(commandline));
  8151. }
  8152. if (ImGui::Button("Preset_V_Unity")) {
  8153. std::string doublequote = "\"";
  8154. std::string power = "Game.AddToInventory(" + doublequote;
  8155. std::string ofdark = "Items.Preset_V_Unity" + doublequote;
  8156. std::string ofdarkside = power + ofdark;
  8157. std::string powerof = ofdarkside + ", 1)";
  8158. char* commandline = new char[powerof.length() + 1];
  8159. strcpy(commandline, powerof.c_str());
  8160. Scripting::Get().ExecuteLua(commandline);
  8161. std::memset(commandline, 0, sizeof(commandline));
  8162. }
  8163. if (ImGui::Button("Preset_V_Unity_Cutscene")) {
  8164. std::string doublequote = "\"";
  8165. std::string power = "Game.AddToInventory(" + doublequote;
  8166. std::string ofdark = "Items.Preset_V_Unity_Cutscene" + doublequote;
  8167. std::string ofdarkside = power + ofdark;
  8168. std::string powerof = ofdarkside + ", 1)";
  8169. char* commandline = new char[powerof.length() + 1];
  8170. strcpy(commandline, powerof.c_str());
  8171. Scripting::Get().ExecuteLua(commandline);
  8172. std::memset(commandline, 0, sizeof(commandline));
  8173. }
  8174. if (ImGui::Button("Preset_Yukimura_Default")) {
  8175. std::string doublequote = "\"";
  8176. std::string power = "Game.AddToInventory(" + doublequote;
  8177. std::string ofdark = "Items.Preset_Yukimura_Default" + doublequote;
  8178. std::string ofdarkside = power + ofdark;
  8179. std::string powerof = ofdarkside + ", 1)";
  8180. char* commandline = new char[powerof.length() + 1];
  8181. strcpy(commandline, powerof.c_str());
  8182. Scripting::Get().ExecuteLua(commandline);
  8183. std::memset(commandline, 0, sizeof(commandline));
  8184. }
  8185. if (ImGui::Button("Preset_Yukimura_Kiji")) {
  8186. std::string doublequote = "\"";
  8187. std::string power = "Game.AddToInventory(" + doublequote;
  8188. std::string ofdark = "Items.Preset_Yukimura_Kiji" + doublequote;
  8189. std::string ofdarkside = power + ofdark;
  8190. std::string powerof = ofdarkside + ", 1)";
  8191. char* commandline = new char[powerof.length() + 1];
  8192. strcpy(commandline, powerof.c_str());
  8193. Scripting::Get().ExecuteLua(commandline);
  8194. std::memset(commandline, 0, sizeof(commandline));
  8195. }
  8196. if (ImGui::Button("Preset_Yukimura_Military")) {
  8197. std::string doublequote = "\"";
  8198. std::string power = "Game.AddToInventory(" + doublequote;
  8199. std::string ofdark = "Items.Preset_Yukimura_Military" + doublequote;
  8200. std::string ofdarkside = power + ofdark;
  8201. std::string powerof = ofdarkside + ", 1)";
  8202. char* commandline = new char[powerof.length() + 1];
  8203. strcpy(commandline, powerof.c_str());
  8204. Scripting::Get().ExecuteLua(commandline);
  8205. std::memset(commandline, 0, sizeof(commandline));
  8206. }
  8207. if (ImGui::Button("Preset_Yukimura_Neon")) {
  8208. std::string doublequote = "\"";
  8209. std::string power = "Game.AddToInventory(" + doublequote;
  8210. std::string ofdark = "Items.Preset_Yukimura_Neon" + doublequote;
  8211. std::string ofdarkside = power + ofdark;
  8212. std::string powerof = ofdarkside + ", 1)";
  8213. char* commandline = new char[powerof.length() + 1];
  8214. strcpy(commandline, powerof.c_str());
  8215. Scripting::Get().ExecuteLua(commandline);
  8216. std::memset(commandline, 0, sizeof(commandline));
  8217. }
  8218. if (ImGui::Button("Preset_Yukimura_Pimp")) {
  8219. std::string doublequote = "\"";
  8220. std::string power = "Game.AddToInventory(" + doublequote;
  8221. std::string ofdark = "Items.Preset_Yukimura_Pimp" + doublequote;
  8222. std::string ofdarkside = power + ofdark;
  8223. std::string powerof = ofdarkside + ", 1)";
  8224. char* commandline = new char[powerof.length() + 1];
  8225. strcpy(commandline, powerof.c_str());
  8226. Scripting::Get().ExecuteLua(commandline);
  8227. std::memset(commandline, 0, sizeof(commandline));
  8228. }
  8229. if (ImGui::Button("Preset_Yukimura_Skippy")) {
  8230. std::string doublequote = "\"";
  8231. std::string power = "Game.AddToInventory(" + doublequote;
  8232. std::string ofdark = "Items.Preset_Yukimura_Skippy" + doublequote;
  8233. std::string ofdarkside = power + ofdark;
  8234. std::string powerof = ofdarkside + ", 1)";
  8235. char* commandline = new char[powerof.length() + 1];
  8236. strcpy(commandline, powerof.c_str());
  8237. Scripting::Get().ExecuteLua(commandline);
  8238. std::memset(commandline, 0, sizeof(commandline));
  8239. }
  8240. if (ImGui::Button("Preset_Zhuo_Default")) {
  8241. std::string doublequote = "\"";
  8242. std::string power = "Game.AddToInventory(" + doublequote;
  8243. std::string ofdark = "Items.Preset_Zhuo_Default" + doublequote;
  8244. std::string ofdarkside = power + ofdark;
  8245. std::string powerof = ofdarkside + ", 1)";
  8246. char* commandline = new char[powerof.length() + 1];
  8247. strcpy(commandline, powerof.c_str());
  8248. Scripting::Get().ExecuteLua(commandline);
  8249. std::memset(commandline, 0, sizeof(commandline));
  8250. }
  8251. if (ImGui::Button("Preset_Zhuo_Eight_Star")) {
  8252. std::string doublequote = "\"";
  8253. std::string power = "Game.AddToInventory(" + doublequote;
  8254. std::string ofdark = "Items.Preset_Zhuo_Eight_Star" + doublequote;
  8255. std::string ofdarkside = power + ofdark;
  8256. std::string powerof = ofdarkside + ", 1)";
  8257. char* commandline = new char[powerof.length() + 1];
  8258. strcpy(commandline, powerof.c_str());
  8259. Scripting::Get().ExecuteLua(commandline);
  8260. std::memset(commandline, 0, sizeof(commandline));
  8261. }
  8262. if (ImGui::Button("Preset_Zhuo_Military")) {
  8263. std::string doublequote = "\"";
  8264. std::string power = "Game.AddToInventory(" + doublequote;
  8265. std::string ofdark = "Items.Preset_Zhuo_Military" + doublequote;
  8266. std::string ofdarkside = power + ofdark;
  8267. std::string powerof = ofdarkside + ", 1)";
  8268. char* commandline = new char[powerof.length() + 1];
  8269. strcpy(commandline, powerof.c_str());
  8270. Scripting::Get().ExecuteLua(commandline);
  8271. std::memset(commandline, 0, sizeof(commandline));
  8272. }
  8273. if (ImGui::Button("Preset_Zhuo_Neon")) {
  8274. std::string doublequote = "\"";
  8275. std::string power = "Game.AddToInventory(" + doublequote;
  8276. std::string ofdark = "Items.Preset_Zhuo_Neon" + doublequote;
  8277. std::string ofdarkside = power + ofdark;
  8278. std::string powerof = ofdarkside + ", 1)";
  8279. char* commandline = new char[powerof.length() + 1];
  8280. strcpy(commandline, powerof.c_str());
  8281. Scripting::Get().ExecuteLua(commandline);
  8282. std::memset(commandline, 0, sizeof(commandline));
  8283. }
  8284. if (ImGui::Button("Preset_Zhuo_Pimp")) {
  8285. std::string doublequote = "\"";
  8286. std::string power = "Game.AddToInventory(" + doublequote;
  8287. std::string ofdark = "Items.Preset_Zhuo_Pimp" + doublequote;
  8288. std::string ofdarkside = power + ofdark;
  8289. std::string powerof = ofdarkside + ", 1)";
  8290. char* commandline = new char[powerof.length() + 1];
  8291. strcpy(commandline, powerof.c_str());
  8292. Scripting::Get().ExecuteLua(commandline);
  8293. std::memset(commandline, 0, sizeof(commandline));
  8294. }
  8295. if (ImGui::Button("Preset_Zhuo_Trauma")) {
  8296. std::string doublequote = "\"";
  8297. std::string power = "Game.AddToInventory(" + doublequote;
  8298. std::string ofdark = "Items.Preset_Zhuo_Trauma" + doublequote;
  8299. std::string ofdarkside = power + ofdark;
  8300. std::string powerof = ofdarkside + ", 1)";
  8301. char* commandline = new char[powerof.length() + 1];
  8302. strcpy(commandline, powerof.c_str());
  8303. Scripting::Get().ExecuteLua(commandline);
  8304. std::memset(commandline, 0, sizeof(commandline));
  8305. }
  8306. if (ImGui::Button("q114_cassidy_revolver")) {
  8307. std::string doublequote = "\"";
  8308. std::string power = "Game.AddToInventory(" + doublequote;
  8309. std::string ofdark = "Items.q114_cassidy_revolver" + doublequote;
  8310. std::string ofdarkside = power + ofdark;
  8311. std::string powerof = ofdarkside + ", 1)";
  8312. char* commandline = new char[powerof.length() + 1];
  8313. strcpy(commandline, powerof.c_str());
  8314. Scripting::Get().ExecuteLua(commandline);
  8315. std::memset(commandline, 0, sizeof(commandline));
  8316. }
  8317. if (ImGui::Button("q115_corpo_rifle")) {
  8318. std::string doublequote = "\"";
  8319. std::string power = "Game.AddToInventory(" + doublequote;
  8320. std::string ofdark = "Items.q115_corpo_rifle" + doublequote;
  8321. std::string ofdarkside = power + ofdark;
  8322. std::string powerof = ofdarkside + ", 1)";
  8323. char* commandline = new char[powerof.length() + 1];
  8324. strcpy(commandline, powerof.c_str());
  8325. Scripting::Get().ExecuteLua(commandline);
  8326. std::memset(commandline, 0, sizeof(commandline));
  8327. }
  8328. if (ImGui::Button("q115_katana")) {
  8329. std::string doublequote = "\"";
  8330. std::string power = "Game.AddToInventory(" + doublequote;
  8331. std::string ofdark = "Items.q115_katana" + doublequote;
  8332. std::string ofdarkside = power + ofdark;
  8333. std::string powerof = ofdarkside + ", 1)";
  8334. char* commandline = new char[powerof.length() + 1];
  8335. strcpy(commandline, powerof.c_str());
  8336. Scripting::Get().ExecuteLua(commandline);
  8337. std::memset(commandline, 0, sizeof(commandline));
  8338. }
  8339. if (ImGui::Button("q115_pistol")) {
  8340. std::string doublequote = "\"";
  8341. std::string power = "Game.AddToInventory(" + doublequote;
  8342. std::string ofdark = "Items.q115_pistol" + doublequote;
  8343. std::string ofdarkside = power + ofdark;
  8344. std::string powerof = ofdarkside + ", 1)";
  8345. char* commandline = new char[powerof.length() + 1];
  8346. strcpy(commandline, powerof.c_str());
  8347. Scripting::Get().ExecuteLua(commandline);
  8348. std::memset(commandline, 0, sizeof(commandline));
  8349. }
  8350. if (ImGui::Button("q115_revolver")) {
  8351. std::string doublequote = "\"";
  8352. std::string power = "Game.AddToInventory(" + doublequote;
  8353. std::string ofdark = "Items.q115_revolver" + doublequote;
  8354. std::string ofdarkside = power + ofdark;
  8355. std::string powerof = ofdarkside + ", 1)";
  8356. char* commandline = new char[powerof.length() + 1];
  8357. strcpy(commandline, powerof.c_str());
  8358. Scripting::Get().ExecuteLua(commandline);
  8359. std::memset(commandline, 0, sizeof(commandline));
  8360. }
  8361. if (ImGui::Button("q115_rifle")) {
  8362. std::string doublequote = "\"";
  8363. std::string power = "Game.AddToInventory(" + doublequote;
  8364. std::string ofdark = "Items.q115_rifle" + doublequote;
  8365. std::string ofdarkside = power + ofdark;
  8366. std::string powerof = ofdarkside + ", 1)";
  8367. char* commandline = new char[powerof.length() + 1];
  8368. strcpy(commandline, powerof.c_str());
  8369. Scripting::Get().ExecuteLua(commandline);
  8370. std::memset(commandline, 0, sizeof(commandline));
  8371. }
  8372. if (ImGui::Button("q115_shotgun")) {
  8373. std::string doublequote = "\"";
  8374. std::string power = "Game.AddToInventory(" + doublequote;
  8375. std::string ofdark = "Items.q115_shotgun" + doublequote;
  8376. std::string ofdarkside = power + ofdark;
  8377. std::string powerof = ofdarkside + ", 1)";
  8378. char* commandline = new char[powerof.length() + 1];
  8379. strcpy(commandline, powerof.c_str());
  8380. Scripting::Get().ExecuteLua(commandline);
  8381. std::memset(commandline, 0, sizeof(commandline));
  8382. }
  8383. if (ImGui::Button("sq021_peter_pan_baton")) {
  8384. std::string doublequote = "\"";
  8385. std::string power = "Game.AddToInventory(" + doublequote;
  8386. std::string ofdark = "Items.sq021_peter_pan_baton" + doublequote;
  8387. std::string ofdarkside = power + ofdark;
  8388. std::string powerof = ofdarkside + ", 1)";
  8389. char* commandline = new char[powerof.length() + 1];
  8390. strcpy(commandline, powerof.c_str());
  8391. Scripting::Get().ExecuteLua(commandline);
  8392. std::memset(commandline, 0, sizeof(commandline));
  8393. }
  8394. if (ImGui::Button("sq029_rivers_gun")) {
  8395. std::string doublequote = "\"";
  8396. std::string power = "Game.AddToInventory(" + doublequote;
  8397. std::string ofdark = "Items.sq029_rivers_gun" + doublequote;
  8398. std::string ofdarkside = power + ofdark;
  8399. std::string powerof = ofdarkside + ", 1)";
  8400. char* commandline = new char[powerof.length() + 1];
  8401. strcpy(commandline, powerof.c_str());
  8402. Scripting::Get().ExecuteLua(commandline);
  8403. std::memset(commandline, 0, sizeof(commandline));
  8404. }
  8405. if (ImGui::Button("sq030_old_gun")) {
  8406. std::string doublequote = "\"";
  8407. std::string power = "Game.AddToInventory(" + doublequote;
  8408. std::string ofdark = "Items.sq030_old_gun" + doublequote;
  8409. std::string ofdarkside = power + ofdark;
  8410. std::string powerof = ofdarkside + ", 1)";
  8411. char* commandline = new char[powerof.length() + 1];
  8412. strcpy(commandline, powerof.c_str());
  8413. Scripting::Get().ExecuteLua(commandline);
  8414. std::memset(commandline, 0, sizeof(commandline));
  8415. }
  8416. if (ImGui::Button("w_revolver_malorian_overture")) {
  8417. std::string doublequote = "\"";
  8418. std::string power = "Game.AddToInventory(" + doublequote;
  8419. std::string ofdark = "Items.w_revolver_malorian_overture" + doublequote;
  8420. std::string ofdarkside = power + ofdark;
  8421. std::string powerof = ofdarkside + ", 1)";
  8422. char* commandline = new char[powerof.length() + 1];
  8423. strcpy(commandline, powerof.c_str());
  8424. Scripting::Get().ExecuteLua(commandline);
  8425. std::memset(commandline, 0, sizeof(commandline));
  8426. }
  8427. if (ImGui::Button("PainReductor")) {
  8428. std::string doublequote = "\"";
  8429. std::string power = "Game.AddToInventory(" + doublequote;
  8430. std::string ofdark = "Items.PainReductor" + doublequote;
  8431. std::string ofdarkside = power + ofdark;
  8432. std::string powerof = ofdarkside + ", 1)";
  8433. char* commandline = new char[powerof.length() + 1];
  8434. strcpy(commandline, powerof.c_str());
  8435. Scripting::Get().ExecuteLua(commandline);
  8436. std::memset(commandline, 0, sizeof(commandline));
  8437. }
  8438. if (ImGui::Button("Preset_Ajax_Moron_Legendary")) {
  8439. std::string doublequote = "\"";
  8440. std::string power = "Game.AddToInventory(" + doublequote;
  8441. std::string ofdark = "Items.Preset_Ajax_Moron_Legendary" + doublequote;
  8442. std::string ofdarkside = power + ofdark;
  8443. std::string powerof = ofdarkside + ", 1)";
  8444. char* commandline = new char[powerof.length() + 1];
  8445. strcpy(commandline, powerof.c_str());
  8446. Scripting::Get().ExecuteLua(commandline);
  8447. std::memset(commandline, 0, sizeof(commandline));
  8448. }
  8449. if (ImGui::Button("generic_scavengers_pistol")) {
  8450. std::string doublequote = "\"";
  8451. std::string power = "Game.AddToInventory(" + doublequote;
  8452. std::string ofdark = "Items.generic_scavengers_pistol" + doublequote;
  8453. std::string ofdarkside = power + ofdark;
  8454. std::string powerof = ofdarkside + ", 1)";
  8455. char* commandline = new char[powerof.length() + 1];
  8456. strcpy(commandline, powerof.c_str());
  8457. Scripting::Get().ExecuteLua(commandline);
  8458. std::memset(commandline, 0, sizeof(commandline));
  8459. }
  8460. ImGui::TreePop();
  8461. }
  8462. if (ImGui::TreeNode("Johnny")) {
  8463. if (ImGui::Button("Q005_Johnny_Glasses")) {
  8464. std::string doublequote = "\"";
  8465. std::string power = "Game.AddToInventory(" + doublequote;
  8466. std::string ofdark = "Items.Q005_Johnny_Glasses" + doublequote;
  8467. std::string ofdarkside = power + ofdark;
  8468. std::string powerof = ofdarkside + ", 1)";
  8469. char* commandline = new char[powerof.length() + 1];
  8470. strcpy(commandline, powerof.c_str());
  8471. Scripting::Get().ExecuteLua(commandline);
  8472. std::memset(commandline, 0, sizeof(commandline));
  8473. }
  8474. if (ImGui::Button("Q005_Johnny_Shirt")) {
  8475. std::string doublequote = "\"";
  8476. std::string power = "Game.AddToInventory(" + doublequote;
  8477. std::string ofdark = "Items.Q005_Johnny_Shirt" + doublequote;
  8478. std::string ofdarkside = power + ofdark;
  8479. std::string powerof = ofdarkside + ", 1)";
  8480. char* commandline = new char[powerof.length() + 1];
  8481. strcpy(commandline, powerof.c_str());
  8482. Scripting::Get().ExecuteLua(commandline);
  8483. std::memset(commandline, 0, sizeof(commandline));
  8484. }
  8485. if (ImGui::Button("Q005_Johnny_Pants")) {
  8486. std::string doublequote = "\"";
  8487. std::string power = "Game.AddToInventory(" + doublequote;
  8488. std::string ofdark = "Items.Q005_Johnny_Pants" + doublequote;
  8489. std::string ofdarkside = power + ofdark;
  8490. std::string powerof = ofdarkside + ", 1)";
  8491. char* commandline = new char[powerof.length() + 1];
  8492. strcpy(commandline, powerof.c_str());
  8493. Scripting::Get().ExecuteLua(commandline);
  8494. std::memset(commandline, 0, sizeof(commandline));
  8495. }
  8496. if (ImGui::Button("Q005_Johnny_Shoes")) {
  8497. std::string doublequote = "\"";
  8498. std::string power = "Game.AddToInventory(" + doublequote;
  8499. std::string ofdark = "Items.Q005_Johnny_Shoes" + doublequote;
  8500. std::string ofdarkside = power + ofdark;
  8501. std::string powerof = ofdarkside + ", 1)";
  8502. char* commandline = new char[powerof.length() + 1];
  8503. strcpy(commandline, powerof.c_str());
  8504. Scripting::Get().ExecuteLua(commandline);
  8505. std::memset(commandline, 0, sizeof(commandline));
  8506. }
  8507. if (ImGui::Button("SQ031_Samurai_Jacket")) {
  8508. std::string doublequote = "\"";
  8509. std::string power = "Game.AddToInventory(" + doublequote;
  8510. std::string ofdark = "Items.SQ031_Samurai_Jacket" + doublequote;
  8511. std::string ofdarkside = power + ofdark;
  8512. std::string powerof = ofdarkside + ", 1)";
  8513. char* commandline = new char[powerof.length() + 1];
  8514. strcpy(commandline, powerof.c_str());
  8515. Scripting::Get().ExecuteLua(commandline);
  8516. std::memset(commandline, 0, sizeof(commandline));
  8517. }
  8518. ImGui::TreePop();
  8519. }
  8520. if (ImGui::TreeNode("Fragment")) {
  8521. if (ImGui::Button("SandevistanFragment1")) {
  8522. std::string doublequote = "\"";
  8523. std::string power = "Game.AddToInventory(" + doublequote;
  8524. std::string ofdark = "Items.SandevistanFragment1" + doublequote;
  8525. std::string ofdarkside = power + ofdark;
  8526. std::string powerof = ofdarkside + ", 1)";
  8527. char* commandline = new char[powerof.length() + 1];
  8528. strcpy(commandline, powerof.c_str());
  8529. Scripting::Get().ExecuteLua(commandline);
  8530. std::memset(commandline, 0, sizeof(commandline));
  8531. }
  8532. if (ImGui::Button("SandevistanFragment2")) {
  8533. std::string doublequote = "\"";
  8534. std::string power = "Game.AddToInventory(" + doublequote;
  8535. std::string ofdark = "Items.SandevistanFragment2" + doublequote;
  8536. std::string ofdarkside = power + ofdark;
  8537. std::string powerof = ofdarkside + ", 1)";
  8538. char* commandline = new char[powerof.length() + 1];
  8539. strcpy(commandline, powerof.c_str());
  8540. Scripting::Get().ExecuteLua(commandline);
  8541. std::memset(commandline, 0, sizeof(commandline));
  8542. }
  8543. if (ImGui::Button("SandevistanFragment3")) {
  8544. std::string doublequote = "\"";
  8545. std::string power = "Game.AddToInventory(" + doublequote;
  8546. std::string ofdark = "Items.SandevistanFragment3" + doublequote;
  8547. std::string ofdarkside = power + ofdark;
  8548. std::string powerof = ofdarkside + ", 1)";
  8549. char* commandline = new char[powerof.length() + 1];
  8550. strcpy(commandline, powerof.c_str());
  8551. Scripting::Get().ExecuteLua(commandline);
  8552. std::memset(commandline, 0, sizeof(commandline));
  8553. }
  8554. if (ImGui::Button("SandevistanFragment4")) {
  8555. std::string doublequote = "\"";
  8556. std::string power = "Game.AddToInventory(" + doublequote;
  8557. std::string ofdark = "Items.SandevistanFragment4" + doublequote;
  8558. std::string ofdarkside = power + ofdark;
  8559. std::string powerof = ofdarkside + ", 1)";
  8560. char* commandline = new char[powerof.length() + 1];
  8561. strcpy(commandline, powerof.c_str());
  8562. Scripting::Get().ExecuteLua(commandline);
  8563. std::memset(commandline, 0, sizeof(commandline));
  8564. }
  8565. if (ImGui::Button("SandevistanFragment8")) {
  8566. std::string doublequote = "\"";
  8567. std::string power = "Game.AddToInventory(" + doublequote;
  8568. std::string ofdark = "Items.SandevistanFragment8" + doublequote;
  8569. std::string ofdarkside = power + ofdark;
  8570. std::string powerof = ofdarkside + ", 1)";
  8571. char* commandline = new char[powerof.length() + 1];
  8572. strcpy(commandline, powerof.c_str());
  8573. Scripting::Get().ExecuteLua(commandline);
  8574. std::memset(commandline, 0, sizeof(commandline));
  8575. }
  8576. ImGui::TreePop();
  8577. }
  8578. if (ImGui::TreeNode("Money")) {
  8579. ImGui::SliderInt("Money", &givemoney, 0, 1000000);
  8580. if (ImGui::Button("money")) {
  8581. std::stringstream ss;
  8582. std::string str = "";
  8583. ss << givemoney;
  8584. ss >> str;
  8585. std::string doublequote = "\"";
  8586. std::string power = "Game.AddToInventory(" + doublequote;
  8587. std::string ofdark = "Items.money" + doublequote;
  8588. std::string ofdarkside = power + ofdark;
  8589. std::string powerof = ofdarkside + ",";
  8590. std::string powermoney = powerof + str;
  8591. std::string moneypower = powermoney + ")";
  8592. char* commandline = new char[moneypower.length() + 1];
  8593. strcpy(commandline, moneypower.c_str());
  8594. Scripting::Get().ExecuteLua(commandline);
  8595. std::memset(commandline, 0, sizeof(commandline));
  8596. }
  8597. ImGui::TreePop();
  8598. }
  8599. if (ImGui::TreeNode("Point")) {
  8600. ImGui::SliderInt("Point", &givepoint, 0, 1000000);
  8601. if (ImGui::Button("PerkPointSkillbook")) {
  8602. std::stringstream ss2;
  8603. std::string str2 = "";
  8604. ss2 << givepoint;
  8605. ss2 >> str2;
  8606. std::string doublequote = "\"";
  8607. std::string power = "Game.AddToInventory(" + doublequote;
  8608. std::string ofdark = "Items.PerkPointSkillbook" + doublequote;
  8609. std::string ofdarkside = power + ofdark;
  8610. std::string powerof = ofdarkside + ",";
  8611. std::string powerofpoint = powerof + str2;
  8612. std::string pointpowerof = powerofpoint + ")";
  8613. char* commandline = new char[pointpowerof.length() + 1];
  8614. strcpy(commandline, pointpowerof.c_str());
  8615. Scripting::Get().ExecuteLua(commandline);
  8616. std::memset(commandline, 0, sizeof(commandline));
  8617. }
  8618. if (ImGui::TreeNode("Other Point")) {
  8619. if (ImGui::Button("GunslingerSkillbook")) {
  8620. std::stringstream ss2;
  8621. std::string str2 = "";
  8622. ss2 << givepoint;
  8623. ss2 >> str2;
  8624. std::string doublequote = "\"";
  8625. std::string power = "Game.AddToInventory(" + doublequote;
  8626. std::string ofdark = "Items.GunslingerSkillbook" + doublequote;
  8627. std::string ofdarkside = power + ofdark;
  8628. std::string powerof = ofdarkside + ",";
  8629. std::string powerofpoint = powerof + str2;
  8630. std::string pointpowerof = powerofpoint + ")";
  8631. char* commandline = new char[pointpowerof.length() + 1];
  8632. strcpy(commandline, pointpowerof.c_str());
  8633. Scripting::Get().ExecuteLua(commandline);
  8634. std::memset(commandline, 0, sizeof(commandline));
  8635. }
  8636. if (ImGui::Button("EngineeringSkillbook")) {
  8637. std::stringstream ss2;
  8638. std::string str2 = "";
  8639. ss2 << givepoint;
  8640. ss2 >> str2;
  8641. std::string doublequote = "\"";
  8642. std::string power = "Game.AddToInventory(" + doublequote;
  8643. std::string ofdark = "Items.EngineeringSkillbook" + doublequote;
  8644. std::string ofdarkside = power + ofdark;
  8645. std::string powerof = ofdarkside + ",";
  8646. std::string powerofpoint = powerof + str2;
  8647. std::string pointpowerof = powerofpoint + ")";
  8648. char* commandline = new char[pointpowerof.length() + 1];
  8649. strcpy(commandline, pointpowerof.c_str());
  8650. Scripting::Get().ExecuteLua(commandline);
  8651. std::memset(commandline, 0, sizeof(commandline));
  8652. }
  8653. if (ImGui::Button("AthleticsSkillbook")) {
  8654. std::stringstream ss2;
  8655. std::string str2 = "";
  8656. ss2 << givepoint;
  8657. ss2 >> str2;
  8658. std::string doublequote = "\"";
  8659. std::string power = "Game.AddToInventory(" + doublequote;
  8660. std::string ofdark = "Items.AthleticsSkillbook" + doublequote;
  8661. std::string ofdarkside = power + ofdark;
  8662. std::string powerof = ofdarkside + ",";
  8663. std::string powerofpoint = powerof + str2;
  8664. std::string pointpowerof = powerofpoint + ")";
  8665. char* commandline = new char[pointpowerof.length() + 1];
  8666. strcpy(commandline, pointpowerof.c_str());
  8667. Scripting::Get().ExecuteLua(commandline);
  8668. std::memset(commandline, 0, sizeof(commandline));
  8669. }
  8670. if (ImGui::Button("ColdBloodSkillbook")) {
  8671. std::stringstream ss2;
  8672. std::string str2 = "";
  8673. ss2 << givepoint;
  8674. ss2 >> str2;
  8675. std::string doublequote = "\"";
  8676. std::string power = "Game.AddToInventory(" + doublequote;
  8677. std::string ofdark = "Items.ColdBloodSkillbook" + doublequote;
  8678. std::string ofdarkside = power + ofdark;
  8679. std::string powerof = ofdarkside + ",";
  8680. std::string powerofpoint = powerof + str2;
  8681. std::string pointpowerof = powerofpoint + ")";
  8682. char* commandline = new char[pointpowerof.length() + 1];
  8683. strcpy(commandline, pointpowerof.c_str());
  8684. Scripting::Get().ExecuteLua(commandline);
  8685. std::memset(commandline, 0, sizeof(commandline));
  8686. }
  8687. if (ImGui::Button("CombatHackingSkillbook")) {
  8688. std::stringstream ss2;
  8689. std::string str2 = "";
  8690. ss2 << givepoint;
  8691. ss2 >> str2;
  8692. std::string doublequote = "\"";
  8693. std::string power = "Game.AddToInventory(" + doublequote;
  8694. std::string ofdark = "Items.CombatHackingSkillbook" + doublequote;
  8695. std::string ofdarkside = power + ofdark;
  8696. std::string powerof = ofdarkside + ",";
  8697. std::string powerofpoint = powerof + str2;
  8698. std::string pointpowerof = powerofpoint + ")";
  8699. char* commandline = new char[pointpowerof.length() + 1];
  8700. strcpy(commandline, pointpowerof.c_str());
  8701. Scripting::Get().ExecuteLua(commandline);
  8702. std::memset(commandline, 0, sizeof(commandline));
  8703. }
  8704. if (ImGui::Button("DemolitionSkillbook")) {
  8705. std::stringstream ss2;
  8706. std::string str2 = "";
  8707. ss2 << givepoint;
  8708. ss2 >> str2;
  8709. std::string doublequote = "\"";
  8710. std::string power = "Game.AddToInventory(" + doublequote;
  8711. std::string ofdark = "Items.DemolitionSkillbook" + doublequote;
  8712. std::string ofdarkside = power + ofdark;
  8713. std::string powerof = ofdarkside + ",";
  8714. std::string powerofpoint = powerof + str2;
  8715. std::string pointpowerof = powerofpoint + ")";
  8716. char* commandline = new char[pointpowerof.length() + 1];
  8717. strcpy(commandline, pointpowerof.c_str());
  8718. Scripting::Get().ExecuteLua(commandline);
  8719. std::memset(commandline, 0, sizeof(commandline));
  8720. }
  8721. if (ImGui::Button("AssaultSkillbook")) {
  8722. std::stringstream ss2;
  8723. std::string str2 = "";
  8724. ss2 << givepoint;
  8725. ss2 >> str2;
  8726. std::string doublequote = "\"";
  8727. std::string power = "Game.AddToInventory(" + doublequote;
  8728. std::string ofdark = "Items.AssaultSkillbook" + doublequote;
  8729. std::string ofdarkside = power + ofdark;
  8730. std::string powerof = ofdarkside + ",";
  8731. std::string powerofpoint = powerof + str2;
  8732. std::string pointpowerof = powerofpoint + ")";
  8733. char* commandline = new char[pointpowerof.length() + 1];
  8734. strcpy(commandline, pointpowerof.c_str());
  8735. Scripting::Get().ExecuteLua(commandline);
  8736. std::memset(commandline, 0, sizeof(commandline));
  8737. }
  8738. if (ImGui::Button("KenjutsuSkillbook")) {
  8739. std::stringstream ss2;
  8740. std::string str2 = "";
  8741. ss2 << givepoint;
  8742. ss2 >> str2;
  8743. std::string doublequote = "\"";
  8744. std::string power = "Game.AddToInventory(" + doublequote;
  8745. std::string ofdark = "Items.KenjutsuSkillbook" + doublequote;
  8746. std::string ofdarkside = power + ofdark;
  8747. std::string powerof = ofdarkside + ",";
  8748. std::string powerofpoint = powerof + str2;
  8749. std::string pointpowerof = powerofpoint + ")";
  8750. char* commandline = new char[pointpowerof.length() + 1];
  8751. strcpy(commandline, pointpowerof.c_str());
  8752. Scripting::Get().ExecuteLua(commandline);
  8753. std::memset(commandline, 0, sizeof(commandline));
  8754. }
  8755. if (ImGui::Button("BrawlingSkillbook")) {
  8756. std::stringstream ss2;
  8757. std::string str2 = "";
  8758. ss2 << givepoint;
  8759. ss2 >> str2;
  8760. std::string doublequote = "\"";
  8761. std::string power = "Game.AddToInventory(" + doublequote;
  8762. std::string ofdark = "Items.BrawlingSkillbook" + doublequote;
  8763. std::string ofdarkside = power + ofdark;
  8764. std::string powerof = ofdarkside + ",";
  8765. std::string powerofpoint = powerof + str2;
  8766. std::string pointpowerof = powerofpoint + ")";
  8767. char* commandline = new char[pointpowerof.length() + 1];
  8768. strcpy(commandline, pointpowerof.c_str());
  8769. Scripting::Get().ExecuteLua(commandline);
  8770. std::memset(commandline, 0, sizeof(commandline));
  8771. }
  8772. if (ImGui::Button("CraftingSkillbook")) {
  8773. std::stringstream ss2;
  8774. std::string str2 = "";
  8775. ss2 << givepoint;
  8776. ss2 >> str2;
  8777. std::string doublequote = "\"";
  8778. std::string power = "Game.AddToInventory(" + doublequote;
  8779. std::string ofdark = "Items.CraftingSkillbook" + doublequote;
  8780. std::string ofdarkside = power + ofdark;
  8781. std::string powerof = ofdarkside + ",";
  8782. std::string powerofpoint = powerof + str2;
  8783. std::string pointpowerof = powerofpoint + ")";
  8784. char* commandline = new char[pointpowerof.length() + 1];
  8785. strcpy(commandline, pointpowerof.c_str());
  8786. Scripting::Get().ExecuteLua(commandline);
  8787. std::memset(commandline, 0, sizeof(commandline));
  8788. }
  8789. if (ImGui::Button("StealthSkillbook")) {
  8790. std::stringstream ss2;
  8791. std::string str2 = "";
  8792. ss2 << givepoint;
  8793. ss2 >> str2;
  8794. std::string doublequote = "\"";
  8795. std::string power = "Game.AddToInventory(" + doublequote;
  8796. std::string ofdark = "Items.StealthSkillbook" + doublequote;
  8797. std::string ofdarkside = power + ofdark;
  8798. std::string powerof = ofdarkside + ",";
  8799. std::string powerofpoint = powerof + str2;
  8800. std::string pointpowerof = powerofpoint + ")";
  8801. char* commandline = new char[pointpowerof.length() + 1];
  8802. strcpy(commandline, pointpowerof.c_str());
  8803. Scripting::Get().ExecuteLua(commandline);
  8804. std::memset(commandline, 0, sizeof(commandline));
  8805. }
  8806. if (ImGui::Button("HackingSkillbook")) {
  8807. std::stringstream ss2;
  8808. std::string str2 = "";
  8809. ss2 << givepoint;
  8810. ss2 >> str2;
  8811. std::string doublequote = "\"";
  8812. std::string power = "Game.AddToInventory(" + doublequote;
  8813. std::string ofdark = "Items.HackingSkillbook" + doublequote;
  8814. std::string ofdarkside = power + ofdark;
  8815. std::string powerof = ofdarkside + ",";
  8816. std::string powerofpoint = powerof + str2;
  8817. std::string pointpowerof = powerofpoint + ")";
  8818. char* commandline = new char[pointpowerof.length() + 1];
  8819. strcpy(commandline, pointpowerof.c_str());
  8820. Scripting::Get().ExecuteLua(commandline);
  8821. std::memset(commandline, 0, sizeof(commandline));
  8822. }
  8823. ImGui::TreePop();
  8824. }
  8825. if (ImGui::TreeNode("Reset Point")) {
  8826. if (ImGui::Button("PerkPointsResetter")) {
  8827. std::string doublequote = "\"";
  8828. std::string power = "Game.AddToInventory(" + doublequote;
  8829. std::string ofdark = "Items.PerkPointsResetter" + doublequote;
  8830. std::string ofdarkside = power + ofdark;
  8831. std::string powerof = ofdarkside + ", 1)";
  8832. char* commandline = new char[powerof.length() + 1];
  8833. strcpy(commandline, powerof.c_str());
  8834. Scripting::Get().ExecuteLua(commandline);
  8835. std::memset(commandline, 0, sizeof(commandline));
  8836. }
  8837. ImGui::TreePop();
  8838. }
  8839. ImGui::TreePop();
  8840. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement