Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(context, args)// npc:true
- {
- args = JSON_.parse( JSON_.stringify( args ) );
- if(args.npc == null) args.npc = true;
- #s.ada.haxfax({log:{a:args,c:context}});
- let npc_check = function(n)
- {
- switch(n)
- {
- case 'amal_robo':
- case 'archaic':
- case 'arino':
- case 'blackstar':
- case 'bluebun':
- case 'bunnybat_hut':
- case 'context':
- case 'core':
- case 'cyberdine':
- case 'empty_nest':
- case 'futuretech':
- case 'halperyon':
- case 'kill_9_1':
- case 'kill_bio':
- case 'legion_bible':
- case 'legion_intl':
- case 'light':
- case 'lowell_extermination':
- case 'marco_polo':
- case 'merrymoor_pharma':
- case 'nation_of_wales':
- case 'nuutec':
- case 'protein_prevention':
- case 'ros13':
- case 'ros_13_update_checker':
- case 'setec_gas':
- case 'sn_w':
- case 'soylentbean':
- case 'suborbital_airlines':
- case 'tandoori':
- case 'the_holy_checksum':
- case 'turing_testing':
- case 'tyrell':
- case 'vacuum_rescue':
- case 'welsh_measles_info':
- case 'weyland':
- case 'world_pop':
- return args.npc;
- default:
- return !args.npc;
- }
- }
- let scripts = #s.scripts.fullsec();
- let npc = [];
- for(var i = 0; i < scripts.length; i++)
- {
- let addr = scripts[i].split('.');
- if(npc_check(addr[0])) npc.push(scripts[i]);
- }
- return npc;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement