Crossfire Server, Trunk
knowledgeknown.py
Go to the documentation of this file.
1
# -*- coding: utf-8 -*-
2
#knowledgeknown.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 pre rule of 'knowledgeknown'
5
# The syntax is ["knowledgeknown", "knowledge"]
6
# To deliver a True verdict, the player must have the knowledge represented
7
# by "knowledge" (specific format depending on the type of knowledge).
8
#
9
14
15
knowledge = args[0]
16
if
not
character.KnowledgeKnown(knowledge):
17
verdict =
False
crossfire-crossfire-maps
python
dialog
pre
knowledgeknown.py
Generated by
1.8.17