YvEFxZJAjShh.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="YvEFxZJAjShh" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="2">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;宝石名字&quot;)"/>
  8. </node>
  9. <node class="Action" id="3">
  10. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  11. <property ResultOption="BT_SUCCESS"/>
  12. </node>
  13. <node class="Assignment" id="4">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="const string &quot;机关2-左侧1x2宝石&quot;"/>
  17. </node>
  18. <node class="Action" id="5">
  19. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  20. <property ResultOption="BT_SUCCESS"/>
  21. </node>
  22. <node class="IfElse" id="1">
  23. <node class="Condition" id="6">
  24. <property Operator="Equal"/>
  25. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. <property Opr="const bool true"/>
  27. </node>
  28. <node class="Sequence" id="7">
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::playSubredTimeLineWait(&quot;Nh1r9Gl9ZQSg&quot;,&quot;FAjvDtuEge1o&quot;,&quot;3&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Action" id="9">
  34. <property Method="Self.red::RedBehaviacTree::getSubredTimeLineState(&quot;FAjvDtuEge1o&quot;,&quot;3&quot;)"/>
  35. <property ResultOption="BT_INVALID"/>
  36. </node>
  37. </node>
  38. <node class="Noop" id="10"/>
  39. </node>
  40. <node class="Assignment" id="12">
  41. <property CastRight="false"/>
  42. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  43. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;宝石名字&quot;)"/>
  44. </node>
  45. <node class="Action" id="13">
  46. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  47. <property ResultOption="BT_SUCCESS"/>
  48. </node>
  49. <node class="Assignment" id="14">
  50. <property CastRight="false"/>
  51. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  52. <property Opr="const string &quot;机关2-右侧1x2宝石&quot;"/>
  53. </node>
  54. <node class="Action" id="15">
  55. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  56. <property ResultOption="BT_SUCCESS"/>
  57. </node>
  58. <node class="IfElse" id="11">
  59. <node class="Condition" id="16">
  60. <property Operator="Equal"/>
  61. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  62. <property Opr="const bool true"/>
  63. </node>
  64. <node class="Sequence" id="17">
  65. <node class="Action" id="18">
  66. <property Method="Self.red::RedBehaviacTree::playSubredTimeLineWait(&quot;SsnF6QQm6Nw3&quot;,&quot;Af0EwB0vUUMJ&quot;,&quot;3&quot;)"/>
  67. <property ResultOption="BT_SUCCESS"/>
  68. </node>
  69. <node class="Action" id="19">
  70. <property Method="Self.red::RedBehaviacTree::getSubredTimeLineState(&quot;Af0EwB0vUUMJ&quot;,&quot;3&quot;)"/>
  71. <property ResultOption="BT_INVALID"/>
  72. </node>
  73. </node>
  74. <node class="Noop" id="20"/>
  75. </node>
  76. <node class="Assignment" id="22">
  77. <property CastRight="false"/>
  78. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  79. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;宝石名字&quot;)"/>
  80. </node>
  81. <node class="Action" id="23">
  82. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Assignment" id="24">
  86. <property CastRight="false"/>
  87. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  88. <property Opr="const string &quot;机关2-上方3x1宝石&quot;"/>
  89. </node>
  90. <node class="Action" id="25">
  91. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. <node class="IfElse" id="21">
  95. <node class="Condition" id="26">
  96. <property Operator="Equal"/>
  97. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  98. <property Opr="const bool true"/>
  99. </node>
  100. <node class="Sequence" id="27">
  101. <node class="Action" id="28">
  102. <property Method="Self.red::RedBehaviacTree::playSubredTimeLineWait(&quot;dKiRYzyw9n1i&quot;,&quot;QCeK8jKGahqY&quot;,&quot;3&quot;)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Action" id="29">
  106. <property Method="Self.red::RedBehaviacTree::getSubredTimeLineState(&quot;QCeK8jKGahqY&quot;,&quot;3&quot;)"/>
  107. <property ResultOption="BT_INVALID"/>
  108. </node>
  109. </node>
  110. <node class="Noop" id="30"/>
  111. </node>
  112. <node class="Assignment" id="32">
  113. <property CastRight="false"/>
  114. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  115. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;宝石名字&quot;)"/>
  116. </node>
  117. <node class="Action" id="33">
  118. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  119. <property ResultOption="BT_SUCCESS"/>
  120. </node>
  121. <node class="Assignment" id="34">
  122. <property CastRight="false"/>
  123. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  124. <property Opr="const string &quot;机关2-下方3x1宝石&quot;"/>
  125. </node>
  126. <node class="Action" id="35">
  127. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  128. <property ResultOption="BT_SUCCESS"/>
  129. </node>
  130. <node class="IfElse" id="31">
  131. <node class="Condition" id="36">
  132. <property Operator="Equal"/>
  133. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  134. <property Opr="const bool true"/>
  135. </node>
  136. <node class="Sequence" id="37">
  137. <node class="Action" id="38">
  138. <property Method="Self.red::RedBehaviacTree::playSubredTimeLineWait(&quot;w89ZmbStIAef&quot;,&quot;ekzeCXGkw9GV&quot;,&quot;3&quot;)"/>
  139. <property ResultOption="BT_SUCCESS"/>
  140. </node>
  141. <node class="Action" id="39">
  142. <property Method="Self.red::RedBehaviacTree::getSubredTimeLineState(&quot;ekzeCXGkw9GV&quot;,&quot;3&quot;)"/>
  143. <property ResultOption="BT_INVALID"/>
  144. </node>
  145. </node>
  146. <node class="Noop" id="40"/>
  147. </node>
  148. <node class="Assignment" id="42">
  149. <property CastRight="false"/>
  150. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  151. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;宝石名字&quot;)"/>
  152. </node>
  153. <node class="Action" id="43">
  154. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  155. <property ResultOption="BT_SUCCESS"/>
  156. </node>
  157. <node class="Assignment" id="44">
  158. <property CastRight="false"/>
  159. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  160. <property Opr="const string &quot;机关2-中间2x2宝石&quot;"/>
  161. </node>
  162. <node class="Action" id="45">
  163. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  164. <property ResultOption="BT_SUCCESS"/>
  165. </node>
  166. <node class="IfElse" id="41">
  167. <node class="Condition" id="46">
  168. <property Operator="Equal"/>
  169. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  170. <property Opr="const bool true"/>
  171. </node>
  172. <node class="Sequence" id="47">
  173. <node class="Action" id="48">
  174. <property Method="Self.red::RedBehaviacTree::playSubredTimeLineWait(&quot;lIK2gTFim29b&quot;,&quot;SUFCL3rPYBYb&quot;,&quot;3&quot;)"/>
  175. <property ResultOption="BT_SUCCESS"/>
  176. </node>
  177. <node class="Action" id="49">
  178. <property Method="Self.red::RedBehaviacTree::getSubredTimeLineState(&quot;SUFCL3rPYBYb&quot;,&quot;3&quot;)"/>
  179. <property ResultOption="BT_INVALID"/>
  180. </node>
  181. </node>
  182. <node class="Noop" id="50"/>
  183. </node>
  184. </node>
  185. </behavior>