Agentperson

name demo igm

May 29th, 2023 (edited)
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.35 KB | None | 0 0
  1. Let's make a game!
  2. name:Custom Names Demo
  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. *TEMPLATE
  12. req:1 nameable
  13. no buy
  14. *PassA
  15. 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|]
  16. on click:if (nameable=1) yield 1 PasscodeIDa
  17. *PassB
  18. 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|]
  19. on click:if (nameable=1) yield 1 PasscodeIDb
  20. *PassC
  21. 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|]
  22. on click:if (nameable=1) yield 1 PasscodeIDc
  23. *PassD
  24. 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|]
  25. on click:if (nameable=1) yield 1 PasscodeIDd
  26. *PassE
  27. 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|]
  28. on click:if (nameable=1) yield 1 PasscodeIDe
  29. *PassF
  30. 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|]
  31. on click:if (nameable=1) yield 1 PasscodeIDf
  32. *PassG
  33. 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|]
  34. on click:if (nameable=1) yield 1 PasscodeIDg
  35. *PassH
  36. 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|]
  37. on click:if (nameable=1) yield 1 PasscodeIDh
  38. *PassEnter
  39. name:Enter
  40. on click:lose 1 nameable
  41. *ResetPass
  42. name:Reset
  43. on click:
  44. if (nameable=1)
  45. lose PasscodeIDa
  46. lose PasscodeIDb
  47. lose PasscodeIDc
  48. lose PasscodeIDd
  49. lose PasscodeIDe
  50. lose PasscodeIDf
  51. lose PasscodeIDg
  52. lose PasscodeIDh
  53. end
  54. end
  55. Resources
  56. *nameable
  57. name:Click to rename
  58. on click:if (nameable=0) yield 1 nameable
  59. *TEMPLATE
  60. on earn:if (this>=27) lose 27 this
  61. hidden
  62. *PasscodeIDa
  63. *PasscodeIDb
  64. *PasscodeIDc
  65. *PasscodeIDd
  66. *PasscodeIDe
  67. *PasscodeIDf
  68. *PasscodeIDg
  69. *PasscodeIDh
  70. Buildings
  71. *test
  72. name:Your name.
  73. 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|]
  74.  
  75. Layout
  76. *main
  77. contains:Upgrades
  78. header:Enter Your Name Here!
  79. *buildings
  80. contains:Resources, Buildings
  81. header:Console
  82. tooltip origin:left
  83.  
  84. CSS
  85. #game
  86. {
  87. background:cornflowerblue;
  88. color:white;
  89. }
  90. .box
  91. {
  92. text-align:center;
  93. padding:0px;
  94. box-shadow:none;
  95. border:1px solid rgba(0,0,0,0.9);
  96. }
  97.  
  98. .thing,.box-header,.box-footer,.box-bit
  99. {
  100. background:#39f;
  101. 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;
  102. border-radius:8px;
  103. }
  104. .box-bit{border-radius:20px;}
  105.  
  106. .box-header
  107. {
  108. border-bottom-left-radius:20px;
  109. border-bottom-right-radius:20px;
  110. margin-bottom:4px;
  111. }
  112. .box-footer
  113. {
  114. border-top-left-radius:20px;
  115. border-top-right-radius:20px;
  116. margin-top:4px;
  117. }
  118.  
  119. #box-main
  120. {
  121. top:0px;
  122. bottom:0px;
  123. overflow:hidden;
  124. width:80%;
  125. position:absolute;
  126. }
  127.  
  128. #box-buildings
  129. {
  130. top:0px;
  131. bottom:0px;
  132. width:20%;
  133. right:0%;
  134. overflow-x:hidden;
  135. overflow-y:scroll;
  136. padding-bottom:48px;/* this is to accommodate the info and settings buttons */
  137. position:absolute;
  138. }
  139.  
  140. #box-buildings{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 20%);}
  141.  
  142. #bulkDisplay{margin:-11px 24px 4px 24px;}
  143.  
  144.  
  145. .thing
  146. {
  147. display:inline-block;
  148. padding:0px;
  149. margin:2px;
  150. cursor:pointer;
  151. }
  152. .thing:hover,.thing.lit
  153. {
  154. background:#6cf;
  155. }
  156. .thing.cantAfford
  157. {
  158. opacity:0.65;
  159. }
  160. .upgrade.cantAfford
  161. {
  162. box-shadow:0px 0px 4px #39f;
  163. border-radius:8px;
  164. }
  165. .upgrade.cantAfford:hover
  166. {
  167. box-shadow:0px 0px 4px #6cf;
  168. }
  169. .upgrade.owned,.achiev.owned
  170. {
  171. background:#6cf;
  172. }
  173. .thing-text,.thing-costs{font-weight:bold;}
  174.  
  175. .building
  176. {
  177. border-top-left-radius:20px;
  178. border-bottom-left-radius:20px;
  179. display:block;
  180. margin-right:0px;
  181. font-size:14px;
  182. }
  183.  
  184. #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