| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# connection.py |
| 3 |
# This is one of the files that can be called by an npc_dialog, |
| 4 |
# The following code runs when a dialog has a post rule of 'connection' |
| 5 |
# The syntax is ["connection", "numberofconnection"] |
| 6 |
# Triggers the numbered connection on the local map in the same way as |
| 7 |
# if button with that connection value had been pressed. |
| 8 |
## DIALOGCHECK |
| 9 |
## MINARGS 1 |
| 10 |
## MAXARGS 1 |
| 11 |
## \d+ |
| 12 |
## ENDDIALOGCHECK |
| 13 |
|
| 14 |
speaker.Map.TriggerConnected(int(condition[1]), 1, speaker) |