Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Custom Names Demo
- by:AgentRylie / Agentperson
- desc:Demo to show custom names
- version:1
- Settings
- background:https://file.garden/XSIm8ZidV1rvya38/PaintDry/background2.png
- no particles
- no bulk particles
- Upgrades
- *TEMPLATE
- req:1 nameable
- no buy
- *PassA
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDa
- *PassB
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDb
- *PassC
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDc
- *PassD
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDd
- *PassE
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDe
- *PassF
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDf
- *PassG
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDg
- *PassH
- 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|]
- on click:if (nameable=1) yield 1 PasscodeIDh
- *PassEnter
- name:Enter
- on click:lose 1 nameable
- *ResetPass
- name:Reset
- on click:
- if (nameable=1)
- lose PasscodeIDa
- lose PasscodeIDb
- lose PasscodeIDc
- lose PasscodeIDd
- lose PasscodeIDe
- lose PasscodeIDf
- lose PasscodeIDg
- lose PasscodeIDh
- end
- end
- Resources
- *nameable
- name:Click to rename
- on click:if (nameable=0) yield 1 nameable
- *TEMPLATE
- on earn:if (this>=27) lose 27 this
- hidden
- *PasscodeIDa
- *PasscodeIDb
- *PasscodeIDc
- *PasscodeIDd
- *PasscodeIDe
- *PasscodeIDf
- *PasscodeIDg
- *PasscodeIDh
- Buildings
- *test
- name:Your name.
- 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|]
- Layout
- *main
- contains:Upgrades
- header:Enter Your Name Here!
- *buildings
- contains:Resources, Buildings
- header:Console
- tooltip origin:left
- CSS
- #game
- {
- background:cornflowerblue;
- color:white;
- }
- .box
- {
- text-align:center;
- padding:0px;
- box-shadow:none;
- border:1px solid rgba(0,0,0,0.9);
- }
- .thing,.box-header,.box-footer,.box-bit
- {
- background:#39f;
- 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;
- border-radius:8px;
- }
- .box-bit{border-radius:20px;}
- .box-header
- {
- border-bottom-left-radius:20px;
- border-bottom-right-radius:20px;
- margin-bottom:4px;
- }
- .box-footer
- {
- border-top-left-radius:20px;
- border-top-right-radius:20px;
- margin-top:4px;
- }
- #box-main
- {
- top:0px;
- bottom:0px;
- overflow:hidden;
- width:80%;
- position:absolute;
- }
- #box-buildings
- {
- top:0px;
- bottom:0px;
- width:20%;
- right:0%;
- overflow-x:hidden;
- overflow-y:scroll;
- padding-bottom:48px;/* this is to accommodate the info and settings buttons */
- position:absolute;
- }
- #box-buildings{background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 20%);}
- #bulkDisplay{margin:-11px 24px 4px 24px;}
- .thing
- {
- display:inline-block;
- padding:0px;
- margin:2px;
- cursor:pointer;
- }
- .thing:hover,.thing.lit
- {
- background:#6cf;
- }
- .thing.cantAfford
- {
- opacity:0.65;
- }
- .upgrade.cantAfford
- {
- box-shadow:0px 0px 4px #39f;
- border-radius:8px;
- }
- .upgrade.cantAfford:hover
- {
- box-shadow:0px 0px 4px #6cf;
- }
- .upgrade.owned,.achiev.owned
- {
- background:#6cf;
- }
- .thing-text,.thing-costs{font-weight:bold;}
- .building
- {
- border-top-left-radius:20px;
- border-bottom-left-radius:20px;
- display:block;
- margin-right:0px;
- font-size:14px;
- }
- #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
Advertisement
Add Comment
Please, Sign In to add comment