train.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. // Training
  2. /*jshint multistr:true*/
  3. function Train()
  4. {
  5. if ($("#train_buttons").is(":visible")) {
  6. $("#camp_feed").html("");
  7. return;
  8. }
  9. if ($("#women_buttons").is(":visible")) resetRival();
  10. $("#camp_feed").html(
  11. "<div id='train_buttons' class='push--top'></div>\
  12. <div id='train_display'></div>");
  13. // Iron Will
  14. if (player.Mods.ironwill < 6) {
  15. $("#train_buttons").append("<button id='train_button_12' class='btn btn-woman push--right' title='You more unstoppable!'>Iron Will+ (" + player.Mods.ironwill + ")</button>");
  16. $("#train_button_12").click(
  17. function(){
  18. if (player.experience >= 5 && player.Mods.ironwill < 4) {
  19. player.experience -= 5;
  20. player.Mods.ironwill += 1;
  21. $("#train_display").append("<p>You resist others domination better</p>");
  22. drawStats();
  23. $("#train_button_12").html("Iron Will+ (" + player.Mods.ironwill + ")");
  24. }
  25. IsDoneTraining();
  26. }
  27. );
  28. }
  29. // Breast size increase
  30. $("#train_buttons").append("<button id='train_button_1' class='btn btn-woman push--right' title='Increase way new women care for children'>Mother+ (" + (player.Mods.breasts / 10) + ")</button>");
  31. $("#train_button_1").click(
  32. function(){
  33. if (player.experience >= 5) {
  34. if (player.Mods.breasts < 100) {
  35. player.experience -= 5;
  36. player.Mods.breasts += 10;
  37. $("#train_display").append("<p>Your new Women will feed their children more</p>");
  38. drawStats();
  39. $("#train_button_1").html("Mother+ (" + (player.Mods.breasts / 10) + ")");
  40. } else $("#train_display").append("<p><b>No bigger possible.</b></p>");
  41. }
  42. IsDoneTraining();
  43. }
  44. );
  45. // Perception increase
  46. $("#train_buttons").append("<button id='train_button_2' class='btn btn-woman push--right' title='See though your enemies'>Perception+ (" + (player.Mods.perception / 5) + ")</button>");
  47. $("#train_button_2").click(
  48. function(){
  49. if (player.experience >= 5) {
  50. player.experience -= 5;
  51. player.Mods.perception += 5;
  52. $("#train_display").append("<p>You see more prey and enemies ways</p>");
  53. drawStats();
  54. $("#train_button_2").html("Perception+ (" + (player.Mods.perception / 5) + ")");
  55. }
  56. IsDoneTraining();
  57. }
  58. );
  59. // Changra increase
  60. $("#train_buttons").append("<button id='train_button_3' class='btn btn-woman push--right' title='More Power!'>Changra+ (" + (player.Mods.changra / 5) + ")</button>");
  61. $("#train_button_3").click(
  62. function(){
  63. if (player.experience >= 5) {
  64. player.experience -= 5;
  65. player.Mods.changra += 5;
  66. player.rest();
  67. $("#train_display").append("<p>You have more Power to expand clan</p>");
  68. drawStats();
  69. $("#train_button_3").html("Changra+ (" + (player.Mods.changra / 5) + ")");
  70. }
  71. IsDoneTraining();
  72. }
  73. );
  74. // Amazon
  75. $("#train_buttons").append("<button id='train_button_4' class='btn btn-woman push--right' title='Strong women!'>Amazon+ (" + (player.Mods.amazon / 2) + ")</button>");
  76. $("#train_button_4").click(
  77. function(){
  78. if (player.experience >= 5) {
  79. if (player.Mods.amazon < 20) {
  80. player.experience -= 5;
  81. player.Mods.amazon += 2;
  82. $("#train_display").append("<p>Your new women be stronger!</p>");
  83. drawStats();
  84. $("#train_button_4").html("Amazon+ (" + (player.Mods.amazon / 2) + ")");
  85. } else $("#train_display").append("<p><b>No more possible.</b></p>");
  86. }
  87. IsDoneTraining();
  88. }
  89. );
  90. // Cocks
  91. $("#train_buttons").append("<button id='train_button_5' class='btn btn-woman push--right' title='Big Cock!'>Cock+ (" + (player.Mods.cock / 2) + ")</button>");
  92. $("#train_button_5").click(
  93. function(){
  94. if (player.experience >= 5) {
  95. if (player.Mods.cock < 20) {
  96. player.experience -= 5;
  97. player.Mods.cock += 2;
  98. if (player.Mods.cock > 20) player.Mods.cock = 20;
  99. $("#train_display").append("<p>Your cock grow!</p>");
  100. redraw();
  101. $("#train_button_5").html("Cock+ (" + (player.Mods.cock / 2) + ")");
  102. } else $("#train_display").append("<p><b>No more possible.</b></p>");
  103. }
  104. IsDoneTraining();
  105. }
  106. );
  107. // Balls
  108. $("#train_buttons").append("<button id='train_button_18' class='btn btn-woman push--right' title='Big Balls!'>Balls+ (" + (player.Mods.balls / 2) + ")</button>");
  109. $("#train_button_18").click(
  110. function(){
  111. if (player.experience >= 5) {
  112. if (player.Mods.balls < 20) {
  113. player.experience -= 5;
  114. player.Mods.balls += 2;
  115. if (player.Mods.balls > 20) player.Mods.balls = 20;
  116. $("#train_display").append("<p>Your balls grow!</p>");
  117. redraw();
  118. $("#train_button_18").html("Cock+ (" + (player.Mods.balls / 2) + ")");
  119. } else $("#train_display").append("<p><b>No more possible.</b></p>");
  120. }
  121. IsDoneTraining();
  122. }
  123. );
  124. // Futa
  125. $("#train_buttons").append("<button id='train_button_6' class='btn btn-woman push--right' title='Futa!'>Futa+ (" + (player.Mods.futa / 2) + ")</button>");
  126. $("#train_button_6").click(
  127. function(){
  128. if (player.experience >= 5) {
  129. if (player.Mods.futa < 20) {
  130. player.experience -= 5;
  131. player.Mods.futa += 2;
  132. if (player.Mods.futa > 20) player.Mods.futa = 20;
  133. if (player.Mods.futa > 2) $("#train_display").append("<p>Your women will have bigger cocks!</p>");
  134. else $("#train_display").append("<p>Your women also have cocks!</p>");
  135. drawStats();
  136. $("#train_button_6").html("Futa+ (" + (player.Mods.futa / 2) + ")");
  137. } else $("#train_display").append("<p><b>No more possible.</b></p>");
  138. }
  139. IsDoneTraining();
  140. }
  141. );
  142. $("#train_buttons").append("<br>");
  143. // Push Dominance
  144. $("#train_buttons").append("<button id='train_button_8' class='btn btn-woman push--right' title='Force Submissiveness more!'>Submissiveness+ (" + (player.Mods.pushsubmissiveness / 2) + ")</button>");
  145. $("#train_button_8").click(
  146. function(){
  147. if (player.experience >= 5) {
  148. player.experience -= 5;
  149. player.Mods.pushsubmissiveness += 2;
  150. $("#train_display").append("<p>You make others submissive!</p>");
  151. drawStats();
  152. $("#train_button_8").html("Submissiveness+ (" + (player.Mods.pushsubmissiveness / 2) + ")");
  153. }
  154. IsDoneTraining();
  155. }
  156. );
  157. // Push Domesticity
  158. $("#train_buttons").append("<button id='train_button_9' class='btn btn-woman push--right' title='Force Domesticity more!'>Domesticity+ (" + (player.Mods.pushdomesticity / 2) + ")</button>");
  159. $("#train_button_9").click(
  160. function(){
  161. if (player.experience >= 5) {
  162. player.experience -= 5;
  163. player.Mods.pushdomesticity += 2;
  164. $("#train_display").append("<p>You make others domestic!</p>");
  165. drawStats();
  166. $("#train_button_9").html("Domesticity+ (" + (player.Mods.pushdomesticity / 2) + ")");
  167. }
  168. IsDoneTraining();
  169. }
  170. );
  171. // Push Maternalism
  172. $("#train_buttons").append("<button id='train_button_7' class='btn btn-woman push--right' title='Force Maternalism more!'>Maternalism+ (" + (player.Mods.pushmaternalism / 2) + ")</button>");
  173. $("#train_button_7").click(
  174. function(){
  175. if (player.experience >= 5) {
  176. player.experience -= 5;
  177. player.Mods.pushmaternalism += 2;
  178. $("#train_display").append("<p>You make others more mother!</p>");
  179. drawStats();
  180. $("#train_button_7").html("Maternalism+ (" + (player.Mods.pushmaternalism / 2) + ")");
  181. }
  182. IsDoneTraining();
  183. }
  184. );
  185. // Push Allure
  186. $("#train_buttons").append("<button id='train_button_10' class='btn btn-woman push--right' title='Force Alure more!'>Allure+ (" + (player.Mods.pushallure / 2) + ")</button>");
  187. $("#train_button_10").click(
  188. function(){
  189. if (player.experience >= 5) {
  190. player.experience -= 5;
  191. player.Mods.pushallure += 2;
  192. $("#train_display").append("<p>You make others pretty!</p>");
  193. drawStats();
  194. $("#train_button_10").html("Allure+ (" + (player.Mods.pushallure / 2) + ")");
  195. }
  196. IsDoneTraining();
  197. }
  198. );
  199. // Push Orientation
  200. $("#train_buttons").append("<button id='train_button_11' class='btn btn-woman push--right' title='Force Orientation more!'>Orientation+ (" + (player.Mods.pushorientation / 2) + ")</button>");
  201. $("#train_button_11").click(
  202. function(){
  203. if (player.experience >= 5) {
  204. player.experience -= 5;
  205. player.Mods.pushorientation += 2;
  206. $("#train_display").append("<p>You make others desire you!</p>");
  207. drawStats();
  208. $("#train_button_11").html("Orientation+ (" + (player.Mods.pushorientation / 2) + ")");
  209. }
  210. IsDoneTraining();
  211. }
  212. );
  213. $("#train_buttons").append("<br>");
  214. // Resist Dominance
  215. $("#train_buttons").append("<button id='train_button_13' class='btn btn-woman push--right' title='Resist Submissiveness!'>Resist Submissiveness (" + player.Mods.resistsubmissiveness + ")</button>");
  216. $("#train_button_13").click(
  217. function(){
  218. if (player.experience >= 5) {
  219. player.experience -= 5;
  220. player.Mods.resistsubmissiveness += 1;
  221. $("#train_display").append("<p>You not beome a follower so easily!</p>");
  222. drawStats();
  223. $("#train_button_13").html("Resist Submissiveness (" + player.Mods.resistsubmissiveness + ")");
  224. }
  225. IsDoneTraining();
  226. }
  227. );
  228. // Resist Domesticity
  229. $("#train_buttons").append("<button id='train_button_14' class='btn btn-woman push--right' title='Resist Domesticity!'>Resist Domesticity (" + player.Mods.resistdomesticity + ")</button>");
  230. $("#train_button_14").click(
  231. function(){
  232. if (player.experience >= 5) {
  233. player.experience -= 5;
  234. player.Mods.resistdomesticity += 1;
  235. $("#train_display").append("<p>You not become one to look after camp so easily!</p>");
  236. drawStats();
  237. $("#train_button_14").html("Resist Domesticity (" + player.Mods.resistdomesticity + ")");
  238. }
  239. IsDoneTraining();
  240. }
  241. );
  242. // Resist Maternalism
  243. $("#train_buttons").append("<button id='train_button_15' class='btn btn-woman push--right' title='Resist Maternalism!'>Resist Maternalism (" + player.Mods.resistmaternalism + ")</button>");
  244. $("#train_button_15").click(
  245. function(){
  246. if (player.experience >= 5) {
  247. player.experience -= 5;
  248. player.Mods.resistmaternalism += 1;
  249. $("#train_display").append("<p>You not become a mother so easily!</p>");
  250. drawStats();
  251. $("#train_button_15").html("Resist Maternalism (" + player.Mods.resistmaternalism + ")");
  252. }
  253. IsDoneTraining();
  254. }
  255. );
  256. // Resist Allure
  257. $("#train_buttons").append("<button id='train_button_16' class='btn btn-woman push--right' title='Resist Allure!'>Resist Allure (" + player.Mods.resistallure + ")</button>");
  258. $("#train_button_16").click(
  259. function(){
  260. if (player.experience >= 5) {
  261. player.experience -= 5;
  262. player.Mods.resistallure += 1;
  263. $("#train_display").append("<p>You not become pretty so easily!</p>");
  264. drawStats();
  265. $("#train_button_16").html("Resist Allure (" + player.Mods.resistallure + ")");
  266. }
  267. IsDoneTraining();
  268. }
  269. );
  270. // Resist Orientation
  271. $("#train_buttons").append("<button id='train_button_17' class='btn btn-woman push--right' title='Resist Orientation!'>Resist Orientation (" + player.Mods.resistorientation + ")</button>");
  272. $("#train_button_17").click(
  273. function(){
  274. if (player.experience >= 5) {
  275. player.experience -= 5;
  276. player.Mods.resistorientation += 1;
  277. $("#train_display").append("<p>You not gain desire as much</p>");
  278. drawStats();
  279. $("#train_button_17").html("Resist Orientation (" + player.Mods.resistorientation + ")");
  280. }
  281. IsDoneTraining();
  282. }
  283. );
  284. }
  285. function IsDoneTraining()
  286. {
  287. if (player.experience <= 0) {
  288. $("#exp_button").hide();
  289. $("#train_buttons").hide();
  290. $("#train_display").append("<p><b>You no can train more.</b></p>");
  291. }
  292. }