Merge branch 'fixes' into main/gingo-test
[ryzomcore.git] / ryzom / common / data_common / r2 / r2_features_loaded.lua
blobb5e8b92efe4c4ae35a0aeb048081e641a791f818
1 function r2.getCategories()
2 local categories = {
3 {"uiR2EdMobSpawnersCategory", "r2ed_icon_creatures.tga", "root"},
5 {"uiR2EdChestsCategory", "r2ed_icon_components_chest.tga.tga", "root"},
7 -- {"uiR2EdTasksSubTasksCategory", "r2ed_icon_components_tasks.tga", "root"},
8 -- {"uiR2EdTasksCategory", "r2ed_icon_macro_components.tga", "uiR2EdTasksSubTasksCategory"},
9 -- {"uiR2EdTaskStepCategory", "", "uiR2EdTasksSubTasksCategory"},
10 {"uiR2EdTasksCategory", "r2ed_icon_macro_components.tga", "root"},
11 {"uiR2EdTaskStepCategory", "", "root"},
13 {"uiR2EdTriggersCategory", "r2ed_icon_components_trigger.tga", "root"},
15 {"uiR2EdDialogsCategory", "r2_mini_activity_chat.tga", "root"},
17 {"uiR2EdMacroComponentsCategory", "r2ed_icon_macro_components.tga", "root"},
19 {"uiR2EdDevCategory", "r2ed_icon_macro_components.tga", "root"},
20 --{Category_Id, Category_Icon, Parent_Node}
22 return categories
23 end
25 function r2.getLoadedFeaturesDynamic()
26 local loadedFeatures =
28 --Dev
29 --{"r2_features_teleport_near.lua", "TeleportNearFeature", "uiR2EdDevCategory"},
30 {"r2_features_quest.lua", "Quest", "uiR2EdDevCategory"},
31 {"r2_features_npc_interaction.lua", "NpcInteraction", "uiR2EdDevCategory"},
33 --{filename, feature_name, category}
35 return loadedFeatures
36 end