Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*This is where it all begins.*/
- Let's make a game!
- name:Slime Farm (Cancelled Project)
- desc:Cancelled due to lack of progression and (mainly) Pancake Maker / Other Projects.</>This is a cancelled project.</></>h
- by:Me
- created:25/02/2020
- updated:25/02/2020
- version:1
- //The Creatures are only atoms right now.
- Settings
- no bulk particles
- no particles
- //Slowly Evolving
- Layout
- *main
- contains:updates, Buttons
- no tooltip
- *store
- contains:shop, ownedstuff
- *shop
- contains:tag:LayoutThings
- no tooltip
- *ownedstuff
- contains:tag:DEX, tag:ACHTAG, tag:achieves, tag:Shop, tag:ShopOwned, tag:Space, tag:Debug, tag:Nurse
- *updates
- contains:log
- *log
- contains:Log
- //Evolving Into Cells
- CSS
- #game
- {
- background:#fff;
- font-size:12px;
- color:rgba(0,0,0,0.9);
- text-shadow:none;
- }
- .box
- {
- text-align:center;
- padding:0px;
- box-shadow:none;
- }
- .thing,.box-header,.box-footer,.box-bit
- {
- background:rgba(255,255,255,0.5);
- border:1px solid rgba(0,0,0,0.9);
- margin:1px;
- }
- .thing:hover
- {
- background:rgba(255,255,255,0.75);
- }
- .box-header
- {
- margin-bottom:4px;
- }
- .box-footer
- {
- margin-top:4px;
- }
- .title
- {
- text-decoration:underline;
- }
- #box-main
- {
- left:0px;
- top:0px;
- bottom:0px;
- overflow:hidden;
- width:60%;
- position:absolute;
- }
- #box-res
- {
- width:100%;
- border:1px solid rgba(0,0,0,0.9);
- top:0%;
- height:10%;
- min-height:32px;
- overflow-x:hidden;
- overflow-y:scroll;
- z-index:100;
- position:absolute;
- background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
- }
- #box-buttons
- {
- top:58px;
- right:0px;
- bottom:0px;
- left:0px;
- position:absolute;
- }
- #box-BUTTONS
- {
- top:40px;
- right:0px;
- bottom:200px;
- left:0px;
- position:absolute;
- }
- #box-BUTTONS
- {left:30%;}
- #bulkDisplay
- {
- margin:-20px 24px 6px 24px;
- border:none;
- background:transparent;
- }
- .thing
- {
- display:inline-block;
- padding:0px;
- cursor:pointer;
- }
- .thing:active
- {
- opacity:0.5;
- }
- .upgrade.owned,.achiev.owned
- {
- box-shadow:0px 0px 0px 2px rgba(0,0,0,0.5) inset;
- }
- .thing.cantAfford
- {
- opacity:0.65;
- }
- .upgrade.cantAfford
- {
- border:none;
- }
- .thing-costs{font-weight:bold;text-shadow:1px 1px 0px rgba(0,0,0,0.5);}
- .cost.hasEnough{color:#0f0;}
- .cost.notEnough{color:#f00;}
- .button>.thing-text
- {
- text-decoration:underline;
- }
- .building
- {
- display:block;
- margin-right:0px;
- font-size:14px;
- }
- .fullWidth
- {
- display:block;
- margin-left:0px;
- margin-right:0px;
- z-index:10;
- }
- #game .fullWidth
- {
- height:auto;
- min-height:auto;
- }
- .fullWidth,.fullWidth:hover
- {
- background:rgba(0,0,0,0.75);
- box-shadow:none;
- color:#fff;
- }
- .fullWidth:before,.fullWidth:after
- {
- content:'';
- height:1px;
- background:rgba(255,255,255,0.75);
- position:absolute;
- left:0px;
- right:0px;
- z-index:-1;
- }
- .fullWidth:before{top:-1px;}
- .fullWidth:after{bottom:-1px;}
- .fullWidth .thing-icon
- {
- margin-top:-10px;
- margin-bottom:-10px;
- }
- .fullWidth .thing-text
- {
- margin-top:-4px;
- margin-bottom:-4px;
- }
- .listing
- {
- font-weight:normal;
- }
- #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
- #box-store
- {
- right:0px;
- top:0px;
- bottom:0px;
- width:40%;
- position:absolute;
- background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
- }
- #box-shop
- {
- top:0px;
- bottom:0px;
- width:100%;
- height:15%;
- right:0%;
- overflow-x:hidden;
- overflow-y:scroll;
- position:absolute;
- background:rgba(0,125,0,0.4);
- border:1px solid rgba(0,0,0,0.9);
- background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
- }
- #box-ownedstuff
- {
- top:15%;
- bottom:0px;
- width:100%;
- height:90%;
- right:0%;
- overflow-x:hidden;
- overflow-y:scroll;
- padding-bottom:48px;
- position:absolute;
- background:rgba(0,125,0,0.4);
- border:1px solid rgba(0,0,0,0.9);
- background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
- }
- #box-shop>.box-header
- {
- padding-bottom:16px;
- }
- #box-menu
- {
- width:80%;
- left:20%;
- top:70%;
- height:50%;
- border:2px solid rgba(0,0,0,0.9);
- background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
- position:absolute;
- }
- #box-res.thing-icon
- {
- width:32px;
- height:32px;
- }
- #box-phone
- {
- border:2px solid rgba(0,0,0,0.9);
- top:10%;
- height:350px;
- width:250px;
- color:black;
- min-height:16px;
- overflow-x:hidden;
- overflow-y:hidden;
- position:absolute;
- background:rgba(255,255,255,0.5);
- }
- #box-text
- {
- top:86%;
- right:0px;
- bottom:0px;
- left:0px;
- border:2px solid rgba(0,0,0,0.9);
- height:50px;
- width:250px;
- min-height:16px;
- overflow-x:hidden;
- overflow-y:hidden;
- position:absolute;
- background:rgba(255,255,255,0.7);
- }
- #box-Commands
- {
- width:20%;
- top:70%;
- height:50%;
- border:2px solid rgba(0,0,0,0.9);
- background:linear-gradient(to right,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.15) 100%);
- position:absolute;
- }
- #box-log
- {
- height: 500px;
- border: 1px solid black;
- padding: 3px
- margin:0px;
- background:rgba(0,0,0,0.9);
- }
- .thing
- {
- border-radius:8px;
- background:rgba(255,255,255,0.5);
- }
- //More and More Cells
- Buttons
- *Option1
- text:1
- on click:
- //Red
- if (NameSuggest=1 and UnnamedRed=1)
- yield 1 DevRed1
- lose 1 UnnamedRed
- log Great! We'll leave it to grow now.
- else if (NameSuggest=2 and UnnamedRed=1)
- yield 1 DevRed2
- lose 1 UnnamedRed
- log Great! We'll leave it to grow now.
- else if (NameSuggest=3 and UnnamedRed=1)
- yield 1 DevRed3
- lose 1 UnnamedRed
- log Great! We'll leave it to grow now.
- //Blue
- else if (NameSuggest=1 and UnnamedBlue=1)
- yield 1 DevBlue1
- lose 1 UnnamedBlue
- log Great! We'll leave it to grow now.
- else if (NameSuggest=2 and UnnamedBlue=1)
- yield 1 DevBlue2
- lose 1 UnnamedBlue
- log Great! We'll leave it to grow now.
- else if (NameSuggest=3 and UnnamedBlue=1)
- yield 1 DevBlue3
- lose 1 UnnamedBlue
- log Great! We'll leave it to grow now.
- //Yellow
- else if (NameSuggest=1 and Unnamedyellow=1)
- yield 1 Devyellow1
- lose 1 Unnamedyellow
- log Great! We'll leave it to grow now.
- else if (NameSuggest=2 and Unnamedyellow=1)
- yield 1 Devyellow2
- lose 1 Unnamedyellow
- log Great! We'll leave it to grow now.
- else if (NameSuggest=3 and Unnamedyellow=1)
- yield 1 Devyellow3
- lose 1 Unnamedyellow
- log Great! We'll leave it to grow now.
- end
- end
- *Option2
- text:2
- on click:lose (NameSuggest) NameSuggest
- on click:yield (random(1,3)) NameSuggest
- on click:
- if (Unnamedyellow=1)
- log Hmmmm...<//></>What about...</>[?NameSuggest=1 and Devyellow1=0|Zach?|][?NameSuggest=2 and Devyellow2=0|Zoe?|][?NameSuggest=3 and Devyellow3=0|Henry?|]<//></>1:Yes</>2:No
- else if (UnnamedBlue=1)
- log Hmmmm...<//></>What about...</>[?NameSuggest=1 and DevBlue1=0|Zach?|][?NameSuggest=2 and DevBlue2=0|Zoe?|][?NameSuggest=3 and DevBlue3=0|Henry?|]<//></>1:Yes</>2:No
- else if (UnnamedRed=1)
- log Hmmmm...<//></>What about...</>[?NameSuggest=1 and DevRed1=0|Zach?|][?NameSuggest=2 and DevRed2=0|Zoe?|][?NameSuggest=3 and DevRed3=0|Henry?|]<//></>1:Yes</>2:No
- end
- end
- *Option3
- text:3
- *Option4
- text:4
- *Option5
- text:5
- *Option6
- text:6
- *Option7
- text:7
- *Option8
- text:8
- *Option9
- text:9
- *Option0
- text:0
- //Starting to combine.
- Resources
- *TEMPLATE
- tag:ShopOwned
- *Coins|Coin
- name:Slime Coin|Slime Coins
- desc:Used to purchase items needed to grow slimes.
- start with:250
- *Food|DeliciousEdibles
- name:Food
- desc:Used to feed your slimes.
- *TEMPLATE
- always hidden
- *NameSuggest
- //Starting to take shape.
- Achievements
- //Here is where we see our first slime.
- Upgrades
- //Layout Buttons
- *TEMPLATE
- no buy
- on click:hide tag:ACHTAG
- on click:hide tag:achieves
- on click:hide tag:Shop
- on click:hide tag:ShopOwned
- on click:hide tag:Space
- on click:hide tag:DEX
- on click:hide tag:Debug
- on click:hide tag:Nurse
- on start:hide tag:ACHTAG
- on start:hide tag:achieves
- on start:hide tag:Shop
- on start:hide tag:ShopOwned
- on start:hide tag:DEX
- on start:hide tag:Debug
- on start:hide tag:Space
- *SpaceL
- name:Slimes
- tag:LayoutThings
- on click:show tag:Space
- *DEXL
- name:Slime Dex
- tag:LayoutThings
- on click:show tag:DEX:owned
- *NurseL
- name:Nursery
- tag:LayoutThings
- on click:show tag:Nurse:owned
- *ShopL
- name:Shop
- tag:LayoutThings
- on click:show tag:Shop:notOwned
- *ShopOwnedL
- name:Inventory
- tag:LayoutThings
- on click:show tag:ShopOwned
- *AchL
- name:Achievements
- tag:LayoutThings
- on click:show tag:ACHTAG
- on click:show tag:achieves
- *SettingsL
- name:Settings
- tag:LayoutThings
- on click:show tag:Debug
- //Shop
- *TEMPLATE
- tag:Shop
- on earn:lose this
- *BuyFood
- name:Buy Food
- desc:Purchase Food for your slimes.
- cost:10 Coins
- on earn:yield 25 Food
- //Nursery
- *TEMPLATE
- name:Undeveloped Slime
- tag:Nurse
- *UnRed
- desc:This seems to be a red variant. Click to give it a name.
- start with
- on click:lose (NameSuggest) NameSuggest
- on click:yield (random(1,3)) NameSuggest
- on click:log Hmmmm...<//></>What do you think of the name...</>[?NameSuggest=1 and DevRed1=0|Zach?|][?NameSuggest=2 and DevRed2=0|Zoe?|][?NameSuggest=3 and DevRed3=0|Henry?|]<//></>1:Yes</>2:No
- on click:yield UnnamedRed
- on click:lose UnRed
- *UnBlue
- desc:This seems to be a blue variant. Click to give it a name.
- start with
- on click:lose (NameSuggest) NameSuggest
- on click:yield (random(1,3)) NameSuggest
- on click:log Hmmmm...<//></>What do you think of the name...</>[?NameSuggest=1 and DevBlue1=0|Zach?|][?NameSuggest=2 and DevBlue2=0|Zoe?|][?NameSuggest=3 and DevBlue3=0|Henry?|]<//></>1:Yes</>2:No
- on click:yield UnnamedBlue
- on click:lose UnBlue
- *Unyellow
- desc:This seems to be a yellow variant. Click to give it a name.
- start with
- on click:lose (NameSuggest) NameSuggest
- on click:yield (random(1,3)) NameSuggest
- on click:log Hmmmm...<//></>What do you think of the name...</>[?NameSuggest=1 and Devyellow1=0|Zach?|][?NameSuggest=2 and Devyellow2=0|Zoe?|][?NameSuggest=3 and Devyellow3=0|Henry?|]<//></>1:Yes</>2:No
- on click:yield Unnamedyellow
- on click:lose Unyellow
- //Developing
- //Red
- *TEMPLATE
- name:Developing Red Slime
- desc:A red slime that is currently developing. Takes about 2-3 Game days.
- hidden when 0
- tag:Space
- *UnnamedRed
- name:Developing Red Slime (Unnamed)
- *DevRed1
- name:Developing Red Slime (Named Zach)
- *DevRed2
- name:Developing Red Slime (Named Zoe)
- *DevRed3
- name:Developing Red Slime (Named Henry)
- //Blue
- *TEMPLATE
- desc:A blue slime that is currently developing. Takes about 2-3 Game days.
- hidden when 0
- tag:Space
- *UnnamedBlue
- name:Developing Blue Slime (Unnamed)
- *DevBlue1
- name:Developing Blue Slime (Named Zach)
- *DevBlue2
- name:Developing Blue Slime (Named Zoe)
- *DevBlue3
- name:Developing Blue Slime (Named Henry)
- //Yellow
- *TEMPLATE
- desc:A yellow slime that is currently developing. Takes about 2-3 Game days.
- hidden when 0
- tag:Space
- *Unnamedyellow
- name:Developing Yellow Slime (Unnamed)
- *Devyellow1
- name:Developing Yellow Slime (Named Zach)
- *Devyellow2
- name:Developing Yellow Slime (Named Zoe)
- *Devyellow3
- name:Developing Yellow Slime (Named Henry)
- //Debug
- *TEMPLATE
- *GameStats
- name:Game Stats
- on start:toast Hello. You seem to be new here. To start growing slimes, click on the Undeveloped Slimes.
- tag:Debug
- desc:Shows the game's hidden values. Also includes values normally hidden inside of tooltips. Mainly for debugging proposes.
- //req:10 GameStatProgress
- text:Game Stats<//></>NameSuggest:[NameSuggest]
Advertisement
Add Comment
Please, Sign In to add comment