3j2QLWgr2fiu.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="3j2QLWgr2fiu" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;tre8YFQJjUtA&quot;,&quot;0&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="IfElse" id="2">
  9. <node class="Condition" id="3">
  10. <property Operator="Equal"/>
  11. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tCoinsGot&quot;)"/>
  12. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tCoinsTotal&quot;)"/>
  13. </node>
  14. <node class="Sequence" id="4">
  15. <node class="Action" id="5">
  16. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;UcLPc2EBIPXV&quot;,&quot;fbxNWwZS8zB6&quot;,&quot;1&quot;)"/>
  17. <property ResultOption="BT_SUCCESS"/>
  18. </node>
  19. <node class="Action" id="6">
  20. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;2pstGWUC9QB2&quot;,&quot;cOzBzK9DYOEI&quot;,&quot;2&quot;)"/>
  21. <property ResultOption="BT_SUCCESS"/>
  22. </node>
  23. </node>
  24. <node class="Sequence" id="7">
  25. <node class="Action" id="8">
  26. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;05QrkFJNd0hG&quot;,&quot;fbxNWwZS8zB6&quot;,&quot;2&quot;)"/>
  27. <property ResultOption="BT_SUCCESS"/>
  28. </node>
  29. <node class="Action" id="9">
  30. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;BUDW4pEcZ3CY&quot;,&quot;cOzBzK9DYOEI&quot;,&quot;3&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. </node>
  34. </node>
  35. <node class="Assignment" id="10">
  36. <property CastRight="false"/>
  37. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  38. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tCosts&quot;)"/>
  39. </node>
  40. <node class="Action" id="11">
  41. <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle(&quot;XrQdAw4ls23g&quot;,&quot;cOzBzK9DYOEI&quot;,&quot;Tiio6n41CViV&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  42. <property ResultOption="BT_SUCCESS"/>
  43. </node>
  44. <node class="Assignment" id="12">
  45. <property CastRight="false"/>
  46. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  47. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tCosts&quot;)"/>
  48. </node>
  49. <node class="Action" id="13">
  50. <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle(&quot;01pisxKwWs3z&quot;,&quot;cOzBzK9DYOEI&quot;,&quot;3Ea9VkHgEMHV&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  51. <property ResultOption="BT_SUCCESS"/>
  52. </node>
  53. <node class="Assignment" id="14">
  54. <property CastRight="false"/>
  55. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  56. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tDiscount&quot;)"/>
  57. </node>
  58. <node class="Action" id="15">
  59. <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle(&quot;3iQKbXqd9W73&quot;,&quot;cOzBzK9DYOEI&quot;,&quot;e4Uo0zAxCe4x&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  60. <property ResultOption="BT_SUCCESS"/>
  61. </node>
  62. <node class="Assignment" id="16">
  63. <property CastRight="false"/>
  64. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  65. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tCoinsGot&quot;)"/>
  66. </node>
  67. <node class="Action" id="17">
  68. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;npJVfQVrWgJT&quot;,&quot;NFeq5mstQMwR&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  69. <property ResultOption="BT_SUCCESS"/>
  70. </node>
  71. <node class="Assignment" id="18">
  72. <property CastRight="false"/>
  73. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  74. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tCoinsTotal&quot;)"/>
  75. </node>
  76. <node class="Action" id="19">
  77. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;KBX2RFU69QYs&quot;,&quot;7Lj5Ae5d3VP0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  78. <property ResultOption="BT_SUCCESS"/>
  79. </node>
  80. <node class="Assignment" id="20">
  81. <property CastRight="false"/>
  82. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  83. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tHint1&quot;)"/>
  84. </node>
  85. <node class="Action" id="21">
  86. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;mmwwk3H21Umh&quot;,&quot;ITeEuY4MyHkj&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  87. <property ResultOption="BT_SUCCESS"/>
  88. </node>
  89. <node class="Assignment" id="22">
  90. <property CastRight="false"/>
  91. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  92. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tCoinsTotal&quot;)"/>
  93. </node>
  94. <node class="Action" id="23">
  95. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;CYycrwDGuzrS&quot;,&quot;KmPfixShKAEB&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  96. <property ResultOption="BT_SUCCESS"/>
  97. </node>
  98. <node class="Assignment" id="24">
  99. <property CastRight="false"/>
  100. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  101. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tCoinsGot&quot;)"/>
  102. </node>
  103. <node class="Action" id="25">
  104. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;1VtDDHOaZRXr&quot;,&quot;ybmeLqhBNqV7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  105. <property ResultOption="BT_SUCCESS"/>
  106. </node>
  107. <node class="Compute" id="26">
  108. <property Operator="Div"/>
  109. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  110. <property Opr1="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tCoinsGot&quot;)"/>
  111. <property Opr2="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tCoinsTotal&quot;)"/>
  112. </node>
  113. <node class="Action" id="27">
  114. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  115. <property ResultOption="BT_SUCCESS"/>
  116. </node>
  117. <node class="Compute" id="28">
  118. <property Operator="Mul"/>
  119. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  120. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  121. <property Opr2="const float 100"/>
  122. </node>
  123. <node class="Action" id="29">
  124. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="Assignment" id="30">
  128. <property CastRight="true"/>
  129. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  130. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_1&quot;)"/>
  131. </node>
  132. <node class="Action" id="31">
  133. <property Method="Self.red::RedBehaviacTree::redProgressBar(&quot;bx8cpbvdsfFc&quot;,&quot;nSIaxgYhVpqD&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. </node>
  137. </behavior>