khanat-opennel-code/code/ryzom/common/data_common/r2/r2_features_loaded.lua

41 lines
1.3 KiB
Lua
Raw Normal View History

2011-08-13 15:39:55 +00:00
function r2.getCategories()
local categories = {
{"uiR2EdMobSpawnersCategory", "r2ed_icon_creatures.tga", "root"},
{"uiR2EdChestsCategory", "r2ed_icon_components_chest.tga.tga", "root"},
-- {"uiR2EdTasksSubTasksCategory", "r2ed_icon_components_tasks.tga", "root"},
-- {"uiR2EdTasksCategory", "r2ed_icon_macro_components.tga", "uiR2EdTasksSubTasksCategory"},
-- {"uiR2EdTaskStepCategory", "", "uiR2EdTasksSubTasksCategory"},
{"uiR2EdTasksCategory", "r2ed_icon_macro_components.tga", "root"},
{"uiR2EdTaskStepCategory", "", "root"},
{"uiR2EdTriggersCategory", "r2ed_icon_components_trigger.tga", "root"},
{"uiR2EdDialogsCategory", "r2_mini_activity_chat.tga", "root"},
{"uiR2EdMacroComponentsCategory", "r2ed_icon_macro_components.tga", "root"},
{"uiR2EdDevCategory", "r2ed_icon_macro_components.tga", "root"},
--{Category_Id, Category_Icon, Parent_Node}
}
return categories
end
function r2.getLoadedFeaturesDynamic()
local loadedFeatures =
{
--Dev
--{"r2_features_teleport_near.lua", "TeleportNearFeature", "uiR2EdDevCategory"},
{"r2_features_quest.lua", "Quest", "uiR2EdDevCategory"},
{"r2_features_npc_interaction.lua", "NpcInteraction", "uiR2EdDevCategory"},
--{filename, feature_name, category}
}
return loadedFeatures
end