Advertisement
Nexagon

Untitled

Jan 30th, 2019
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1.  
  2. say = function(saysWhat, instructor = "Zoltar"){
  3. for(var i=0; i<game.ships.length; i++){
  4. game.ships[i].instructorSays(saysWhat, instructor);
  5. }
  6. };
  7.  
  8. hide = function(){
  9. for(var i=0; i<game.ships.length; i++){
  10. game.ships[i].hideInstructor();
  11. }
  12. };
  13. statl = function(dam,rate,speed,shield){
  14. for(var i=0; i<game.aliens.length; i++)
  15. game.aliens[i].set({
  16. damage: dam,
  17. rate: rate,
  18. laser_speed: speed,
  19. shield: shield
  20. });
  21. };
  22.  
  23. killaliens = function(){
  24. for(var i=0; i<game.aliens.length; i++)
  25. game.aliens[i].set({
  26. kill:true
  27. });
  28. };
  29. reset = function(who){
  30. game.ships[who].set({type:101});
  31. };
  32.  
  33. kill = function(who){
  34. game.ships[who].set({kill:true});
  35. };
  36.  
  37. massset = function(id){
  38. for(var z=0; z<game.ships.length; z++)
  39. game.ships[z].set({type:id});
  40. };
  41.  
  42. alien = function(code,lvl,qw){
  43. game.addAlien({
  44. code:code,
  45. level:lvl,
  46. crystal_drop:qw
  47. });
  48. };
  49.  
  50. maxout = function(wot){
  51. game.ships[wot].set({stats:88888888});
  52. };
  53.  
  54. minout = function(wot){
  55. game.ships[wot].set({stats:00000000});
  56. };
  57.  
  58. get = function(code){
  59. game.ships[0].set({type:code});
  60. };
  61.  
  62. jail = function(wat){
  63. game.ships[wat].set({x:45,y:-210})
  64. }
  65.  
  66. jailall = function(){
  67. for(var i=0; i<game.ships.length; i++)
  68. game.ships[i].set({x:45,y:-210})
  69. }
  70.  
  71. sun = function(wat){
  72. game.ships[wat].set({x:0,y:0})
  73. }
  74.  
  75. sunall = function(){
  76. for(var i=0; i<game.ships.length; i++)
  77. game.ships[i].set({x:0,y:0})
  78. }
  79.  
  80. colorall = function(uh){
  81. for(var i=0; i<game.ships.length; i++)
  82. game.ships[i].set({hue:uh})
  83. }
  84.  
  85. color = function(who,uh){
  86. game.ships[who].set({hue:uh})
  87. }
  88.  
  89. give = function(wat,wot){
  90. game.ships[wat].set({type:wot})
  91. }
  92.  
  93. oof = function(heh){
  94. game.addAsteroid({
  95. size: 100,
  96. vx: heh
  97. })
  98. }
  99. check = function(who,how){
  100. game.ships[who].set({score:how})
  101. }
  102.  
  103. kick = function(i){
  104. game.ships[i].gameover({"":"You have been kicked from this server."});
  105. }
  106.  
  107. disable = function(q){
  108. game.ships[q].set({
  109. healing:true
  110. })
  111. }
  112.  
  113. enable = function(q){
  114. game.ships[q].set({
  115. healing:false
  116. })
  117. }
  118.  
  119. idle = function(w){
  120. game.ships[w].set({
  121. idle: true
  122. })
  123. }
  124.  
  125. idlent = function(w){
  126. game.ships[w].set({
  127. idle: false
  128. })
  129. }
  130.  
  131.  
  132. playerlist = function(){
  133. for(nn=0;nn<game.ships.length;nn++)
  134. game.modding.terminal.echo(nn+": "+game.ships[nn].name)
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement