diff --git a/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files/world_editor_classes.xml b/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files/world_editor_classes.xml
index 117291ef2..fb12350e3 100644
--- a/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files/world_editor_classes.xml
+++ b/code/ryzom/common/data_leveldesign/leveldesign/world_editor_files/world_editor_classes.xml
@@ -690,6 +690,7 @@
+
@@ -1028,7 +1029,13 @@
-
+
+
+
+
+
+
+
@@ -1101,6 +1108,7 @@
+
diff --git a/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp b/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp
index cda6790ae..4751fbe4c 100644
--- a/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp
+++ b/code/ryzom/tools/leveldesign/mission_compiler_lib/step_content.cpp
@@ -1139,6 +1139,66 @@ public:
};
REGISTER_STEP_CONTENT(CActionLearnBrick, "learn_brick");
+
+// ---------------------------------------------------------------------------
+class CActionUnlearnBrick : public IStepContent
+{
+ string _BotGiver;
+ vector _Bricks;
+ bool _Group;
+
+ void getPredefParam(uint32 &numEntry, CPhrase::TPredefParams &predef)
+ {
+ numEntry = 0;
+ }
+public:
+ void init(CMissionData &md, IPrimitive *prim)
+ {
+ _BotGiver = md.getProperty(prim, "npc_name", true, false);
+ vector vs;
+ vs = md.getPropertyArray(prim, "bricks", true, false);
+
+ for (uint i=0; i