maple-v206/scripts/portal/hunterOut.py

34 lines
860 B
Python

maps = {
931050410 : 102040600,
931050415 : 260010201,
931050434 : 261010002,
931050435 : 261010103,
931050417 : 261020500,
931050424 : 261020200,
931050419 : 240010200,
931050420 : 240010600,
931050426 : 240020101,
931050425 : 240020401,
931050422 : 240020200,
931050413 : 220040200,
931050428 : 211041400,
931050436 : 250010502,
931050418 : 251010500,
931050427 : 220080000,
931050429 : 230040410,
931050430 : 240040400,
931050431 : 270010500,
931050432 : 270020500,
931050433 : 270030500,
}
MYSTIC_GATE = 9073008
sm.setSpeakerID(MYSTIC_GATE)
response = sm.sendAskYesNo("Exit the Mystic Gate?")
if not sm.getFieldID() in maps:
sm.sendSayOkay("Sorry I haven't been coded for this map yet")
sm.dispose()
if response:
sm.warpInstanceOut(maps[sm.getFieldID()], 0)