0fDdwkZFEpjX.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="0fDdwkZFEpjX" 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;机关3-左侧1x3宝石&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;6eU5YVTnb8ss&quot;,&quot;NCXzfvDR4oxK&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;NCXzfvDR4oxK&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;机关3-右侧1x3宝石&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;jFTpg4pJwIDC&quot;,&quot;1ErzJPHFa3vZ&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;1ErzJPHFa3vZ&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;机关3-上方2x1宝石&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;Qha4zNY5Qi4E&quot;,&quot;1UE73DYbaaut&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;1UE73DYbaaut&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;机关3-中间2x2宝石&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;cVl3iT9h9Ir8&quot;,&quot;UDAYm2nnjGMU&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;UDAYm2nnjGMU&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;机关3-左下3x2宝石&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;6gyjby8hi2Gv&quot;,&quot;obFVS9rwR5BE&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;obFVS9rwR5BE&quot;,&quot;3&quot;)"/>
  179. <property ResultOption="BT_INVALID"/>
  180. </node>
  181. </node>
  182. <node class="Noop" id="50"/>
  183. </node>
  184. <node class="Assignment" id="52">
  185. <property CastRight="false"/>
  186. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  187. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;宝石名字&quot;)"/>
  188. </node>
  189. <node class="Action" id="53">
  190. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  191. <property ResultOption="BT_SUCCESS"/>
  192. </node>
  193. <node class="Assignment" id="54">
  194. <property CastRight="false"/>
  195. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  196. <property Opr="const string &quot;机关3-右下3x2宝石&quot;"/>
  197. </node>
  198. <node class="Action" id="55">
  199. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  200. <property ResultOption="BT_SUCCESS"/>
  201. </node>
  202. <node class="IfElse" id="51">
  203. <node class="Condition" id="56">
  204. <property Operator="Equal"/>
  205. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  206. <property Opr="const bool true"/>
  207. </node>
  208. <node class="Sequence" id="57">
  209. <node class="Action" id="58">
  210. <property Method="Self.red::RedBehaviacTree::playSubredTimeLineWait(&quot;IhF4w0dZjQLy&quot;,&quot;oX2j8IS6tLBc&quot;,&quot;3&quot;)"/>
  211. <property ResultOption="BT_SUCCESS"/>
  212. </node>
  213. <node class="Action" id="59">
  214. <property Method="Self.red::RedBehaviacTree::getSubredTimeLineState(&quot;oX2j8IS6tLBc&quot;,&quot;3&quot;)"/>
  215. <property ResultOption="BT_INVALID"/>
  216. </node>
  217. </node>
  218. <node class="Noop" id="60"/>
  219. </node>
  220. </node>
  221. </behavior>