Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 209.85 KB | None | 0 0
  1. options:
  2. Prefix: §8[§eGrundbesitz§8]
  3. KeineRechte: §8[§cSystem§8]§7 §7Keine Rechte!
  4.  
  5. # First Preissetting und Besitzerreset
  6. #================================================================================================================
  7. on load:
  8. if {wohnung1.Preis} is not set:
  9. set {wohnung1.Preis} to 25
  10. if {wohnung2.Preis} is not set:
  11. set {wohnung2.Preis} to 25
  12. if {wohnung3.Preis} is not set:
  13. set {wohnung3.Preis} to 80
  14. if {wohnung4.Preis} is not set:
  15. set {wohnung4.Preis} to 100
  16. if {wohnung5.Preis} is not set:
  17. set {wohnung5.Preis} to 100
  18. if {wohnung6.Preis} is not set:
  19. set {wohnung6.Preis} to 100
  20. if {wohnung7.Preis} is not set:
  21. set {wohnung7.Preis} to 100
  22. if {wohnung8.Preis} is not set:
  23. set {wohnung8.Preis} to 100
  24. if {wohnung9.Preis} is not set:
  25. set {wohnung9.Preis} to 100
  26. if {wohnung10.Preis} is not set:
  27. set {wohnung10.Preis} to 100
  28. if {wohnung11.Preis} is not set:
  29. set {wohnung11.Preis} to 100
  30. if {wohnung12.Preis} is not set:
  31. set {wohnung12.Preis} to 100
  32. if {wohnung13.Preis} is not set:
  33. set {wohnung13.Preis} to 100
  34. if {wohnung14.Preis} is not set:
  35. set {wohnung14.Preis} to 100
  36. if {wohnung15.Preis} is not set:
  37. set {wohnung15.Preis} to 100
  38. if {wohnung16.Preis} is not set:
  39. set {wohnung16.Preis} to 100
  40. if {wohnung17.Preis} is not set:
  41. set {wohnung17.Preis} to 100
  42. if {wohnung18.Preis} is not set:
  43. set {wohnung18.Preis} to 100
  44. if {wohnung19.Preis} is not set:
  45. set {wohnung19.Preis} to 100
  46. if {wohnung20.Preis} is not set:
  47. set {wohnung20.Preis} to 100
  48. if {wohnung21.Preis} is not set:
  49. set {wohnung21.Preis} to 100
  50. if {wohnung22.Preis} is not set:
  51. set {wohnung22.Preis} to 100
  52. if {wohnung23.Preis} is not set:
  53. set {wohnung23.Preis} to 100
  54. if {wohnung24.Preis} is not set:
  55. set {wohnung24.Preis} to 100
  56. if {wohnung25.Preis} is not set:
  57. set {wohnung25.Preis} to 100
  58. if {wohnung26.Preis} is not set:
  59. set {wohnung26.Preis} to 100
  60. if {wohnung27.Preis} is not set:
  61. set {wohnung27.Preis} to 100
  62. if {wohnung28.Preis} is not set:
  63. set {wohnung28.Preis} to 100
  64. if {wohnung29.Preis} is not set:
  65. set {wohnung29.Preis} to 100
  66. if {wohnung30.Preis} is not set:
  67. set {wohnung30.Preis} to 100
  68. if {wohnung31.Preis} is not set:
  69. set {wohnung31.Preis} to 100
  70. if {wohnung32.Preis} is not set:
  71. set {wohnung32.Preis} to 100
  72. if {wohnung33.Preis} is not set:
  73. set {wohnung33.Preis} to 100
  74. if {wohnung34.Preis} is not set:
  75. set {wohnung34.Preis} to 100
  76. if {wohnung35.Preis} is not set:
  77. set {wohnung35.Preis} to 100
  78. if {wohnung36.Preis} is not set:
  79. set {wohnung36.Preis} to 100
  80. if {wohnung37.Preis} is not set:
  81. set {wohnung37.Preis} to 100
  82. if {wohnung38.Preis} is not set:
  83. set {wohnung38.Preis} to 100
  84. if {wohnung39.Preis} is not set:
  85. set {wohnung39.Preis} to 100
  86. if {wohnung40.Preis} is not set:
  87. set {wohnung40.Preis} to 100
  88. if {wohnung41.Preis} is not set:
  89. set {wohnung41.Preis} to 100
  90. if {wohnung42.Preis} is not set:
  91. set {wohnung42.Preis} to 100
  92. if {wohnung43.Preis} is not set:
  93. set {wohnung43.Preis} to 100
  94. if {wohnung44.Preis} is not set:
  95. set {wohnung44.Preis} to 100
  96. if {wohnung45.Preis} is not set:
  97. set {wohnung45.Preis} to 100
  98. #================================================================================================================
  99. on load:
  100. if {wohnung1.Besitzer} is not set:
  101. set {wohnung1.Besitzer} to "Unverkauft"
  102. if {wohnung2.Besitzer} is not set:
  103. set {wohnung2.Besitzer} to "Unverkauft"
  104. if {wohnung3.Besitzer} is not set:
  105. set {wohnung3.Besitzer} to "Unverkauft"
  106. if {wohnung4.Besitzer} is not set:
  107. set {wohnung4.Besitzer} to "Unverkauft"
  108. if {wohnung5.Besitzer} is not set:
  109. set {wohnung5.Besitzer} to "Unverkauft"
  110. if {wohnung6.Besitzer} is not set:
  111. set {wohnung6.Besitzer} to "Unverkauft"
  112. if {wohnung7.Besitzer} is not set:
  113. set {wohnung7.Besitzer} to "Unverkauft"
  114. if {wohnung8.Besitzer} is not set:
  115. set {wohnung8.Besitzer} to "Unverkauft"
  116. if {wohnung9.Besitzer} is not set:
  117. set {wohnung9.Besitzer} to "Unverkauft"
  118. if {wohnung10.Besitzer} is not set:
  119. set {wohnung10.Besitzer} to "Unverkauft"
  120. if {wohnung11.Besitzer} is not set:
  121. set {wohnung11.Besitzer} to "Unverkauft"
  122. if {wohnung12.Besitzer} is not set:
  123. set {wohnung12.Besitzer} to "Unverkauft"
  124. if {wohnung13.Besitzer} is not set:
  125. set {wohnung13.Besitzer} to "Unverkauft"
  126. if {wohnung14.Besitzer} is not set:
  127. set {wohnung14.Besitzer} to "Unverkauft"
  128. if {wohnung15.Besitzer} is not set:
  129. set {wohnung15.Besitzer} to "Unverkauft"
  130. if {wohnung16.Besitzer} is not set:
  131. set {wohnung16.Besitzer} to "Unverkauft"
  132. if {wohnung17.Besitzer} is not set:
  133. set {wohnung17.Besitzer} to "Unverkauft"
  134. if {wohnung18.Besitzer} is not set:
  135. set {wohnung18.Besitzer} to "Unverkauft"
  136. if {wohnung19.Besitzer} is not set:
  137. set {wohnung19.Besitzer} to "Unverkauft"
  138. if {wohnung20.Besitzer} is not set:
  139. set {wohnung20.Besitzer} to "Unverkauft"
  140. if {wohnung21.Besitzer} is not set:
  141. set {wohnung21.Besitzer} to "Unverkauft"
  142. if {wohnung22.Besitzer} is not set:
  143. set {wohnung22.Besitzer} to "Unverkauft"
  144. if {wohnung23.Besitzer} is not set:
  145. set {wohnung23.Besitzer} to "Unverkauft"
  146. if {wohnung24.Besitzer} is not set:
  147. set {wohnung24.Besitzer} to "Unverkauft"
  148. if {wohnung25.Besitzer} is not set:
  149. set {wohnung25.Besitzer} to "Unverkauft"
  150. if {wohnung26.Besitzer} is not set:
  151. set {wohnung26.Besitzer} to "Unverkauft"
  152. if {wohnung27.Besitzer} is not set:
  153. set {wohnung27.Besitzer} to "Unverkauft"
  154. if {wohnung28.Besitzer} is not set:
  155. set {wohnung28.Besitzer} to "Unverkauft"
  156. if {wohnung29.Besitzer} is not set:
  157. set {wohnung29.Besitzer} to "Unverkauft"
  158. if {wohnung30.Besitzer} is not set:
  159. set {wohnung30.Besitzer} to "Unverkauft"
  160. if {wohnung31.Besitzer} is not set:
  161. set {wohnung31.Besitzer} to "Unverkauft"
  162. if {wohnung32.Besitzer} is not set:
  163. set {wohnung32.Besitzer} to "Unverkauft"
  164. if {wohnung33.Besitzer} is not set:
  165. set {wohnung33.Besitzer} to "Unverkauft"
  166. if {wohnung34.Besitzer} is not set:
  167. set {wohnung34.Besitzer} to "Unverkauft"
  168. if {wohnung35.Besitzer} is not set:
  169. set {wohnung35.Besitzer} to "Unverkauft"
  170. if {wohnung36.Besitzer} is not set:
  171. set {wohnung36.Besitzer} to "Unverkauft"
  172. if {wohnung37.Besitzer} is not set:
  173. set {wohnung37.Besitzer} to "Unverkauft"
  174. if {wohnung38.Besitzer} is not set:
  175. set {wohnung38.Besitzer} to "Unverkauft"
  176. if {wohnung39.Besitzer} is not set:
  177. set {wohnung39.Besitzer} to "Unverkauft"
  178. if {wohnung40.Besitzer} is not set:
  179. set {wohnung40.Besitzer} to "Unverkauft"
  180. if {wohnung41.Besitzer} is not set:
  181. set {wohnung41.Besitzer} to "Unverkauft"
  182. if {wohnung42.Besitzer} is not set:
  183. set {wohnung42.Besitzer} to "Unverkauft"
  184. if {wohnung43.Besitzer} is not set:
  185. set {wohnung43.Besitzer} to "Unverkauft"
  186. if {wohnung44.Besitzer} is not set:
  187. set {wohnung44.Besitzer} to "Unverkauft"
  188. if {wohnung45.Besitzer} is not set:
  189. set {wohnung45.Besitzer} to "Unverkauft"
  190. #================================================================================================================
  191. command /setwohnungchest [<Text>] [<Text>]:
  192. permission: op
  193. permission message: "{@KeineRechte}"
  194. trigger:
  195. give golden_axe named "%arg 1%" with lore "%arg 2%" to player
  196. send "{@Prefix} &7Rechtsclicke die zu markierende Kisten!" to player
  197. set {Wohnungscreate.%player%} to "%arg 1%"
  198. set {Wohnungscreate.Kistennummer.%player%} to "%arg 2%"
  199.  
  200. command /wohnungsliste:
  201. permission: op
  202. permission message: "{@KeineRechte}"
  203. trigger:
  204. open chest with 6 rows named "&8Eiseninsel" to player
  205. if {Wohnung1.Besitzer} is "Unverkauft":
  206. format slot 0 of player with red dye named "&8» &7" to be unstealable
  207. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  208.  
  209. command /setwohnungsbesitzer [<Text>] [<Text>]:
  210. permission: op
  211. permission message: "{@KeineRechte}"
  212. trigger:
  213. set {_WohnungsnummerBesitzer} to "%arg 1%"
  214. set {_WohnungsnummerBesitzer.Person} to "%arg 2%"
  215. if arg 2 is not set:
  216. set {_WohnungsnummerBesitzer.Person} to "Unverkauft"
  217. set {wohnung%{_WohnungsnummerBesitzer}%.Besitzer} to "%{_WohnungsnummerBesitzer.Person}%"
  218. if arg 2 is not set:
  219. send "&7Wohnungsbesitzer resettet" to player
  220. stop trigger
  221. else:
  222. send "&7Wohnungsbesitzer gesetzt." to player
  223.  
  224.  
  225. command /setwohnungspreis [<Text>] [<Text>]:
  226. permission: op
  227. permission message: "{@KeineRechte}"
  228. trigger:
  229. set {_WohnungsnummerBesitzer} to "%arg 1%"
  230. set {_WohnungsnummerPreis.Preis} to "%arg 2%"
  231. set {wohnung%{_WohnungsnummerBesitzer}%.Preis} to {_WohnungsnummerPreis.Preis}
  232. send "&7Wohnungspreis gesetzt." to player
  233.  
  234. command /wohnungserstellung:
  235. permission: op
  236. permission message: "{@KeineRechte}"
  237. trigger:
  238. send "&7/setwohnungchest <Wohnungsnummer> <Kistennummer>" to player
  239. send "&7/setwohnungsbesitzer <Wohnungsnummer> <Besitzer>" to player
  240. send "&7/setwohnungssign <Wohnungsnummer>" to player
  241. send "&7/setwohnungspreis <Preis>" to player
  242.  
  243.  
  244.  
  245. command /setwohnungssign [<Text>]:
  246. permission: op
  247. permission message: "{@KeineRechte}"
  248. trigger:
  249. if targeted block is a sign:
  250. set line 2 of target block to "&8[&6Wohnraum&8]"
  251. send "{@Prefix} &7Das Schild wurde beschrieben."
  252. set {Wohnungscreate.%player%} to "%arg 1%"
  253. set {Wohnungscreate.Schildnummer.%player%} to 1
  254. set {_location} to location of targeted block
  255. set {x.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's x-pos
  256. set {y.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's y-pos
  257. set {z.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Schildnummer.%player%}%.sign} to targeted block's z-pos
  258. #
  259. #
  260. # KISTEN - BESITZÜBERPRÜFUNG
  261. #
  262. #
  263. # Wohnung 1
  264. # 1.1
  265. on click on chest:
  266. if player's tool is a golden_axe:
  267. cancel event
  268. set {x.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's x-pos
  269. set {y.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's y-pos
  270. set {z.wohnung%{Wohnungscreate.%player%}%.%{Wohnungscreate.Kistennummer.%player%}%} to event-block's z-pos
  271. send "&7Kiste gesetzt." to player
  272. else:
  273. set {_location} to location of event-block
  274. x-location of {_location} is {x.wohnung1.1}
  275. y-location of {_location} is {y.wohnung1.1}
  276. z-location of {_location} is {z.wohnung1.1}
  277. if {wohnung1.Besitzer} is "%player%":
  278. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  279. else:
  280. cancel event
  281. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  282. # 1.2
  283. on click on chest:
  284. if player's tool is a golden_axe:
  285. cancel event
  286. else:
  287. set {_location} to location of event-block
  288. x-location of {_location} is {x.wohnung1.2}
  289. y-location of {_location} is {y.wohnung1.2}
  290. z-location of {_location} is {z.wohnung1.2}
  291. if {wohnung1.Besitzer} is "%player%":
  292. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  293. else:
  294. cancel event
  295. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  296. # 1.3
  297. on click on chest:
  298. if player's tool is a golden_axe:
  299. cancel event
  300. else:
  301. set {_location} to location of event-block
  302. x-location of {_location} is {x.wohnung1.3}
  303. y-location of {_location} is {y.wohnung1.3}
  304. z-location of {_location} is {z.wohnung1.3}
  305. if {wohnung1.Besitzer} is "%player%":
  306. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  307. else:
  308. cancel event
  309. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  310. # 1.4
  311. on click on chest:
  312. if player's tool is a golden_axe:
  313. cancel event
  314. else:
  315. set {_location} to location of event-block
  316. x-location of {_location} is {x.wohnung1.4}
  317. y-location of {_location} is {y.wohnung1.4}
  318. z-location of {_location} is {z.wohnung1.4}
  319. if {wohnung1.Besitzer} is "%player%":
  320. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  321. else:
  322. cancel event
  323. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  324. # 1.5
  325. on click on chest:
  326. if player's tool is a golden_axe:
  327. cancel event
  328. else:
  329. set {_location} to location of event-block
  330. x-location of {_location} is {x.wohnung1.5}
  331. y-location of {_location} is {y.wohnung1.5}
  332. z-location of {_location} is {z.wohnung1.5}
  333. if {wohnung1.Besitzer} is "%player%":
  334. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  335. else:
  336. cancel event
  337. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  338. # Wohnung 2
  339. # 2.1
  340. on click on chest:
  341. if player's tool is a golden_axe:
  342. cancel event
  343. else:
  344. set {_location} to location of event-block
  345. x-location of {_location} is {x.wohnung2.1}
  346. y-location of {_location} is {y.wohnung2.1}
  347. z-location of {_location} is {z.wohnung2.1}
  348. if {wohnung2.Besitzer} is "%player%":
  349. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  350. else:
  351. cancel event
  352. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  353. # 2.2
  354. on click on chest:
  355. if player's tool is a golden_axe:
  356. cancel event
  357. else:
  358. set {_location} to location of event-block
  359. x-location of {_location} is {x.wohnung2.2}
  360. y-location of {_location} is {y.wohnung2.2}
  361. z-location of {_location} is {z.wohnung2.2}
  362. if {wohnung2.Besitzer} is "%player%":
  363. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  364. else:
  365. cancel event
  366. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  367. # 2.3
  368. on click on chest:
  369. if player's tool is a golden_axe:
  370. cancel event
  371. else:
  372. set {_location} to location of event-block
  373. x-location of {_location} is {x.wohnung2.3}
  374. y-location of {_location} is {y.wohnung2.3}
  375. z-location of {_location} is {z.wohnung2.3}
  376. if {wohnung2.Besitzer} is "%player%":
  377. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  378. else:
  379. cancel event
  380. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  381. # 2.4
  382. on click on chest:
  383. if player's tool is a golden_axe:
  384. cancel event
  385. else:
  386. set {_location} to location of event-block
  387. x-location of {_location} is {x.wohnung2.4}
  388. y-location of {_location} is {y.wohnung2.4}
  389. z-location of {_location} is {z.wohnung2.4}
  390. if {wohnung2.Besitzer} is "%player%":
  391. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  392. else:
  393. cancel event
  394. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  395. # 2.5
  396. on click on chest:
  397. if player's tool is a golden_axe:
  398. cancel event
  399. else:
  400. set {_location} to location of event-block
  401. x-location of {_location} is {x.wohnung2.5}
  402. y-location of {_location} is {y.wohnung2.5}
  403. z-location of {_location} is {z.wohnung2.5}
  404. if {wohnung2.Besitzer} is "%player%":
  405. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  406. else:
  407. cancel event
  408. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  409. # Wohnung 3
  410. # 3.1
  411. on click on chest:
  412. if player's tool is a golden_axe:
  413. cancel event
  414. else:
  415. set {_location} to location of event-block
  416. x-location of {_location} is {x.wohnung3.1}
  417. y-location of {_location} is {y.wohnung3.1}
  418. z-location of {_location} is {z.wohnung3.1}
  419. if {wohnung3.Besitzer} is "%player%":
  420. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  421. else:
  422. cancel event
  423. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  424. # 3.2
  425. on click on chest:
  426. if player's tool is a golden_axe:
  427. cancel event
  428. else:
  429. set {_location} to location of event-block
  430. x-location of {_location} is {x.wohnung3.2}
  431. y-location of {_location} is {y.wohnung3.2}
  432. z-location of {_location} is {z.wohnung3.2}
  433. if {wohnung3.Besitzer} is "%player%":
  434. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  435. else:
  436. cancel event
  437. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  438. # 3.3
  439. on click on chest:
  440. if player's tool is a golden_axe:
  441. cancel event
  442. else:
  443. set {_location} to location of event-block
  444. x-location of {_location} is {x.wohnung3.3}
  445. y-location of {_location} is {y.wohnung3.3}
  446. z-location of {_location} is {z.wohnung3.3}
  447. if {wohnung3.Besitzer} is "%player%":
  448. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  449. else:
  450. cancel event
  451. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  452. # 3.4
  453. on click on chest:
  454. if player's tool is a golden_axe:
  455. cancel event
  456. else:
  457. set {_location} to location of event-block
  458. x-location of {_location} is {x.wohnung3.4}
  459. y-location of {_location} is {y.wohnung3.4}
  460. z-location of {_location} is {z.wohnung3.4}
  461. if {wohnung3.Besitzer} is "%player%":
  462. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  463. else:
  464. cancel event
  465. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  466. # 3.5
  467. on click on chest:
  468. if player's tool is a golden_axe:
  469. cancel event
  470. else:
  471. set {_location} to location of event-block
  472. x-location of {_location} is {x.wohnung3.5}
  473. y-location of {_location} is {y.wohnung3.5}
  474. z-location of {_location} is {z.wohnung3.5}
  475. if {wohnung3.Besitzer} is "%player%":
  476. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  477. else:
  478. cancel event
  479. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  480. # Wohnung 4
  481. # 4.1
  482. on click on chest:
  483. if player's tool is a golden_axe:
  484. cancel event
  485. else:
  486. set {_location} to location of event-block
  487. x-location of {_location} is {x.wohnung4.1}
  488. y-location of {_location} is {y.wohnung4.1}
  489. z-location of {_location} is {z.wohnung4.1}
  490. if {wohnung4.Besitzer} is "%player%":
  491. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  492. else:
  493. cancel event
  494. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  495. # 4.2
  496. on click on chest:
  497. if player's tool is a golden_axe:
  498. cancel event
  499. else:
  500. set {_location} to location of event-block
  501. x-location of {_location} is {x.wohnung4.2}
  502. y-location of {_location} is {y.wohnung4.2}
  503. z-location of {_location} is {z.wohnung4.2}
  504. if {wohnung4.Besitzer} is "%player%":
  505. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  506. else:
  507. cancel event
  508. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  509. # 4.3
  510. on click on chest:
  511. if player's tool is a golden_axe:
  512. cancel event
  513. else:
  514. set {_location} to location of event-block
  515. x-location of {_location} is {x.wohnung4.3}
  516. y-location of {_location} is {y.wohnung4.3}
  517. z-location of {_location} is {z.wohnung4.3}
  518. if {wohnung4.Besitzer} is "%player%":
  519. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  520. else:
  521. cancel event
  522. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  523. # 4.4
  524. on click on chest:
  525. if player's tool is a golden_axe:
  526. cancel event
  527. else:
  528. set {_location} to location of event-block
  529. x-location of {_location} is {x.wohnung4.4}
  530. y-location of {_location} is {y.wohnung4.4}
  531. z-location of {_location} is {z.wohnung4.4}
  532. if {wohnung4.Besitzer} is "%player%":
  533. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  534. else:
  535. cancel event
  536. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  537. # 4.5
  538. on click on chest:
  539. if player's tool is a golden_axe:
  540. cancel event
  541. else:
  542. set {_location} to location of event-block
  543. x-location of {_location} is {x.wohnung4.5}
  544. y-location of {_location} is {y.wohnung4.5}
  545. z-location of {_location} is {z.wohnung4.5}
  546. if {wohnung4.Besitzer} is "%player%":
  547. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  548. else:
  549. cancel event
  550. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  551. # Wohnung 5
  552. # 5.1
  553. on click on chest:
  554. if player's tool is a golden_axe:
  555. cancel event
  556. else:
  557. set {_location} to location of event-block
  558. x-location of {_location} is {x.wohnung5.1}
  559. y-location of {_location} is {y.wohnung5.1}
  560. z-location of {_location} is {z.wohnung5.1}
  561. if {wohnung5.Besitzer} is "%player%":
  562. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  563. else:
  564. cancel event
  565. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  566. # 5.2
  567. on click on chest:
  568. if player's tool is a golden_axe:
  569. cancel event
  570. else:
  571. set {_location} to location of event-block
  572. x-location of {_location} is {x.wohnung5.2}
  573. y-location of {_location} is {y.wohnung5.2}
  574. z-location of {_location} is {z.wohnung5.2}
  575. if {wohnung5.Besitzer} is "%player%":
  576. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  577. else:
  578. cancel event
  579. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  580. # 5.3
  581. on click on chest:
  582. if player's tool is a golden_axe:
  583. cancel event
  584. else:
  585. set {_location} to location of event-block
  586. x-location of {_location} is {x.wohnung5.3}
  587. y-location of {_location} is {y.wohnung5.3}
  588. z-location of {_location} is {z.wohnung5.3}
  589. if {wohnung5.Besitzer} is "%player%":
  590. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  591. else:
  592. cancel event
  593. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  594. # 5.4
  595. on click on chest:
  596. if player's tool is a golden_axe:
  597. cancel event
  598. else:
  599. set {_location} to location of event-block
  600. x-location of {_location} is {x.wohnung5.4}
  601. y-location of {_location} is {y.wohnung5.4}
  602. z-location of {_location} is {z.wohnung5.4}
  603. if {wohnung5.Besitzer} is "%player%":
  604. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  605. else:
  606. cancel event
  607. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  608. # 5.5
  609. on click on chest:
  610. if player's tool is a golden_axe:
  611. cancel event
  612. else:
  613. set {_location} to location of event-block
  614. x-location of {_location} is {x.wohnung5.5}
  615. y-location of {_location} is {y.wohnung5.5}
  616. z-location of {_location} is {z.wohnung5.5}
  617. if {wohnung5.Besitzer} is "%player%":
  618. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  619. else:
  620. cancel event
  621. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  622. # Wohnung 6
  623. # 6.1
  624. on click on chest:
  625. if player's tool is a golden_axe:
  626. cancel event
  627. else:
  628. set {_location} to location of event-block
  629. x-location of {_location} is {x.wohnung6.1}
  630. y-location of {_location} is {y.wohnung6.1}
  631. z-location of {_location} is {z.wohnung6.1}
  632. if {wohnung6.Besitzer} is "%player%":
  633. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  634. else:
  635. cancel event
  636. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  637. # 6.2
  638. on click on chest:
  639. if player's tool is a golden_axe:
  640. cancel event
  641. else:
  642. set {_location} to location of event-block
  643. x-location of {_location} is {x.wohnung6.2}
  644. y-location of {_location} is {y.wohnung6.2}
  645. z-location of {_location} is {z.wohnung6.2}
  646. if {wohnung6.Besitzer} is "%player%":
  647. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  648. else:
  649. cancel event
  650. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  651. # 6.3
  652. on click on chest:
  653. if player's tool is a golden_axe:
  654. cancel event
  655. else:
  656. set {_location} to location of event-block
  657. x-location of {_location} is {x.wohnung6.3}
  658. y-location of {_location} is {y.wohnung6.3}
  659. z-location of {_location} is {z.wohnung6.3}
  660. if {wohnung6.Besitzer} is "%player%":
  661. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  662. else:
  663. cancel event
  664. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  665. # 6.4
  666. on click on chest:
  667. if player's tool is a golden_axe:
  668. cancel event
  669. else:
  670. set {_location} to location of event-block
  671. x-location of {_location} is {x.wohnung6.4}
  672. y-location of {_location} is {y.wohnung6.4}
  673. z-location of {_location} is {z.wohnung6.4}
  674. if {wohnung6.Besitzer} is "%player%":
  675. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  676. else:
  677. cancel event
  678. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  679. # 6.5
  680. on click on chest:
  681. if player's tool is a golden_axe:
  682. cancel event
  683. else:
  684. set {_location} to location of event-block
  685. x-location of {_location} is {x.wohnung6.5}
  686. y-location of {_location} is {y.wohnung6.5}
  687. z-location of {_location} is {z.wohnung6.5}
  688. if {wohnung6.Besitzer} is "%player%":
  689. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  690. else:
  691. cancel event
  692. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  693. # Wohnung 7
  694. # 7.1
  695. on click on chest:
  696. if player's tool is a golden_axe:
  697. cancel event
  698. else:
  699. set {_location} to location of event-block
  700. x-location of {_location} is {x.wohnung7.1}
  701. y-location of {_location} is {y.wohnung7.1}
  702. z-location of {_location} is {z.wohnung7.1}
  703. if {wohnung7.Besitzer} is "%player%":
  704. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  705. else:
  706. cancel event
  707. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  708. # 7.2
  709. on click on chest:
  710. if player's tool is a golden_axe:
  711. cancel event
  712. else:
  713. set {_location} to location of event-block
  714. x-location of {_location} is {x.wohnung7.2}
  715. y-location of {_location} is {y.wohnung7.2}
  716. z-location of {_location} is {z.wohnung7.2}
  717. if {wohnung7.Besitzer} is "%player%":
  718. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  719. else:
  720. cancel event
  721. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  722. # 7.3
  723. on click on chest:
  724. if player's tool is a golden_axe:
  725. cancel event
  726. else:
  727. set {_location} to location of event-block
  728. x-location of {_location} is {x.wohnung7.3}
  729. y-location of {_location} is {y.wohnung7.3}
  730. z-location of {_location} is {z.wohnung7.3}
  731. if {wohnung7.Besitzer} is "%player%":
  732. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  733. else:
  734. cancel event
  735. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  736. # 7.4
  737. on click on chest:
  738. if player's tool is a golden_axe:
  739. cancel event
  740. else:
  741. set {_location} to location of event-block
  742. x-location of {_location} is {x.wohnung7.4}
  743. y-location of {_location} is {y.wohnung7.4}
  744. z-location of {_location} is {z.wohnung7.4}
  745. if {wohnung7.Besitzer} is "%player%":
  746. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  747. else:
  748. cancel event
  749. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  750. # 7.5
  751. on click on chest:
  752. if player's tool is a golden_axe:
  753. cancel event
  754. else:
  755. set {_location} to location of event-block
  756. x-location of {_location} is {x.wohnung7.5}
  757. y-location of {_location} is {y.wohnung7.5}
  758. z-location of {_location} is {z.wohnung7.5}
  759. if {wohnung7.Besitzer} is "%player%":
  760. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  761. else:
  762. cancel event
  763. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  764. # Wohnung 8
  765. # 8.1
  766. on click on chest:
  767. if player's tool is a golden_axe:
  768. cancel event
  769. else:
  770. set {_location} to location of event-block
  771. x-location of {_location} is {x.wohnung8.1}
  772. y-location of {_location} is {y.wohnung8.1}
  773. z-location of {_location} is {z.wohnung8.1}
  774. if {wohnung8.Besitzer} is "%player%":
  775. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  776. else:
  777. cancel event
  778. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  779. # 8.2
  780. on click on chest:
  781. if player's tool is a golden_axe:
  782. cancel event
  783. else:
  784. set {_location} to location of event-block
  785. x-location of {_location} is {x.wohnung8.2}
  786. y-location of {_location} is {y.wohnung8.2}
  787. z-location of {_location} is {z.wohnung8.2}
  788. if {wohnung8.Besitzer} is "%player%":
  789. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  790. else:
  791. cancel event
  792. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  793. # 8.3
  794. on click on chest:
  795. if player's tool is a golden_axe:
  796. cancel event
  797. else:
  798. set {_location} to location of event-block
  799. x-location of {_location} is {x.wohnung8.3}
  800. y-location of {_location} is {y.wohnung8.3}
  801. z-location of {_location} is {z.wohnung8.3}
  802. if {wohnung8.Besitzer} is "%player%":
  803. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  804. else:
  805. cancel event
  806. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  807. # 8.4
  808. on click on chest:
  809. if player's tool is a golden_axe:
  810. cancel event
  811. else:
  812. set {_location} to location of event-block
  813. x-location of {_location} is {x.wohnung8.4}
  814. y-location of {_location} is {y.wohnung8.4}
  815. z-location of {_location} is {z.wohnung8.4}
  816. if {wohnung8.Besitzer} is "%player%":
  817. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  818. else:
  819. cancel event
  820. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  821. # 8.5
  822. on click on chest:
  823. if player's tool is a golden_axe:
  824. cancel event
  825. else:
  826. set {_location} to location of event-block
  827. x-location of {_location} is {x.wohnung8.5}
  828. y-location of {_location} is {y.wohnung8.5}
  829. z-location of {_location} is {z.wohnung8.5}
  830. if {wohnung8.Besitzer} is "%player%":
  831. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  832. else:
  833. cancel event
  834. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  835. # Wohnung 9
  836. # 9.1
  837. on click on chest:
  838. if player's tool is a golden_axe:
  839. cancel event
  840. else:
  841. set {_location} to location of event-block
  842. x-location of {_location} is {x.wohnung9.1}
  843. y-location of {_location} is {y.wohnung9.1}
  844. z-location of {_location} is {z.wohnung9.1}
  845. if {wohnung9.Besitzer} is "%player%":
  846. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  847. else:
  848. cancel event
  849. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  850. # 9.2
  851. on click on chest:
  852. if player's tool is a golden_axe:
  853. cancel event
  854. else:
  855. set {_location} to location of event-block
  856. x-location of {_location} is {x.wohnung9.2}
  857. y-location of {_location} is {y.wohnung9.2}
  858. z-location of {_location} is {z.wohnung9.2}
  859. if {wohnung9.Besitzer} is "%player%":
  860. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  861. else:
  862. cancel event
  863. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  864. # 9.3
  865. on click on chest:
  866. if player's tool is a golden_axe:
  867. cancel event
  868. else:
  869. set {_location} to location of event-block
  870. x-location of {_location} is {x.wohnung9.3}
  871. y-location of {_location} is {y.wohnung9.3}
  872. z-location of {_location} is {z.wohnung9.3}
  873. if {wohnung9.Besitzer} is "%player%":
  874. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  875. else:
  876. cancel event
  877. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  878. # 9.4
  879. on click on chest:
  880. if player's tool is a golden_axe:
  881. cancel event
  882. else:
  883. set {_location} to location of event-block
  884. x-location of {_location} is {x.wohnung9.4}
  885. y-location of {_location} is {y.wohnung9.4}
  886. z-location of {_location} is {z.wohnung9.4}
  887. if {wohnung9.Besitzer} is "%player%":
  888. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  889. else:
  890. cancel event
  891. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  892. # 9.5
  893. on click on chest:
  894. if player's tool is a golden_axe:
  895. cancel event
  896. else:
  897. set {_location} to location of event-block
  898. x-location of {_location} is {x.wohnung9.5}
  899. y-location of {_location} is {y.wohnung9.5}
  900. z-location of {_location} is {z.wohnung9.5}
  901. if {wohnung9.Besitzer} is "%player%":
  902. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  903. else:
  904. cancel event
  905. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  906. # Wohnung 10
  907. # 10.1
  908. on click on chest:
  909. if player's tool is a golden_axe:
  910. cancel event
  911. else:
  912. set {_location} to location of event-block
  913. x-location of {_location} is {x.wohnung10.1}
  914. y-location of {_location} is {y.wohnung10.1}
  915. z-location of {_location} is {z.wohnung10.1}
  916. if {wohnung10.Besitzer} is "%player%":
  917. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  918. else:
  919. cancel event
  920. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  921. # 10.2
  922. on click on chest:
  923. if player's tool is a golden_axe:
  924. cancel event
  925. else:
  926. set {_location} to location of event-block
  927. x-location of {_location} is {x.wohnung10.2}
  928. y-location of {_location} is {y.wohnung10.2}
  929. z-location of {_location} is {z.wohnung10.2}
  930. if {wohnung10.Besitzer} is "%player%":
  931. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  932. else:
  933. cancel event
  934. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  935. # 10.3
  936. on click on chest:
  937. if player's tool is a golden_axe:
  938. cancel event
  939. else:
  940. set {_location} to location of event-block
  941. x-location of {_location} is {x.wohnung10.3}
  942. y-location of {_location} is {y.wohnung10.3}
  943. z-location of {_location} is {z.wohnung10.3}
  944. if {wohnung10.Besitzer} is "%player%":
  945. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  946. else:
  947. cancel event
  948. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  949. # 10.4
  950. on click on chest:
  951. if player's tool is a golden_axe:
  952. cancel event
  953. else:
  954. set {_location} to location of event-block
  955. x-location of {_location} is {x.wohnung10.4}
  956. y-location of {_location} is {y.wohnung10.4}
  957. z-location of {_location} is {z.wohnung10.4}
  958. if {wohnung10.Besitzer} is "%player%":
  959. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  960. else:
  961. cancel event
  962. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  963. # 10.5
  964. on click on chest:
  965. if player's tool is a golden_axe:
  966. cancel event
  967. else:
  968. set {_location} to location of event-block
  969. x-location of {_location} is {x.wohnung10.5}
  970. y-location of {_location} is {y.wohnung10.5}
  971. z-location of {_location} is {z.wohnung10.5}
  972. if {wohnung10.Besitzer} is "%player%":
  973. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  974. else:
  975. cancel event
  976. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  977. # Wohnung 11
  978. # 11.1
  979. on click on chest:
  980. if player's tool is a golden_axe:
  981. cancel event
  982. else:
  983. set {_location} to location of event-block
  984. x-location of {_location} is {x.wohnung11.1}
  985. y-location of {_location} is {y.wohnung11.1}
  986. z-location of {_location} is {z.wohnung11.1}
  987. if {wohnung11.Besitzer} is "%player%":
  988. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  989. else:
  990. cancel event
  991. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  992. # 11.2
  993. on click on chest:
  994. if player's tool is a golden_axe:
  995. cancel event
  996. else:
  997. set {_location} to location of event-block
  998. x-location of {_location} is {x.wohnung11.2}
  999. y-location of {_location} is {y.wohnung11.2}
  1000. z-location of {_location} is {z.wohnung11.2}
  1001. if {wohnung11.Besitzer} is "%player%":
  1002. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1003. else:
  1004. cancel event
  1005. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1006. # 11.3
  1007. on click on chest:
  1008. if player's tool is a golden_axe:
  1009. cancel event
  1010. else:
  1011. set {_location} to location of event-block
  1012. x-location of {_location} is {x.wohnung11.3}
  1013. y-location of {_location} is {y.wohnung11.3}
  1014. z-location of {_location} is {z.wohnung11.3}
  1015. if {wohnung11.Besitzer} is "%player%":
  1016. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1017. else:
  1018. cancel event
  1019. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1020. # 11.4
  1021. on click on chest:
  1022. if player's tool is a golden_axe:
  1023. cancel event
  1024. else:
  1025. set {_location} to location of event-block
  1026. x-location of {_location} is {x.wohnung11.4}
  1027. y-location of {_location} is {y.wohnung11.4}
  1028. z-location of {_location} is {z.wohnung11.4}
  1029. if {wohnung11.Besitzer} is "%player%":
  1030. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1031. else:
  1032. cancel event
  1033. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1034. # 11.5
  1035. on click on chest:
  1036. if player's tool is a golden_axe:
  1037. cancel event
  1038. else:
  1039. set {_location} to location of event-block
  1040. x-location of {_location} is {x.wohnung11.5}
  1041. y-location of {_location} is {y.wohnung11.5}
  1042. z-location of {_location} is {z.wohnung11.5}
  1043. if {wohnung11.Besitzer} is "%player%":
  1044. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1045. else:
  1046. cancel event
  1047. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1048. # Wohnung 12
  1049. # 12.1
  1050. on click on chest:
  1051. if player's tool is a golden_axe:
  1052. cancel event
  1053. else:
  1054. set {_location} to location of event-block
  1055. x-location of {_location} is {x.wohnung12.1}
  1056. y-location of {_location} is {y.wohnung12.1}
  1057. z-location of {_location} is {z.wohnung12.1}
  1058. if {wohnung12.Besitzer} is "%player%":
  1059. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1060. else:
  1061. cancel event
  1062. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1063. # 12.2
  1064. on click on chest:
  1065. if player's tool is a golden_axe:
  1066. cancel event
  1067. else:
  1068. set {_location} to location of event-block
  1069. x-location of {_location} is {x.wohnung12.2}
  1070. y-location of {_location} is {y.wohnung12.2}
  1071. z-location of {_location} is {z.wohnung12.2}
  1072. if {wohnung12.Besitzer} is "%player%":
  1073. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1074. else:
  1075. cancel event
  1076. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1077. # 12.3
  1078. on click on chest:
  1079. if player's tool is a golden_axe:
  1080. cancel event
  1081. else:
  1082. set {_location} to location of event-block
  1083. x-location of {_location} is {x.wohnung12.3}
  1084. y-location of {_location} is {y.wohnung12.3}
  1085. z-location of {_location} is {z.wohnung12.3}
  1086. if {wohnung12.Besitzer} is "%player%":
  1087. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1088. else:
  1089. cancel event
  1090. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1091. # 12.4
  1092. on click on chest:
  1093. if player's tool is a golden_axe:
  1094. cancel event
  1095. else:
  1096. set {_location} to location of event-block
  1097. x-location of {_location} is {x.wohnung12.4}
  1098. y-location of {_location} is {y.wohnung12.4}
  1099. z-location of {_location} is {z.wohnung12.4}
  1100. if {wohnung12.Besitzer} is "%player%":
  1101. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1102. else:
  1103. cancel event
  1104. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1105. # 12.5
  1106. on click on chest:
  1107. if player's tool is a golden_axe:
  1108. cancel event
  1109. else:
  1110. set {_location} to location of event-block
  1111. x-location of {_location} is {x.wohnung12.5}
  1112. y-location of {_location} is {y.wohnung12.5}
  1113. z-location of {_location} is {z.wohnung12.5}
  1114. if {wohnung12.Besitzer} is "%player%":
  1115. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1116. else:
  1117. cancel event
  1118. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1119. # Wohnung 13
  1120. # 13.1
  1121. on click on chest:
  1122. if player's tool is a golden_axe:
  1123. cancel event
  1124. else:
  1125. set {_location} to location of event-block
  1126. x-location of {_location} is {x.wohnung13.1}
  1127. y-location of {_location} is {y.wohnung13.1}
  1128. z-location of {_location} is {z.wohnung13.1}
  1129. if {wohnung13.Besitzer} is "%player%":
  1130. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1131. else:
  1132. cancel event
  1133. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1134. # 13.2
  1135. on click on chest:
  1136. if player's tool is a golden_axe:
  1137. cancel event
  1138. else:
  1139. set {_location} to location of event-block
  1140. x-location of {_location} is {x.wohnung13.2}
  1141. y-location of {_location} is {y.wohnung13.2}
  1142. z-location of {_location} is {z.wohnung13.2}
  1143. if {wohnung13.Besitzer} is "%player%":
  1144. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1145. else:
  1146. cancel event
  1147. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1148. # 13.3
  1149. on click on chest:
  1150. if player's tool is a golden_axe:
  1151. cancel event
  1152. else:
  1153. set {_location} to location of event-block
  1154. x-location of {_location} is {x.wohnung13.3}
  1155. y-location of {_location} is {y.wohnung13.3}
  1156. z-location of {_location} is {z.wohnung13.3}
  1157. if {wohnung13.Besitzer} is "%player%":
  1158. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1159. else:
  1160. cancel event
  1161. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1162. # 13.4
  1163. on click on chest:
  1164. if player's tool is a golden_axe:
  1165. cancel event
  1166. else:
  1167. set {_location} to location of event-block
  1168. x-location of {_location} is {x.wohnung13.4}
  1169. y-location of {_location} is {y.wohnung13.4}
  1170. z-location of {_location} is {z.wohnung13.4}
  1171. if {wohnung13.Besitzer} is "%player%":
  1172. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1173. else:
  1174. cancel event
  1175. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1176. # 13.5
  1177. on click on chest:
  1178. if player's tool is a golden_axe:
  1179. cancel event
  1180. else:
  1181. set {_location} to location of event-block
  1182. x-location of {_location} is {x.wohnung13.5}
  1183. y-location of {_location} is {y.wohnung13.5}
  1184. z-location of {_location} is {z.wohnung13.5}
  1185. if {wohnung14.Besitzer} is "%player%":
  1186. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1187. else:
  1188. cancel event
  1189. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1190. # Wohnung 14
  1191. # 14.1
  1192. on click on chest:
  1193. if player's tool is a golden_axe:
  1194. cancel event
  1195. else:
  1196. set {_location} to location of event-block
  1197. x-location of {_location} is {x.wohnung14.1}
  1198. y-location of {_location} is {y.wohnung14.1}
  1199. z-location of {_location} is {z.wohnung14.1}
  1200. if {wohnung14.Besitzer} is "%player%":
  1201. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1202. else:
  1203. cancel event
  1204. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1205. # 14.2
  1206. on click on chest:
  1207. if player's tool is a golden_axe:
  1208. cancel event
  1209. else:
  1210. set {_location} to location of event-block
  1211. x-location of {_location} is {x.wohnung14.2}
  1212. y-location of {_location} is {y.wohnung14.2}
  1213. z-location of {_location} is {z.wohnung14.2}
  1214. if {wohnung14.Besitzer} is "%player%":
  1215. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1216. else:
  1217. cancel event
  1218. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1219. # 14.3
  1220. on click on chest:
  1221. if player's tool is a golden_axe:
  1222. cancel event
  1223. else:
  1224. set {_location} to location of event-block
  1225. x-location of {_location} is {x.wohnung14.3}
  1226. y-location of {_location} is {y.wohnung14.3}
  1227. z-location of {_location} is {z.wohnung14.3}
  1228. if {wohnung14.Besitzer} is "%player%":
  1229. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1230. else:
  1231. cancel event
  1232. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1233. # 14.4
  1234. on click on chest:
  1235. if player's tool is a golden_axe:
  1236. cancel event
  1237. else:
  1238. set {_location} to location of event-block
  1239. x-location of {_location} is {x.wohnung14.4}
  1240. y-location of {_location} is {y.wohnung14.4}
  1241. z-location of {_location} is {z.wohnung14.4}
  1242. if {wohnung14.Besitzer} is "%player%":
  1243. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1244. else:
  1245. cancel event
  1246. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1247. # 14.5
  1248. on click on chest:
  1249. if player's tool is a golden_axe:
  1250. cancel event
  1251. else:
  1252. set {_location} to location of event-block
  1253. x-location of {_location} is {x.wohnung14.5}
  1254. y-location of {_location} is {y.wohnung14.5}
  1255. z-location of {_location} is {z.wohnung14.5}
  1256. if {wohnung14.Besitzer} is "%player%":
  1257. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1258. else:
  1259. cancel event
  1260. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1261. # Wohnung 15
  1262. # 15.1
  1263. on click on chest:
  1264. if player's tool is a golden_axe:
  1265. cancel event
  1266. else:
  1267. set {_location} to location of event-block
  1268. x-location of {_location} is {x.wohnung15.1}
  1269. y-location of {_location} is {y.wohnung15.1}
  1270. z-location of {_location} is {z.wohnung15.1}
  1271. if {wohnung15.Besitzer} is "%player%":
  1272. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1273. else:
  1274. cancel event
  1275. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1276. # 15.2
  1277. on click on chest:
  1278. if player's tool is a golden_axe:
  1279. cancel event
  1280. else:
  1281. set {_location} to location of event-block
  1282. x-location of {_location} is {x.wohnung15.2}
  1283. y-location of {_location} is {y.wohnung15.2}
  1284. z-location of {_location} is {z.wohnung15.2}
  1285. if {wohnung15.Besitzer} is "%player%":
  1286. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1287. else:
  1288. cancel event
  1289. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1290. # 15.3
  1291. on click on chest:
  1292. if player's tool is a golden_axe:
  1293. cancel event
  1294. else:
  1295. set {_location} to location of event-block
  1296. x-location of {_location} is {x.wohnung15.3}
  1297. y-location of {_location} is {y.wohnung15.3}
  1298. z-location of {_location} is {z.wohnung15.3}
  1299. if {wohnung15.Besitzer} is "%player%":
  1300. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1301. else:
  1302. cancel event
  1303. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1304. # 15.4
  1305. on click on chest:
  1306. if player's tool is a golden_axe:
  1307. cancel event
  1308. else:
  1309. set {_location} to location of event-block
  1310. x-location of {_location} is {x.wohnung15.4}
  1311. y-location of {_location} is {y.wohnung15.4}
  1312. z-location of {_location} is {z.wohnung15.4}
  1313. if {wohnung15.Besitzer} is "%player%":
  1314. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1315. else:
  1316. cancel event
  1317. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1318. # 15.5
  1319. on click on chest:
  1320. if player's tool is a golden_axe:
  1321. cancel event
  1322. else:
  1323. set {_location} to location of event-block
  1324. x-location of {_location} is {x.wohnung15.5}
  1325. y-location of {_location} is {y.wohnung15.5}
  1326. z-location of {_location} is {z.wohnung15.5}
  1327. if {wohnung15.Besitzer} is "%player%":
  1328. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1329. else:
  1330. cancel event
  1331. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1332. # Wohnung 16
  1333. # 16.1
  1334. on click on chest:
  1335. if player's tool is a golden_axe:
  1336. cancel event
  1337. else:
  1338. set {_location} to location of event-block
  1339. x-location of {_location} is {x.wohnung16.1}
  1340. y-location of {_location} is {y.wohnung16.1}
  1341. z-location of {_location} is {z.wohnung16.1}
  1342. if {wohnung16.Besitzer} is "%player%":
  1343. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1344. else:
  1345. cancel event
  1346. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1347. # 16.2
  1348. on click on chest:
  1349. if player's tool is a golden_axe:
  1350. cancel event
  1351. else:
  1352. set {_location} to location of event-block
  1353. x-location of {_location} is {x.wohnung16.2}
  1354. y-location of {_location} is {y.wohnung16.2}
  1355. z-location of {_location} is {z.wohnung16.2}
  1356. if {wohnung16.Besitzer} is "%player%":
  1357. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1358. else:
  1359. cancel event
  1360. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1361. # 16.3
  1362. on click on chest:
  1363. if player's tool is a golden_axe:
  1364. cancel event
  1365. else:
  1366. set {_location} to location of event-block
  1367. x-location of {_location} is {x.wohnung16.3}
  1368. y-location of {_location} is {y.wohnung16.3}
  1369. z-location of {_location} is {z.wohnung16.3}
  1370. if {wohnung16.Besitzer} is "%player%":
  1371. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1372. else:
  1373. cancel event
  1374. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1375. # 16.4
  1376. on click on chest:
  1377. if player's tool is a golden_axe:
  1378. cancel event
  1379. else:
  1380. set {_location} to location of event-block
  1381. x-location of {_location} is {x.wohnung16.4}
  1382. y-location of {_location} is {y.wohnung16.4}
  1383. z-location of {_location} is {z.wohnung16.4}
  1384. if {wohnung16.Besitzer} is "%player%":
  1385. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1386. else:
  1387. cancel event
  1388. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1389. # 16.5
  1390. on click on chest:
  1391. if player's tool is a golden_axe:
  1392. cancel event
  1393. else:
  1394. set {_location} to location of event-block
  1395. x-location of {_location} is {x.wohnung16.5}
  1396. y-location of {_location} is {y.wohnung16.5}
  1397. z-location of {_location} is {z.wohnung16.5}
  1398. if {wohnung16.Besitzer} is "%player%":
  1399. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1400. else:
  1401. cancel event
  1402. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1403. # Wohnung 17
  1404. # 17.1
  1405. on click on chest:
  1406. if player's tool is a golden_axe:
  1407. cancel event
  1408. else:
  1409. set {_location} to location of event-block
  1410. x-location of {_location} is {x.wohnung17.1}
  1411. y-location of {_location} is {y.wohnung17.1}
  1412. z-location of {_location} is {z.wohnung17.1}
  1413. if {wohnung17.Besitzer} is "%player%":
  1414. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1415. else:
  1416. cancel event
  1417. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1418. # 17.2
  1419. on click on chest:
  1420. if player's tool is a golden_axe:
  1421. cancel event
  1422. else:
  1423. set {_location} to location of event-block
  1424. x-location of {_location} is {x.wohnung17.2}
  1425. y-location of {_location} is {y.wohnung17.2}
  1426. z-location of {_location} is {z.wohnung17.2}
  1427. if {wohnung17.Besitzer} is "%player%":
  1428. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1429. else:
  1430. cancel event
  1431. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1432. # 17.3
  1433. on click on chest:
  1434. if player's tool is a golden_axe:
  1435. cancel event
  1436. else:
  1437. set {_location} to location of event-block
  1438. x-location of {_location} is {x.wohnung17.3}
  1439. y-location of {_location} is {y.wohnung17.3}
  1440. z-location of {_location} is {z.wohnung17.3}
  1441. if {wohnung17.Besitzer} is "%player%":
  1442. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1443. else:
  1444. cancel event
  1445. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1446. # 17.4
  1447. on click on chest:
  1448. if player's tool is a golden_axe:
  1449. cancel event
  1450. else:
  1451. set {_location} to location of event-block
  1452. x-location of {_location} is {x.wohnung17.4}
  1453. y-location of {_location} is {y.wohnung17.4}
  1454. z-location of {_location} is {z.wohnung17.4}
  1455. if {wohnung17.Besitzer} is "%player%":
  1456. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1457. else:
  1458. cancel event
  1459. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1460. # 17.5
  1461. on click on chest:
  1462. if player's tool is a golden_axe:
  1463. cancel event
  1464. else:
  1465. set {_location} to location of event-block
  1466. x-location of {_location} is {x.wohnung17.5}
  1467. y-location of {_location} is {y.wohnung17.5}
  1468. z-location of {_location} is {z.wohnung17.5}
  1469. if {wohnung17.Besitzer} is "%player%":
  1470. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1471. else:
  1472. cancel event
  1473. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1474. # Wohnung 18
  1475. # 18.1
  1476. on click on chest:
  1477. if player's tool is a golden_axe:
  1478. cancel event
  1479. else:
  1480. set {_location} to location of event-block
  1481. x-location of {_location} is {x.wohnung18.1}
  1482. y-location of {_location} is {y.wohnung18.1}
  1483. z-location of {_location} is {z.wohnung18.1}
  1484. if {wohnung18.Besitzer} is "%player%":
  1485. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1486. else:
  1487. cancel event
  1488. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1489. # 18.2
  1490. on click on chest:
  1491. if player's tool is a golden_axe:
  1492. cancel event
  1493. else:
  1494. set {_location} to location of event-block
  1495. x-location of {_location} is {x.wohnung18.2}
  1496. y-location of {_location} is {y.wohnung18.2}
  1497. z-location of {_location} is {z.wohnung18.2}
  1498. if {wohnung18.Besitzer} is "%player%":
  1499. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1500. else:
  1501. cancel event
  1502. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1503. # 18.3
  1504. on click on chest:
  1505. if player's tool is a golden_axe:
  1506. cancel event
  1507. else:
  1508. set {_location} to location of event-block
  1509. x-location of {_location} is {x.wohnung18.3}
  1510. y-location of {_location} is {y.wohnung18.3}
  1511. z-location of {_location} is {z.wohnung18.3}
  1512. if {wohnung18.Besitzer} is "%player%":
  1513. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1514. else:
  1515. cancel event
  1516. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1517. # 18.4
  1518. on click on chest:
  1519. if player's tool is a golden_axe:
  1520. cancel event
  1521. else:
  1522. set {_location} to location of event-block
  1523. x-location of {_location} is {x.wohnung18.4}
  1524. y-location of {_location} is {y.wohnung18.4}
  1525. z-location of {_location} is {z.wohnung18.4}
  1526. if {wohnung18.Besitzer} is "%player%":
  1527. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1528. else:
  1529. cancel event
  1530. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1531. # 18.5
  1532. on click on chest:
  1533. if player's tool is a golden_axe:
  1534. cancel event
  1535. else:
  1536. set {_location} to location of event-block
  1537. x-location of {_location} is {x.wohnung18.5}
  1538. y-location of {_location} is {y.wohnung18.5}
  1539. z-location of {_location} is {z.wohnung18.5}
  1540. if {wohnung18.Besitzer} is "%player%":
  1541. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1542. else:
  1543. cancel event
  1544. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1545. # Wohnung 19
  1546. # 19.1
  1547. on click on chest:
  1548. if player's tool is a golden_axe:
  1549. cancel event
  1550. else:
  1551. set {_location} to location of event-block
  1552. x-location of {_location} is {x.wohnung19.1}
  1553. y-location of {_location} is {y.wohnung19.1}
  1554. z-location of {_location} is {z.wohnung19.1}
  1555. if {wohnung19.Besitzer} is "%player%":
  1556. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1557. else:
  1558. cancel event
  1559. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1560. # 19.2
  1561. on click on chest:
  1562. if player's tool is a golden_axe:
  1563. cancel event
  1564. else:
  1565. set {_location} to location of event-block
  1566. x-location of {_location} is {x.wohnung19.2}
  1567. y-location of {_location} is {y.wohnung19.2}
  1568. z-location of {_location} is {z.wohnung19.2}
  1569. if {wohnung19.Besitzer} is "%player%":
  1570. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1571. else:
  1572. cancel event
  1573. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1574. # 19.3
  1575. on click on chest:
  1576. if player's tool is a golden_axe:
  1577. cancel event
  1578. else:
  1579. set {_location} to location of event-block
  1580. x-location of {_location} is {x.wohnung19.3}
  1581. y-location of {_location} is {y.wohnung19.3}
  1582. z-location of {_location} is {z.wohnung19.3}
  1583. if {wohnung19.Besitzer} is "%player%":
  1584. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1585. else:
  1586. cancel event
  1587. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1588. # 19.4
  1589. on click on chest:
  1590. if player's tool is a golden_axe:
  1591. cancel event
  1592. else:
  1593. set {_location} to location of event-block
  1594. x-location of {_location} is {x.wohnung19.4}
  1595. y-location of {_location} is {y.wohnung19.4}
  1596. z-location of {_location} is {z.wohnung19.4}
  1597. if {wohnung19.Besitzer} is "%player%":
  1598. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1599. else:
  1600. cancel event
  1601. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1602. # 19.5
  1603. on click on chest:
  1604. if player's tool is a golden_axe:
  1605. cancel event
  1606. else:
  1607. set {_location} to location of event-block
  1608. x-location of {_location} is {x.wohnung19.5}
  1609. y-location of {_location} is {y.wohnung19.5}
  1610. z-location of {_location} is {z.wohnung19.5}
  1611. if {wohnung19.Besitzer} is "%player%":
  1612. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1613. else:
  1614. cancel event
  1615. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1616. # Wohnung 20
  1617. # 20.1
  1618. on click on chest:
  1619. if player's tool is a golden_axe:
  1620. cancel event
  1621. else:
  1622. set {_location} to location of event-block
  1623. x-location of {_location} is {x.wohnung20.1}
  1624. y-location of {_location} is {y.wohnung20.1}
  1625. z-location of {_location} is {z.wohnung20.1}
  1626. if {wohnung20.Besitzer} is "%player%":
  1627. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1628. else:
  1629. cancel event
  1630. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1631. # 20.2
  1632. on click on chest:
  1633. if player's tool is a golden_axe:
  1634. cancel event
  1635. else:
  1636. set {_location} to location of event-block
  1637. x-location of {_location} is {x.wohnung20.2}
  1638. y-location of {_location} is {y.wohnung20.2}
  1639. z-location of {_location} is {z.wohnung20.2}
  1640. if {wohnung20.Besitzer} is "%player%":
  1641. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1642. else:
  1643. cancel event
  1644. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1645. # 20.3
  1646. on click on chest:
  1647. if player's tool is a golden_axe:
  1648. cancel event
  1649. else:
  1650. set {_location} to location of event-block
  1651. x-location of {_location} is {x.wohnung20.3}
  1652. y-location of {_location} is {y.wohnung20.3}
  1653. z-location of {_location} is {z.wohnung20.3}
  1654. if {wohnung20.Besitzer} is "%player%":
  1655. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1656. else:
  1657. cancel event
  1658. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1659. # 20.4
  1660. on click on chest:
  1661. if player's tool is a golden_axe:
  1662. cancel event
  1663. else:
  1664. set {_location} to location of event-block
  1665. x-location of {_location} is {x.wohnung20.4}
  1666. y-location of {_location} is {y.wohnung20.4}
  1667. z-location of {_location} is {z.wohnung20.4}
  1668. if {wohnung20.Besitzer} is "%player%":
  1669. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1670. else:
  1671. cancel event
  1672. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1673. # 20.5
  1674. on click on chest:
  1675. if player's tool is a golden_axe:
  1676. cancel event
  1677. else:
  1678. set {_location} to location of event-block
  1679. x-location of {_location} is {x.wohnung20.5}
  1680. y-location of {_location} is {y.wohnung20.5}
  1681. z-location of {_location} is {z.wohnung20.5}
  1682. if {wohnung20.Besitzer} is "%player%":
  1683. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1684. else:
  1685. cancel event
  1686. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1687. # Wohnung 21
  1688. # 21.1
  1689. on click on chest:
  1690. if player's tool is a golden_axe:
  1691. cancel event
  1692. else:
  1693. set {_location} to location of event-block
  1694. x-location of {_location} is {x.wohnung21.1}
  1695. y-location of {_location} is {y.wohnung21.1}
  1696. z-location of {_location} is {z.wohnung21.1}
  1697. if {wohnung21.Besitzer} is "%player%":
  1698. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1699. else:
  1700. cancel event
  1701. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1702. # 21.2
  1703. on click on chest:
  1704. if player's tool is a golden_axe:
  1705. cancel event
  1706. else:
  1707. set {_location} to location of event-block
  1708. x-location of {_location} is {x.wohnung21.2}
  1709. y-location of {_location} is {y.wohnung21.2}
  1710. z-location of {_location} is {z.wohnung21.2}
  1711. if {wohnung21.Besitzer} is "%player%":
  1712. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1713. else:
  1714. cancel event
  1715. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1716. # 21.3
  1717. on click on chest:
  1718. if player's tool is a golden_axe:
  1719. cancel event
  1720. else:
  1721. set {_location} to location of event-block
  1722. x-location of {_location} is {x.wohnung21.3}
  1723. y-location of {_location} is {y.wohnung21.3}
  1724. z-location of {_location} is {z.wohnung21.3}
  1725. if {wohnung21.Besitzer} is "%player%":
  1726. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1727. else:
  1728. cancel event
  1729. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1730. # 21.4
  1731. on click on chest:
  1732. if player's tool is a golden_axe:
  1733. cancel event
  1734. else:
  1735. set {_location} to location of event-block
  1736. x-location of {_location} is {x.wohnung21.4}
  1737. y-location of {_location} is {y.wohnung21.4}
  1738. z-location of {_location} is {z.wohnung21.4}
  1739. if {wohnung21.Besitzer} is "%player%":
  1740. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1741. else:
  1742. cancel event
  1743. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1744. # 21.5
  1745. on click on chest:
  1746. if player's tool is a golden_axe:
  1747. cancel event
  1748. else:
  1749. set {_location} to location of event-block
  1750. x-location of {_location} is {x.wohnung21.5}
  1751. y-location of {_location} is {y.wohnung21.5}
  1752. z-location of {_location} is {z.wohnung21.5}
  1753. if {wohnung21.Besitzer} is "%player%":
  1754. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1755. else:
  1756. cancel event
  1757. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1758. # Wohnung 22
  1759. # 22.1
  1760. on click on chest:
  1761. if player's tool is a golden_axe:
  1762. cancel event
  1763. else:
  1764. set {_location} to location of event-block
  1765. x-location of {_location} is {x.wohnung22.1}
  1766. y-location of {_location} is {y.wohnung22.1}
  1767. z-location of {_location} is {z.wohnung22.1}
  1768. if {wohnung22.Besitzer} is "%player%":
  1769. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1770. else:
  1771. cancel event
  1772. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1773. # 22.2
  1774. on click on chest:
  1775. if player's tool is a golden_axe:
  1776. cancel event
  1777. else:
  1778. set {_location} to location of event-block
  1779. x-location of {_location} is {x.wohnung22.2}
  1780. y-location of {_location} is {y.wohnung22.2}
  1781. z-location of {_location} is {z.wohnung22.2}
  1782. if {wohnung22.Besitzer} is "%player%":
  1783. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1784. else:
  1785. cancel event
  1786. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1787. # 22.3
  1788. on click on chest:
  1789. if player's tool is a golden_axe:
  1790. cancel event
  1791. else:
  1792. set {_location} to location of event-block
  1793. x-location of {_location} is {x.wohnung22.3}
  1794. y-location of {_location} is {y.wohnung22.3}
  1795. z-location of {_location} is {z.wohnung22.3}
  1796. if {wohnung22.Besitzer} is "%player%":
  1797. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1798. else:
  1799. cancel event
  1800. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1801. # 22.4
  1802. on click on chest:
  1803. if player's tool is a golden_axe:
  1804. cancel event
  1805. else:
  1806. set {_location} to location of event-block
  1807. x-location of {_location} is {x.wohnung22.4}
  1808. y-location of {_location} is {y.wohnung22.4}
  1809. z-location of {_location} is {z.wohnung22.4}
  1810. if {wohnung22.Besitzer} is "%player%":
  1811. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1812. else:
  1813. cancel event
  1814. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1815. # 22.5
  1816. on click on chest:
  1817. if player's tool is a golden_axe:
  1818. cancel event
  1819. else:
  1820. set {_location} to location of event-block
  1821. x-location of {_location} is {x.wohnung22.5}
  1822. y-location of {_location} is {y.wohnung22.5}
  1823. z-location of {_location} is {z.wohnung22.5}
  1824. if {wohnung22.Besitzer} is "%player%":
  1825. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1826. else:
  1827. cancel event
  1828. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1829. # Wohnung 23
  1830. # 23.1
  1831. on click on chest:
  1832. if player's tool is a golden_axe:
  1833. cancel event
  1834. else:
  1835. set {_location} to location of event-block
  1836. x-location of {_location} is {x.wohnung23.1}
  1837. y-location of {_location} is {y.wohnung23.1}
  1838. z-location of {_location} is {z.wohnung23.1}
  1839. if {wohnung23.Besitzer} is "%player%":
  1840. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1841. else:
  1842. cancel event
  1843. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1844. # 23.2
  1845. on click on chest:
  1846. if player's tool is a golden_axe:
  1847. cancel event
  1848. else:
  1849. set {_location} to location of event-block
  1850. x-location of {_location} is {x.wohnung23.2}
  1851. y-location of {_location} is {y.wohnung23.2}
  1852. z-location of {_location} is {z.wohnung23.2}
  1853. if {wohnung23.Besitzer} is "%player%":
  1854. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1855. else:
  1856. cancel event
  1857. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1858. # 23.3
  1859. on click on chest:
  1860. if player's tool is a golden_axe:
  1861. cancel event
  1862. else:
  1863. set {_location} to location of event-block
  1864. x-location of {_location} is {x.wohnung23.3}
  1865. y-location of {_location} is {y.wohnung23.3}
  1866. z-location of {_location} is {z.wohnung23.3}
  1867. if {wohnung23.Besitzer} is "%player%":
  1868. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1869. else:
  1870. cancel event
  1871. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1872. # 23.4
  1873. on click on chest:
  1874. if player's tool is a golden_axe:
  1875. cancel event
  1876. else:
  1877. set {_location} to location of event-block
  1878. x-location of {_location} is {x.wohnung23.4}
  1879. y-location of {_location} is {y.wohnung23.4}
  1880. z-location of {_location} is {z.wohnung23.4}
  1881. if {wohnung23.Besitzer} is "%player%":
  1882. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1883. else:
  1884. cancel event
  1885. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1886. # 23.5
  1887. on click on chest:
  1888. if player's tool is a golden_axe:
  1889. cancel event
  1890. else:
  1891. set {_location} to location of event-block
  1892. x-location of {_location} is {x.wohnung23.5}
  1893. y-location of {_location} is {y.wohnung23.5}
  1894. z-location of {_location} is {z.wohnung23.5}
  1895. if {wohnung23.Besitzer} is "%player%":
  1896. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1897. else:
  1898. cancel event
  1899. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1900. # Wohnung 24
  1901. # 24.1
  1902. on click on chest:
  1903. if player's tool is a golden_axe:
  1904. cancel event
  1905. else:
  1906. set {_location} to location of event-block
  1907. x-location of {_location} is {x.wohnung24.1}
  1908. y-location of {_location} is {y.wohnung24.1}
  1909. z-location of {_location} is {z.wohnung24.1}
  1910. if {wohnung24.Besitzer} is "%player%":
  1911. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1912. else:
  1913. cancel event
  1914. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1915. # 24.2
  1916. on click on chest:
  1917. if player's tool is a golden_axe:
  1918. cancel event
  1919. else:
  1920. set {_location} to location of event-block
  1921. x-location of {_location} is {x.wohnung24.2}
  1922. y-location of {_location} is {y.wohnung24.2}
  1923. z-location of {_location} is {z.wohnung24.2}
  1924. if {wohnung24.Besitzer} is "%player%":
  1925. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1926. else:
  1927. cancel event
  1928. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1929. # 24.3
  1930. on click on chest:
  1931. if player's tool is a golden_axe:
  1932. cancel event
  1933. else:
  1934. set {_location} to location of event-block
  1935. x-location of {_location} is {x.wohnung24.3}
  1936. y-location of {_location} is {y.wohnung24.3}
  1937. z-location of {_location} is {z.wohnung24.3}
  1938. if {wohnung24.Besitzer} is "%player%":
  1939. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1940. else:
  1941. cancel event
  1942. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1943. # 24.4
  1944. on click on chest:
  1945. if player's tool is a golden_axe:
  1946. cancel event
  1947. else:
  1948. set {_location} to location of event-block
  1949. x-location of {_location} is {x.wohnung24.4}
  1950. y-location of {_location} is {y.wohnung24.4}
  1951. z-location of {_location} is {z.wohnung24.4}
  1952. if {wohnung24.Besitzer} is "%player%":
  1953. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1954. else:
  1955. cancel event
  1956. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1957. # 24.5
  1958. on click on chest:
  1959. if player's tool is a golden_axe:
  1960. cancel event
  1961. else:
  1962. set {_location} to location of event-block
  1963. x-location of {_location} is {x.wohnung24.5}
  1964. y-location of {_location} is {y.wohnung24.5}
  1965. z-location of {_location} is {z.wohnung24.5}
  1966. if {wohnung24.Besitzer} is "%player%":
  1967. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1968. else:
  1969. cancel event
  1970. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1971. # Wohnung 25
  1972. # 25.1
  1973. on click on chest:
  1974. if player's tool is a golden_axe:
  1975. cancel event
  1976. else:
  1977. set {_location} to location of event-block
  1978. x-location of {_location} is {x.wohnung25.1}
  1979. y-location of {_location} is {y.wohnung25.1}
  1980. z-location of {_location} is {z.wohnung25.1}
  1981. if {wohnung25.Besitzer} is "%player%":
  1982. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1983. else:
  1984. cancel event
  1985. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  1986. # 25.2
  1987. on click on chest:
  1988. if player's tool is a golden_axe:
  1989. cancel event
  1990. else:
  1991. set {_location} to location of event-block
  1992. x-location of {_location} is {x.wohnung25.2}
  1993. y-location of {_location} is {y.wohnung25.2}
  1994. z-location of {_location} is {z.wohnung25.2}
  1995. if {wohnung25.Besitzer} is "%player%":
  1996. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  1997. else:
  1998. cancel event
  1999. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2000. # 25.3
  2001. on click on chest:
  2002. if player's tool is a golden_axe:
  2003. cancel event
  2004. else:
  2005. set {_location} to location of event-block
  2006. x-location of {_location} is {x.wohnung25.3}
  2007. y-location of {_location} is {y.wohnung25.3}
  2008. z-location of {_location} is {z.wohnung25.3}
  2009. if {wohnung25.Besitzer} is "%player%":
  2010. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2011. else:
  2012. cancel event
  2013. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2014. # 25.4
  2015. on click on chest:
  2016. if player's tool is a golden_axe:
  2017. cancel event
  2018. else:
  2019. set {_location} to location of event-block
  2020. x-location of {_location} is {x.wohnung25.4}
  2021. y-location of {_location} is {y.wohnung25.4}
  2022. z-location of {_location} is {z.wohnung25.4}
  2023. if {wohnung25.Besitzer} is "%player%":
  2024. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2025. else:
  2026. cancel event
  2027. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2028. # 25.5
  2029. on click on chest:
  2030. if player's tool is a golden_axe:
  2031. cancel event
  2032. else:
  2033. set {_location} to location of event-block
  2034. x-location of {_location} is {x.wohnung25.5}
  2035. y-location of {_location} is {y.wohnung25.5}
  2036. z-location of {_location} is {z.wohnung25.5}
  2037. if {wohnung25.Besitzer} is "%player%":
  2038. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2039. else:
  2040. cancel event
  2041. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2042. # Wohnung 26
  2043. # 26.1
  2044. on click on chest:
  2045. if player's tool is a golden_axe:
  2046. cancel event
  2047. else:
  2048. set {_location} to location of event-block
  2049. x-location of {_location} is {x.wohnung26.1}
  2050. y-location of {_location} is {y.wohnung26.1}
  2051. z-location of {_location} is {z.wohnung26.1}
  2052. if {wohnung26.Besitzer} is "%player%":
  2053. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2054. else:
  2055. cancel event
  2056. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2057. # 26.2
  2058. on click on chest:
  2059. if player's tool is a golden_axe:
  2060. cancel event
  2061. else:
  2062. set {_location} to location of event-block
  2063. x-location of {_location} is {x.wohnung26.2}
  2064. y-location of {_location} is {y.wohnung26.2}
  2065. z-location of {_location} is {z.wohnung26.2}
  2066. if {wohnung26.Besitzer} is "%player%":
  2067. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2068. else:
  2069. cancel event
  2070. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2071. # 26.3
  2072. on click on chest:
  2073. if player's tool is a golden_axe:
  2074. cancel event
  2075. else:
  2076. set {_location} to location of event-block
  2077. x-location of {_location} is {x.wohnung26.3}
  2078. y-location of {_location} is {y.wohnung26.3}
  2079. z-location of {_location} is {z.wohnung26.3}
  2080. if {wohnung26.Besitzer} is "%player%":
  2081. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2082. else:
  2083. cancel event
  2084. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2085. # 26.4
  2086. on click on chest:
  2087. if player's tool is a golden_axe:
  2088. cancel event
  2089. else:
  2090. set {_location} to location of event-block
  2091. x-location of {_location} is {x.wohnung26.4}
  2092. y-location of {_location} is {y.wohnung26.4}
  2093. z-location of {_location} is {z.wohnung26.4}
  2094. if {wohnung26.Besitzer} is "%player%":
  2095. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2096. else:
  2097. cancel event
  2098. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2099. # 26.5
  2100. on click on chest:
  2101. if player's tool is a golden_axe:
  2102. cancel event
  2103. else:
  2104. set {_location} to location of event-block
  2105. x-location of {_location} is {x.wohnung26.5}
  2106. y-location of {_location} is {y.wohnung26.5}
  2107. z-location of {_location} is {z.wohnung26.5}
  2108. if {wohnung26.Besitzer} is "%player%":
  2109. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2110. else:
  2111. cancel event
  2112. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2113. # Wohnung 27
  2114. # 27.1
  2115. on click on chest:
  2116. if player's tool is a golden_axe:
  2117. cancel event
  2118. else:
  2119. set {_location} to location of event-block
  2120. x-location of {_location} is {x.wohnung27.1}
  2121. y-location of {_location} is {y.wohnung27.1}
  2122. z-location of {_location} is {z.wohnung27.1}
  2123. if {wohnung27.Besitzer} is "%player%":
  2124. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2125. else:
  2126. cancel event
  2127. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2128. # 27.2
  2129. on click on chest:
  2130. if player's tool is a golden_axe:
  2131. cancel event
  2132. else:
  2133. set {_location} to location of event-block
  2134. x-location of {_location} is {x.wohnung27.2}
  2135. y-location of {_location} is {y.wohnung27.2}
  2136. z-location of {_location} is {z.wohnung27.2}
  2137. if {wohnung27.Besitzer} is "%player%":
  2138. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2139. else:
  2140. cancel event
  2141. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2142. # 27.3
  2143. on click on chest:
  2144. if player's tool is a golden_axe:
  2145. cancel event
  2146. else:
  2147. set {_location} to location of event-block
  2148. x-location of {_location} is {x.wohnung27.3}
  2149. y-location of {_location} is {y.wohnung27.3}
  2150. z-location of {_location} is {z.wohnung27.3}
  2151. if {wohnung27.Besitzer} is "%player%":
  2152. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2153. else:
  2154. cancel event
  2155. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2156. # 27.4
  2157. on click on chest:
  2158. if player's tool is a golden_axe:
  2159. cancel event
  2160. else:
  2161. set {_location} to location of event-block
  2162. x-location of {_location} is {x.wohnung27.4}
  2163. y-location of {_location} is {y.wohnung27.4}
  2164. z-location of {_location} is {z.wohnung27.4}
  2165. if {wohnung27.Besitzer} is "%player%":
  2166. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2167. else:
  2168. cancel event
  2169. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2170. # 27.5
  2171. on click on chest:
  2172. if player's tool is a golden_axe:
  2173. cancel event
  2174. else:
  2175. set {_location} to location of event-block
  2176. x-location of {_location} is {x.wohnung27.5}
  2177. y-location of {_location} is {y.wohnung27.5}
  2178. z-location of {_location} is {z.wohnung27.5}
  2179. if {wohnung27.Besitzer} is "%player%":
  2180. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2181. else:
  2182. cancel event
  2183. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2184. # Wohnung 28
  2185. # 28.1
  2186. on click on chest:
  2187. if player's tool is a golden_axe:
  2188. cancel event
  2189. else:
  2190. set {_location} to location of event-block
  2191. x-location of {_location} is {x.wohnung28.1}
  2192. y-location of {_location} is {y.wohnung28.1}
  2193. z-location of {_location} is {z.wohnung28.1}
  2194. if {wohnung28.Besitzer} is "%player%":
  2195. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2196. else:
  2197. cancel event
  2198. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2199. # 28.2
  2200. on click on chest:
  2201. if player's tool is a golden_axe:
  2202. cancel event
  2203. else:
  2204. set {_location} to location of event-block
  2205. x-location of {_location} is {x.wohnung28.2}
  2206. y-location of {_location} is {y.wohnung28.2}
  2207. z-location of {_location} is {z.wohnung28.2}
  2208. if {wohnung28.Besitzer} is "%player%":
  2209. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2210. else:
  2211. cancel event
  2212. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2213. # 28.3
  2214. on click on chest:
  2215. if player's tool is a golden_axe:
  2216. cancel event
  2217. else:
  2218. set {_location} to location of event-block
  2219. x-location of {_location} is {x.wohnung28.3}
  2220. y-location of {_location} is {y.wohnung28.3}
  2221. z-location of {_location} is {z.wohnung28.3}
  2222. if {wohnung28.Besitzer} is "%player%":
  2223. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2224. else:
  2225. cancel event
  2226. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2227. # 28.4
  2228. on click on chest:
  2229. if player's tool is a golden_axe:
  2230. cancel event
  2231. else:
  2232. set {_location} to location of event-block
  2233. x-location of {_location} is {x.wohnung28.4}
  2234. y-location of {_location} is {y.wohnung28.4}
  2235. z-location of {_location} is {z.wohnung28.4}
  2236. if {wohnung28.Besitzer} is "%player%":
  2237. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2238. else:
  2239. cancel event
  2240. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2241. # 28.5
  2242. on click on chest:
  2243. if player's tool is a golden_axe:
  2244. cancel event
  2245. else:
  2246. set {_location} to location of event-block
  2247. x-location of {_location} is {x.wohnung28.5}
  2248. y-location of {_location} is {y.wohnung28.5}
  2249. z-location of {_location} is {z.wohnung28.5}
  2250. if {wohnung28.Besitzer} is "%player%":
  2251. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2252. else:
  2253. cancel event
  2254. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2255. # Wohnung 29
  2256. # 29.1
  2257. on click on chest:
  2258. if player's tool is a golden_axe:
  2259. cancel event
  2260. else:
  2261. set {_location} to location of event-block
  2262. x-location of {_location} is {x.wohnung29.1}
  2263. y-location of {_location} is {y.wohnung29.1}
  2264. z-location of {_location} is {z.wohnung29.1}
  2265. if {wohnung29.Besitzer} is "%player%":
  2266. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2267. else:
  2268. cancel event
  2269. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2270. # 29.2
  2271. on click on chest:
  2272. if player's tool is a golden_axe:
  2273. cancel event
  2274. else:
  2275. set {_location} to location of event-block
  2276. x-location of {_location} is {x.wohnung29.2}
  2277. y-location of {_location} is {y.wohnung29.2}
  2278. z-location of {_location} is {z.wohnung29.2}
  2279. if {wohnung29.Besitzer} is "%player%":
  2280. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2281. else:
  2282. cancel event
  2283. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2284. # 29.3
  2285. on click on chest:
  2286. if player's tool is a golden_axe:
  2287. cancel event
  2288. else:
  2289. set {_location} to location of event-block
  2290. x-location of {_location} is {x.wohnung29.3}
  2291. y-location of {_location} is {y.wohnung29.3}
  2292. z-location of {_location} is {z.wohnung29.3}
  2293. if {wohnung29.Besitzer} is "%player%":
  2294. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2295. else:
  2296. cancel event
  2297. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2298. # 29.4
  2299. on click on chest:
  2300. if player's tool is a golden_axe:
  2301. cancel event
  2302. else:
  2303. set {_location} to location of event-block
  2304. x-location of {_location} is {x.wohnung29.4}
  2305. y-location of {_location} is {y.wohnung29.4}
  2306. z-location of {_location} is {z.wohnung29.4}
  2307. if {wohnung29.Besitzer} is "%player%":
  2308. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2309. else:
  2310. cancel event
  2311. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2312. # 29.5
  2313. on click on chest:
  2314. if player's tool is a golden_axe:
  2315. cancel event
  2316. else:
  2317. set {_location} to location of event-block
  2318. x-location of {_location} is {x.wohnung29.5}
  2319. y-location of {_location} is {y.wohnung29.5}
  2320. z-location of {_location} is {z.wohnung29.5}
  2321. if {wohnung29.Besitzer} is "%player%":
  2322. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2323. else:
  2324. cancel event
  2325. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2326. # Wohnung 30
  2327. # 30.1
  2328. on click on chest:
  2329. if player's tool is a golden_axe:
  2330. cancel event
  2331. else:
  2332. set {_location} to location of event-block
  2333. x-location of {_location} is {x.wohnung30.1}
  2334. y-location of {_location} is {y.wohnung30.1}
  2335. z-location of {_location} is {z.wohnung30.1}
  2336. if {wohnung30.Besitzer} is "%player%":
  2337. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2338. else:
  2339. cancel event
  2340. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2341. # 30.2
  2342. on click on chest:
  2343. if player's tool is a golden_axe:
  2344. cancel event
  2345. else:
  2346. set {_location} to location of event-block
  2347. x-location of {_location} is {x.wohnung30.2}
  2348. y-location of {_location} is {y.wohnung30.2}
  2349. z-location of {_location} is {z.wohnung30.2}
  2350. if {wohnung30.Besitzer} is "%player%":
  2351. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2352. else:
  2353. cancel event
  2354. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2355. # 30.3
  2356. on click on chest:
  2357. if player's tool is a golden_axe:
  2358. cancel event
  2359. else:
  2360. set {_location} to location of event-block
  2361. x-location of {_location} is {x.wohnung30.3}
  2362. y-location of {_location} is {y.wohnung30.3}
  2363. z-location of {_location} is {z.wohnung30.3}
  2364. if {wohnung30.Besitzer} is "%player%":
  2365. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2366. else:
  2367. cancel event
  2368. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2369. # 30.4
  2370. on click on chest:
  2371. if player's tool is a golden_axe:
  2372. cancel event
  2373. else:
  2374. set {_location} to location of event-block
  2375. x-location of {_location} is {x.wohnung30.4}
  2376. y-location of {_location} is {y.wohnung30.4}
  2377. z-location of {_location} is {z.wohnung30.4}
  2378. if {wohnung30.Besitzer} is "%player%":
  2379. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2380. else:
  2381. cancel event
  2382. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2383. # 30.5
  2384. on click on chest:
  2385. if player's tool is a golden_axe:
  2386. cancel event
  2387. else:
  2388. set {_location} to location of event-block
  2389. x-location of {_location} is {x.wohnung30.5}
  2390. y-location of {_location} is {y.wohnung30.5}
  2391. z-location of {_location} is {z.wohnung30.5}
  2392. if {wohnung30.Besitzer} is "%player%":
  2393. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2394. else:
  2395. cancel event
  2396. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2397. # Wohnung 31
  2398. # 31.1
  2399. on click on chest:
  2400. if player's tool is a golden_axe:
  2401. cancel event
  2402. else:
  2403. set {_location} to location of event-block
  2404. x-location of {_location} is {x.wohnung31.1}
  2405. y-location of {_location} is {y.wohnung31.1}
  2406. z-location of {_location} is {z.wohnung31.1}
  2407. if {wohnung31.Besitzer} is "%player%":
  2408. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2409. else:
  2410. cancel event
  2411. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2412. # 31.2
  2413. on click on chest:
  2414. if player's tool is a golden_axe:
  2415. cancel event
  2416. else:
  2417. set {_location} to location of event-block
  2418. x-location of {_location} is {x.wohnung31.2}
  2419. y-location of {_location} is {y.wohnung31.2}
  2420. z-location of {_location} is {z.wohnung31.2}
  2421. if {wohnung31.Besitzer} is "%player%":
  2422. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2423. else:
  2424. cancel event
  2425. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2426. # 31.3
  2427. on click on chest:
  2428. if player's tool is a golden_axe:
  2429. cancel event
  2430. else:
  2431. set {_location} to location of event-block
  2432. x-location of {_location} is {x.wohnung31.3}
  2433. y-location of {_location} is {y.wohnung31.3}
  2434. z-location of {_location} is {z.wohnung31.3}
  2435. if {wohnung31.Besitzer} is "%player%":
  2436. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2437. else:
  2438. cancel event
  2439. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2440. # 31.4
  2441. on click on chest:
  2442. if player's tool is a golden_axe:
  2443. cancel event
  2444. else:
  2445. set {_location} to location of event-block
  2446. x-location of {_location} is {x.wohnung31.4}
  2447. y-location of {_location} is {y.wohnung31.4}
  2448. z-location of {_location} is {z.wohnung31.4}
  2449. if {wohnung31.Besitzer} is "%player%":
  2450. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2451. else:
  2452. cancel event
  2453. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2454. # 31.5
  2455. on click on chest:
  2456. if player's tool is a golden_axe:
  2457. cancel event
  2458. else:
  2459. set {_location} to location of event-block
  2460. x-location of {_location} is {x.wohnung31.5}
  2461. y-location of {_location} is {y.wohnung31.5}
  2462. z-location of {_location} is {z.wohnung31.5}
  2463. if {wohnung31.Besitzer} is "%player%":
  2464. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2465. else:
  2466. cancel event
  2467. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2468. # Wohnung 32
  2469. # 32.1
  2470. on click on chest:
  2471. if player's tool is a golden_axe:
  2472. cancel event
  2473. else:
  2474. set {_location} to location of event-block
  2475. x-location of {_location} is {x.wohnung32.1}
  2476. y-location of {_location} is {y.wohnung32.1}
  2477. z-location of {_location} is {z.wohnung32.1}
  2478. if {wohnung32.Besitzer} is "%player%":
  2479. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2480. else:
  2481. cancel event
  2482. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2483. # 32.2
  2484. on click on chest:
  2485. if player's tool is a golden_axe:
  2486. cancel event
  2487. else:
  2488. set {_location} to location of event-block
  2489. x-location of {_location} is {x.wohnung32.2}
  2490. y-location of {_location} is {y.wohnung32.2}
  2491. z-location of {_location} is {z.wohnung32.2}
  2492. if {wohnung32.Besitzer} is "%player%":
  2493. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2494. else:
  2495. cancel event
  2496. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2497. # 32.3
  2498. on click on chest:
  2499. if player's tool is a golden_axe:
  2500. cancel event
  2501. else:
  2502. set {_location} to location of event-block
  2503. x-location of {_location} is {x.wohnung32.3}
  2504. y-location of {_location} is {y.wohnung32.3}
  2505. z-location of {_location} is {z.wohnung32.3}
  2506. if {wohnung32.Besitzer} is "%player%":
  2507. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2508. else:
  2509. cancel event
  2510. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2511. # 32.4
  2512. on click on chest:
  2513. if player's tool is a golden_axe:
  2514. cancel event
  2515. else:
  2516. set {_location} to location of event-block
  2517. x-location of {_location} is {x.wohnung32.4}
  2518. y-location of {_location} is {y.wohnung32.4}
  2519. z-location of {_location} is {z.wohnung32.4}
  2520. if {wohnung32.Besitzer} is "%player%":
  2521. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2522. else:
  2523. cancel event
  2524. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2525. # 32.5
  2526. on click on chest:
  2527. if player's tool is a golden_axe:
  2528. cancel event
  2529. else:
  2530. set {_location} to location of event-block
  2531. x-location of {_location} is {x.wohnung32.5}
  2532. y-location of {_location} is {y.wohnung32.5}
  2533. z-location of {_location} is {z.wohnung32.5}
  2534. if {wohnung32.Besitzer} is "%player%":
  2535. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2536. else:
  2537. cancel event
  2538. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2539. # Wohnung 33
  2540. # 33.1
  2541. on click on chest:
  2542. if player's tool is a golden_axe:
  2543. cancel event
  2544. else:
  2545. set {_location} to location of event-block
  2546. x-location of {_location} is {x.wohnung33.1}
  2547. y-location of {_location} is {y.wohnung33.1}
  2548. z-location of {_location} is {z.wohnung33.1}
  2549. if {wohnung33.Besitzer} is "%player%":
  2550. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2551. else:
  2552. cancel event
  2553. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2554. # 33.2
  2555. on click on chest:
  2556. if player's tool is a golden_axe:
  2557. cancel event
  2558. else:
  2559. set {_location} to location of event-block
  2560. x-location of {_location} is {x.wohnung33.2}
  2561. y-location of {_location} is {y.wohnung33.2}
  2562. z-location of {_location} is {z.wohnung33.2}
  2563. if {wohnung33.Besitzer} is "%player%":
  2564. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2565. else:
  2566. cancel event
  2567. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2568. # 33.3
  2569. on click on chest:
  2570. if player's tool is a golden_axe:
  2571. cancel event
  2572. else:
  2573. set {_location} to location of event-block
  2574. x-location of {_location} is {x.wohnung33.3}
  2575. y-location of {_location} is {y.wohnung33.3}
  2576. z-location of {_location} is {z.wohnung33.3}
  2577. if {wohnung33.Besitzer} is "%player%":
  2578. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2579. else:
  2580. cancel event
  2581. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2582. # 33.4
  2583. on click on chest:
  2584. if player's tool is a golden_axe:
  2585. cancel event
  2586. else:
  2587. set {_location} to location of event-block
  2588. x-location of {_location} is {x.wohnung33.4}
  2589. y-location of {_location} is {y.wohnung33.4}
  2590. z-location of {_location} is {z.wohnung33.4}
  2591. if {wohnung33.Besitzer} is "%player%":
  2592. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2593. else:
  2594. cancel event
  2595. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2596. # 33.5
  2597. on click on chest:
  2598. if player's tool is a golden_axe:
  2599. cancel event
  2600. else:
  2601. set {_location} to location of event-block
  2602. x-location of {_location} is {x.wohnung33.5}
  2603. y-location of {_location} is {y.wohnung33.5}
  2604. z-location of {_location} is {z.wohnung33.5}
  2605. if {wohnung33.Besitzer} is "%player%":
  2606. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2607. else:
  2608. cancel event
  2609. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2610. # Wohnung 34
  2611. # 34.1
  2612. on click on chest:
  2613. if player's tool is a golden_axe:
  2614. cancel event
  2615. else:
  2616. set {_location} to location of event-block
  2617. x-location of {_location} is {x.wohnung34.1}
  2618. y-location of {_location} is {y.wohnung34.1}
  2619. z-location of {_location} is {z.wohnung34.1}
  2620. if {wohnung34.Besitzer} is "%player%":
  2621. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2622. else:
  2623. cancel event
  2624. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2625. # 34.2
  2626. on click on chest:
  2627. if player's tool is a golden_axe:
  2628. cancel event
  2629. else:
  2630. set {_location} to location of event-block
  2631. x-location of {_location} is {x.wohnung34.2}
  2632. y-location of {_location} is {y.wohnung34.2}
  2633. z-location of {_location} is {z.wohnung34.2}
  2634. if {wohnung34.Besitzer} is "%player%":
  2635. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2636. else:
  2637. cancel event
  2638. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2639. # 34.3
  2640. on click on chest:
  2641. if player's tool is a golden_axe:
  2642. cancel event
  2643. else:
  2644. set {_location} to location of event-block
  2645. x-location of {_location} is {x.wohnung34.3}
  2646. y-location of {_location} is {y.wohnung34.3}
  2647. z-location of {_location} is {z.wohnung34.3}
  2648. if {wohnung34.Besitzer} is "%player%":
  2649. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2650. else:
  2651. cancel event
  2652. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2653. # 34.4
  2654. on click on chest:
  2655. if player's tool is a golden_axe:
  2656. cancel event
  2657. else:
  2658. set {_location} to location of event-block
  2659. x-location of {_location} is {x.wohnung34.4}
  2660. y-location of {_location} is {y.wohnung34.4}
  2661. z-location of {_location} is {z.wohnung34.4}
  2662. if {wohnung34.Besitzer} is "%player%":
  2663. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2664. else:
  2665. cancel event
  2666. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2667. # 34.5
  2668. on click on chest:
  2669. if player's tool is a golden_axe:
  2670. cancel event
  2671. else:
  2672. set {_location} to location of event-block
  2673. x-location of {_location} is {x.wohnung34.5}
  2674. y-location of {_location} is {y.wohnung34.5}
  2675. z-location of {_location} is {z.wohnung34.5}
  2676. if {wohnung34.Besitzer} is "%player%":
  2677. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2678. else:
  2679. cancel event
  2680. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2681. # Wohnung 30
  2682. # 35.1
  2683. on click on chest:
  2684. if player's tool is a golden_axe:
  2685. cancel event
  2686. else:
  2687. set {_location} to location of event-block
  2688. x-location of {_location} is {x.wohnung35.1}
  2689. y-location of {_location} is {y.wohnung35.1}
  2690. z-location of {_location} is {z.wohnung35.1}
  2691. if {wohnung35.Besitzer} is "%player%":
  2692. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2693. else:
  2694. cancel event
  2695. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2696. # 35.2
  2697. on click on chest:
  2698. if player's tool is a golden_axe:
  2699. cancel event
  2700. else:
  2701. set {_location} to location of event-block
  2702. x-location of {_location} is {x.wohnung35.2}
  2703. y-location of {_location} is {y.wohnung35.2}
  2704. z-location of {_location} is {z.wohnung35.2}
  2705. if {wohnung35.Besitzer} is "%player%":
  2706. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2707. else:
  2708. cancel event
  2709. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2710. # 35.3
  2711. on click on chest:
  2712. if player's tool is a golden_axe:
  2713. cancel event
  2714. else:
  2715. set {_location} to location of event-block
  2716. x-location of {_location} is {x.wohnung35.3}
  2717. y-location of {_location} is {y.wohnung35.3}
  2718. z-location of {_location} is {z.wohnung35.3}
  2719. if {wohnung35.Besitzer} is "%player%":
  2720. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2721. else:
  2722. cancel event
  2723. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2724. # 35.4
  2725. on click on chest:
  2726. if player's tool is a golden_axe:
  2727. cancel event
  2728. else:
  2729. set {_location} to location of event-block
  2730. x-location of {_location} is {x.wohnung35.4}
  2731. y-location of {_location} is {y.wohnung35.4}
  2732. z-location of {_location} is {z.wohnung35.4}
  2733. if {wohnung35.Besitzer} is "%player%":
  2734. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2735. else:
  2736. cancel event
  2737. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2738. # 35.5
  2739. on click on chest:
  2740. if player's tool is a golden_axe:
  2741. cancel event
  2742. else:
  2743. set {_location} to location of event-block
  2744. x-location of {_location} is {x.wohnung35.5}
  2745. y-location of {_location} is {y.wohnung35.5}
  2746. z-location of {_location} is {z.wohnung35.5}
  2747. if {wohnung35.Besitzer} is "%player%":
  2748. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2749. else:
  2750. cancel event
  2751. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2752. # Wohnung 36
  2753. # 36.1
  2754. on click on chest:
  2755. if player's tool is a golden_axe:
  2756. cancel event
  2757. else:
  2758. set {_location} to location of event-block
  2759. x-location of {_location} is {x.wohnung36.1}
  2760. y-location of {_location} is {y.wohnung36.1}
  2761. z-location of {_location} is {z.wohnung36.1}
  2762. if {wohnung36.Besitzer} is "%player%":
  2763. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2764. else:
  2765. cancel event
  2766. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2767. # 36.2
  2768. on click on chest:
  2769. if player's tool is a golden_axe:
  2770. cancel event
  2771. else:
  2772. set {_location} to location of event-block
  2773. x-location of {_location} is {x.wohnung36.2}
  2774. y-location of {_location} is {y.wohnung36.2}
  2775. z-location of {_location} is {z.wohnung36.2}
  2776. if {wohnung36.Besitzer} is "%player%":
  2777. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2778. else:
  2779. cancel event
  2780. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2781. # 36.3
  2782. on click on chest:
  2783. if player's tool is a golden_axe:
  2784. cancel event
  2785. else:
  2786. set {_location} to location of event-block
  2787. x-location of {_location} is {x.wohnung36.3}
  2788. y-location of {_location} is {y.wohnung36.3}
  2789. z-location of {_location} is {z.wohnung36.3}
  2790. if {wohnung36.Besitzer} is "%player%":
  2791. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2792. else:
  2793. cancel event
  2794. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2795. # 36.4
  2796. on click on chest:
  2797. if player's tool is a golden_axe:
  2798. cancel event
  2799. else:
  2800. set {_location} to location of event-block
  2801. x-location of {_location} is {x.wohnung36.4}
  2802. y-location of {_location} is {y.wohnung36.4}
  2803. z-location of {_location} is {z.wohnung36.4}
  2804. if {wohnung36.Besitzer} is "%player%":
  2805. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2806. else:
  2807. cancel event
  2808. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2809. # 36.5
  2810. on click on chest:
  2811. if player's tool is a golden_axe:
  2812. cancel event
  2813. else:
  2814. set {_location} to location of event-block
  2815. x-location of {_location} is {x.wohnung36.5}
  2816. y-location of {_location} is {y.wohnung36.5}
  2817. z-location of {_location} is {z.wohnung36.5}
  2818. if {wohnung36.Besitzer} is "%player%":
  2819. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2820. else:
  2821. cancel event
  2822. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2823. # Wohnung 37
  2824. # 37.1
  2825. on click on chest:
  2826. if player's tool is a golden_axe:
  2827. cancel event
  2828. else:
  2829. set {_location} to location of event-block
  2830. x-location of {_location} is {x.wohnung37.1}
  2831. y-location of {_location} is {y.wohnung37.1}
  2832. z-location of {_location} is {z.wohnung37.1}
  2833. if {wohnung37.Besitzer} is "%player%":
  2834. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2835. else:
  2836. cancel event
  2837. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2838. # 37.2
  2839. on click on chest:
  2840. if player's tool is a golden_axe:
  2841. cancel event
  2842. else:
  2843. set {_location} to location of event-block
  2844. x-location of {_location} is {x.wohnung37.2}
  2845. y-location of {_location} is {y.wohnung37.2}
  2846. z-location of {_location} is {z.wohnung37.2}
  2847. if {wohnung37.Besitzer} is "%player%":
  2848. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2849. else:
  2850. cancel event
  2851. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2852. # 37.3
  2853. on click on chest:
  2854. if player's tool is a golden_axe:
  2855. cancel event
  2856. else:
  2857. set {_location} to location of event-block
  2858. x-location of {_location} is {x.wohnung37.3}
  2859. y-location of {_location} is {y.wohnung37.3}
  2860. z-location of {_location} is {z.wohnung37.3}
  2861. if {wohnung37.Besitzer} is "%player%":
  2862. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2863. else:
  2864. cancel event
  2865. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2866. # 37.4
  2867. on click on chest:
  2868. if player's tool is a golden_axe:
  2869. cancel event
  2870. else:
  2871. set {_location} to location of event-block
  2872. x-location of {_location} is {x.wohnung37.4}
  2873. y-location of {_location} is {y.wohnung37.4}
  2874. z-location of {_location} is {z.wohnung37.4}
  2875. if {wohnung37.Besitzer} is "%player%":
  2876. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2877. else:
  2878. cancel event
  2879. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2880. # 37.5
  2881. on click on chest:
  2882. if player's tool is a golden_axe:
  2883. cancel event
  2884. else:
  2885. set {_location} to location of event-block
  2886. x-location of {_location} is {x.wohnung37.5}
  2887. y-location of {_location} is {y.wohnung37.5}
  2888. z-location of {_location} is {z.wohnung37.5}
  2889. if {wohnung37.Besitzer} is "%player%":
  2890. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2891. else:
  2892. cancel event
  2893. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2894. # Wohnung 38
  2895. # 38.1
  2896. on click on chest:
  2897. if player's tool is a golden_axe:
  2898. cancel event
  2899. else:
  2900. set {_location} to location of event-block
  2901. x-location of {_location} is {x.wohnung38.1}
  2902. y-location of {_location} is {y.wohnung38.1}
  2903. z-location of {_location} is {z.wohnung38.1}
  2904. if {wohnung38.Besitzer} is "%player%":
  2905. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2906. else:
  2907. cancel event
  2908. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2909. # 38.2
  2910. on click on chest:
  2911. if player's tool is a golden_axe:
  2912. cancel event
  2913. else:
  2914. set {_location} to location of event-block
  2915. x-location of {_location} is {x.wohnung38.2}
  2916. y-location of {_location} is {y.wohnung38.2}
  2917. z-location of {_location} is {z.wohnung38.2}
  2918. if {wohnung38.Besitzer} is "%player%":
  2919. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2920. else:
  2921. cancel event
  2922. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2923. # 38.3
  2924. on click on chest:
  2925. if player's tool is a golden_axe:
  2926. cancel event
  2927. else:
  2928. set {_location} to location of event-block
  2929. x-location of {_location} is {x.wohnung38.3}
  2930. y-location of {_location} is {y.wohnung38.3}
  2931. z-location of {_location} is {z.wohnung38.3}
  2932. if {wohnung38.Besitzer} is "%player%":
  2933. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2934. else:
  2935. cancel event
  2936. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2937. # 38.4
  2938. on click on chest:
  2939. if player's tool is a golden_axe:
  2940. cancel event
  2941. else:
  2942. set {_location} to location of event-block
  2943. x-location of {_location} is {x.wohnung38.4}
  2944. y-location of {_location} is {y.wohnung38.4}
  2945. z-location of {_location} is {z.wohnung38.4}
  2946. if {wohnung38.Besitzer} is "%player%":
  2947. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2948. else:
  2949. cancel event
  2950. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2951. # 38.5
  2952. on click on chest:
  2953. if player's tool is a golden_axe:
  2954. cancel event
  2955. else:
  2956. set {_location} to location of event-block
  2957. x-location of {_location} is {x.wohnung38.5}
  2958. y-location of {_location} is {y.wohnung38.5}
  2959. z-location of {_location} is {z.wohnung38.5}
  2960. if {wohnung38.Besitzer} is "%player%":
  2961. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2962. else:
  2963. cancel event
  2964. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2965. # Wohnung 39
  2966. # 39.1
  2967. on click on chest:
  2968. if player's tool is a golden_axe:
  2969. cancel event
  2970. else:
  2971. set {_location} to location of event-block
  2972. x-location of {_location} is {x.wohnung39.1}
  2973. y-location of {_location} is {y.wohnung39.1}
  2974. z-location of {_location} is {z.wohnung39.1}
  2975. if {wohnung39.Besitzer} is "%player%":
  2976. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2977. else:
  2978. cancel event
  2979. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2980. # 39.2
  2981. on click on chest:
  2982. if player's tool is a golden_axe:
  2983. cancel event
  2984. else:
  2985. set {_location} to location of event-block
  2986. x-location of {_location} is {x.wohnung39.2}
  2987. y-location of {_location} is {y.wohnung39.2}
  2988. z-location of {_location} is {z.wohnung39.2}
  2989. if {wohnung39.Besitzer} is "%player%":
  2990. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  2991. else:
  2992. cancel event
  2993. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  2994. # 39.3
  2995. on click on chest:
  2996. if player's tool is a golden_axe:
  2997. cancel event
  2998. else:
  2999. set {_location} to location of event-block
  3000. x-location of {_location} is {x.wohnung39.3}
  3001. y-location of {_location} is {y.wohnung39.3}
  3002. z-location of {_location} is {z.wohnung39.3}
  3003. if {wohnung39.Besitzer} is "%player%":
  3004. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3005. else:
  3006. cancel event
  3007. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3008. # 39.4
  3009. on click on chest:
  3010. if player's tool is a golden_axe:
  3011. cancel event
  3012. else:
  3013. set {_location} to location of event-block
  3014. x-location of {_location} is {x.wohnung39.4}
  3015. y-location of {_location} is {y.wohnung39.4}
  3016. z-location of {_location} is {z.wohnung39.4}
  3017. if {wohnung39.Besitzer} is "%player%":
  3018. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3019. else:
  3020. cancel event
  3021. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3022. # 39.5
  3023. on click on chest:
  3024. if player's tool is a golden_axe:
  3025. cancel event
  3026. else:
  3027. set {_location} to location of event-block
  3028. x-location of {_location} is {x.wohnung39.5}
  3029. y-location of {_location} is {y.wohnung39.5}
  3030. z-location of {_location} is {z.wohnung39.5}
  3031. if {wohnung39.Besitzer} is "%player%":
  3032. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3033. else:
  3034. cancel event
  3035. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3036. # Wohnung 40
  3037. # 40.1
  3038. on click on chest:
  3039. if player's tool is a golden_axe:
  3040. cancel event
  3041. else:
  3042. set {_location} to location of event-block
  3043. x-location of {_location} is {x.wohnung40.1}
  3044. y-location of {_location} is {y.wohnung40.1}
  3045. z-location of {_location} is {z.wohnung40.1}
  3046. if {wohnung40.Besitzer} is "%player%":
  3047. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3048. else:
  3049. cancel event
  3050. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3051. # 40.2
  3052. on click on chest:
  3053. if player's tool is a golden_axe:
  3054. cancel event
  3055. else:
  3056. set {_location} to location of event-block
  3057. x-location of {_location} is {x.wohnung40.2}
  3058. y-location of {_location} is {y.wohnung40.2}
  3059. z-location of {_location} is {z.wohnung40.2}
  3060. if {wohnung40.Besitzer} is "%player%":
  3061. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3062. else:
  3063. cancel event
  3064. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3065. # 40.3
  3066. on click on chest:
  3067. if player's tool is a golden_axe:
  3068. cancel event
  3069. else:
  3070. set {_location} to location of event-block
  3071. x-location of {_location} is {x.wohnung40.3}
  3072. y-location of {_location} is {y.wohnung40.3}
  3073. z-location of {_location} is {z.wohnung40.3}
  3074. if {wohnung40.Besitzer} is "%player%":
  3075. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3076. else:
  3077. cancel event
  3078. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3079. # 40.4
  3080. on click on chest:
  3081. if player's tool is a golden_axe:
  3082. cancel event
  3083. else:
  3084. set {_location} to location of event-block
  3085. x-location of {_location} is {x.wohnung40.4}
  3086. y-location of {_location} is {y.wohnung40.4}
  3087. z-location of {_location} is {z.wohnung40.4}
  3088. if {wohnung40.Besitzer} is "%player%":
  3089. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3090. else:
  3091. cancel event
  3092. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3093. # 40.5
  3094. on click on chest:
  3095. if player's tool is a golden_axe:
  3096. cancel event
  3097. else:
  3098. set {_location} to location of event-block
  3099. x-location of {_location} is {x.wohnung40.5}
  3100. y-location of {_location} is {y.wohnung40.5}
  3101. z-location of {_location} is {z.wohnung40.5}
  3102. if {wohnung40.Besitzer} is "%player%":
  3103. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3104. else:
  3105. cancel event
  3106. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3107. # Wohnung 41
  3108. # 41.1
  3109. on click on chest:
  3110. if player's tool is a golden_axe:
  3111. cancel event
  3112. else:
  3113. set {_location} to location of event-block
  3114. x-location of {_location} is {x.wohnung41.1}
  3115. y-location of {_location} is {y.wohnung41.1}
  3116. z-location of {_location} is {z.wohnung41.1}
  3117. if {wohnung41.Besitzer} is "%player%":
  3118. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3119. else:
  3120. cancel event
  3121. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3122. # 41.2
  3123. on click on chest:
  3124. if player's tool is a golden_axe:
  3125. cancel event
  3126. else:
  3127. set {_location} to location of event-block
  3128. x-location of {_location} is {x.wohnung41.2}
  3129. y-location of {_location} is {y.wohnung41.2}
  3130. z-location of {_location} is {z.wohnung41.2}
  3131. if {wohnung41.Besitzer} is "%player%":
  3132. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3133. else:
  3134. cancel event
  3135. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3136. # 41.3
  3137. on click on chest:
  3138. if player's tool is a golden_axe:
  3139. cancel event
  3140. else:
  3141. set {_location} to location of event-block
  3142. x-location of {_location} is {x.wohnung41.3}
  3143. y-location of {_location} is {y.wohnung41.3}
  3144. z-location of {_location} is {z.wohnung41.3}
  3145. if {wohnung41.Besitzer} is "%player%":
  3146. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3147. else:
  3148. cancel event
  3149. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3150. # 41.4
  3151. on click on chest:
  3152. if player's tool is a golden_axe:
  3153. cancel event
  3154. else:
  3155. set {_location} to location of event-block
  3156. x-location of {_location} is {x.wohnung41.4}
  3157. y-location of {_location} is {y.wohnung41.4}
  3158. z-location of {_location} is {z.wohnung41.4}
  3159. if {wohnung41.Besitzer} is "%player%":
  3160. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3161. else:
  3162. cancel event
  3163. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3164. # 41.5
  3165. on click on chest:
  3166. if player's tool is a golden_axe:
  3167. cancel event
  3168. else:
  3169. set {_location} to location of event-block
  3170. x-location of {_location} is {x.wohnung41.5}
  3171. y-location of {_location} is {y.wohnung41.5}
  3172. z-location of {_location} is {z.wohnung41.5}
  3173. if {wohnung41.Besitzer} is "%player%":
  3174. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3175. else:
  3176. cancel event
  3177. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3178. # Wohnung 42
  3179. # 42.1
  3180. on click on chest:
  3181. if player's tool is a golden_axe:
  3182. cancel event
  3183. else:
  3184. set {_location} to location of event-block
  3185. x-location of {_location} is {x.wohnung42.1}
  3186. y-location of {_location} is {y.wohnung42.1}
  3187. z-location of {_location} is {z.wohnung42.1}
  3188. if {wohnung42.Besitzer} is "%player%":
  3189. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3190. else:
  3191. cancel event
  3192. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3193. # 42.2
  3194. on click on chest:
  3195. if player's tool is a golden_axe:
  3196. cancel event
  3197. else:
  3198. set {_location} to location of event-block
  3199. x-location of {_location} is {x.wohnung42.2}
  3200. y-location of {_location} is {y.wohnung42.2}
  3201. z-location of {_location} is {z.wohnung42.2}
  3202. if {wohnung42.Besitzer} is "%player%":
  3203. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3204. else:
  3205. cancel event
  3206. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3207. # 42.3
  3208. on click on chest:
  3209. if player's tool is a golden_axe:
  3210. cancel event
  3211. else:
  3212. set {_location} to location of event-block
  3213. x-location of {_location} is {x.wohnung42.3}
  3214. y-location of {_location} is {y.wohnung42.3}
  3215. z-location of {_location} is {z.wohnung42.3}
  3216. if {wohnung42.Besitzer} is "%player%":
  3217. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3218. else:
  3219. cancel event
  3220. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3221. # 42.4
  3222. on click on chest:
  3223. if player's tool is a golden_axe:
  3224. cancel event
  3225. else:
  3226. set {_location} to location of event-block
  3227. x-location of {_location} is {x.wohnung42.4}
  3228. y-location of {_location} is {y.wohnung42.4}
  3229. z-location of {_location} is {z.wohnung42.4}
  3230. if {wohnung42.Besitzer} is "%player%":
  3231. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3232. else:
  3233. cancel event
  3234. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3235. # 42.5
  3236. on click on chest:
  3237. if player's tool is a golden_axe:
  3238. cancel event
  3239. else:
  3240. set {_location} to location of event-block
  3241. x-location of {_location} is {x.wohnung42.5}
  3242. y-location of {_location} is {y.wohnung42.5}
  3243. z-location of {_location} is {z.wohnung42.5}
  3244. if {wohnung42.Besitzer} is "%player%":
  3245. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3246. else:
  3247. cancel event
  3248. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3249. # Wohnung 43
  3250. # 43.1
  3251. on click on chest:
  3252. if player's tool is a golden_axe:
  3253. cancel event
  3254. else:
  3255. set {_location} to location of event-block
  3256. x-location of {_location} is {x.wohnung43.1}
  3257. y-location of {_location} is {y.wohnung43.1}
  3258. z-location of {_location} is {z.wohnung43.1}
  3259. if {wohnung43.Besitzer} is "%player%":
  3260. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3261. else:
  3262. cancel event
  3263. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3264. # 43.2
  3265. on click on chest:
  3266. if player's tool is a golden_axe:
  3267. cancel event
  3268. else:
  3269. set {_location} to location of event-block
  3270. x-location of {_location} is {x.wohnung43.2}
  3271. y-location of {_location} is {y.wohnung43.2}
  3272. z-location of {_location} is {z.wohnung43.2}
  3273. if {wohnung43.Besitzer} is "%player%":
  3274. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3275. else:
  3276. cancel event
  3277. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3278. # 43.3
  3279. on click on chest:
  3280. if player's tool is a golden_axe:
  3281. cancel event
  3282. else:
  3283. set {_location} to location of event-block
  3284. x-location of {_location} is {x.wohnung43.3}
  3285. y-location of {_location} is {y.wohnung43.3}
  3286. z-location of {_location} is {z.wohnung43.3}
  3287. if {wohnung43.Besitzer} is "%player%":
  3288. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3289. else:
  3290. cancel event
  3291. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3292. # 43.4
  3293. on click on chest:
  3294. if player's tool is a golden_axe:
  3295. cancel event
  3296. else:
  3297. set {_location} to location of event-block
  3298. x-location of {_location} is {x.wohnung43.4}
  3299. y-location of {_location} is {y.wohnung43.4}
  3300. z-location of {_location} is {z.wohnung43.4}
  3301. if {wohnung43.Besitzer} is "%player%":
  3302. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3303. else:
  3304. cancel event
  3305. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3306. # 43.5
  3307. on click on chest:
  3308. if player's tool is a golden_axe:
  3309. cancel event
  3310. else:
  3311. set {_location} to location of event-block
  3312. x-location of {_location} is {x.wohnung43.5}
  3313. y-location of {_location} is {y.wohnung43.5}
  3314. z-location of {_location} is {z.wohnung43.5}
  3315. if {wohnung43.Besitzer} is "%player%":
  3316. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3317. else:
  3318. cancel event
  3319. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3320. # Wohnung 44
  3321. # 44.1
  3322. on click on chest:
  3323. if player's tool is a golden_axe:
  3324. cancel event
  3325. else:
  3326. set {_location} to location of event-block
  3327. x-location of {_location} is {x.wohnung44.1}
  3328. y-location of {_location} is {y.wohnung44.1}
  3329. z-location of {_location} is {z.wohnung44.1}
  3330. if {wohnung44.Besitzer} is "%player%":
  3331. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3332. else:
  3333. cancel event
  3334. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3335. # 44.2
  3336. on click on chest:
  3337. if player's tool is a golden_axe:
  3338. cancel event
  3339. else:
  3340. set {_location} to location of event-block
  3341. x-location of {_location} is {x.wohnung44.2}
  3342. y-location of {_location} is {y.wohnung44.2}
  3343. z-location of {_location} is {z.wohnung44.2}
  3344. if {wohnung44.Besitzer} is "%player%":
  3345. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3346. else:
  3347. cancel event
  3348. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3349. # 44.3
  3350. on click on chest:
  3351. if player's tool is a golden_axe:
  3352. cancel event
  3353. else:
  3354. set {_location} to location of event-block
  3355. x-location of {_location} is {x.wohnung44.3}
  3356. y-location of {_location} is {y.wohnung44.3}
  3357. z-location of {_location} is {z.wohnung44.3}
  3358. if {wohnung44.Besitzer} is "%player%":
  3359. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3360. else:
  3361. cancel event
  3362. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3363. # 44.4
  3364. on click on chest:
  3365. if player's tool is a golden_axe:
  3366. cancel event
  3367. else:
  3368. set {_location} to location of event-block
  3369. x-location of {_location} is {x.wohnung44.4}
  3370. y-location of {_location} is {y.wohnung44.4}
  3371. z-location of {_location} is {z.wohnung44.4}
  3372. if {wohnung44.Besitzer} is "%player%":
  3373. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3374. else:
  3375. cancel event
  3376. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3377. # 44.5
  3378. on click on chest:
  3379. if player's tool is a golden_axe:
  3380. cancel event
  3381. else:
  3382. set {_location} to location of event-block
  3383. x-location of {_location} is {x.wohnung44.5}
  3384. y-location of {_location} is {y.wohnung44.5}
  3385. z-location of {_location} is {z.wohnung44.5}
  3386. if {wohnung44.Besitzer} is "%player%":
  3387. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3388. else:
  3389. cancel event
  3390. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3391. # Wohnung 45
  3392. # 45.1
  3393. on click on chest:
  3394. if player's tool is a golden_axe:
  3395. cancel event
  3396. else:
  3397. set {_location} to location of event-block
  3398. x-location of {_location} is {x.wohnung45.1}
  3399. y-location of {_location} is {y.wohnung45.1}
  3400. z-location of {_location} is {z.wohnung45.1}
  3401. if {wohnung45.Besitzer} is "%player%":
  3402. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3403. else:
  3404. cancel event
  3405. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3406. # 45.2
  3407. on click on chest:
  3408. if player's tool is a golden_axe:
  3409. cancel event
  3410. else:
  3411. set {_location} to location of event-block
  3412. x-location of {_location} is {x.wohnung45.2}
  3413. y-location of {_location} is {y.wohnung45.2}
  3414. z-location of {_location} is {z.wohnung45.2}
  3415. if {wohnung45.Besitzer} is "%player%":
  3416. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3417. else:
  3418. cancel event
  3419. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3420. # 45.3
  3421. on click on chest:
  3422. if player's tool is a golden_axe:
  3423. cancel event
  3424. else:
  3425. set {_location} to location of event-block
  3426. x-location of {_location} is {x.wohnung45.3}
  3427. y-location of {_location} is {y.wohnung45.3}
  3428. z-location of {_location} is {z.wohnung45.3}
  3429. if {wohnung45.Besitzer} is "%player%":
  3430. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3431. else:
  3432. cancel event
  3433. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3434. # 45.4
  3435. on click on chest:
  3436. if player's tool is a golden_axe:
  3437. cancel event
  3438. else:
  3439. set {_location} to location of event-block
  3440. x-location of {_location} is {x.wohnung45.4}
  3441. y-location of {_location} is {y.wohnung45.4}
  3442. z-location of {_location} is {z.wohnung45.4}
  3443. if {wohnung45.Besitzer} is "%player%":
  3444. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3445. else:
  3446. cancel event
  3447. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3448. # 45.5
  3449. on click on chest:
  3450. if player's tool is a golden_axe:
  3451. cancel event
  3452. else:
  3453. set {_location} to location of event-block
  3454. x-location of {_location} is {x.wohnung45.5}
  3455. y-location of {_location} is {y.wohnung45.5}
  3456. z-location of {_location} is {z.wohnung45.5}
  3457. if {wohnung45.Besitzer} is "%player%":
  3458. send "&8[&6Wohnraum&8] &7Du hast deine private Kiste geöffnet." to player
  3459. else:
  3460. cancel event
  3461. send "&8[&6Wohnraum&8] &7Diese Kiste ist abgeschlossen." to player
  3462. #
  3463. #
  3464. # HAUSKAUFEN
  3465. #
  3466. #
  3467. # Wohnung 1
  3468. command /5213215123hauskaufen [<Text>]:
  3469. trigger:
  3470. if arg 1 is "1":
  3471. set {_Preis} to "%{wohnung1.Preis}%"
  3472. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3473. remove {_Preis} from {Silberstücke.%player's uuid%}
  3474. send "Wohnungspreis bezahlt." to player
  3475. set {wohnung1.Besitzer} to "%player%"
  3476. else:
  3477. send "Nicht genug Geld." to player
  3478. if arg 1 is "2":
  3479. set {_Preis} to "%{wohnung2.Preis}%"
  3480. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3481. remove {_Preis} from {Silberstücke.%player's uuid%}
  3482. send "Wohnungspreis bezahlt." to player
  3483. set {wohnung2.Besitzer} to "%player%"
  3484. else:
  3485. send "Nicht genug Geld." to player
  3486. if arg 1 is "3":
  3487. set {_Preis} to "%{wohnung3.Preis}%"
  3488. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3489. remove {_Preis} from {Silberstücke.%player's uuid%}
  3490. send "Wohnungspreis bezahlt." to player
  3491. set {wohnung3.Besitzer} to "%player%"
  3492. else:
  3493. send "Nicht genug Geld." to player
  3494. if arg 1 is "4":
  3495. set {_Preis} to "%{wohnung4.Preis}%"
  3496. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3497. remove {_Preis} from {Silberstücke.%player's uuid%}
  3498. send "Wohnungspreis bezahlt." to player
  3499. set {wohnung4.Besitzer} to "%player%"
  3500. else:
  3501. send "Nicht genug Geld." to player
  3502. if arg 1 is "5":
  3503. set {_Preis} to "%{wohnung5.Preis}%"
  3504. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3505. remove {_Preis} from {Silberstücke.%player's uuid%}
  3506. send "Wohnungspreis bezahlt." to player
  3507. set {wohnung5.Besitzer} to "%player%"
  3508. else:
  3509. send "Nicht genug Geld." to player
  3510. if arg 1 is "6":
  3511. set {_Preis} to "%{wohnung6.Preis}%"
  3512. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3513. remove {_Preis} from {Silberstücke.%player's uuid%}
  3514. send "Wohnungspreis bezahlt." to player
  3515. set {wohnung6.Besitzer} to "%player%"
  3516. else:
  3517. send "Nicht genug Geld." to player
  3518. if arg 1 is "7":
  3519. set {_Preis} to "%{wohnung7.Preis}%"
  3520. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3521. remove {_Preis} from {Silberstücke.%player's uuid%}
  3522. send "Wohnungspreis bezahlt." to player
  3523. set {wohnung7.Besitzer} to "%player%"
  3524. else:
  3525. send "Nicht genug Geld." to player
  3526. if arg 1 is "8":
  3527. set {_Preis} to "%{wohnung8.Preis}%"
  3528. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3529. remove {_Preis} from {Silberstücke.%player's uuid%}
  3530. send "Wohnungspreis bezahlt." to player
  3531. set {wohnung8.Besitzer} to "%player%"
  3532. else:
  3533. send "Nicht genug Geld." to player
  3534. if arg 1 is "9":
  3535. set {_Preis} to "%{wohnung9.Preis}%"
  3536. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3537. remove {_Preis} from {Silberstücke.%player's uuid%}
  3538. send "Wohnungspreis bezahlt." to player
  3539. set {wohnung9.Besitzer} to "%player%"
  3540. else:
  3541. send "Nicht genug Geld." to player
  3542. if arg 1 is "10":
  3543. set {_Preis} to "%{wohnung10.Preis}%"
  3544. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3545. remove {_Preis} from {Silberstücke.%player's uuid%}
  3546. send "Wohnungspreis bezahlt." to player
  3547. set {wohnung10.Besitzer} to "%player%"
  3548. else:
  3549. send "Nicht genug Geld." to player
  3550. if arg 1 is "11":
  3551. set {_Preis} to "%{wohnung11.Preis}%"
  3552. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3553. remove {_Preis} from {Silberstücke.%player's uuid%}
  3554. send "Wohnungspreis bezahlt." to player
  3555. set {wohnung11.Besitzer} to "%player%"
  3556. else:
  3557. send "Nicht genug Geld." to player
  3558. if arg 1 is "12":
  3559. set {_Preis} to "%{wohnung12.Preis}%"
  3560. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3561. remove {_Preis} from {Silberstücke.%player's uuid%}
  3562. send "Wohnungspreis bezahlt." to player
  3563. set {wohnung12.Besitzer} to "%player%"
  3564. else:
  3565. send "Nicht genug Geld." to player
  3566. if arg 1 is "13":
  3567. set {_Preis} to "%{wohnung13.Preis}%"
  3568. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3569. remove {_Preis} from {Silberstücke.%player's uuid%}
  3570. send "Wohnungspreis bezahlt." to player
  3571. set {wohnung13.Besitzer} to "%player%"
  3572. else:
  3573. send "Nicht genug Geld." to player
  3574. if arg 1 is "14":
  3575. set {_Preis} to "%{wohnung14.Preis}%"
  3576. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3577. remove {_Preis} from {Silberstücke.%player's uuid%}
  3578. send "Wohnungspreis bezahlt." to player
  3579. set {wohnung14.Besitzer} to "%player%"
  3580. else:
  3581. send "Nicht genug Geld." to player
  3582. if arg 1 is "15":
  3583. set {_Preis} to "%{wohnung15.Preis}%"
  3584. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3585. remove {_Preis} from {Silberstücke.%player's uuid%}
  3586. send "Wohnungspreis bezahlt." to player
  3587. set {wohnung15.Besitzer} to "%player%"
  3588. else:
  3589. send "Nicht genug Geld." to player
  3590. if arg 1 is "16":
  3591. set {_Preis} to "%{wohnung15.Preis}%"
  3592. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3593. remove {_Preis} from {Silberstücke.%player's uuid%}
  3594. send "Wohnungspreis bezahlt." to player
  3595. set {wohnung16.Besitzer} to "%player%"
  3596. else:
  3597. send "Nicht genug Geld." to player
  3598. if arg 1 is "17":
  3599. set {_Preis} to "%{wohnung15.Preis}%"
  3600. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3601. remove {_Preis} from {Silberstücke.%player's uuid%}
  3602. send "Wohnungspreis bezahlt." to player
  3603. set {wohnung17.Besitzer} to "%player%"
  3604. else:
  3605. send "Nicht genug Geld." to player
  3606. if arg 1 is "18":
  3607. set {_Preis} to "%{wohnung15.Preis}%"
  3608. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3609. remove {_Preis} from {Silberstücke.%player's uuid%}
  3610. send "Wohnungspreis bezahlt." to player
  3611. set {wohnung18.Besitzer} to "%player%"
  3612. else:
  3613. send "Nicht genug Geld." to player
  3614. if arg 1 is "19":
  3615. set {_Preis} to "%{wohnung15.Preis}%"
  3616. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3617. remove {_Preis} from {Silberstücke.%player's uuid%}
  3618. send "Wohnungspreis bezahlt." to player
  3619. set {wohnung19.Besitzer} to "%player%"
  3620. else:
  3621. send "Nicht genug Geld." to player
  3622. if arg 1 is "20":
  3623. set {_Preis} to "%{wohnung15.Preis}%"
  3624. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3625. remove {_Preis} from {Silberstücke.%player's uuid%}
  3626. send "Wohnungspreis bezahlt." to player
  3627. set {wohnung20.Besitzer} to "%player%"
  3628. else:
  3629. send "Nicht genug Geld." to player
  3630. if arg 1 is "21":
  3631. set {_Preis} to "%{wohnung15.Preis}%"
  3632. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3633. remove {_Preis} from {Silberstücke.%player's uuid%}
  3634. send "Wohnungspreis bezahlt." to player
  3635. set {wohnung21.Besitzer} to "%player%"
  3636. else:
  3637. send "Nicht genug Geld." to player
  3638. if arg 1 is "22":
  3639. set {_Preis} to "%{wohnung15.Preis}%"
  3640. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3641. remove {_Preis} from {Silberstücke.%player's uuid%}
  3642. send "Wohnungspreis bezahlt." to player
  3643. set {wohnung22.Besitzer} to "%player%"
  3644. else:
  3645. send "Nicht genug Geld." to player
  3646. if arg 1 is "23":
  3647. set {_Preis} to "%{wohnung15.Preis}%"
  3648. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3649. remove {_Preis} from {Silberstücke.%player's uuid%}
  3650. send "Wohnungspreis bezahlt." to player
  3651. set {wohnung23.Besitzer} to "%player%"
  3652. else:
  3653. send "Nicht genug Geld." to player
  3654. if arg 1 is "24":
  3655. set {_Preis} to "%{wohnung15.Preis}%"
  3656. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3657. remove {_Preis} from {Silberstücke.%player's uuid%}
  3658. send "Wohnungspreis bezahlt." to player
  3659. set {wohnung24.Besitzer} to "%player%"
  3660. else:
  3661. send "Nicht genug Geld." to player
  3662. if arg 1 is "24":
  3663. set {_Preis} to "%{wohnung15.Preis}%"
  3664. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3665. remove {_Preis} from {Silberstücke.%player's uuid%}
  3666. send "Wohnungspreis bezahlt." to player
  3667. set {wohnung24.Besitzer} to "%player%"
  3668. else:
  3669. send "Nicht genug Geld." to player
  3670. if arg 1 is "25":
  3671. set {_Preis} to "%{wohnung15.Preis}%"
  3672. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3673. remove {_Preis} from {Silberstücke.%player's uuid%}
  3674. send "Wohnungspreis bezahlt." to player
  3675. set {wohnung25.Besitzer} to "%player%"
  3676. else:
  3677. send "Nicht genug Geld." to player
  3678. if arg 1 is "26":
  3679. set {_Preis} to "%{wohnung15.Preis}%"
  3680. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3681. remove {_Preis} from {Silberstücke.%player's uuid%}
  3682. send "Wohnungspreis bezahlt." to player
  3683. set {wohnung26.Besitzer} to "%player%"
  3684. else:
  3685. send "Nicht genug Geld." to player
  3686. if arg 1 is "27":
  3687. set {_Preis} to "%{wohnung15.Preis}%"
  3688. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3689. remove {_Preis} from {Silberstücke.%player's uuid%}
  3690. send "Wohnungspreis bezahlt." to player
  3691. set {wohnung27.Besitzer} to "%player%"
  3692. else:
  3693. send "Nicht genug Geld." to player
  3694. if arg 1 is "28":
  3695. set {_Preis} to "%{wohnung15.Preis}%"
  3696. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3697. remove {_Preis} from {Silberstücke.%player's uuid%}
  3698. send "Wohnungspreis bezahlt." to player
  3699. set {wohnung28.Besitzer} to "%player%"
  3700. else:
  3701. send "Nicht genug Geld." to player
  3702. if arg 1 is "29":
  3703. set {_Preis} to "%{wohnung15.Preis}%"
  3704. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3705. remove {_Preis} from {Silberstücke.%player's uuid%}
  3706. send "Wohnungspreis bezahlt." to player
  3707. set {wohnung29.Besitzer} to "%player%"
  3708. else:
  3709. send "Nicht genug Geld." to player
  3710. if arg 1 is "30":
  3711. set {_Preis} to "%{wohnung15.Preis}%"
  3712. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3713. remove {_Preis} from {Silberstücke.%player's uuid%}
  3714. send "Wohnungspreis bezahlt." to player
  3715. set {wohnung30.Besitzer} to "%player%"
  3716. else:
  3717. send "Nicht genug Geld." to player
  3718. if arg 1 is "31":
  3719. set {_Preis} to "%{wohnung15.Preis}%"
  3720. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3721. remove {_Preis} from {Silberstücke.%player's uuid%}
  3722. send "Wohnungspreis bezahlt." to player
  3723. set {wohnung31.Besitzer} to "%player%"
  3724. else:
  3725. send "Nicht genug Geld." to player
  3726. if arg 1 is "32":
  3727. set {_Preis} to "%{wohnung15.Preis}%"
  3728. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3729. remove {_Preis} from {Silberstücke.%player's uuid%}
  3730. send "Wohnungspreis bezahlt." to player
  3731. set {wohnung32.Besitzer} to "%player%"
  3732. else:
  3733. send "Nicht genug Geld." to player
  3734. if arg 1 is "33":
  3735. set {_Preis} to "%{wohnung15.Preis}%"
  3736. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3737. remove {_Preis} from {Silberstücke.%player's uuid%}
  3738. send "Wohnungspreis bezahlt." to player
  3739. set {wohnung33.Besitzer} to "%player%"
  3740. else:
  3741. send "Nicht genug Geld." to player
  3742. if arg 1 is "34":
  3743. set {_Preis} to "%{wohnung15.Preis}%"
  3744. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3745. remove {_Preis} from {Silberstücke.%player's uuid%}
  3746. send "Wohnungspreis bezahlt." to player
  3747. set {wohnung34.Besitzer} to "%player%"
  3748. else:
  3749. send "Nicht genug Geld." to player
  3750. if arg 1 is "35":
  3751. set {_Preis} to "%{wohnung15.Preis}%"
  3752. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3753. remove {_Preis} from {Silberstücke.%player's uuid%}
  3754. send "Wohnungspreis bezahlt." to player
  3755. set {wohnung35.Besitzer} to "%player%"
  3756. else:
  3757. send "Nicht genug Geld." to player
  3758. if arg 1 is "36":
  3759. set {_Preis} to "%{wohnung15.Preis}%"
  3760. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3761. remove {_Preis} from {Silberstücke.%player's uuid%}
  3762. send "Wohnungspreis bezahlt." to player
  3763. set {wohnung36.Besitzer} to "%player%"
  3764. else:
  3765. send "Nicht genug Geld." to player
  3766. if arg 1 is "37":
  3767. set {_Preis} to "%{wohnung15.Preis}%"
  3768. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3769. remove {_Preis} from {Silberstücke.%player's uuid%}
  3770. send "Wohnungspreis bezahlt." to player
  3771. set {wohnung37.Besitzer} to "%player%"
  3772. else:
  3773. send "Nicht genug Geld." to player
  3774. if arg 1 is "38":
  3775. set {_Preis} to "%{wohnung15.Preis}%"
  3776. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3777. remove {_Preis} from {Silberstücke.%player's uuid%}
  3778. send "Wohnungspreis bezahlt." to player
  3779. set {wohnung38.Besitzer} to "%player%"
  3780. else:
  3781. send "Nicht genug Geld." to player
  3782. if arg 1 is "39":
  3783. set {_Preis} to "%{wohnung15.Preis}%"
  3784. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3785. remove {_Preis} from {Silberstücke.%player's uuid%}
  3786. send "Wohnungspreis bezahlt." to player
  3787. set {wohnung39.Besitzer} to "%player%"
  3788. else:
  3789. send "Nicht genug Geld." to player
  3790. if arg 1 is "40":
  3791. set {_Preis} to "%{wohnung15.Preis}%"
  3792. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3793. remove {_Preis} from {Silberstücke.%player's uuid%}
  3794. send "Wohnungspreis bezahlt." to player
  3795. set {wohnung40.Besitzer} to "%player%"
  3796. else:
  3797. send "Nicht genug Geld." to player
  3798. if arg 1 is "41":
  3799. set {_Preis} to "%{wohnung15.Preis}%"
  3800. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3801. remove {_Preis} from {Silberstücke.%player's uuid%}
  3802. send "Wohnungspreis bezahlt." to player
  3803. set {wohnung41.Besitzer} to "%player%"
  3804. else:
  3805. send "Nicht genug Geld." to player
  3806. if arg 1 is "42":
  3807. set {_Preis} to "%{wohnung15.Preis}%"
  3808. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3809. remove {_Preis} from {Silberstücke.%player's uuid%}
  3810. send "Wohnungspreis bezahlt." to player
  3811. set {wohnung42.Besitzer} to "%player%"
  3812. else:
  3813. send "Nicht genug Geld." to player
  3814. if arg 1 is "43":
  3815. set {_Preis} to "%{wohnung15.Preis}%"
  3816. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3817. remove {_Preis} from {Silberstücke.%player's uuid%}
  3818. send "Wohnungspreis bezahlt." to player
  3819. set {wohnung43.Besitzer} to "%player%"
  3820. else:
  3821. send "Nicht genug Geld." to player
  3822. if arg 1 is "44":
  3823. set {_Preis} to "%{wohnung15.Preis}%"
  3824. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3825. remove {_Preis} from {Silberstücke.%player's uuid%}
  3826. send "Wohnungspreis bezahlt." to player
  3827. set {wohnung44.Besitzer} to "%player%"
  3828. else:
  3829. send "Nicht genug Geld." to player
  3830. if arg 1 is "45":
  3831. set {_Preis} to "%{wohnung15.Preis}%"
  3832. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  3833. remove {_Preis} from {Silberstücke.%player's uuid%}
  3834. send "Wohnungspreis bezahlt." to player
  3835. set {wohnung45.Besitzer} to "%player%"
  3836. else:
  3837. send "Nicht genug Geld." to player
  3838. #
  3839. #
  3840. # HAUSWEITERVERKAUFEN
  3841. #
  3842. #
  3843.  
  3844. command /3424651323124hausverkaufen [<Text>]:
  3845. trigger:
  3846. if arg 1 is "1":
  3847. set {Wohnung1.Preissetzen.%player%} to true
  3848. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3849. wait 15 seconds
  3850. if {Wohnung1.Preissetzen.%player%} is true:
  3851. set {Wohnung1.Preissetting.%player%} to false
  3852. if arg 1 is "2":
  3853. set {Wohnung2.Preissetzen.%player%} to true
  3854. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3855. wait 15 seconds
  3856. if {Wohnung2.Preissetzen.%player%} is true:
  3857. set {Wohnung2.Preissetting.%player%} to false
  3858. if arg 1 is "3":
  3859. set {Wohnung3.Preissetzen.%player%} to true
  3860. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3861. wait 15 seconds
  3862. if {Wohnung3.Preissetzen.%player%} is true:
  3863. set {Wohnung3.Preissetting.%player%} to false
  3864. if arg 1 is "4":
  3865. set {Wohnung4.Preissetzen.%player%} to true
  3866. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3867. wait 15 seconds
  3868. if {Wohnung4.Preissetzen.%player%} is true:
  3869. set {Wohnung4.Preissetting.%player%} to false
  3870. if arg 1 is "5":
  3871. set {Wohnung5.Preissetzen.%player%} to true
  3872. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3873. wait 15 seconds
  3874. if {Wohnung5.Preissetzen.%player%} is true:
  3875. set {Wohnung5.Preissetting.%player%} to false
  3876. if arg 1 is "6":
  3877. set {Wohnung6.Preissetzen.%player%} to true
  3878. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3879. wait 15 seconds
  3880. if {Wohnung6.Preissetzen.%player%} is true:
  3881. set {Wohnung6.Preissetting.%player%} to false
  3882. if arg 1 is "7":
  3883. set {Wohnung7.Preissetzen.%player%} to true
  3884. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3885. wait 15 seconds
  3886. if {Wohnung7.Preissetzen.%player%} is true:
  3887. set {Wohnung7.Preissetting.%player%} to false
  3888. if arg 1 is "8":
  3889. set {Wohnung8.Preissetzen.%player%} to true
  3890. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3891. wait 15 seconds
  3892. if {Wohnung8.Preissetzen.%player%} is true:
  3893. set {Wohnung8.Preissetting.%player%} to false
  3894. if arg 1 is "9":
  3895. set {Wohnung9.Preissetzen.%player%} to true
  3896. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3897. wait 15 seconds
  3898. if {Wohnung9.Preissetzen.%player%} is true:
  3899. set {Wohnung9.Preissetting.%player%} to false
  3900. if arg 1 is "10":
  3901. set {Wohnung10.Preissetzen.%player%} to true
  3902. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3903. wait 15 seconds
  3904. if {Wohnung10.Preissetzen.%player%} is true:
  3905. set {Wohnung10.Preissetting.%player%} to false
  3906. if arg 1 is "11":
  3907. set {Wohnung11.Preissetzen.%player%} to true
  3908. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3909. wait 15 seconds
  3910. if {Wohnung11.Preissetzen.%player%} is true:
  3911. set {Wohnung11.Preissetting.%player%} to false
  3912. if arg 1 is "12":
  3913. set {Wohnung12.Preissetzen.%player%} to true
  3914. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3915. wait 15 seconds
  3916. if {Wohnung12.Preissetzen.%player%} is true:
  3917. set {Wohnung12.Preissetting.%player%} to false
  3918. if arg 1 is "13":
  3919. set {Wohnung13.Preissetzen.%player%} to true
  3920. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3921. wait 15 seconds
  3922. if {Wohnung13.Preissetzen.%player%} is true:
  3923. set {Wohnung13.Preissetting.%player%} to false
  3924. if arg 1 is "14":
  3925. set {Wohnung14.Preissetzen.%player%} to true
  3926. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3927. wait 15 seconds
  3928. if {Wohnung14.Preissetzen.%player%} is true:
  3929. set {Wohnung14.Preissetting.%player%} to false
  3930. if arg 1 is "15":
  3931. set {Wohnung15.Preissetzen.%player%} to true
  3932. send "&8[&6Wohnraum&8] &7Tippe hier deinen gewünschten Preis in Silberstücken ein!" to player
  3933. wait 15 seconds
  3934. if {Wohnung15.Preissetzen.%player%} is true:
  3935. set {Wohnung15.Preissetting.%player%} to false
  3936.  
  3937. on chat:
  3938. if {Wohnung1.Preissetzen.%player%} is true:
  3939. cancel event
  3940. set {_message} to message
  3941. if {_message} is "cancel":
  3942. set {Wohnung1.Preissetzen.%player%} to false
  3943. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  3944. stop trigger
  3945. else:
  3946. set {Wohnung1.Wiederverkaufspreis} to {_message}
  3947. execute player command "67812309412079931hausverkaufen 1 %{Wohnung1.Wiederverkaufspreis}%"
  3948. if {Wohnung2.Preissetzen.%player%} is true:
  3949. cancel event
  3950. set {_message} to message
  3951. if {_message} is "cancel":
  3952. set {Wohnung2.Preissetzen.%player%} to false
  3953. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  3954. stop trigger
  3955. else:
  3956. set {Wohnung2.Wiederverkaufspreis} to {_message}
  3957. execute player command "67812309412079931hausverkaufen 1 %{Wohnung2.Wiederverkaufspreis}%"
  3958. if {Wohnung3.Preissetzen.%player%} is true:
  3959. cancel event
  3960. set {_message} to message
  3961. if {_message} is "cancel":
  3962. set {Wohnung3.Preissetzen.%player%} to false
  3963. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  3964. stop trigger
  3965. else:
  3966. set {Wohnung3.Wiederverkaufspreis} to {_message}
  3967. execute player command "67812309412079931hausverkaufen 1 %{Wohnung3.Wiederverkaufspreis}%"
  3968. if {Wohnung4.Preissetzen.%player%} is true:
  3969. cancel event
  3970. set {_message} to message
  3971. if {_message} is "cancel":
  3972. set {Wohnung4.Preissetzen.%player%} to false
  3973. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  3974. stop trigger
  3975. else:
  3976. set {Wohnung4.Wiederverkaufspreis} to {_message}
  3977. execute player command "67812309412079931hausverkaufen 1 %{Wohnung4.Wiederverkaufspreis}%"
  3978. if {Wohnung5.Preissetzen.%player%} is true:
  3979. cancel event
  3980. set {_message} to message
  3981. if {_message} is "cancel":
  3982. set {Wohnung5.Preissetzen.%player%} to false
  3983. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  3984. stop trigger
  3985. else:
  3986. set {Wohnung5.Wiederverkaufspreis} to {_message}
  3987. execute player command "67812309412079931hausverkaufen 1 %{Wohnung5.Wiederverkaufspreis}%"
  3988. if {Wohnung6.Preissetzen.%player%} is true:
  3989. cancel event
  3990. set {_message} to message
  3991. if {_message} is "cancel":
  3992. set {Wohnung6.Preissetzen.%player%} to false
  3993. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  3994. stop trigger
  3995. else:
  3996. set {Wohnung6.Wiederverkaufspreis} to {_message}
  3997. execute player command "67812309412079931hausverkaufen 1 %{Wohnung6.Wiederverkaufspreis}%"
  3998. if {Wohnung7.Preissetzen.%player%} is true:
  3999. cancel event
  4000. set {_message} to message
  4001. if {_message} is "cancel":
  4002. set {Wohnung7.Preissetzen.%player%} to false
  4003. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4004. stop trigger
  4005. else:
  4006. set {Wohnung7.Wiederverkaufspreis} to {_message}
  4007. execute player command "67812309412079931hausverkaufen 1 %{Wohnung7.Wiederverkaufspreis}%"
  4008. if {Wohnung8.Preissetzen.%player%} is true:
  4009. cancel event
  4010. set {_message} to message
  4011. if {_message} is "cancel":
  4012. set {Wohnung8.Preissetzen.%player%} to false
  4013. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4014. stop trigger
  4015. else:
  4016. set {Wohnung8.Wiederverkaufspreis} to {_message}
  4017. execute player command "67812309412079931hausverkaufen 1 %{Wohnung8.Wiederverkaufspreis}%"
  4018. if {Wohnung9.Preissetzen.%player%} is true:
  4019. cancel event
  4020. set {_message} to message
  4021. if {_message} is "cancel":
  4022. set {Wohnung9.Preissetzen.%player%} to false
  4023. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4024. stop trigger
  4025. else:
  4026. set {Wohnung9.Wiederverkaufspreis} to {_message}
  4027. execute player command "67812309412079931hausverkaufen 1 %{Wohnung9.Wiederverkaufspreis}%"
  4028. if {Wohnung10.Preissetzen.%player%} is true:
  4029. cancel event
  4030. set {_message} to message
  4031. if {_message} is "cancel":
  4032. set {Wohnung10.Preissetzen.%player%} to false
  4033. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4034. stop trigger
  4035. else:
  4036. set {Wohnung10.Wiederverkaufspreis} to {_message}
  4037. execute player command "67812309412079931hausverkaufen 1 %{Wohnung10.Wiederverkaufspreis}%"
  4038. if {Wohnung11.Preissetzen.%player%} is true:
  4039. cancel event
  4040. set {_message} to message
  4041. if {_message} is "cancel":
  4042. set {Wohnung11.Preissetzen.%player%} to false
  4043. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4044. stop trigger
  4045. else:
  4046. set {Wohnung11.Wiederverkaufspreis} to {_message}
  4047. execute player command "67812309412079931hausverkaufen 1 %{Wohnung11.Wiederverkaufspreis}%"
  4048. if {Wohnung12.Preissetzen.%player%} is true:
  4049. cancel event
  4050. set {_message} to message
  4051. if {_message} is "cancel":
  4052. set {Wohnung12.Preissetzen.%player%} to false
  4053. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4054. stop trigger
  4055. else:
  4056. set {Wohnung12.Wiederverkaufspreis} to {_message}
  4057. execute player command "67812309412079931hausverkaufen 1 %{Wohnung12.Wiederverkaufspreis}%"
  4058. if {Wohnung13.Preissetzen.%player%} is true:
  4059. cancel event
  4060. set {_message} to message
  4061. if {_message} is "cancel":
  4062. set {Wohnung13.Preissetzen.%player%} to false
  4063. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4064. stop trigger
  4065. else:
  4066. set {Wohnung13.Wiederverkaufspreis} to {_message}
  4067. execute player command "67812309412079931hausverkaufen 1 %{Wohnung13.Wiederverkaufspreis}%"
  4068. if {Wohnung14.Preissetzen.%player%} is true:
  4069. cancel event
  4070. set {_message} to message
  4071. if {_message} is "cancel":
  4072. set {Wohnung14.Preissetzen.%player%} to false
  4073. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4074. stop trigger
  4075. else:
  4076. set {Wohnung14.Wiederverkaufspreis} to {_message}
  4077. execute player command "67812309412079931hausverkaufen 1 %{Wohnung14.Wiederverkaufspreis}%"
  4078. if {Wohnung15.Preissetzen.%player%} is true:
  4079. cancel event
  4080. set {_message} to message
  4081. if {_message} is "cancel":
  4082. set {Wohnung15.Preissetzen.%player%} to false
  4083. send "&8[&6Wohnraum&8] &7Preiseingabe abgebrochen!" to player
  4084. stop trigger
  4085. else:
  4086. set {Wohnung15.Wiederverkaufspreis} to {_message}
  4087. execute player command "67812309412079931hausverkaufen 1 %{Wohnung15.Wiederverkaufspreis}%"
  4088.  
  4089. command /67812309412079931hausverkaufen [<Text>] [<Integer>]:
  4090. trigger:
  4091. if arg 1 is "1":
  4092. if arg 2 is a number:
  4093. set {Wohnung1.Preissetzen.%player%} to false
  4094. set {Wohnung1.Wiederverkauf} to true
  4095. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4096. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung1.Wiederverkaufspreis}%." to player
  4097. else:
  4098. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4099. if arg 1 is "2":
  4100. if arg 2 is a number:
  4101. set {Wohnung2.Preissetzen.%player%} to false
  4102. set {Wohnung2.Wiederverkauf} to true
  4103. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4104. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung2.Wiederverkaufspreis}%." to player
  4105. else:
  4106. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4107. if arg 1 is "3":
  4108. if arg 2 is a number:
  4109. set {Wohnung3.Preissetzen.%player%} to false
  4110. set {Wohnung3.Wiederverkauf} to true
  4111. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4112. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung3.Wiederverkaufspreis}%." to player
  4113. else:
  4114. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4115. if arg 1 is "4":
  4116. if arg 2 is a number:
  4117. set {Wohnung4.Preissetzen.%player%} to false
  4118. set {Wohnung4.Wiederverkauf} to true
  4119. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4120. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung4.Wiederverkaufspreis}%." to player
  4121. else:
  4122. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4123. if arg 1 is "5":
  4124. if arg 2 is a number:
  4125. set {Wohnung5.Preissetzen.%player%} to false
  4126. set {Wohnung5.Wiederverkauf} to true
  4127. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4128. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung5.Wiederverkaufspreis}%." to player
  4129. else:
  4130. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4131. if arg 1 is "6":
  4132. if arg 2 is a number:
  4133. set {Wohnung6.Preissetzen.%player%} to false
  4134. set {Wohnung6.Wiederverkauf} to true
  4135. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4136. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung6.Wiederverkaufspreis}%." to player
  4137. else:
  4138. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4139. if arg 1 is "7":
  4140. if arg 2 is a number:
  4141. set {Wohnung7.Preissetzen.%player%} to false
  4142. set {Wohnung7.Wiederverkauf} to true
  4143. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4144. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung7.Wiederverkaufspreis}%." to player
  4145. else:
  4146. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4147. if arg 1 is "8":
  4148. if arg 2 is a number:
  4149. set {Wohnung8.Preissetzen.%player%} to false
  4150. set {Wohnung8.Wiederverkauf} to true
  4151. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4152. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung8.Wiederverkaufspreis}%." to player
  4153. else:
  4154. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4155. if arg 1 is "9":
  4156. if arg 2 is a number:
  4157. set {Wohnung9.Preissetzen.%player%} to false
  4158. set {Wohnung9.Wiederverkauf} to true
  4159. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4160. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung9.Wiederverkaufspreis}%." to player
  4161. else:
  4162. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4163. if arg 1 is "10":
  4164. if arg 2 is a number:
  4165. set {Wohnung10.Preissetzen.%player%} to false
  4166. set {Wohnung10.Wiederverkauf} to true
  4167. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4168. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung10.Wiederverkaufspreis}%." to player
  4169. else:
  4170. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4171. if arg 1 is "11":
  4172. if arg 2 is a number:
  4173. set {Wohnung11.Preissetzen.%player%} to false
  4174. set {Wohnung11.Wiederverkauf} to true
  4175. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4176. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung11.Wiederverkaufspreis}%." to player
  4177. else:
  4178. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4179. if arg 1 is "12":
  4180. if arg 2 is a number:
  4181. set {Wohnung12.Preissetzen.%player%} to false
  4182. set {Wohnung12.Wiederverkauf} to true
  4183. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4184. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung12.Wiederverkaufspreis}%." to player
  4185. else:
  4186. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4187. if arg 1 is "13":
  4188. if arg 2 is a number:
  4189. set {Wohnung13.Preissetzen.%player%} to false
  4190. set {Wohnung13.Wiederverkauf} to true
  4191. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4192. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung13.Wiederverkaufspreis}%." to player
  4193. else:
  4194. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4195. if arg 1 is "14":
  4196. if arg 2 is a number:
  4197. set {Wohnung14.Preissetzen.%player%} to false
  4198. set {Wohnung14.Wiederverkauf} to true
  4199. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4200. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung14.Wiederverkaufspreis}%." to player
  4201. else:
  4202. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4203. if arg 1 is "15":
  4204. if arg 2 is a number:
  4205. set {Wohnung15.Preissetzen.%player%} to false
  4206. set {Wohnung15.Wiederverkauf} to true
  4207. send "&8[&6Wohnraum&8] &7Du bietest deine Wohnung nun zum Kauf an!" to player
  4208. send "&8[&6Wohnraum&8] &7Dein eingestellter Preis beträgt %{Wohnung15.Wiederverkaufspreis}%." to player
  4209. else:
  4210. send "&8[&6Wohnraum&8] &7Der Preis muss eine Zahl sein!" to player
  4211.  
  4212.  
  4213. command /72137827942182hausverkaufabbruch [<Text>]:
  4214. trigger:
  4215. if {Wohnung%arg 1%.Besitzer} is "%player%":
  4216. set {Wohnung%arg 1%.Wiederverkauf} to false
  4217. send "&8[&6Wohnraum&8] &7Wohnungsverkauf abgebrochen!" to player
  4218.  
  4219.  
  4220. command /14178932179832wiederkaufen [<Text>]:
  4221. trigger:
  4222. if {Wohnung%arg 1%.Wiederverkauf} is true:
  4223. set {_Preis} to "%{Wohnung%arg 1%.Wiederverkaufspreis}%"
  4224. if {Silberstücke.%player's uuid%} is more than ({_Preis} - 0.01):
  4225. execute player command "bezahlen %{Wohnung%arg 1%.Besitzer}% Silberstücke %{Wohnung%arg 1%.Wiederverkaufspreis}%"
  4226. set {_ExBesitzer} to {Wohnung%arg 1%.Besitzer}
  4227. send "&8[&6Wohnraum&8] &7Dein Wohnraum wurde gekauft!" to {_ExBesitzer}
  4228. send "&8[&6Wohnraum&8] &7Du erhältst %{Wohnung%arg 1%.Wiederverkaufspreis}% Silberstücke." to {_ExBesitzer}
  4229. set {Wohnung%arg 1%.Besitzer} to player
  4230. send "&8[&6Wohnraum&8] &7Du hast erfolgreich diesen Wohnraum gekauft!" to player
  4231. set {Wohnung%arg 1%.Wiederverkauf} to false
  4232. else:
  4233. send "&8[&6Wohnraum&8] &7Du hast nicht genug Geld!" to player
  4234.  
  4235.  
  4236. #
  4237. #
  4238. # SCHILD
  4239. #
  4240. #
  4241.  
  4242.  
  4243. on rightclick on sign:
  4244. line 2 of event-block is "&8[&6Wohnraum&8]"
  4245. set {_location} to location of event-block
  4246. x-location of {_location} is {x.wohnung1.1.sign}
  4247. y-location of {_location} is {y.wohnung1.1.sign}
  4248. z-location of {_location} is {z.wohnung1.1.sign}
  4249. open chest with 1 rows named "&8Wohnung" to player
  4250. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4251. if player has permission "op":
  4252. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a1" to be unstealable
  4253. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4254. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4255. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4256. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung1.Besitzer}%" to be unstealable
  4257. if {wohnung1.Besitzer} is "Unverkauft":
  4258. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung1.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 1"]
  4259. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4260. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4261. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4262. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4263. if {wohnung1.Besitzer} is "%player%":
  4264. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 1"]
  4265. if {Wohnung1.Wiederverkauf} is true:
  4266. if {wohnung1.Besitzer} is "%player%":
  4267. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 1"]
  4268. else:
  4269. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung1.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 1"]
  4270.  
  4271.  
  4272. on rightclick on sign:
  4273. line 2 of event-block is "&8[&6Wohnraum&8]"
  4274. set {_location} to location of event-block
  4275. x-location of {_location} is {x.wohnung2.1.sign}
  4276. y-location of {_location} is {y.wohnung2.1.sign}
  4277. z-location of {_location} is {z.wohnung2.1.sign}
  4278. open chest with 1 rows named "&8Wohnung" to player
  4279. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4280. if player has permission "op":
  4281. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a2" to be unstealable
  4282. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4283. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4284. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4285. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung2.Besitzer}%" to be unstealable
  4286. if {wohnung2.Besitzer} is "Unverkauft":
  4287. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung2.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 2"]
  4288. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4289. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4290. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4291. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4292. if {wohnung2.Besitzer} is "%player%":
  4293. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 2"]
  4294. if {Wohnung2.Wiederverkauf} is true:
  4295. if {wohnung2.Besitzer} is "%player%":
  4296. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 2"]
  4297. else:
  4298. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung2.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 2"]
  4299.  
  4300. on rightclick on sign:
  4301. line 2 of event-block is "&8[&6Wohnraum&8]"
  4302. set {_location} to location of event-block
  4303. x-location of {_location} is {x.wohnung3.1.sign}
  4304. y-location of {_location} is {y.wohnung3.1.sign}
  4305. z-location of {_location} is {z.wohnung3.1.sign}
  4306. open chest with 1 rows named "&8Wohnung" to player
  4307. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4308. if player has permission "op":
  4309. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a3" to be unstealable
  4310. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4311. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4312. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4313. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung3.Besitzer}%" to be unstealable
  4314. if {wohnung3.Besitzer} is "Unverkauft":
  4315. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung3.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 3"]
  4316. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4317. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4318. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4319. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4320. if {wohnung3.Besitzer} is "%player%":
  4321. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 3"]
  4322. if {Wohnung3.Wiederverkauf} is true:
  4323. if {wohnung3.Besitzer} is "%player%":
  4324. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 3"]
  4325. else:
  4326. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung3.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 3"]
  4327.  
  4328. on rightclick on sign:
  4329. line 2 of event-block is "&8[&6Wohnraum&8]"
  4330. set {_location} to location of event-block
  4331. x-location of {_location} is {x.wohnung4.1.sign}
  4332. y-location of {_location} is {y.wohnung4.1.sign}
  4333. z-location of {_location} is {z.wohnung4.1.sign}
  4334. open chest with 1 rows named "&8Wohnung" to player
  4335. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4336. if player has permission "op":
  4337. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a4" to be unstealable
  4338. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4339. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4340. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4341. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung4.Besitzer}%" to be unstealable
  4342. if {wohnung4.Besitzer} is "Unverkauft":
  4343. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung4.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 4"]
  4344. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4345. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4346. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4347. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4348. if {wohnung4.Besitzer} is "%player%":
  4349. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 4"]
  4350. if {Wohnung4.Wiederverkauf} is true:
  4351. if {wohnung4.Besitzer} is "%player%":
  4352. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 4"]
  4353. else:
  4354. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung4.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 4"]
  4355.  
  4356. on rightclick on sign:
  4357. line 2 of event-block is "&8[&6Wohnraum&8]"
  4358. set {_location} to location of event-block
  4359. x-location of {_location} is {x.wohnung5.1.sign}
  4360. y-location of {_location} is {y.wohnung5.1.sign}
  4361. z-location of {_location} is {z.wohnung5.1.sign}
  4362. open chest with 1 rows named "&8Wohnung" to player
  4363. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4364. if player has permission "op":
  4365. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a5" to be unstealable
  4366. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4367. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4368. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4369. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung5.Besitzer}%" to be unstealable
  4370. if {wohnung5.Besitzer} is "Unverkauft":
  4371. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung5.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 5"]
  4372. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4373. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4374. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4375. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4376. if {wohnung5.Besitzer} is "%player%":
  4377. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 5"]
  4378. if {Wohnung5.Wiederverkauf} is true:
  4379. if {wohnung5.Besitzer} is "%player%":
  4380. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 5"]
  4381. else:
  4382. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung5.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 5"]
  4383.  
  4384. on rightclick on sign:
  4385. line 2 of event-block is "&8[&6Wohnraum&8]"
  4386. set {_location} to location of event-block
  4387. x-location of {_location} is {x.wohnung6.1.sign}
  4388. y-location of {_location} is {y.wohnung6.1.sign}
  4389. z-location of {_location} is {z.wohnung6.1.sign}
  4390. open chest with 1 rows named "&8Wohnung" to player
  4391. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4392. if player has permission "op":
  4393. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a6" to be unstealable
  4394. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4395. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4396. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4397. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung6.Besitzer}%" to be unstealable
  4398. if {wohnung6.Besitzer} is "Unverkauft":
  4399. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung6.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 6"]
  4400. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4401. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4402. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4403. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4404. if {wohnung6.Besitzer} is "%player%":
  4405. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 6"]
  4406. if {Wohnung6.Wiederverkauf} is true:
  4407. if {wohnung6.Besitzer} is "%player%":
  4408. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 6"]
  4409. else:
  4410. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung6.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 6"]
  4411.  
  4412. on rightclick on sign:
  4413. line 2 of event-block is "&8[&6Wohnraum&8]"
  4414. set {_location} to location of event-block
  4415. x-location of {_location} is {x.wohnung7.1.sign}
  4416. y-location of {_location} is {y.wohnung7.1.sign}
  4417. z-location of {_location} is {z.wohnung7.1.sign}
  4418. open chest with 1 rows named "&8Wohnung" to player
  4419. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4420. if player has permission "op":
  4421. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a7" to be unstealable
  4422. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4423. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4424. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4425. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung7.Besitzer}%" to be unstealable
  4426. if {wohnung7.Besitzer} is "Unverkauft":
  4427. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung7.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 7"]
  4428. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4429. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4430. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4431. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4432. if {wohnung7.Besitzer} is "%player%":
  4433. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 7"]
  4434. if {Wohnung7.Wiederverkauf} is true:
  4435. if {wohnung7.Besitzer} is "%player%":
  4436. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 7"]
  4437. else:
  4438. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung7.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 7"]
  4439.  
  4440. on rightclick on sign:
  4441. line 2 of event-block is "&8[&6Wohnraum&8]"
  4442. set {_location} to location of event-block
  4443. x-location of {_location} is {x.wohnung8.1.sign}
  4444. y-location of {_location} is {y.wohnung8.1.sign}
  4445. z-location of {_location} is {z.wohnung8.1.sign}
  4446. open chest with 1 rows named "&8Wohnung" to player
  4447. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4448. if player has permission "op":
  4449. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a8" to be unstealable
  4450. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4451. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4452. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4453. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung8.Besitzer}%" to be unstealable
  4454. if {wohnung8.Besitzer} is "Unverkauft":
  4455. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung8.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 8"]
  4456. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4457. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4458. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4459. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4460. if {wohnung8.Besitzer} is "%player%":
  4461. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 8"]
  4462. if {Wohnung8.Wiederverkauf} is true:
  4463. if {wohnung8.Besitzer} is "%player%":
  4464. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 8"]
  4465. else:
  4466. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung8.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 8"]
  4467.  
  4468. on rightclick on sign:
  4469. line 2 of event-block is "&8[&6Wohnraum&8]"
  4470. set {_location} to location of event-block
  4471. x-location of {_location} is {x.wohnung9.1.sign}
  4472. y-location of {_location} is {y.wohnung9.1.sign}
  4473. z-location of {_location} is {z.wohnung9.1.sign}
  4474. open chest with 1 rows named "&8Wohnung" to player
  4475. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4476. if player has permission "op":
  4477. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a9" to be unstealable
  4478. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4479. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4480. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4481. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung9.Besitzer}%" to be unstealable
  4482. if {wohnung9.Besitzer} is "Unverkauft":
  4483. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung9.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 9"]
  4484. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4485. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4486. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4487. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4488. if {wohnung9.Besitzer} is "%player%":
  4489. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 9"]
  4490. if {Wohnung9.Wiederverkauf} is true:
  4491. if {wohnung9.Besitzer} is "%player%":
  4492. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 9"]
  4493. else:
  4494. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung9.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 9"]
  4495.  
  4496. on rightclick on sign:
  4497. line 2 of event-block is "&8[&6Wohnraum&8]"
  4498. set {_location} to location of event-block
  4499. x-location of {_location} is {x.wohnung10.1.sign}
  4500. y-location of {_location} is {y.wohnung10.1.sign}
  4501. z-location of {_location} is {z.wohnung10.1.sign}
  4502. open chest with 1 rows named "&8Wohnung" to player
  4503. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4504. if player has permission "op":
  4505. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a10" to be unstealable
  4506. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4507. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4508. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4509. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung10.Besitzer}%" to be unstealable
  4510. if {wohnung10.Besitzer} is "Unverkauft":
  4511. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung10.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 10"]
  4512. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4513. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4514. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4515. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4516. if {wohnung10.Besitzer} is "%player%":
  4517. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 10"]
  4518. if {Wohnung10.Wiederverkauf} is true:
  4519. if {wohnung10.Besitzer} is "%player%":
  4520. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 10"]
  4521. else:
  4522. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung10.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 10"]
  4523.  
  4524. on rightclick on sign:
  4525. line 2 of event-block is "&8[&6Wohnraum&8]"
  4526. set {_location} to location of event-block
  4527. x-location of {_location} is {x.wohnung11.1.sign}
  4528. y-location of {_location} is {y.wohnung11.1.sign}
  4529. z-location of {_location} is {z.wohnung11.1.sign}
  4530. open chest with 1 rows named "&8Wohnung" to player
  4531. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4532. if player has permission "op":
  4533. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a11" to be unstealable
  4534. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4535. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4536. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4537. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung11.Besitzer}%" to be unstealable
  4538. if {wohnung11.Besitzer} is "Unverkauft":
  4539. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung11.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 11"]
  4540. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4541. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4542. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4543. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4544. if {wohnung11.Besitzer} is "%player%":
  4545. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 11"]
  4546. if {Wohnung11.Wiederverkauf} is true:
  4547. if {wohnung11.Besitzer} is "%player%":
  4548. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 11"]
  4549. else:
  4550. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung11.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 11"]
  4551.  
  4552. on rightclick on sign:
  4553. line 2 of event-block is "&8[&6Wohnraum&8]"
  4554. set {_location} to location of event-block
  4555. x-location of {_location} is {x.wohnung12.1.sign}
  4556. y-location of {_location} is {y.wohnung12.1.sign}
  4557. z-location of {_location} is {z.wohnung12.1.sign}
  4558. open chest with 1 rows named "&8Wohnung" to player
  4559. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4560. if player has permission "op":
  4561. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a12" to be unstealable
  4562. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4563. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4564. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4565. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung12.Besitzer}%" to be unstealable
  4566. if {wohnung12.Besitzer} is "Unverkauft":
  4567. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung12.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 12"]
  4568. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4569. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4570. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4571. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4572. if {wohnung12.Besitzer} is "%player%":
  4573. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 12"]
  4574. if {Wohnung12.Wiederverkauf} is true:
  4575. if {wohnung12.Besitzer} is "%player%":
  4576. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 12"]
  4577. else:
  4578. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung12.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 12"]
  4579.  
  4580. on rightclick on sign:
  4581. line 2 of event-block is "&8[&6Wohnraum&8]"
  4582. set {_location} to location of event-block
  4583. x-location of {_location} is {x.wohnung13.1.sign}
  4584. y-location of {_location} is {y.wohnung13.1.sign}
  4585. z-location of {_location} is {z.wohnung13.1.sign}
  4586. open chest with 1 rows named "&8Wohnung" to player
  4587. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4588. if player has permission "op":
  4589. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a13" to be unstealable
  4590. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4591. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4592. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4593. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung13.Besitzer}%" to be unstealable
  4594. if {wohnung13.Besitzer} is "Unverkauft":
  4595. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung13.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 13"]
  4596. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4597. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4598. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4599. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4600. if {wohnung13.Besitzer} is "%player%":
  4601. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 13"]
  4602. if {Wohnung13.Wiederverkauf} is true:
  4603. if {wohnung13.Besitzer} is "%player%":
  4604. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 13"]
  4605. else:
  4606. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung13.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 13"]
  4607.  
  4608. on rightclick on sign:
  4609. line 2 of event-block is "&8[&6Wohnraum&8]"
  4610. set {_location} to location of event-block
  4611. x-location of {_location} is {x.wohnung14.1.sign}
  4612. y-location of {_location} is {y.wohnung14.1.sign}
  4613. z-location of {_location} is {z.wohnung14.1.sign}
  4614. open chest with 1 rows named "&8Wohnung" to player
  4615. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4616. if player has permission "op":
  4617. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a14" to be unstealable
  4618. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4619. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4620. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4621. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung14.Besitzer}%" to be unstealable
  4622. if {wohnung14.Besitzer} is "Unverkauft":
  4623. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung14.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 14"]
  4624. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4625. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4626. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4627. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4628. if {wohnung14.Besitzer} is "%player%":
  4629. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 14"]
  4630. if {Wohnung14.Wiederverkauf} is true:
  4631. if {wohnung14.Besitzer} is "%player%":
  4632. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 14"]
  4633. else:
  4634. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung14.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 14"]
  4635.  
  4636. on rightclick on sign:
  4637. line 2 of event-block is "&8[&6Wohnraum&8]"
  4638. set {_location} to location of event-block
  4639. x-location of {_location} is {x.wohnung15.1.sign}
  4640. y-location of {_location} is {y.wohnung15.1.sign}
  4641. z-location of {_location} is {z.wohnung15.1.sign}
  4642. open chest with 1 rows named "&8Wohnung" to player
  4643. format slot 0 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4644. if player has permission "op":
  4645. format slot 0 of player with stone named "&8» &7AdminWohnungsID: &a15" to be unstealable
  4646. format slot 1 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4647. format slot 2 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4648. format slot 3 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4649. format slot 4 of player with enchanted book named "&8» &7Besitzer: &e%{wohnung15.Besitzer}%" to be unstealable
  4650. if {wohnung15.Besitzer} is "Unverkauft":
  4651. format slot 4 of player with book named "&8» &7Zu verkaufen." with lore "&7Preis: &e%{wohnung15.Preis}% &7Silberstücke" to close then run [make player execute command "5213215123hauskaufen 15"]
  4652. format slot 5 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4653. format slot 6 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4654. format slot 7 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4655. format slot 8 of player with stained_glass_pane:15 named "&8»=====" to be unstealable
  4656. if {wohnung15.Besitzer} is "%player%":
  4657. format slot 8 of player with diamond named "&8» &7Verkaufen" to close then run [make player execute command "3424651323124hausverkaufen 15"]
  4658. if {Wohnung15.Wiederverkauf} is true:
  4659. if {wohnung15.Besitzer} is "%player%":
  4660. format slot 8 of player with barrier named "&8» &7Wiederverkauf &cabbrechen&7!" to close then run [make player execute command "72137827942182hausverkaufabbruch 15"]
  4661. else:
  4662. format slot 8 of player with light green dye named "&8» &7Kaufen" with lore "&7Preis: %{Wohnung15.Wiederverkaufspreis}%" to close then run [make player execute command "14178932179832wiederkaufen 15"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement