Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- say = function(saysWhat, instructor = "Zoltar"){
- for(var i=0; i<game.ships.length; i++){
- game.ships[i].instructorSays(saysWhat, instructor);
- }
- };
- hide = function(){
- for(var i=0; i<game.ships.length; i++){
- game.ships[i].hideInstructor();
- }
- };
- statl = function(dam,rate,speed,shield){
- for(var i=0; i<game.aliens.length; i++)
- game.aliens[i].set({
- damage: dam,
- rate: rate,
- laser_speed: speed,
- shield: shield
- });
- };
- killaliens = function(){
- for(var i=0; i<game.aliens.length; i++)
- game.aliens[i].set({
- kill:true
- });
- };
- reset = function(who){
- game.ships[who].set({type:101});
- };
- kill = function(who){
- game.ships[who].set({kill:true});
- };
- massset = function(id){
- for(var z=0; z<game.ships.length; z++)
- game.ships[z].set({type:id});
- };
- alien = function(code,lvl,qw){
- game.addAlien({
- code:code,
- level:lvl,
- crystal_drop:qw
- });
- };
- maxout = function(wot){
- game.ships[wot].set({stats:88888888});
- };
- minout = function(wot){
- game.ships[wot].set({stats:00000000});
- };
- get = function(code){
- game.ships[0].set({type:code});
- };
- jail = function(wat){
- game.ships[wat].set({x:45,y:-210})
- }
- jailall = function(){
- for(var i=0; i<game.ships.length; i++)
- game.ships[i].set({x:45,y:-210})
- }
- sun = function(wat){
- game.ships[wat].set({x:0,y:0})
- }
- sunall = function(){
- for(var i=0; i<game.ships.length; i++)
- game.ships[i].set({x:0,y:0})
- }
- colorall = function(uh){
- for(var i=0; i<game.ships.length; i++)
- game.ships[i].set({hue:uh})
- }
- color = function(who,uh){
- game.ships[who].set({hue:uh})
- }
- give = function(wat,wot){
- game.ships[wat].set({type:wot})
- }
- oof = function(heh){
- game.addAsteroid({
- size: 100,
- vx: heh
- })
- }
- check = function(who,how){
- game.ships[who].set({score:how})
- }
- kick = function(i){
- game.ships[i].gameover({"":"You have been kicked from this server."});
- }
- disable = function(q){
- game.ships[q].set({
- healing:true
- })
- }
- enable = function(q){
- game.ships[q].set({
- healing:false
- })
- }
- idle = function(w){
- game.ships[w].set({
- idle: true
- })
- }
- idlent = function(w){
- game.ships[w].set({
- idle: false
- })
- }
- playerlist = function(){
- for(nn=0;nn<game.ships.length;nn++)
- game.modding.terminal.echo(nn+": "+game.ships[nn].name)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement