Sleazy Fork is available in English.

Novicane - SPNATI Cheat

Collection of cheats for the browser game SPNATI, put into a large userscript for ease of use

  1. // ==UserScript==
  2. // @name Novicane - SPNATI Cheat
  3. // @namespace https://www.github.com/anonfoxer
  4. // @version 0.2.0
  5. // @description Collection of cheats for the browser game SPNATI, put into a large userscript for ease of use
  6. // @author anonfoxer
  7. // @match https://spnati.net/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. /* Making the buttons and appending them all
  13. just underneath the name bubble of each character.
  14. Kinda roundabout but eh. */
  15.  
  16. //cheat name button because flair is important.
  17. var cheatNameDummy = document.createElement("button");
  18. cheatNameDummy.innerHTML = "Novicane v0.2.0";
  19. var gameVers = document.getElementById("title-version-button");
  20. gameVers.appendChild(cheatNameDummy);
  21.  
  22. //enable debug bbutton
  23. var enableDebugButton = document.createElement("button");
  24. enableDebugButton.innerHTML = "Enable Debug mode";
  25. var body = document.getElementById("player-name-label-minimal");
  26. document.body.appendChild(enableDebugButton);
  27.  
  28. //win hand button
  29. var winHandButton = document.createElement("button");
  30. winHandButton.innerHTML = "Win Hand";
  31. document.body.appendChild(winHandButton);
  32.  
  33. //instant epilogue button
  34. /*
  35. var instantEpilogueButton = document.createElement("button");
  36. instantEpilogueButton.innerHTML = "Instant Epilogue";
  37. document.body.appendChild(instantEpilogueButton);
  38. */
  39.  
  40. //debug Listener
  41. enableDebugButton.addEventListener ("click", function() {
  42. try{
  43. console.log("Attempting to enable debug mode...")
  44. DEBUG = true;
  45. updateDebugState(true);
  46. console.log("Debug mode enabled.");
  47. }
  48. catch (e) {
  49. console.log("An error occured when trying to enable debug mode: " + e);
  50. alert("Failed to enable debug mode. Check console for details!");
  51. }
  52. });
  53.  
  54. //win hand listener
  55. winHandButton.addEventListener ("click", function() {
  56. players[0].hand.cards = [ 14, 13, 12, 11, 10 ].map(function(n) { return new Card(0 - 1, n); });
  57. });
  58.  
  59.  
  60. //instant epilogue listener
  61. /*
  62. instantEpilogueButton.addEventListener ("click", function() {
  63. var character = prompt("Enter the name of the character you want to see the epilogue of. They must have an epilogue written.","raven");
  64. console.log(character);
  65. doEpilogueModal(character);
  66. });
  67. */