Adds admin logging to megafauna movement

🆑 coiax
rscadd: Admins are now notified if a megafauna uses a wormhole or a
shuttle.
rscadd: A new Shuttle Manipulator verb has been added for quick access
to probably the best and most bugfree feature on /tg/.
/🆑

Megafauna adminnotifies on portal TP

Standard shuttle names and logging

Also ignore .mdme files

Muh commit

Actually works and stuff
This commit is contained in:
Jack Edge
2016-05-27 00:38:25 +01:00
parent 9a30d223b3
commit 3910a546e6
19 changed files with 56 additions and 18 deletions

View File

@@ -26,8 +26,14 @@ def stage1():
wait(p)
play("sound/misc/compiler-stage1.ogg")
def stage2():
p = subprocess.Popen("DreamMaker tgstation.dme", shell=True)
def stage2(map):
if map:
txt = "-M{}".format(map)
else:
txt = ''
args = "bash dm.sh {} tgstation.dme".format(txt)
print(args)
p = subprocess.Popen(args, shell=True)
wait(p)
def stage3():
@@ -56,6 +62,7 @@ def main():
parser = argparse.ArgumentParser()
parser.add_argument('-s','---stage',default=1,type=int)
parser.add_argument('--only',action='store_true')
parser.add_argument('-m','--map',type=str)
args = parser.parse_args()
stage = args.stage
assert stage in (1,2,3)
@@ -64,7 +71,7 @@ def main():
if not args.only:
stage = 2
if stage == 2:
stage2()
stage2(args.map)
if not args.only:
stage = 3
if stage == 3: