SharkGame.Home={tabId:"home",tabDiscovered:!0,tabName:"Home Sea",tabBg:"img/bg/bg-homesea.png",currentButtonTab:null,currentExtraMessageIndex:null,extraMessages:[{message:" 
 "},{unlock:{resource:{fish:5}},message:"You attract the attention of a shark. Maybe they can help you catch fish!
 "},{unlock:{resource:{shark:1}},message:"More sharks swim over, curious and watchful.
 "},{unlock:{resource:{fish:15}},message:"Some rays drift over.
 "},{unlock:{resource:{shark:1,ray:1}},message:"You have quite the group going now.
 "},{unlock:{resource:{shark:4,ray:4}},message:"Some curious crabs come over.
 "},{unlock:{resource:{shark:1,ray:1,crab:1}},message:"Your new tribe is at your command!
 "},{unlock:{resource:{shark:1,crystal:10}},message:"The crystals are shiny. Some sharks stare at them curiously.
 "},{unlock:{resource:{scientist:1}},message:"The science sharks swim in their own school.
 "},{unlock:{upgrade:["crystalContainer"]},message:"More discoveries are needed.
 "},{unlock:{resource:{nurse:1}},message:"The shark community grows with time.
 "},{unlock:{upgrade:["exploration"]},message:"You hear faint songs and cries in the distance.
 "},{unlock:{upgrade:["automation"]},message:"Machines to do things for you.
Machines to do things faster than you or any shark."},{unlock:{upgrade:["farExploration"]},message:"This place is not your home. You remember a crystal blue ocean.
The chasms beckon."},{unlock:{upgrade:["gateDiscovery"]},message:"The gate beckons. The secret must be unlocked.
 "},{unlock:{world:"chaotic"},message:"Overwhelming reinforcements. Overwhelming everything. So hard to focus.
 "},{unlock:{world:"haven"},message:"The oceans are rich with life. But it's still not home.
 "},{unlock:{world:"marine"},message:"The fish never run dry here. This place feels so familiar.
 "},{unlock:{world:"tempestuous"},message:"The storm never ends, and many are lost to its violent throes.
 "},{unlock:{world:"violent"},message:"Bursts of plenty from the scorching vents, but so hot.
No place for the young."},{unlock:{world:"abandoned"},message:"The tar clogs the gills of everyone here.
This dying world drags everyone down with it."},{unlock:{world:"shrouded"},message:"The crystals are easier to find, but the darkness makes it hard to find anything else.
 "},{unlock:{world:"frigid"},message:"So cold. The food supplies freeze quickly here. Too hard to chew.
 "},{unlock:{resource:{essence:10}},message:"The other sharks obey and respect you, but they seem to fear you.
It is not clear if you are truly a shark anymore, or something... else."},{unlock:{resource:{shrimp:50}},message:"The shrimps are tiny, but hard-working.
They live for their sponge hives."},{unlock:{resource:{lobster:20}},message:"The lobsters work, but seem carefree.
They worry about nothing."},{unlock:{resource:{eel:10}},message:"The eels chatter among their hiding places.
They like the sharks."},{unlock:{resource:{dolphin:5}},message:"The dolphin pods that work with us speak of an star-spanning empire of their kind.
They ask where our empire is. And they smile."},{unlock:{resource:{octopus:8}},message:"The octopuses speak of production and correct action. They speak of unity through efficiency.
They regard us with cold, neutral eyes."},{unlock:{resource:{whale:1}},message:"The whales speak rarely to us, working in silence as they sing to the ocean.
What do they sing for?"},{unlock:{resource:{chimaera:5}},message:"The chimaeras are ancient kin of the shark kind, reunited through wild coincidence.
What peerless wonders have they found in the dark?"},{unlock:{resource:{chorus:1}},message:"The whale song fills you with the same feeling as the gates. But so much smaller.
 "},{unlock:{world:"abandoned",resource:{tar:20}},message:"The tar is killing everything!
Maybe a machine can save us?"},{unlock:{world:"abandoned",resource:{tar:200}},message:"Only machines will remain. All is lost.
All is lost."},{unlock:{world:"frigid",resource:{ice:50}},message:"Something has to be done before the ice destroys us all!
Maybe a machine can save us?"},{unlock:{world:"frigid",resource:{ice:200}},message:"So cold. So hungry.
So hopeless."}],init:function(){var e=SharkGame.Home,a=SharkGame.WorldTypes[SharkGame.World.worldType].name+" Ocean";SharkGame.Home.tabName=a,SharkGame.Tabs[e.tabId]={id:e.tabId,name:e.tabName,discovered:e.tabDiscovered,code:e},$.each(SharkGame.HomeActions,(function(e,a){a.discovered=!1,a.newlyDiscovered=!1})),e.currentExtraMessageIndex=-1,e.currentButtonTab="all"},switchTo:function(){var e=SharkGame.Home,a=$("#content"),r=$("
").attr("id","tabMessage");a.append(r),e.currentExtraMessageIndex=-1,e.updateMessage(!0);var s=$("
").attr("id","homeTabs");a.append(s),e.createButtonTabs();var o=$("
");o.css({margin:"auto",clear:"both"}),SharkGame.Button.makeButton("helpButton","  Toggle descriptions  ",o,e.toggleHelp).addClass("min-block"),a.append(o);var t=$("
").attr("id","buttonList");a.append(t),"pile"===SharkGame.Settings.current.buttonDisplayType?t.addClass("pileArrangement"):t.removeClass("pileArrangement"),SharkGame.Settings.current.showTabImages&&r.css("background-image","url('"+e.tabBg+"')")},discoverActions:function(){var e=SharkGame.Home;$.each(SharkGame.HomeActions,(function(a,r){r.discovered=e.areActionPrereqsMet(a),r.newlyDiscovered=!1}))},createButtonTabs:function(){var e=$("#homeTabs"),a=$("