combat.tscn 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  1. [gd_scene load_steps=17 format=3 uid="uid://b4aouv6fsdecc"]
  2. [ext_resource type="Script" path="res://combat/combat.gd" id="1"]
  3. [ext_resource type="Script" path="res://combat/turn_queue.gd" id="2"]
  4. [ext_resource type="Theme" uid="uid://dtao6d0ebglcf" path="res://theme/theme.tres" id="3"]
  5. [ext_resource type="Script" path="res://combat/interface/ui.gd" id="4"]
  6. [ext_resource type="PackedScene" path="res://combat/interface/info.tscn" id="5"]
  7. [ext_resource type="Texture2D" uid="uid://dh804n3h2bl5h" path="res://combat/background/combat_background.png" id="6"]
  8. [ext_resource type="Texture2D" uid="uid://mi3mmtft0snh" path="res://decoration/grass.png" id="7"]
  9. [ext_resource type="Material" uid="uid://blst65bnoqyam" path="res://decoration/wind_sway.tres" id="8"]
  10. [ext_resource type="Texture2D" uid="uid://m6yf6xcjcsw5" path="res://decoration/pebble.png" id="9"]
  11. [ext_resource type="Texture2D" uid="uid://dcs722r26k774" path="res://decoration/grass_variant.png" id="10"]
  12. [ext_resource type="Texture2D" uid="uid://cynl0x6vk4sf6" path="res://decoration/pebble_variant.png" id="11"]
  13. [ext_resource type="Texture2D" uid="uid://wkde1vn3wdqf" path="res://combat/background/arena.png" id="12"]
  14. [ext_resource type="Texture2D" uid="uid://t6o5bvgfegfx" path="res://combat/background/combat_shadow.png" id="13"]
  15. [ext_resource type="Texture2D" uid="uid://cr0xmj8c7wbyr" path="res://decoration/flower.png" id="14"]
  16. [ext_resource type="Texture2D" uid="uid://cdndsgpg08oui" path="res://decoration/flower_variant.png" id="15"]
  17. [sub_resource type="GDScript" id="1"]
  18. script/source = "extends Node2D
  19. func add_combatant(new_combatant):
  20. new_combatant.position.x += 200 * get_child_count()
  21. add_child(new_combatant)
  22. "
  23. [node name="Combat" type="Node2D"]
  24. script = ExtResource("1")
  25. [node name="TextureRect" type="TextureRect" parent="."]
  26. texture = ExtResource("6")
  27. [node name="Decoration" type="Node2D" parent="TextureRect"]
  28. [node name="Grass" type="Node2D" parent="TextureRect/Decoration"]
  29. position = Vector2(0, 31)
  30. [node name="grass1" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  31. material = ExtResource("8")
  32. position = Vector2(154.2, 84.2)
  33. scale = Vector2(0.6, 0.6)
  34. texture = ExtResource("7")
  35. [node name="grass64" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  36. material = ExtResource("8")
  37. position = Vector2(195, 84)
  38. scale = Vector2(0.6, 0.6)
  39. texture = ExtResource("7")
  40. [node name="grass2" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  41. material = ExtResource("8")
  42. position = Vector2(28.2, 82.2)
  43. scale = Vector2(0.6, 0.6)
  44. texture = ExtResource("7")
  45. [node name="grass3" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  46. material = ExtResource("8")
  47. position = Vector2(229.2, 85.2)
  48. scale = Vector2(0.6, 0.6)
  49. texture = ExtResource("7")
  50. [node name="grass68" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  51. material = ExtResource("8")
  52. position = Vector2(331, 84)
  53. scale = Vector2(0.6, 0.6)
  54. texture = ExtResource("7")
  55. [node name="grass4" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  56. material = ExtResource("8")
  57. position = Vector2(841.2, 82.2)
  58. scale = Vector2(0.6, 0.6)
  59. texture = ExtResource("7")
  60. [node name="grass5" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  61. material = ExtResource("8")
  62. position = Vector2(67.2, 83.2)
  63. scale = Vector2(0.6, 0.6)
  64. texture = ExtResource("10")
  65. [node name="grass30" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  66. material = ExtResource("8")
  67. position = Vector2(801.2, 84.2)
  68. scale = Vector2(0.6, 0.6)
  69. texture = ExtResource("10")
  70. [node name="grass31" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  71. material = ExtResource("8")
  72. position = Vector2(309, 89)
  73. scale = Vector2(0.6, 0.6)
  74. texture = ExtResource("10")
  75. [node name="grass65" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  76. material = ExtResource("8")
  77. position = Vector2(121, 83)
  78. scale = Vector2(0.6, 0.6)
  79. texture = ExtResource("10")
  80. [node name="grass66" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  81. material = ExtResource("8")
  82. position = Vector2(81, 92)
  83. scale = Vector2(0.6, 0.6)
  84. texture = ExtResource("10")
  85. [node name="grass67" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  86. material = ExtResource("8")
  87. position = Vector2(273, 86)
  88. scale = Vector2(0.6, 0.6)
  89. texture = ExtResource("10")
  90. [node name="grass6" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  91. material = ExtResource("8")
  92. position = Vector2(476.2, 83.2)
  93. scale = Vector2(0.6, 0.6)
  94. texture = ExtResource("10")
  95. [node name="grass7" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  96. material = ExtResource("8")
  97. position = Vector2(1079.2, 84.2)
  98. scale = Vector2(0.6, 0.6)
  99. texture = ExtResource("10")
  100. [node name="grass8" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  101. material = ExtResource("8")
  102. position = Vector2(1138.2, 83.2)
  103. scale = Vector2(0.6, 0.6)
  104. texture = ExtResource("10")
  105. [node name="grass9" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  106. material = ExtResource("8")
  107. position = Vector2(432.2, 83.2)
  108. scale = Vector2(0.6, 0.6)
  109. texture = ExtResource("7")
  110. [node name="grass10" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  111. material = ExtResource("8")
  112. position = Vector2(563.2, 84.2)
  113. scale = Vector2(0.6, 0.6)
  114. texture = ExtResource("10")
  115. [node name="grass11" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  116. material = ExtResource("8")
  117. position = Vector2(1013.2, 84.2)
  118. scale = Vector2(0.6, 0.6)
  119. texture = ExtResource("10")
  120. [node name="grass12" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  121. material = ExtResource("8")
  122. position = Vector2(677.2, 82.2)
  123. scale = Vector2(0.6, 0.6)
  124. texture = ExtResource("10")
  125. [node name="grass63" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  126. material = ExtResource("8")
  127. position = Vector2(764, 85)
  128. scale = Vector2(0.6, 0.6)
  129. texture = ExtResource("10")
  130. [node name="grass13" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  131. material = ExtResource("8")
  132. position = Vector2(1201.2, 81.2)
  133. scale = Vector2(0.6, 0.6)
  134. texture = ExtResource("7")
  135. [node name="grass14" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  136. material = ExtResource("8")
  137. position = Vector2(370.2, 88.2)
  138. scale = Vector2(0.6, 0.6)
  139. texture = ExtResource("7")
  140. [node name="grass32" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  141. material = ExtResource("8")
  142. position = Vector2(903.2, 88.2)
  143. scale = Vector2(0.6, 0.6)
  144. texture = ExtResource("7")
  145. [node name="grass15" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  146. material = ExtResource("8")
  147. position = Vector2(740.2, 87.2)
  148. scale = Vector2(0.6, 0.6)
  149. texture = ExtResource("7")
  150. [node name="flower4" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  151. material = ExtResource("8")
  152. position = Vector2(710, 84)
  153. scale = Vector2(0.6, 0.6)
  154. texture = ExtResource("14")
  155. [node name="grass60" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  156. material = ExtResource("8")
  157. position = Vector2(635, 86)
  158. scale = Vector2(0.6, 0.6)
  159. texture = ExtResource("7")
  160. [node name="grass61" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  161. material = ExtResource("8")
  162. position = Vector2(507, 84)
  163. scale = Vector2(0.6, 0.6)
  164. texture = ExtResource("7")
  165. [node name="grass16" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  166. material = ExtResource("8")
  167. position = Vector2(1256.2, 91.2)
  168. scale = Vector2(0.6, 0.6)
  169. texture = ExtResource("10")
  170. [node name="grass19" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  171. material = ExtResource("8")
  172. position = Vector2(144, 101)
  173. texture = ExtResource("10")
  174. [node name="grass17" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  175. material = ExtResource("8")
  176. position = Vector2(962.2, 92.2)
  177. scale = Vector2(0.6, 0.6)
  178. texture = ExtResource("7")
  179. [node name="grass56" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  180. material = ExtResource("8")
  181. position = Vector2(1228, 87)
  182. scale = Vector2(0.6, 0.6)
  183. texture = ExtResource("7")
  184. [node name="grass57" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  185. material = ExtResource("8")
  186. position = Vector2(925, 90)
  187. scale = Vector2(0.6, 0.6)
  188. texture = ExtResource("7")
  189. [node name="grass58" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  190. material = ExtResource("8")
  191. position = Vector2(1050, 88)
  192. scale = Vector2(0.6, 0.6)
  193. texture = ExtResource("7")
  194. [node name="grass59" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  195. material = ExtResource("8")
  196. position = Vector2(1167, 89)
  197. scale = Vector2(0.6, 0.6)
  198. texture = ExtResource("7")
  199. [node name="grass20" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  200. material = ExtResource("8")
  201. position = Vector2(519, 92)
  202. texture = ExtResource("7")
  203. [node name="grass18" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  204. material = ExtResource("8")
  205. position = Vector2(269, 103)
  206. texture = ExtResource("7")
  207. [node name="grass21" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  208. material = ExtResource("8")
  209. position = Vector2(869, 98)
  210. texture = ExtResource("10")
  211. [node name="grass22" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  212. material = ExtResource("8")
  213. position = Vector2(44, 105)
  214. texture = ExtResource("7")
  215. [node name="grass69" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  216. material = ExtResource("8")
  217. position = Vector2(201, 103)
  218. texture = ExtResource("7")
  219. [node name="grass42" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  220. material = ExtResource("8")
  221. position = Vector2(807, 105)
  222. texture = ExtResource("7")
  223. [node name="grass43" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  224. material = ExtResource("8")
  225. position = Vector2(1110, 102)
  226. texture = ExtResource("10")
  227. [node name="grass44" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  228. material = ExtResource("8")
  229. position = Vector2(195, 117)
  230. texture = ExtResource("10")
  231. [node name="grass45" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  232. material = ExtResource("8")
  233. position = Vector2(999, 106)
  234. texture = ExtResource("7")
  235. [node name="grass46" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  236. material = ExtResource("8")
  237. position = Vector2(1196, 104)
  238. texture = ExtResource("7")
  239. [node name="grass47" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  240. material = ExtResource("8")
  241. position = Vector2(398, 104)
  242. texture = ExtResource("10")
  243. [node name="grass48" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  244. material = ExtResource("8")
  245. position = Vector2(1252, 123)
  246. texture = ExtResource("7")
  247. [node name="grass49" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  248. material = ExtResource("8")
  249. position = Vector2(332, 113)
  250. texture = ExtResource("7")
  251. [node name="grass50" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  252. material = ExtResource("8")
  253. position = Vector2(68, 142)
  254. texture = ExtResource("10")
  255. [node name="grass51" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  256. material = ExtResource("8")
  257. position = Vector2(922, 112)
  258. texture = ExtResource("10")
  259. [node name="grass52" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  260. material = ExtResource("8")
  261. position = Vector2(463, 110)
  262. texture = ExtResource("7")
  263. [node name="flower2" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  264. material = ExtResource("8")
  265. position = Vector2(755, 107)
  266. texture = ExtResource("15")
  267. [node name="grass54" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  268. material = ExtResource("8")
  269. position = Vector2(607.2, 90.2)
  270. scale = Vector2(0.6, 0.6)
  271. texture = ExtResource("10")
  272. [node name="grass70" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  273. material = ExtResource("8")
  274. position = Vector2(599, 100)
  275. texture = ExtResource("10")
  276. [node name="grass55" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  277. material = ExtResource("8")
  278. position = Vector2(560, 114)
  279. texture = ExtResource("7")
  280. [node name="grass23" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  281. material = ExtResource("8")
  282. position = Vector2(1056, 112)
  283. texture = ExtResource("7")
  284. [node name="grass24" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  285. material = ExtResource("8")
  286. position = Vector2(1042, 135)
  287. texture = ExtResource("10")
  288. [node name="grass25" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  289. material = ExtResource("8")
  290. position = Vector2(1090, 154)
  291. texture = ExtResource("10")
  292. [node name="grass27" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  293. material = ExtResource("8")
  294. position = Vector2(1134, 128)
  295. texture = ExtResource("7")
  296. [node name="grass71" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  297. material = ExtResource("8")
  298. position = Vector2(851, 128)
  299. texture = ExtResource("10")
  300. [node name="grass72" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  301. material = ExtResource("8")
  302. position = Vector2(1193, 200)
  303. texture = ExtResource("10")
  304. [node name="grass86" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  305. material = ExtResource("8")
  306. position = Vector2(1133, 229)
  307. texture = ExtResource("10")
  308. [node name="grass29" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  309. material = ExtResource("8")
  310. position = Vector2(1128, 169)
  311. texture = ExtResource("7")
  312. [node name="grass77" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  313. material = ExtResource("8")
  314. position = Vector2(49, 173)
  315. texture = ExtResource("7")
  316. [node name="grass33" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  317. material = ExtResource("8")
  318. position = Vector2(693, 104)
  319. texture = ExtResource("7")
  320. [node name="grass34" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  321. material = ExtResource("8")
  322. position = Vector2(647, 105)
  323. texture = ExtResource("10")
  324. [node name="grass35" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  325. material = ExtResource("8")
  326. position = Vector2(677, 125)
  327. texture = ExtResource("10")
  328. [node name="grass41" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  329. material = ExtResource("8")
  330. position = Vector2(314, 132)
  331. texture = ExtResource("10")
  332. [node name="grass36" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  333. material = ExtResource("8")
  334. position = Vector2(391, 133)
  335. texture = ExtResource("7")
  336. [node name="grass75" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  337. material = ExtResource("8")
  338. position = Vector2(163, 135)
  339. texture = ExtResource("7")
  340. [node name="flower3" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  341. material = ExtResource("8")
  342. position = Vector2(525, 129)
  343. texture = ExtResource("14")
  344. [node name="grass40" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  345. material = ExtResource("8")
  346. position = Vector2(782, 126)
  347. texture = ExtResource("7")
  348. [node name="grass38" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  349. material = ExtResource("8")
  350. position = Vector2(612, 130)
  351. texture = ExtResource("10")
  352. [node name="grass81" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  353. material = ExtResource("8")
  354. position = Vector2(148, 311)
  355. texture = ExtResource("10")
  356. [node name="grass82" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  357. material = ExtResource("8")
  358. position = Vector2(53, 274)
  359. texture = ExtResource("10")
  360. [node name="grass83" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  361. material = ExtResource("8")
  362. position = Vector2(226, 274)
  363. texture = ExtResource("10")
  364. [node name="grass85" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  365. material = ExtResource("8")
  366. position = Vector2(1271, 220)
  367. texture = ExtResource("10")
  368. [node name="grass73" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  369. material = ExtResource("8")
  370. position = Vector2(458, 133)
  371. texture = ExtResource("10")
  372. [node name="grass74" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  373. material = ExtResource("8")
  374. position = Vector2(237, 134)
  375. texture = ExtResource("10")
  376. [node name="flower1" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  377. material = ExtResource("8")
  378. position = Vector2(997, 143)
  379. texture = ExtResource("14")
  380. [node name="grass76" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  381. material = ExtResource("8")
  382. position = Vector2(109, 152)
  383. texture = ExtResource("7")
  384. [node name="grass39" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  385. material = ExtResource("8")
  386. position = Vector2(1190, 143)
  387. texture = ExtResource("7")
  388. [node name="grass78" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  389. material = ExtResource("8")
  390. position = Vector2(1254, 159)
  391. texture = ExtResource("7")
  392. [node name="grass28" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  393. material = ExtResource("8")
  394. position = Vector2(915, 146)
  395. texture = ExtResource("10")
  396. [node name="grass80" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  397. material = ExtResource("8")
  398. position = Vector2(311, 288)
  399. texture = ExtResource("10")
  400. [node name="grass84" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  401. material = ExtResource("8")
  402. position = Vector2(1075, 187)
  403. texture = ExtResource("10")
  404. [node name="grass88" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  405. material = ExtResource("8")
  406. position = Vector2(36, 349)
  407. texture = ExtResource("10")
  408. [node name="grass87" type="Sprite2D" parent="TextureRect/Decoration/Grass"]
  409. material = ExtResource("8")
  410. position = Vector2(89, 421)
  411. texture = ExtResource("10")
  412. [node name="Pebble" type="Node2D" parent="TextureRect/Decoration"]
  413. [node name="pebble1" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  414. position = Vector2(312, 481)
  415. texture = ExtResource("9")
  416. [node name="pebble2" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  417. position = Vector2(613.239, 552)
  418. rotation = 1.96699
  419. texture = ExtResource("9")
  420. [node name="pebble5" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  421. position = Vector2(338, 434)
  422. rotation = 1.96699
  423. texture = ExtResource("9")
  424. [node name="pebble8" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  425. position = Vector2(1051, 445)
  426. rotation = 1.96699
  427. texture = ExtResource("11")
  428. [node name="pebble11" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  429. position = Vector2(1118, 479)
  430. rotation = 1.96699
  431. scale = Vector2(0.630977, 0.630977)
  432. texture = ExtResource("11")
  433. [node name="pebble14" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  434. position = Vector2(804, 717)
  435. rotation = 1.96699
  436. scale = Vector2(0.630977, 0.630977)
  437. texture = ExtResource("11")
  438. [node name="pebble10" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  439. position = Vector2(1144, 529)
  440. rotation = 3.0703
  441. texture = ExtResource("11")
  442. [node name="pebble9" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  443. position = Vector2(1159, 415)
  444. rotation = 1.96699
  445. texture = ExtResource("11")
  446. [node name="pebble3" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  447. position = Vector2(869, 405)
  448. rotation = 1.96699
  449. texture = ExtResource("9")
  450. [node name="pebble4" type="Sprite2D" parent="TextureRect/Decoration/Pebble"]
  451. position = Vector2(596, 520)
  452. rotation = -0.764454
  453. texture = ExtResource("9")
  454. [node name="arena" type="Sprite2D" parent="TextureRect"]
  455. position = Vector2(636, 285)
  456. texture = ExtResource("12")
  457. [node name="Decoration2" type="Node2D" parent="TextureRect"]
  458. [node name="Grass" type="Node2D" parent="TextureRect/Decoration2"]
  459. [node name="Grass1" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  460. material = ExtResource("8")
  461. position = Vector2(39, 327)
  462. texture = ExtResource("7")
  463. [node name="Grass34" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  464. material = ExtResource("8")
  465. position = Vector2(182, 361)
  466. texture = ExtResource("7")
  467. [node name="flower1" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  468. material = ExtResource("8")
  469. position = Vector2(283, 348)
  470. texture = ExtResource("14")
  471. [node name="flower6" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  472. material = ExtResource("8")
  473. position = Vector2(407, 372)
  474. texture = ExtResource("15")
  475. [node name="Grass33" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  476. material = ExtResource("8")
  477. position = Vector2(91, 359)
  478. texture = ExtResource("7")
  479. [node name="Grass5" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  480. material = ExtResource("8")
  481. position = Vector2(372, 365)
  482. texture = ExtResource("7")
  483. [node name="Grass3" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  484. material = ExtResource("8")
  485. position = Vector2(866, 298)
  486. texture = ExtResource("7")
  487. [node name="Grass41" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  488. material = ExtResource("8")
  489. position = Vector2(1188, 300)
  490. texture = ExtResource("7")
  491. [node name="Grass42" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  492. material = ExtResource("8")
  493. position = Vector2(1222, 327)
  494. texture = ExtResource("7")
  495. [node name="Grass45" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  496. material = ExtResource("8")
  497. position = Vector2(1281, 282)
  498. texture = ExtResource("7")
  499. [node name="Grass39" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  500. material = ExtResource("8")
  501. position = Vector2(928, 340)
  502. texture = ExtResource("7")
  503. [node name="Grass46" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  504. material = ExtResource("8")
  505. position = Vector2(1262, 333)
  506. texture = ExtResource("7")
  507. [node name="flower3" type="Sprite2D" parent="TextureRect/Decoration2/Grass/Grass46"]
  508. material = ExtResource("8")
  509. position = Vector2(-34, 51)
  510. texture = ExtResource("14")
  511. [node name="Grass31" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  512. material = ExtResource("8")
  513. position = Vector2(981, 325)
  514. texture = ExtResource("7")
  515. [node name="Grass44" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  516. material = ExtResource("8")
  517. position = Vector2(1136, 315)
  518. texture = ExtResource("7")
  519. [node name="Grass36" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  520. material = ExtResource("8")
  521. position = Vector2(1106, 350)
  522. texture = ExtResource("7")
  523. [node name="Grass43" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  524. material = ExtResource("8")
  525. position = Vector2(1181, 333)
  526. texture = ExtResource("7")
  527. [node name="Grass2" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  528. material = ExtResource("8")
  529. position = Vector2(636, 335)
  530. texture = ExtResource("10")
  531. [node name="Grass4" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  532. material = ExtResource("8")
  533. position = Vector2(795, 357)
  534. texture = ExtResource("10")
  535. [node name="flower2" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  536. material = ExtResource("8")
  537. position = Vector2(698, 368)
  538. texture = ExtResource("14")
  539. [node name="Grass40" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  540. material = ExtResource("8")
  541. position = Vector2(883, 380)
  542. texture = ExtResource("10")
  543. [node name="Grass38" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  544. material = ExtResource("8")
  545. position = Vector2(983, 350)
  546. texture = ExtResource("10")
  547. [node name="Grass18" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  548. material = ExtResource("8")
  549. position = Vector2(946, 372)
  550. texture = ExtResource("10")
  551. [node name="Grass37" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  552. material = ExtResource("8")
  553. position = Vector2(1069, 368)
  554. texture = ExtResource("10")
  555. [node name="Grass6" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  556. material = ExtResource("8")
  557. position = Vector2(568, 352)
  558. texture = ExtResource("7")
  559. [node name="Grass32" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  560. material = ExtResource("8")
  561. position = Vector2(443, 370)
  562. texture = ExtResource("7")
  563. [node name="Grass7" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  564. material = ExtResource("8")
  565. position = Vector2(882, 645)
  566. scale = Vector2(1.5, 1.5)
  567. texture = ExtResource("7")
  568. [node name="Grass8" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  569. material = ExtResource("8")
  570. position = Vector2(792, 690)
  571. scale = Vector2(1.5, 1.5)
  572. texture = ExtResource("7")
  573. [node name="Grass26" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  574. material = ExtResource("8")
  575. position = Vector2(1115, 723)
  576. scale = Vector2(1.5, 1.5)
  577. texture = ExtResource("7")
  578. [node name="Grass9" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  579. material = ExtResource("8")
  580. position = Vector2(1286, 623)
  581. scale = Vector2(1.5, 1.5)
  582. texture = ExtResource("7")
  583. [node name="Grass21" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  584. material = ExtResource("8")
  585. position = Vector2(1182, 557)
  586. scale = Vector2(1.5, 1.5)
  587. texture = ExtResource("7")
  588. [node name="Grass27" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  589. material = ExtResource("8")
  590. position = Vector2(1182, 557)
  591. scale = Vector2(1.5, 1.5)
  592. texture = ExtResource("7")
  593. [node name="Grass48" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  594. material = ExtResource("8")
  595. position = Vector2(1184, 497)
  596. scale = Vector2(1.5, 1.5)
  597. texture = ExtResource("7")
  598. [node name="Grass13" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  599. material = ExtResource("8")
  600. position = Vector2(303, 701)
  601. scale = Vector2(1.5, 1.5)
  602. texture = ExtResource("7")
  603. [node name="Grass14" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  604. material = ExtResource("8")
  605. position = Vector2(10, 712)
  606. scale = Vector2(1.5, 1.5)
  607. texture = ExtResource("7")
  608. [node name="Grass24" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  609. material = ExtResource("8")
  610. position = Vector2(67, 731)
  611. scale = Vector2(1.5, 1.5)
  612. texture = ExtResource("7")
  613. [node name="Grass16" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  614. material = ExtResource("8")
  615. position = Vector2(59, 538)
  616. scale = Vector2(1.2, 1.2)
  617. texture = ExtResource("7")
  618. [node name="Grass29" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  619. material = ExtResource("8")
  620. position = Vector2(23, 552)
  621. scale = Vector2(1.2, 1.2)
  622. texture = ExtResource("7")
  623. [node name="Grass30" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  624. material = ExtResource("8")
  625. position = Vector2(88, 572)
  626. scale = Vector2(1.2, 1.2)
  627. texture = ExtResource("7")
  628. [node name="Grass10" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  629. material = ExtResource("8")
  630. position = Vector2(1056, 660)
  631. scale = Vector2(1.5, 1.5)
  632. texture = ExtResource("10")
  633. [node name="Grass11" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  634. material = ExtResource("8")
  635. position = Vector2(1215, 682)
  636. scale = Vector2(1.5, 1.5)
  637. texture = ExtResource("10")
  638. [node name="Grass17" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  639. material = ExtResource("8")
  640. position = Vector2(1288, 449)
  641. scale = Vector2(1.2, 1.2)
  642. texture = ExtResource("10")
  643. [node name="Grass47" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  644. material = ExtResource("8")
  645. position = Vector2(1185, 430)
  646. scale = Vector2(1.2, 1.2)
  647. texture = ExtResource("10")
  648. [node name="Grass28" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  649. material = ExtResource("8")
  650. position = Vector2(1267, 516)
  651. scale = Vector2(1.2, 1.2)
  652. texture = ExtResource("10")
  653. [node name="Grass51" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  654. material = ExtResource("8")
  655. position = Vector2(2, 595)
  656. scale = Vector2(1.5, 1.5)
  657. texture = ExtResource("7")
  658. [node name="Grass15" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  659. material = ExtResource("8")
  660. position = Vector2(383, 736)
  661. scale = Vector2(1.5, 1.5)
  662. texture = ExtResource("10")
  663. [node name="Grass22" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  664. material = ExtResource("8")
  665. position = Vector2(162, 666)
  666. scale = Vector2(1.5, 1.5)
  667. texture = ExtResource("10")
  668. [node name="Grass23" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  669. material = ExtResource("8")
  670. position = Vector2(199, 714)
  671. scale = Vector2(1.5, 1.5)
  672. texture = ExtResource("10")
  673. [node name="Grass19" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  674. material = ExtResource("8")
  675. position = Vector2(546, 701)
  676. scale = Vector2(1.5, 1.5)
  677. texture = ExtResource("10")
  678. [node name="Grass25" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  679. material = ExtResource("8")
  680. position = Vector2(616, 744)
  681. scale = Vector2(1.5, 1.5)
  682. texture = ExtResource("10")
  683. [node name="Grass20" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  684. material = ExtResource("8")
  685. position = Vector2(668, 659)
  686. scale = Vector2(1.5, 1.5)
  687. texture = ExtResource("10")
  688. [node name="Grass12" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  689. material = ExtResource("8")
  690. position = Vector2(988, 677)
  691. scale = Vector2(1.5, 1.5)
  692. texture = ExtResource("7")
  693. [node name="Grass49" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  694. material = ExtResource("8")
  695. position = Vector2(139, 379)
  696. texture = ExtResource("7")
  697. [node name="Grass50" type="Sprite2D" parent="TextureRect/Decoration2/Grass"]
  698. material = ExtResource("8")
  699. position = Vector2(34, 497)
  700. texture = ExtResource("7")
  701. [node name="TextureRect" type="TextureRect" parent="TextureRect"]
  702. modulate = Color(0.509804, 0.27451, 0.701961, 1)
  703. layout_mode = 0
  704. offset_right = 40.0
  705. offset_bottom = 40.0
  706. texture = ExtResource("13")
  707. [node name="Combatants" type="Node2D" parent="."]
  708. position = Vector2(539, 275)
  709. script = SubResource("1")
  710. [node name="TurnQueue" type="Node" parent="." node_paths=PackedStringArray("combatants_list")]
  711. script = ExtResource("2")
  712. combatants_list = NodePath("../Combatants")
  713. [node name="UI" type="Control" parent="." node_paths=PackedStringArray("combatants_node")]
  714. layout_mode = 3
  715. anchors_preset = 0
  716. offset_right = 1280.0
  717. offset_bottom = 720.0
  718. theme = ExtResource("3")
  719. script = ExtResource("4")
  720. combatants_node = NodePath("../Combatants")
  721. info_scene = ExtResource("5")
  722. [node name="Combatants" type="HBoxContainer" parent="UI"]
  723. layout_mode = 0
  724. offset_left = 20.0
  725. offset_top = 77.0
  726. offset_right = 1260.0
  727. offset_bottom = 328.0
  728. theme_override_constants/separation = 360
  729. [node name="Buttons" type="PanelContainer" parent="UI"]
  730. layout_mode = 0
  731. offset_left = 80.0
  732. offset_top = 376.0
  733. offset_right = 1200.0
  734. offset_bottom = 698.0
  735. [node name="GridContainer" type="GridContainer" parent="UI/Buttons"]
  736. layout_mode = 2
  737. size_flags_horizontal = 3
  738. size_flags_vertical = 3
  739. columns = 2
  740. [node name="Attack" type="Button" parent="UI/Buttons/GridContainer"]
  741. layout_mode = 2
  742. size_flags_horizontal = 3
  743. size_flags_vertical = 3
  744. text = "Attack"
  745. [node name="Defend" type="Button" parent="UI/Buttons/GridContainer"]
  746. layout_mode = 2
  747. size_flags_horizontal = 3
  748. size_flags_vertical = 3
  749. text = "Defend"
  750. [node name="Flee" type="Button" parent="UI/Buttons/GridContainer"]
  751. layout_mode = 2
  752. size_flags_horizontal = 3
  753. size_flags_vertical = 3
  754. text = "Flee"
  755. [connection signal="button_up" from="UI/Buttons/GridContainer/Attack" to="UI" method="_on_Attack_button_up"]
  756. [connection signal="button_up" from="UI/Buttons/GridContainer/Defend" to="UI" method="_on_Defend_button_up"]
  757. [connection signal="button_up" from="UI/Buttons/GridContainer/Flee" to="UI" method="_on_Flee_button_up"]