コード例 #1
0
def setObjectRequest(object):
    addTime(7)
    sendRequest("Set "+object)
    ai.src.glob.currentCommand = setResponses[object]
コード例 #2
0
def incantationRequest():
    addTime(300)
    sendRequest("Incantation")
    ai.src.glob.currentCommand = incantationResponse
コード例 #3
0
def ejectRequest():
    addTime(7)
    sendRequest("Eject")
    ai.src.glob.currentCommand = ejectResponse
コード例 #4
0
def takeObjectRequest(object):
    addTime(7)
    sendRequest("Take "+object)
    ai.src.glob.currentCommand = takeResponses[object]
コード例 #5
0
def broadcastRequest(text):
    addTime(7)
    sendRequest("Broadcast " + text)
    ai.src.glob.currentCommand = broadcastResponse
コード例 #6
0
def forkRequest():
    addTime(42)
    sendRequest("Fork")
    ai.src.glob.currentCommand = forkResponse
コード例 #7
0
def inventoryRequest():
    addTime(1)
    sendRequest("Inventory")
    ai.src.glob.currentCommand = inventoryResponse
コード例 #8
0
def lookRequest():
    addTime(7)
    sendRequest("Look")
    ai.src.glob.currentCommand = lookResponse
コード例 #9
0
def leftRequest():
    addTime(7)
    sendRequest("Left")
    ai.src.glob.currentCommand = leftResponse
コード例 #10
0
def rightRequest():
    addTime(7)
    sendRequest("Right")
    ai.src.glob.currentCommand = rightResponse
コード例 #11
0
def forwardRequest():
    addTime(7)
    sendRequest("Forward")
    ai.src.glob.currentCommand = forwardResponse