Crossfire Server, Trunk
|
Functions | |
def | parseJSON (filename, relpath) |
Variables | |
def | dialogs = parseJSON([filename], '') |
filename = Crossfire.ScriptParameters() | |
int | index = 0 |
string | location = "defaultdialognamespace" |
npc = Crossfire.WhoAmI() | |
player = Crossfire.WhoIsActivator() | |
replies = None | |
rule | |
speech = Dialog(player, npc, location) | |
def npc_dialog.parseJSON | ( | filename, | |
relpath | |||
) |
Definition at line 51 of file npc_dialog.py.
References CFBank.open().
Definition at line 100 of file npc_dialog.py.
npc_dialog.filename = Crossfire.ScriptParameters() |
Definition at line 99 of file npc_dialog.py.
Referenced by add_to_tar(), AssetsTracker.assetDefined(), ModifiedAssetsManager< Animations >.assetDefined(), ResourcesManager.assetDefined(), assets_pack(), cfpython_openpyfile(), check_login(), command_help(), command_overlay_reset(), compilePython(), copy_file(), dead_player(), display_help_file(), get_template(), help_topics(), i18n_init(), init_attackmess(), init_clocks(), init_emergency_mappath(), init_formulae(), init_regions(), TarLoader.load(), ArtifactLoader.load(), FacesetLoader.load(), MessageLoader.load(), PngLoader.load(), ArchetypeLoader.load(), FaceLoader.load(), TreasureLoader.load(), QuestLoader.load(), WrapperLoader.load(), AssetCollector.load(), ResourcesManager.load(), load_bells(), load_citylife(), inja::Parser.load_file(), inja::Environment.load_file(), inja::Environment.load_json(), load_materials(), load_overlay_map(), TreasureLoader.loadTreasure(), make_path_to_file(), mtar_open(), pack_images(), inja::Environment.parse_file(), inja::Parser.parse_into_template(), inja::Environment.parse_template(), LicenseManager.parseLicenseFile(), LicenseManager.readLicense(), inja::Environment.render_file(), inja::Environment.render_file_with_json_file(), save_map(), save_player(), server_pack_assets(), tempnam_secure(), TarLoader.willLoad(), ArtifactLoader.willLoad(), FacesetLoader.willLoad(), ArchetypeLoader.willLoad(), PngLoader.willLoad(), MessageLoader.willLoad(), FaceLoader.willLoad(), TreasureLoader.willLoad(), QuestLoader.willLoad(), WrapperLoader.willLoad(), ModifiedAssetsManager< Animations >.write(), inja::Environment.write(), write_todclock(), and inja::Environment.write_with_json_file().
int npc_dialog.index = 0 |
Definition at line 102 of file npc_dialog.py.
Referenced by addAssetData(), MimeUtils.addQuestStep(), artifact_msg(), cf_get_month_name(), cf_get_periodofday_name(), cf_get_season_name(), cf_get_weekday_name(), check_wall(), RegionsWrapper.child(), RecipeListWrapper.child(), AllAssets.child(), SoundFiles.child(), ArtifactsWrapper.child(), RecipesWrapper.child(), AssetsCollectionWrapper< Animations >.child(), ArtifactListWrapper.child(), RegionWrapper.child(), AttackMessagesWrapper.child(), ArchetypeWrapper.child(), QuestWrapper.child(), RecipeListWrapper.childIndex(), RecipesWrapper.childIndex(), ArtifactsWrapper.childIndex(), ArtifactListWrapper.childIndex(), ArchetypeWrapper.childIndex(), TreasureListWrapper.childIndex(), TreasureWrapper.childIndex(), QuestWrapper.childIndex(), command_pickup(), CREMainWindow.createMenus(), ArchetypesModel.data(), UseFilterAssetModel.data(), CFGuilds.CFGuild.demote_member(), TreasureWrapper.doAddChild(), TreasureWrapper.doRemoveChild(), MimeUtils.extractQuestSteps(), UseFilterAssetModel.filterAcceptsRow(), ScriptFilterAssetModel.filterAcceptsRow(), find_title(), ArchetypesModel.flags(), nlohmann::detail::dtoa_impl.get_cached_power_for_binary_exponent(), get_colorname(), get_index(), get_month_name(), get_periodofday(), get_season_name(), get_skill_client_code(), get_weekday(), knowledge_alchemy_attempt(), knowledge_alchemy_can_use_item(), knowledge_alchemy_get_recipe(), minheap_get_left(), minheap_get_parent(), minheap_get_right(), object_find_free_spot(), CREMessagePanel.onDuplicate(), CREMessagePanel.onMoveDown(), CREMessagePanel.onMoveUp(), AssetFieldCompleter.pathFromIndex(), pop_wall_point(), CFGuilds.CFGuild.promote_member(), registerCommand(), TreasureListWrapper.removeChild(), QuestWrapper.removeChild(), CRESubItemQuest.selectedStepChanged(), set_block(), ArchetypesModel.setData(), CRESubItemQuest.setData(), CREStringListDelegate.setEditorData(), CREPlayerRepliesDelegate.setEditorData(), CREMultilineItemDelegate.setEditorData(), CREPrePostSingleConditionDelegate.setEditorData(), CREMessageTypeDelegate.setEditorData(), CREPrePostConditionDelegate.setEditorData(), CREStringListDelegate.setModelData(), CREPlayerRepliesDelegate.setModelData(), CREMultilineItemDelegate.setModelData(), CREPrePostSingleConditionDelegate.setModelData(), CREMessageTypeDelegate.setModelData(), CREPrePostConditionDelegate.setModelData(), CREResourcesWindow.treeCustomMenu(), inja::Renderer.visit(), write_attribute_index(), write_book_archive(), and write_type_index().
string npc_dialog.location = "defaultdialognamespace" |
Definition at line 49 of file npc_dialog.py.
Referenced by Player_SetBedMap().
npc_dialog.npc = Crossfire.WhoAmI() |
Definition at line 95 of file npc_dialog.py.
Referenced by add_npc_to_map(), add_npc_to_point(), add_npc_to_zone(), create_npc_array(), create_npc_info(), events_execute_object_say(), get_npc(), monster_check_enemy(), monster_communicate(), monster_do_talk_npc(), monster_find_enemy(), monster_find_nearest_enemy(), monster_format_say(), monster_npc_call_help(), monster_npc_say(), monster_talk_to_npc(), and npcSay().
npc_dialog.player = Crossfire.WhoIsActivator() |
Definition at line 97 of file npc_dialog.py.
Referenced by cfapi_player_quest(), CREMainWindow.onReportQuests(), player_changer_type_process(), and START_TEST().
npc_dialog.replies = None |
Definition at line 105 of file npc_dialog.py.
npc_dialog.rule |
Definition at line 108 of file npc_dialog.py.
Referenced by convert(), MessageFile.copy(), CREMessageItemModel.data(), MessageFile.duplicate(), MessageFile.parseFile(), MessageFile.save(), CREMessageItemModel.setData(), CREMessageItemModel.setSelectedRule(), CREMessagePanel.updateItem(), and MessageFile.uses().