Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Paste CODE:
- Pastebin:https://pastebin.com/
- Play at:http://orteil.dashnet.org/igm/?g=
- */
- Let's make a game!
- name:Space Society
- by:Simanelix
- desc:This is an incremental game in outer space.<//><b>You want to:</b><//><.>Collect energy.<.>Upgrade Colonies<.>Research as much as possible<.>An most importantly, have fun!
- created:2020/7/23
- updated:2020/7/23
- version:0.20200723
- Settings
- //I don't know yet
- CSS
- *{
- color:white;
- text-shadow:1px 1px 3px black,1px 0px 3px black,0px 1px 3px black;
- }
- #game{
- background-color:rgb(30,30,60);
- background-image:radial-gradient(rgba(0,0,0,1),rgba(100,0,100,1));
- z-index:342;
- position:absolute;
- top:0%;
- left:0%;
- height:100%;
- width:100%;
- }
- .box{
- position:absolute;
- padding:3px;
- margin:0px;
- border:none;
- }
- /*main button*/
- #box-b1{
- top:0%;
- left:0%;
- width:80%;
- height:100%;
- z-index:343;
- background:transparent;
- }
- /*resources*/
- #box-b2{
- top:0%;
- left:0%;
- width:20%;
- height:100%;
- z-index:344;
- background-image:linear-gradient(to bottom,rgba(200,40,40,0.6),rgba(200,40,40,0));
- }
- /*Menu Select Buttons*/
- #box-b3{
- top:0%;
- left:60%;
- width:40%;
- height:30%;
- z-index:344;
- background-image:linear-gradient(to bottom,rgba(40,220,0,0.6),rgba(40,220,0,0));
- }
- /*buildings, upgrades, info, log (the Menu)*/
- #box-b4{
- top:30%;
- left:60%;
- width:40%;
- height:70%;
- padding-top:10%;
- z-index:344;
- background-image:linear-gradient(to bottom,rgba(220,30,50,0.6),rgba(220,30,50,0));
- }
- .achiev{
- width:25%;
- height:64px;
- border:purple solid 4px;
- }
- .building,.upgrade{
- position:absolute;
- display:none;
- top:110%;
- left:110%;
- }
- .thing-text{
- margin:2px;
- margin-left:50px;
- padding-right:50px;
- padding-top:3px;
- line-height:22px;
- font-size:18px;
- font-family:serif;
- }
- .button{
- border:green solid 2px;
- border-radius:20px;
- height:40px;
- width:25%;
- padding-left:15px;
- padding-right:15px;
- }
- .bigButton{
- border:none;
- margin:0;
- padding:0;
- }
- .res{
- background-image:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 30%,rgba(0,0,0,1) 50%,rgba(0,0,0,0.6) 70%,rgba(0,0,0,0) 100%);
- border:rgba(0,0,0,0.5) solid 2px;
- margin:5px;
- padding:2px;
- }
- .thing-icon{
- margin:0px;
- padding:0px;
- height:48px;
- width:48px;
- border:blue solid 2px;
- }
- .MENUheaderCLASS{
- height:60px;
- }
- Layout
- *b1
- contains:tag:MAINbuttonTAG
- *b2
- contains:Resources
- *b3
- contains:tag:MENUbutton
- *b4
- contains:tag:STOREbutton,tag:MENUheaderTAG
- Resources
- *energy
- name:Energy
- desc:This is your main resource. You want as much of this as you can. Collect [energyREQ-energy] more to get an achievement.
- *TEMPLATE
- always hidden
- *energyPC
- start with:1
- *MENUs
- *MENUc
- start with:3
- *energyREQ
- start with:10
- Buttons
- *MAINbutton
- name:Home Planet
- desc:Click this to get [energyPC] energy.
- on click:yield energyPC energy
- class:bigButton hasFlares
- tag:MAINbuttonTAG
- //Colonies
- *TEMPLATE
- tag:STOREbutton,COLONYbutton
- *Colony1
- name:Colony 1
- desc:Increase your Home World's energy per click by 1 (it is currently [energyPC]).
- on click:yield 1 energyPC
- //Upgrades
- *TEMPLATE
- tag:STOREbutton,UPGRADEbutton
- //Info
- *TEMPLATE
- tag:STOREbutton,INFObutton
- //Header
- *MENUheader
- shown
- tag:MENUheaderTAG
- class:MENUheaderCLASS
- text:Current Menu:[?MENUc=1|COLONIES|][?MENUc=2|UPGRADES|][?MENUc=3|INFO|][?MENUc>3|?|][?MENUc<1|?|]
- name:About this menu
- desc:[?MENUc=1|Buy and upgrade colonies, which produce energy automatically. EPS is short for "Energy per second".|][?MENUc=2|Get special upgrades for colonies or your Home Planet, which increase energy production.|][?MENUc=3|Leanr things about the game, and get hints. Find useful links. Learn about the next update.|][?MENUc>3|What did you do? Something is not working...|][?MENUc<1|What did you do? Something is not working...|]
- //
- *TEMPLATE
- tag:MENUbutton
- *menuBcolony
- name:Colonies
- desc:Click to open the COLONIES menu.
- on click:
- light this
- if (MENUs=1)
- hide tag:STOREbutton
- show tag:COLONYbutton
- else
- MENUs=1
- end
- end
- *menuBupgrade
- name:Upgrades
- desc:Click to open the UPGRADES menu.
- on click:
- light this
- if (MENUs=2)
- hide tag:STOREbutton
- show tag:UPGRADEbutton
- else
- MENUs=2
- end
- end
- *menuBinfo
- name:Info
- desc:Click to open the INFO menu.
- on click:
- light this
- if (MENUs=3)
- hide tag:STOREbutton
- show tag:INFObutton
- else
- MENUs=3
- end
- end
- *TEMPLATE
- always hidden
- *MENUbLOG
- *MENUbCREDITS
- *MENUbRESEARCH
- Buildings
- Upgrades
- *ManagementU
- always hidden
- owned
- on start:
- toast Welcome! Click your home planet (in the middle of the screen)
- yield A0
- end
- on tick:
- end
- on load:
- if (have A0) toast Welcome back!
- end
- Achievements
- *A0
- name:Welcome!
- desc:Requirement:</>Start playing the game<//><#8888ff>Click your home planet (the big green and blue circle) to start making energy!</#></><#8888ff>Read the hints if you get confused.</#>
- *A1
- name:The Beginning
- desc:Requirement:</>Get 10 total energy
- req:10 energy
- on earn:
- energyREQ=10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- toast Click Clonies in the top right to select the colonies menu. Click Info to open the info menu, for useful info.
- end
- *A2
- name:The End
- desc:Requirement:</>Get 10 DuoTredecillion (1e+100, a googol) energy
- req:10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 energy
- on earn:toast Congratulations! You can now RESET the entire universe (in the NEW Prestige menu).
Add Comment
Please, Sign In to add comment