Agentperson

demo 2 igm

May 29th, 2023 (edited)
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Let's make a game!
  2. name:Custom Names Demo 2
  3. by:AgentRylie / Agentperson
  4. desc:Demo to show custom names
  5. version:1
  6. Settings
  7. background:https://file.garden/XSIm8ZidV1rvya38/PaintDry/background2.png
  8. no particles
  9. no bulk particles
  10. Upgrades
  11. *ResetPass
  12. name:Reset
  13. on click:
  14. if (nameable=1)
  15. lose posLet
  16. lose PasscodeIDa
  17. lose PasscodeIDb
  18. lose PasscodeIDc
  19. lose PasscodeIDd
  20. lose PasscodeIDe
  21. lose PasscodeIDf
  22. lose PasscodeIDg
  23. lose PasscodeIDh
  24. end
  25. end
  26. *TEMPLATE
  27. req:1 nameable
  28. no buy
  29. *PassA
  30. text:[?(PasscodeIDa=0)|_|][?(PasscodeIDa=1)|A|][?(PasscodeIDa=2)|B|][?(PasscodeIDa=3)|C|][?(PasscodeIDa=4)|D|][?(PasscodeIDa=5)|E|][?(PasscodeIDa=6)|F|][?(PasscodeIDa=7)|G|][?(PasscodeIDa=8)|H|][?(PasscodeIDa=9)|I|][?(PasscodeIDa=10)|J|][?(PasscodeIDa=11)|K|][?(PasscodeIDa=12)|L|][?(PasscodeIDa=13)|M|][?(PasscodeIDa=14)|N|][?(PasscodeIDa=15)|O|][?(PasscodeIDa=16)|P|][?(PasscodeIDa=17)|Q|][?(PasscodeIDa=18)|R|][?(PasscodeIDa=19)|S|][?(PasscodeIDa=20)|T|][?(PasscodeIDa=21)|U|][?(PasscodeIDa=22)|V|][?(PasscodeIDa=23)|W|][?(PasscodeIDa=24)|X|][?(PasscodeIDa=25)|Y|][?(PasscodeIDa=26)|Z|]
  31. *PassB
  32. text:[?(PasscodeIDb=0)|_|][?(PasscodeIDb=1)|A|][?(PasscodeIDb=2)|B|][?(PasscodeIDb=3)|C|][?(PasscodeIDb=4)|D|][?(PasscodeIDb=5)|E|][?(PasscodeIDb=6)|F|][?(PasscodeIDb=7)|G|][?(PasscodeIDb=8)|H|][?(PasscodeIDb=9)|I|][?(PasscodeIDb=10)|J|][?(PasscodeIDb=11)|K|][?(PasscodeIDb=12)|L|][?(PasscodeIDb=13)|M|][?(PasscodeIDb=14)|N|][?(PasscodeIDb=15)|O|][?(PasscodeIDb=16)|P|][?(PasscodeIDb=17)|Q|][?(PasscodeIDb=18)|R|][?(PasscodeIDb=19)|S|][?(PasscodeIDb=20)|T|][?(PasscodeIDb=21)|U|][?(PasscodeIDb=22)|V|][?(PasscodeIDb=23)|W|][?(PasscodeIDb=24)|X|][?(PasscodeIDb=25)|Y|][?(PasscodeIDb=26)|Z|]
  33. *PassC
  34. text:[?(PasscodeIDc=0)|_|][?(PasscodeIDc=1)|A|][?(PasscodeIDc=2)|B|][?(PasscodeIDc=3)|C|][?(PasscodeIDc=4)|D|][?(PasscodeIDc=5)|E|][?(PasscodeIDc=6)|F|][?(PasscodeIDc=7)|G|][?(PasscodeIDc=8)|H|][?(PasscodeIDc=9)|I|][?(PasscodeIDc=10)|J|][?(PasscodeIDc=11)|K|][?(PasscodeIDc=12)|L|][?(PasscodeIDc=13)|M|][?(PasscodeIDc=14)|N|][?(PasscodeIDc=15)|O|][?(PasscodeIDc=16)|P|][?(PasscodeIDc=17)|Q|][?(PasscodeIDc=18)|R|][?(PasscodeIDc=19)|S|][?(PasscodeIDc=20)|T|][?(PasscodeIDc=21)|U|][?(PasscodeIDc=22)|V|][?(PasscodeIDc=23)|W|][?(PasscodeIDc=24)|X|][?(PasscodeIDc=25)|Y|][?(PasscodeIDc=26)|Z|]
  35. *PassD
  36. text:[?(PasscodeIDd=0)|_|][?(PasscodeIDd=1)|A|][?(PasscodeIDd=2)|B|][?(PasscodeIDd=3)|C|][?(PasscodeIDd=4)|D|][?(PasscodeIDd=5)|E|][?(PasscodeIDd=6)|F|][?(PasscodeIDd=7)|G|][?(PasscodeIDd=8)|H|][?(PasscodeIDd=9)|I|][?(PasscodeIDd=10)|J|][?(PasscodeIDd=11)|K|][?(PasscodeIDd=12)|L|][?(PasscodeIDd=13)|M|][?(PasscodeIDd=14)|N|][?(PasscodeIDd=15)|O|][?(PasscodeIDd=16)|P|][?(PasscodeIDd=17)|Q|][?(PasscodeIDd=18)|R|][?(PasscodeIDd=19)|S|][?(PasscodeIDd=20)|T|][?(PasscodeIDd=21)|U|][?(PasscodeIDd=22)|V|][?(PasscodeIDd=23)|W|][?(PasscodeIDd=24)|X|][?(PasscodeIDd=25)|Y|][?(PasscodeIDd=26)|Z|]
  37. *PassE
  38. text:[?(PasscodeIDe=0)|_|][?(PasscodeIDe=1)|A|][?(PasscodeIDe=2)|B|][?(PasscodeIDe=3)|C|][?(PasscodeIDe=4)|D|][?(PasscodeIDe=5)|E|][?(PasscodeIDe=6)|F|][?(PasscodeIDe=7)|G|][?(PasscodeIDe=8)|H|][?(PasscodeIDe=9)|I|][?(PasscodeIDe=10)|J|][?(PasscodeIDe=11)|K|][?(PasscodeIDe=12)|L|][?(PasscodeIDe=13)|M|][?(PasscodeIDe=14)|N|][?(PasscodeIDe=15)|O|][?(PasscodeIDe=16)|P|][?(PasscodeIDe=17)|Q|][?(PasscodeIDe=18)|R|][?(PasscodeIDe=19)|S|][?(PasscodeIDe=20)|T|][?(PasscodeIDe=21)|U|][?(PasscodeIDe=22)|V|][?(PasscodeIDe=23)|W|][?(PasscodeIDe=24)|X|][?(PasscodeIDe=25)|Y|][?(PasscodeIDe=26)|Z|]
  39. *PassF
  40. text:[?(PasscodeIDf=0)|_|][?(PasscodeIDf=1)|A|][?(PasscodeIDf=2)|B|][?(PasscodeIDf=3)|C|][?(PasscodeIDf=4)|D|][?(PasscodeIDf=5)|E|][?(PasscodeIDf=6)|F|][?(PasscodeIDf=7)|G|][?(PasscodeIDf=8)|H|][?(PasscodeIDf=9)|I|][?(PasscodeIDf=10)|J|][?(PasscodeIDf=11)|K|][?(PasscodeIDf=12)|L|][?(PasscodeIDf=13)|M|][?(PasscodeIDf=14)|N|][?(PasscodeIDf=15)|O|][?(PasscodeIDf=16)|P|][?(PasscodeIDf=17)|Q|][?(PasscodeIDf=18)|R|][?(PasscodeIDf=19)|S|][?(PasscodeIDf=20)|T|][?(PasscodeIDf=21)|U|][?(PasscodeIDf=22)|V|][?(PasscodeIDf=23)|W|][?(PasscodeIDf=24)|X|][?(PasscodeIDf=25)|Y|][?(PasscodeIDf=26)|Z|]
  41. *PassG
  42. text:[?(PasscodeIDg=0)|_|][?(PasscodeIDg=1)|A|][?(PasscodeIDg=2)|B|][?(PasscodeIDg=3)|C|][?(PasscodeIDg=4)|D|][?(PasscodeIDg=5)|E|][?(PasscodeIDg=6)|F|][?(PasscodeIDg=7)|G|][?(PasscodeIDg=8)|H|][?(PasscodeIDg=9)|I|][?(PasscodeIDg=10)|J|][?(PasscodeIDg=11)|K|][?(PasscodeIDg=12)|L|][?(PasscodeIDg=13)|M|][?(PasscodeIDg=14)|N|][?(PasscodeIDg=15)|O|][?(PasscodeIDg=16)|P|][?(PasscodeIDg=17)|Q|][?(PasscodeIDg=18)|R|][?(PasscodeIDg=19)|S|][?(PasscodeIDg=20)|T|][?(PasscodeIDg=21)|U|][?(PasscodeIDg=22)|V|][?(PasscodeIDg=23)|W|][?(PasscodeIDg=24)|X|][?(PasscodeIDg=25)|Y|][?(PasscodeIDg=26)|Z|]
  43. *PassH
  44. text:[?(PasscodeIDh=0)|_|][?(PasscodeIDh=1)|A|][?(PasscodeIDh=2)|B|][?(PasscodeIDh=3)|C|][?(PasscodeIDh=4)|D|][?(PasscodeIDh=5)|E|][?(PasscodeIDh=6)|F|][?(PasscodeIDh=7)|G|][?(PasscodeIDh=8)|H|][?(PasscodeIDh=9)|I|][?(PasscodeIDh=10)|J|][?(PasscodeIDh=11)|K|][?(PasscodeIDh=12)|L|][?(PasscodeIDh=13)|M|][?(PasscodeIDh=14)|N|][?(PasscodeIDh=15)|O|][?(PasscodeIDh=16)|P|][?(PasscodeIDh=17)|Q|][?(PasscodeIDh=18)|R|][?(PasscodeIDh=19)|S|][?(PasscodeIDh=20)|T|][?(PasscodeIDh=21)|U|][?(PasscodeIDh=22)|V|][?(PasscodeIDh=23)|W|][?(PasscodeIDh=24)|X|][?(PasscodeIDh=25)|Y|][?(PasscodeIDh=26)|Z|]
  45. *PassEnter
  46. name:Enter
  47. on click:if (nameable=1) lose 1 nameable
  48. req:1 nameable
  49. *bar
  50. name:-
  51. class:fullWidth
  52. *TEMPLATE
  53. req:1 nameable
  54. on earn:lose this
  55. *LetBack
  56. name:Delete
  57. on click:
  58. if (posLet=1 and nameable=1)
  59. yield -(PasscodeIDa) PasscodeIDa
  60. yield -1 posLet
  61. end
  62. if (posLet=2 and nameable=1)
  63. yield -(PasscodeIDb) PasscodeIDb
  64. yield -1 posLet
  65. end
  66. if (posLet=3 and nameable=1)
  67. yield -(PasscodeIDc) PasscodeIDc
  68. yield -1 posLet
  69. end
  70. if (posLet=4 and nameable=1)
  71. yield -(PasscodeIDd) PasscodeIDd
  72. yield -1 posLet
  73. end
  74. if (posLet=5 and nameable=1)
  75. yield -(PasscodeIDe) PasscodeIDe
  76. yield -1 posLet
  77. end
  78. if (posLet=6 and nameable=1)
  79. yield -(PasscodeIDf) PasscodeIDf
  80. yield -1 posLet
  81. end
  82. if (posLet=7 and nameable=1)
  83. yield -(PasscodeIDg) PasscodeIDg
  84. yield -1 posLet
  85. end
  86. if (posLet=8 and nameable=1)
  87. yield -(PasscodeIDh) PasscodeIDh
  88. yield -1 posLet
  89. end
  90. if (posLet=9 and nameable=1)
  91. yield -(PasscodeIDh) PasscodeIDh
  92. yield -1 posLet
  93. end
  94. end
  95. *Let
  96. name:_
  97. on click:if (9>=posLet and nameable=1) yield 1 posLet
  98. *LetA
  99. name:A
  100. on click:
  101. if (posLet=0 and nameable=1)
  102. yield 1 PasscodeIDa
  103. end
  104. if (posLet=1 and nameable=1)
  105. yield 1 PasscodeIDb
  106. end
  107. if (posLet=2 and nameable=1)
  108. yield 1 PasscodeIDc
  109. end
  110. if (posLet=3 and nameable=1)
  111. yield 1 PasscodeIDd
  112. end
  113. if (posLet=4 and nameable=1)
  114. yield 1 PasscodeIDe
  115. end
  116. if (posLet=5 and nameable=1)
  117. yield 1 PasscodeIDf
  118. end
  119. if (posLet=6 and nameable=1)
  120. yield 1 PasscodeIDg
  121. end
  122. if (posLet=7 and nameable=1)
  123. yield 1 PasscodeIDh
  124. end
  125. yield 1 posLet
  126. end
  127. *LetB
  128. name:B
  129. on click:
  130. if (posLet=0 and nameable=1)
  131. yield 2 PasscodeIDa
  132. end
  133. if (posLet=1 and nameable=1)
  134. yield 2 PasscodeIDb
  135. end
  136. if (posLet=2 and nameable=1)
  137. yield 2 PasscodeIDc
  138. end
  139. if (posLet=3 and nameable=1)
  140. yield 2 PasscodeIDd
  141. end
  142. if (posLet=4 and nameable=1)
  143. yield 2 PasscodeIDe
  144. end
  145. if (posLet=5 and nameable=1)
  146. yield 2 PasscodeIDf
  147. end
  148. if (posLet=6 and nameable=1)
  149. yield 2 PasscodeIDg
  150. end
  151. if (posLet=7 and nameable=1)
  152. yield 2 PasscodeIDh
  153. end
  154. yield 1 posLet
  155. end
  156. *LetC
  157. name:C
  158. on click:
  159. if (posLet=0 and nameable=1)
  160. yield 3 PasscodeIDa
  161. end
  162. if (posLet=1 and nameable=1)
  163. yield 3 PasscodeIDb
  164. end
  165. if (posLet=2 and nameable=1)
  166. yield 3 PasscodeIDc
  167. end
  168. if (posLet=3 and nameable=1)
  169. yield 3 PasscodeIDd
  170. end
  171. if (posLet=4 and nameable=1)
  172. yield 3 PasscodeIDe
  173. end
  174. if (posLet=5 and nameable=1)
  175. yield 3 PasscodeIDf
  176. end
  177. if (posLet=6 and nameable=1)
  178. yield 3 PasscodeIDg
  179. end
  180. if (posLet=7 and nameable=1)
  181. yield 3 PasscodeIDh
  182. end
  183. yield 1 posLet
  184. end
  185. *LetD
  186. name:D
  187. on click:
  188. if (posLet=0 and nameable=1)
  189. yield 4 PasscodeIDa
  190. end
  191. if (posLet=1 and nameable=1)
  192. yield 4 PasscodeIDb
  193. end
  194. if (posLet=2 and nameable=1)
  195. yield 4 PasscodeIDc
  196. end
  197. if (posLet=3 and nameable=1)
  198. yield 4 PasscodeIDd
  199. end
  200. if (posLet=4 and nameable=1)
  201. yield 4 PasscodeIDe
  202. end
  203. if (posLet=5 and nameable=1)
  204. yield 4 PasscodeIDf
  205. end
  206. if (posLet=6 and nameable=1)
  207. yield 4 PasscodeIDg
  208. end
  209. if (posLet=7 and nameable=1)
  210. yield 4 PasscodeIDh
  211. end
  212. yield 1 posLet
  213. end
  214. *LetE
  215. name:E
  216. on click:
  217. if (posLet=0 and nameable=1)
  218. yield 5 PasscodeIDa
  219. end
  220. if (posLet=1 and nameable=1)
  221. yield 5 PasscodeIDb
  222. end
  223. if (posLet=2 and nameable=1)
  224. yield 5 PasscodeIDc
  225. end
  226. if (posLet=3 and nameable=1)
  227. yield 5 PasscodeIDd
  228. end
  229. if (posLet=4 and nameable=1)
  230. yield 5 PasscodeIDe
  231. end
  232. if (posLet=5 and nameable=1)
  233. yield 5 PasscodeIDf
  234. end
  235. if (posLet=6 and nameable=1)
  236. yield 5 PasscodeIDg
  237. end
  238. if (posLet=7 and nameable=1)
  239. yield 5 PasscodeIDh
  240. end
  241. yield 1 posLet
  242. end
  243. *LetF
  244. name:F
  245. on click:
  246. if (posLet=0 and nameable=1)
  247. yield 6 PasscodeIDa
  248. end
  249. if (posLet=1 and nameable=1)
  250. yield 6 PasscodeIDb
  251. end
  252. if (posLet=2 and nameable=1)
  253. yield 6 PasscodeIDc
  254. end
  255. if (posLet=3 and nameable=1)
  256. yield 6 PasscodeIDd
  257. end
  258. if (posLet=4 and nameable=1)
  259. yield 6 PasscodeIDe
  260. end
  261. if (posLet=5 and nameable=1)
  262. yield 6 PasscodeIDf
  263. end
  264. if (posLet=6 and nameable=1)
  265. yield 6 PasscodeIDg
  266. end
  267. if (posLet=7 and nameable=1)
  268. yield 6 PasscodeIDh
  269. end
  270. yield 1 posLet
  271. end
  272. *LetG
  273. name:G
  274. on click:
  275. if (posLet=0 and nameable=1)
  276. yield 7 PasscodeIDa
  277. end
  278. if (posLet=1 and nameable=1)
  279. yield 7 PasscodeIDb
  280. end
  281. if (posLet=2 and nameable=1)
  282. yield 7 PasscodeIDc
  283. end
  284. if (posLet=3 and nameable=1)
  285. yield 7 PasscodeIDd
  286. end
  287. if (posLet=4 and nameable=1)
  288. yield 7 PasscodeIDe
  289. end
  290. if (posLet=5 and nameable=1)
  291. yield 7 PasscodeIDf
  292. end
  293. if (posLet=6 and nameable=1)
  294. yield 7 PasscodeIDg
  295. end
  296. if (posLet=7 and nameable=1)
  297. yield 7 PasscodeIDh
  298. end
  299. yield 1 posLet
  300. end
  301. *LetH
  302. name:H
  303. on click:
  304. if (posLet=0 and nameable=1)
  305. yield 8 PasscodeIDa
  306. end
  307. if (posLet=1 and nameable=1)
  308. yield 8 PasscodeIDb
  309. end
  310. if (posLet=2 and nameable=1)
  311. yield 8 PasscodeIDc
  312. end
  313. if (posLet=3 and nameable=1)
  314. yield 8 PasscodeIDd
  315. end
  316. if (posLet=4 and nameable=1)
  317. yield 8 PasscodeIDe
  318. end
  319. if (posLet=5 and nameable=1)
  320. yield 8 PasscodeIDf
  321. end
  322. if (posLet=6 and nameable=1)
  323. yield 8 PasscodeIDg
  324. end
  325. if (posLet=7 and nameable=1)
  326. yield 8 PasscodeIDh
  327. end
  328. yield 1 posLet
  329. end
  330. *LetI
  331. name:I
  332. on click:
  333. if (posLet=0 and nameable=1)
  334. yield 9 PasscodeIDa
  335. end
  336. if (posLet=1 and nameable=1)
  337. yield 9 PasscodeIDb
  338. end
  339. if (posLet=2 and nameable=1)
  340. yield 9 PasscodeIDc
  341. end
  342. if (posLet=3 and nameable=1)
  343. yield 9 PasscodeIDd
  344. end
  345. if (posLet=4 and nameable=1)
  346. yield 9 PasscodeIDe
  347. end
  348. if (posLet=5 and nameable=1)
  349. yield 9 PasscodeIDf
  350. end
  351. if (posLet=6 and nameable=1)
  352. yield 9 PasscodeIDg
  353. end
  354. if (posLet=7 and nameable=1)
  355. yield 9 PasscodeIDh
  356. end
  357. yield 1 posLet
  358. end
  359. *LetJ
  360. name:J
  361. on click:
  362. if (posLet=0 and nameable=1)
  363. yield 10 PasscodeIDa
  364. end
  365. if (posLet=1 and nameable=1)
  366. yield 10 PasscodeIDb
  367. end
  368. if (posLet=2 and nameable=1)
  369. yield 10 PasscodeIDc
  370. end
  371. if (posLet=3 and nameable=1)
  372. yield 10 PasscodeIDd
  373. end
  374. if (posLet=4 and nameable=1)
  375. yield 10 PasscodeIDe
  376. end
  377. if (posLet=5 and nameable=1)
  378. yield 10 PasscodeIDf
  379. end
  380. if (posLet=6 and nameable=1)
  381. yield 10 PasscodeIDg
  382. end
  383. if (posLet=7 and nameable=1)
  384. yield 10 PasscodeIDh
  385. end
  386. yield 1 posLet
  387. end
  388. *LetK
  389. name:K
  390. on click:
  391. if (posLet=0 and nameable=1)
  392. yield 11 PasscodeIDa
  393. end
  394. if (posLet=1 and nameable=1)
  395. yield 11 PasscodeIDb
  396. end
  397. if (posLet=2 and nameable=1)
  398. yield 11 PasscodeIDc
  399. end
  400. if (posLet=3 and nameable=1)
  401. yield 11 PasscodeIDd
  402. end
  403. if (posLet=4 and nameable=1)
  404. yield 11 PasscodeIDe
  405. end
  406. if (posLet=5 and nameable=1)
  407. yield 11 PasscodeIDf
  408. end
  409. if (posLet=6 and nameable=1)
  410. yield 11 PasscodeIDg
  411. end
  412. if (posLet=7 and nameable=1)
  413. yield 11 PasscodeIDh
  414. end
  415. yield 1 posLet
  416. end
  417. *LetL
  418. name:L
  419. on click:
  420. if (posLet=0 and nameable=1)
  421. yield 12 PasscodeIDa
  422. end
  423. if (posLet=1 and nameable=1)
  424. yield 12 PasscodeIDb
  425. end
  426. if (posLet=2 and nameable=1)
  427. yield 12 PasscodeIDc
  428. end
  429. if (posLet=3 and nameable=1)
  430. yield 12 PasscodeIDd
  431. end
  432. if (posLet=4 and nameable=1)
  433. yield 12 PasscodeIDe
  434. end
  435. if (posLet=5 and nameable=1)
  436. yield 12 PasscodeIDf
  437. end
  438. if (posLet=6 and nameable=1)
  439. yield 12 PasscodeIDg
  440. end
  441. if (posLet=7 and nameable=1)
  442. yield 12 PasscodeIDh
  443. end
  444. yield 1 posLet
  445. end
  446. *LetM
  447. name:M
  448. on click:
  449. if (posLet=0 and nameable=1)
  450. yield 13 PasscodeIDa
  451. end
  452. if (posLet=1 and nameable=1)
  453. yield 13 PasscodeIDb
  454. end
  455. if (posLet=2 and nameable=1)
  456. yield 13 PasscodeIDc
  457. end
  458. if (posLet=3 and nameable=1)
  459. yield 13 PasscodeIDd
  460. end
  461. if (posLet=4 and nameable=1)
  462. yield 13 PasscodeIDe
  463. end
  464. if (posLet=5 and nameable=1)
  465. yield 13 PasscodeIDf
  466. end
  467. if (posLet=6 and nameable=1)
  468. yield 13 PasscodeIDg
  469. end
  470. if (posLet=7 and nameable=1)
  471. yield 13 PasscodeIDh
  472. end
  473. yield 1 posLet
  474. end
  475. *LetN
  476. name:N
  477. on click:
  478. if (posLet=0 and nameable=1)
  479. yield 14 PasscodeIDa
  480. end
  481. if (posLet=1 and nameable=1)
  482. yield 14 PasscodeIDb
  483. end
  484. if (posLet=2 and nameable=1)
  485. yield 14 PasscodeIDc
  486. end
  487. if (posLet=3 and nameable=1)
  488. yield 14 PasscodeIDd
  489. end
  490. if (posLet=4 and nameable=1)
  491. yield 14 PasscodeIDe
  492. end
  493. if (posLet=5 and nameable=1)
  494. yield 14 PasscodeIDf
  495. end
  496. if (posLet=6 and nameable=1)
  497. yield 14 PasscodeIDg
  498. end
  499. if (posLet=7 and nameable=1)
  500. yield 14 PasscodeIDh
  501. end
  502. yield 1 posLet
  503. end
  504. *LetO
  505. name:O
  506. on click:
  507. if (posLet=0 and nameable=1)
  508. yield 15 PasscodeIDa
  509. end
  510. if (posLet=1 and nameable=1)
  511. yield 15 PasscodeIDb
  512. end
  513. if (posLet=2 and nameable=1)
  514. yield 15 PasscodeIDc
  515. end
  516. if (posLet=3 and nameable=1)
  517. yield 15 PasscodeIDd
  518. end
  519. if (posLet=4 and nameable=1)
  520. yield 15 PasscodeIDe
  521. end
  522. if (posLet=5 and nameable=1)
  523. yield 15 PasscodeIDf
  524. end
  525. if (posLet=6 and nameable=1)
  526. yield 15 PasscodeIDg
  527. end
  528. if (posLet=7 and nameable=1)
  529. yield 15 PasscodeIDh
  530. end
  531. yield 1 posLet
  532. end
  533. *LetP
  534. name:P
  535. on click:
  536. if (posLet=0 and nameable=1)
  537. yield 16 PasscodeIDa
  538. end
  539. if (posLet=1 and nameable=1)
  540. yield 16 PasscodeIDb
  541. end
  542. if (posLet=2 and nameable=1)
  543. yield 16 PasscodeIDc
  544. end
  545. if (posLet=3 and nameable=1)
  546. yield 16 PasscodeIDd
  547. end
  548. if (posLet=4 and nameable=1)
  549. yield 16 PasscodeIDe
  550. end
  551. if (posLet=5 and nameable=1)
  552. yield 16 PasscodeIDf
  553. end
  554. if (posLet=6 and nameable=1)
  555. yield 16 PasscodeIDg
  556. end
  557. if (posLet=7 and nameable=1)
  558. yield 16 PasscodeIDh
  559. end
  560. yield 1 posLet
  561. end
  562. *LetQ
  563. name:Q
  564. on click:
  565. if (posLet=0 and nameable=1)
  566. yield 17 PasscodeIDa
  567. end
  568. if (posLet=1 and nameable=1)
  569. yield 17 PasscodeIDb
  570. end
  571. if (posLet=2 and nameable=1)
  572. yield 17 PasscodeIDc
  573. end
  574. if (posLet=3 and nameable=1)
  575. yield 17 PasscodeIDd
  576. end
  577. if (posLet=4 and nameable=1)
  578. yield 17 PasscodeIDe
  579. end
  580. if (posLet=5 and nameable=1)
  581. yield 17 PasscodeIDf
  582. end
  583. if (posLet=6 and nameable=1)
  584. yield 17 PasscodeIDg
  585. end
  586. if (posLet=7 and nameable=1)
  587. yield 17 PasscodeIDh
  588. end
  589. yield 1 posLet
  590. end
  591. *LetR
  592. name:R
  593. on click:
  594. if (posLet=0 and nameable=1)
  595. yield 18 PasscodeIDa
  596. end
  597. if (posLet=1 and nameable=1)
  598. yield 18 PasscodeIDb
  599. end
  600. if (posLet=2 and nameable=1)
  601. yield 18 PasscodeIDc
  602. end
  603. if (posLet=3 and nameable=1)
  604. yield 18 PasscodeIDd
  605. end
  606. if (posLet=4 and nameable=1)
  607. yield 18 PasscodeIDe
  608. end
  609. if (posLet=5 and nameable=1)
  610. yield 18 PasscodeIDf
  611. end
  612. if (posLet=6 and nameable=1)
  613. yield 18 PasscodeIDg
  614. end
  615. if (posLet=7 and nameable=1)
  616. yield 18 PasscodeIDh
  617. end
  618. yield 1 posLet
  619. end
  620. *LetS
  621. name:S
  622. on click:
  623. if (posLet=0 and nameable=1)
  624. yield 19 PasscodeIDa
  625. end
  626. if (posLet=1 and nameable=1)
  627. yield 19 PasscodeIDb
  628. end
  629. if (posLet=2 and nameable=1)
  630. yield 19 PasscodeIDc
  631. end
  632. if (posLet=3 and nameable=1)
  633. yield 19 PasscodeIDd
  634. end
  635. if (posLet=4 and nameable=1)
  636. yield 19 PasscodeIDe
  637. end
  638. if (posLet=5 and nameable=1)
  639. yield 19 PasscodeIDf
  640. end
  641. if (posLet=6 and nameable=1)
  642. yield 19 PasscodeIDg
  643. end
  644. if (posLet=7 and nameable=1)
  645. yield 19 PasscodeIDh
  646. end
  647. yield 1 posLet
  648. end
  649. *LetT
  650. name:T
  651. on click:
  652. if (posLet=0 and nameable=1)
  653. yield 20 PasscodeIDa
  654. end
  655. if (posLet=1 and nameable=1)
  656. yield 20 PasscodeIDb
  657. end
  658. if (posLet=2 and nameable=1)
  659. yield 20 PasscodeIDc
  660. end
  661. if (posLet=3 and nameable=1)
  662. yield 20 PasscodeIDd
  663. end
  664. if (posLet=4 and nameable=1)
  665. yield 20 PasscodeIDe
  666. end
  667. if (posLet=5 and nameable=1)
  668. yield 20 PasscodeIDf
  669. end
  670. if (posLet=6 and nameable=1)
  671. yield 20 PasscodeIDg
  672. end
  673. if (posLet=7 and nameable=1)
  674. yield 20 PasscodeIDh
  675. end
  676. yield 1 posLet
  677. end
  678. *LetU
  679. name:U
  680. on click:
  681. if (posLet=0 and nameable=1)
  682. yield 21 PasscodeIDa
  683. end
  684. if (posLet=1 and nameable=1)
  685. yield 21 PasscodeIDb
  686. end
  687. if (posLet=2 and nameable=1)
  688. yield 21 PasscodeIDc
  689. end
  690. if (posLet=3 and nameable=1)
  691. yield 21 PasscodeIDd
  692. end
  693. if (posLet=4 and nameable=1)
  694. yield 21 PasscodeIDe
  695. end
  696. if (posLet=5 and nameable=1)
  697. yield 21 PasscodeIDf
  698. end
  699. if (posLet=6 and nameable=1)
  700. yield 21 PasscodeIDg
  701. end
  702. if (posLet=7 and nameable=1)
  703. yield 21 PasscodeIDh
  704. end
  705. yield 1 posLet
  706. end
  707. *LetV
  708. name:V
  709. on click:
  710. if (posLet=0 and nameable=1)
  711. yield 22 PasscodeIDa
  712. end
  713. if (posLet=1 and nameable=1)
  714. yield 22 PasscodeIDb
  715. end
  716. if (posLet=2 and nameable=1)
  717. yield 22 PasscodeIDc
  718. end
  719. if (posLet=3 and nameable=1)
  720. yield 22 PasscodeIDd
  721. end
  722. if (posLet=4 and nameable=1)
  723. yield 22 PasscodeIDe
  724. end
  725. if (posLet=5 and nameable=1)
  726. yield 22 PasscodeIDf
  727. end
  728. if (posLet=6 and nameable=1)
  729. yield 22 PasscodeIDg
  730. end
  731. if (posLet=7 and nameable=1)
  732. yield 22 PasscodeIDh
  733. end
  734. yield 1 posLet
  735. end
  736. *LetW
  737. name:W
  738. on click:
  739. if (posLet=0 and nameable=1)
  740. yield 23 PasscodeIDa
  741. end
  742. if (posLet=1 and nameable=1)
  743. yield 23 PasscodeIDb
  744. end
  745. if (posLet=2 and nameable=1)
  746. yield 23 PasscodeIDc
  747. end
  748. if (posLet=3 and nameable=1)
  749. yield 23 PasscodeIDd
  750. end
  751. if (posLet=4 and nameable=1)
  752. yield 23 PasscodeIDe
  753. end
  754. if (posLet=5 and nameable=1)
  755. yield 23 PasscodeIDf
  756. end
  757. if (posLet=6 and nameable=1)
  758. yield 23 PasscodeIDg
  759. end
  760. if (posLet=7 and nameable=1)
  761. yield 23 PasscodeIDh
  762. end
  763. yield 1 posLet
  764. end
  765. *LetX
  766. name:X
  767. on click:
  768. if (posLet=0 and nameable=1)
  769. yield 24 PasscodeIDa
  770. end
  771. if (posLet=1 and nameable=1)
  772. yield 24 PasscodeIDb
  773. end
  774. if (posLet=2 and nameable=1)
  775. yield 24 PasscodeIDc
  776. end
  777. if (posLet=3 and nameable=1)
  778. yield 24 PasscodeIDd
  779. end
  780. if (posLet=4 and nameable=1)
  781. yield 24 PasscodeIDe
  782. end
  783. if (posLet=5 and nameable=1)
  784. yield 24 PasscodeIDf
  785. end
  786. if (posLet=6 and nameable=1)
  787. yield 24 PasscodeIDg
  788. end
  789. if (posLet=7 and nameable=1)
  790. yield 24 PasscodeIDh
  791. end
  792. yield 1 posLet
  793. end
  794. *Lety
  795. name:Y
  796. on click:
  797. if (posLet=0 and nameable=1)
  798. yield 25 PasscodeIDa
  799. end
  800. if (posLet=1 and nameable=1)
  801. yield 25 PasscodeIDb
  802. end
  803. if (posLet=2 and nameable=1)
  804. yield 25 PasscodeIDc
  805. end
  806. if (posLet=3 and nameable=1)
  807. yield 25 PasscodeIDd
  808. end
  809. if (posLet=4 and nameable=1)
  810. yield 25 PasscodeIDe
  811. end
  812. if (posLet=5 and nameable=1)
  813. yield 25 PasscodeIDf
  814. end
  815. if (posLet=6 and nameable=1)
  816. yield 25 PasscodeIDg
  817. end
  818. if (posLet=7 and nameable=1)
  819. yield 25 PasscodeIDh
  820. end
  821. yield 1 posLet
  822. end
  823. *LetZ
  824. name:Z
  825. on click:
  826. if (posLet=0 and nameable=1)
  827. yield 26 PasscodeIDa
  828. end
  829. if (posLet=1 and nameable=1)
  830. yield 26 PasscodeIDb
  831. end
  832. if (posLet=2 and nameable=1)
  833. yield 26 PasscodeIDc
  834. end
  835. if (posLet=3 and nameable=1)
  836. yield 26 PasscodeIDd
  837. end
  838. if (posLet=4 and nameable=1)
  839. yield 26 PasscodeIDe
  840. end
  841. if (posLet=5 and nameable=1)
  842. yield 26 PasscodeIDf
  843. end
  844. if (posLet=6 and nameable=1)
  845. yield 26 PasscodeIDg
  846. end
  847. if (posLet=7 and nameable=1)
  848. yield 26 PasscodeIDh
  849. end
  850. yield 1 posLet
  851. end
  852. Resources
  853. *posLet
  854. on earn:if (this>=8) lose (posLet-8) posLet
  855. *nameable
  856. name:Click to rename
  857. on click:if (nameable=0) yield 1 nameable
  858. *TEMPLATE
  859. on earn:if (this>=27) lose 27 this
  860. hidden
  861. *PasscodeIDa
  862. *PasscodeIDb
  863. *PasscodeIDc
  864. *PasscodeIDd
  865. *PasscodeIDe
  866. *PasscodeIDf
  867. *PasscodeIDg
  868. *PasscodeIDh
  869. Buildings
  870. *test
  871. name:Your name
  872. text:Your name is [?(PasscodeIDa=0)|_|][?(PasscodeIDa=1)|A|][?(PasscodeIDa=2)|B|][?(PasscodeIDa=3)|C|][?(PasscodeIDa=4)|D|][?(PasscodeIDa=5)|E|][?(PasscodeIDa=6)|F|][?(PasscodeIDa=7)|G|][?(PasscodeIDa=8)|H|][?(PasscodeIDa=9)|I|][?(PasscodeIDa=10)|J|][?(PasscodeIDa=11)|K|][?(PasscodeIDa=12)|L|][?(PasscodeIDa=13)|M|][?(PasscodeIDa=14)|N|][?(PasscodeIDa=15)|O|][?(PasscodeIDa=16)|P|][?(PasscodeIDa=17)|Q|][?(PasscodeIDa=18)|R|][?(PasscodeIDa=19)|S|][?(PasscodeIDa=20)|T|][?(PasscodeIDa=21)|U|][?(PasscodeIDa=22)|V|][?(PasscodeIDa=23)|W|][?(PasscodeIDa=24)|X|][?(PasscodeIDa=25)|Y|][?(PasscodeIDa=26)|Z|][?(PasscodeIDb=0)|_|][?(PasscodeIDb=1)|A|][?(PasscodeIDb=2)|B|][?(PasscodeIDb=3)|C|][?(PasscodeIDb=4)|D|][?(PasscodeIDb=5)|E|][?(PasscodeIDb=6)|F|][?(PasscodeIDb=7)|G|][?(PasscodeIDb=8)|H|][?(PasscodeIDb=9)|I|][?(PasscodeIDb=10)|J|][?(PasscodeIDb=11)|K|][?(PasscodeIDb=12)|L|][?(PasscodeIDb=13)|M|][?(PasscodeIDb=14)|N|][?(PasscodeIDb=15)|O|][?(PasscodeIDb=16)|P|][?(PasscodeIDb=17)|Q|][?(PasscodeIDb=18)|R|][?(PasscodeIDb=19)|S|][?(PasscodeIDb=20)|T|][?(PasscodeIDb=21)|U|][?(PasscodeIDb=22)|V|][?(PasscodeIDb=23)|W|][?(PasscodeIDb=24)|X|][?(PasscodeIDb=25)|Y|][?(PasscodeIDb=26)|Z|][?(PasscodeIDc=0)|_|][?(PasscodeIDc=1)|A|][?(PasscodeIDc=2)|B|][?(PasscodeIDc=3)|C|][?(PasscodeIDc=4)|D|][?(PasscodeIDc=5)|E|][?(PasscodeIDc=6)|F|][?(PasscodeIDc=7)|G|][?(PasscodeIDc=8)|H|][?(PasscodeIDc=9)|I|][?(PasscodeIDc=10)|J|][?(PasscodeIDc=11)|K|][?(PasscodeIDc=12)|L|][?(PasscodeIDc=13)|M|][?(PasscodeIDc=14)|N|][?(PasscodeIDc=15)|O|][?(PasscodeIDc=16)|P|][?(PasscodeIDc=17)|Q|][?(PasscodeIDc=18)|R|][?(PasscodeIDc=19)|S|][?(PasscodeIDc=20)|T|][?(PasscodeIDc=21)|U|][?(PasscodeIDc=22)|V|][?(PasscodeIDc=23)|W|][?(PasscodeIDc=24)|X|][?(PasscodeIDc=25)|Y|][?(PasscodeIDc=26)|Z|][?(PasscodeIDd=0)|_|][?(PasscodeIDd=1)|A|][?(PasscodeIDd=2)|B|][?(PasscodeIDd=3)|C|][?(PasscodeIDd=4)|D|][?(PasscodeIDd=5)|E|][?(PasscodeIDd=6)|F|][?(PasscodeIDd=7)|G|][?(PasscodeIDd=8)|H|][?(PasscodeIDd=9)|I|][?(PasscodeIDd=10)|J|][?(PasscodeIDd=11)|K|][?(PasscodeIDd=12)|L|][?(PasscodeIDd=13)|M|][?(PasscodeIDd=14)|N|][?(PasscodeIDd=15)|O|][?(PasscodeIDd=16)|P|][?(PasscodeIDd=17)|Q|][?(PasscodeIDd=18)|R|][?(PasscodeIDd=19)|S|][?(PasscodeIDd=20)|T|][?(PasscodeIDd=21)|U|][?(PasscodeIDd=22)|V|][?(PasscodeIDd=23)|W|][?(PasscodeIDd=24)|X|][?(PasscodeIDd=25)|Y|][?(PasscodeIDd=26)|Z|][?(PasscodeIDe=0)|_|][?(PasscodeIDe=1)|A|][?(PasscodeIDe=2)|B|][?(PasscodeIDe=3)|C|][?(PasscodeIDe=4)|D|][?(PasscodeIDe=5)|E|][?(PasscodeIDe=6)|F|][?(PasscodeIDe=7)|G|][?(PasscodeIDe=8)|H|][?(PasscodeIDe=9)|I|][?(PasscodeIDe=10)|J|][?(PasscodeIDe=11)|K|][?(PasscodeIDe=12)|L|][?(PasscodeIDe=13)|M|][?(PasscodeIDe=14)|N|][?(PasscodeIDe=15)|O|][?(PasscodeIDe=16)|P|][?(PasscodeIDe=17)|Q|][?(PasscodeIDe=18)|R|][?(PasscodeIDe=19)|S|][?(PasscodeIDe=20)|T|][?(PasscodeIDe=21)|U|][?(PasscodeIDe=22)|V|][?(PasscodeIDe=23)|W|][?(PasscodeIDe=24)|X|][?(PasscodeIDe=25)|Y|][?(PasscodeIDe=26)|Z|][?(PasscodeIDf=0)|_|][?(PasscodeIDf=1)|A|][?(PasscodeIDf=2)|B|][?(PasscodeIDf=3)|C|][?(PasscodeIDf=4)|D|][?(PasscodeIDf=5)|E|][?(PasscodeIDf=6)|F|][?(PasscodeIDf=7)|G|][?(PasscodeIDf=8)|H|][?(PasscodeIDf=9)|I|][?(PasscodeIDf=10)|J|][?(PasscodeIDf=11)|K|][?(PasscodeIDf=12)|L|][?(PasscodeIDf=13)|M|][?(PasscodeIDf=14)|N|][?(PasscodeIDf=15)|O|][?(PasscodeIDf=16)|P|][?(PasscodeIDf=17)|Q|][?(PasscodeIDf=18)|R|][?(PasscodeIDf=19)|S|][?(PasscodeIDf=20)|T|][?(PasscodeIDf=21)|U|][?(PasscodeIDf=22)|V|][?(PasscodeIDf=23)|W|][?(PasscodeIDf=24)|X|][?(PasscodeIDf=25)|Y|][?(PasscodeIDf=26)|Z|][?(PasscodeIDg=0)|_|][?(PasscodeIDg=1)|A|][?(PasscodeIDg=2)|B|][?(PasscodeIDg=3)|C|][?(PasscodeIDg=4)|D|][?(PasscodeIDg=5)|E|][?(PasscodeIDg=6)|F|][?(PasscodeIDg=7)|G|][?(PasscodeIDg=8)|H|][?(PasscodeIDg=9)|I|][?(PasscodeIDg=10)|J|][?(PasscodeIDg=11)|K|][?(PasscodeIDg=12)|L|][?(PasscodeIDg=13)|M|][?(PasscodeIDg=14)|N|][?(PasscodeIDg=15)|O|][?(PasscodeIDg=16)|P|][?(PasscodeIDg=17)|Q|][?(PasscodeIDg=18)|R|][?(PasscodeIDg=19)|S|][?(PasscodeIDg=20)|T|][?(PasscodeIDg=21)|U|][?(PasscodeIDg=22)|V|][?(PasscodeIDg=23)|W|][?(PasscodeIDg=24)|X|][?(PasscodeIDg=25)|Y|][?(PasscodeIDg=26)|Z|][?(PasscodeIDh=0)|_|][?(PasscodeIDh=1)|A|][?(PasscodeIDh=2)|B|][?(PasscodeIDh=3)|C|][?(PasscodeIDh=4)|D|][?(PasscodeIDh=5)|E|][?(PasscodeIDh=6)|F|][?(PasscodeIDh=7)|G|][?(PasscodeIDh=8)|H|][?(PasscodeIDh=9)|I|][?(PasscodeIDh=10)|J|][?(PasscodeIDh=11)|K|][?(PasscodeIDh=12)|L|][?(PasscodeIDh=13)|M|][?(PasscodeIDh=14)|N|][?(PasscodeIDh=15)|O|][?(PasscodeIDh=16)|P|][?(PasscodeIDh=17)|Q|][?(PasscodeIDh=18)|R|][?(PasscodeIDh=19)|S|][?(PasscodeIDh=20)|T|][?(PasscodeIDh=21)|U|][?(PasscodeIDh=22)|V|][?(PasscodeIDh=23)|W|][?(PasscodeIDh=24)|X|][?(PasscodeIDh=25)|Y|][?(PasscodeIDh=26)|Z|]
  873.  
  874. Layout
  875. *main
  876. contains:Upgrades
  877. header:Enter Your Name Here!
  878. *buildings
  879. contains:Resources, Buildings
  880. header:Console
  881. tooltip origin:left
  882.  
  883. CSS
  884. #game
  885. {
  886. background:cornflowerblue;
  887. color:white;
  888. }
  889. .box
  890. {
  891. text-align:center;
  892. padding:0px;
  893. box-shadow:none;
  894. border:1px solid rgba(0,0,0,0.9);
  895. }
  896.  
  897. .thing,.box-header,.box-footer,.box-bit
  898. {
  899. background:#39f;
  900. box-shadow:0px 0px 4px rgba(0,0,0,0.2),1px 1px 2px rgba(0,0,0,0.5),0px 0px 4px rgba(255,255,255,0.5) inset;
  901. border-radius:8px;
  902. }
  903. .box-bit{border-radius:20px;}
  904.  
  905. .box-header
  906. {
  907. border-bottom-left-radius:20px;
  908. border-bottom-right-radius:20px;
  909. margin-bottom:4px;
  910. }
  911. .box-footer
  912. {
  913. border-top-left-radius:20px;
  914. border-top-right-radius:20px;
  915. margin-top:4px;
  916. }
  917. .fullWidth
  918. {
  919. height:auto;
  920. min-height:auto;
  921. width:100%;
  922. }
  923. #box-main
  924. {
  925. top:0px;
  926. bottom:0px;
  927. overflow:hidden;
  928. width:80%;
  929. position:absolute;
  930. }
  931.  
  932. #box-buildings
  933. {
  934. top:0px;
  935. bottom:0px;
  936. width:20%;
  937. right:0%;
  938. overflow-x:hidden;
  939. overflow-y:scroll;
  940. padding-bottom:48px;/* this is to accommodate the info and settings buttons */
  941. position:absolute;
  942. }
  943.  
  944. #box-buildings{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 20%);}
  945.  
  946. #bulkDisplay{margin:-11px 24px 4px 24px;}
  947.  
  948.  
  949. .thing
  950. {
  951. display:inline-block;
  952. padding:0px;
  953. margin:2px;
  954. cursor:pointer;
  955. }
  956. .thing:hover,.thing.lit
  957. {
  958. background:#6cf;
  959. }
  960. .thing.cantAfford
  961. {
  962. opacity:0.65;
  963. }
  964. .upgrade.cantAfford
  965. {
  966. box-shadow:0px 0px 4px #39f;
  967. border-radius:8px;
  968. }
  969. .upgrade.cantAfford:hover
  970. {
  971. box-shadow:0px 0px 4px #6cf;
  972. }
  973. .upgrade.owned,.achiev.owned
  974. {
  975. background:#6cf;
  976. }
  977. .thing-text,.thing-costs{font-weight:bold;}
  978.  
  979. .building
  980. {
  981. border-top-left-radius:20px;
  982. border-bottom-left-radius:20px;
  983. display:block;
  984. margin-right:0px;
  985. font-size:14px;
  986. }
  987.  
  988. #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
Tags: igm
Advertisement
Add Comment
Please, Sign In to add comment