import{_ase,cast,o,dasi}from"./app.99998402.js";consty=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Getting set up with Github and The Modding Tree:","slug":"getting-set-up-with-github-and-the-modding-tree","link":"#getting-set-up-with-github-and-the-modding-tree","children":[]},{"level":2,"title":"Using your repository","slug":"using-your-repository","link":"#using-your-repository","children":[]}],"relativePath":"public/gamedevtree/docs/getting-started.md","lastUpdated":null}'),n={name:"public/gamedevtree/docs/getting-started.md"},a=i('<h1id="getting-started"tabindex="-1">Gettingstarted<aclass="header-anchor"href="#getting-started"aria-hidden="true">#</a></h1><p>WelcometoTheModdingTree!</p><p>UsingtheModdingTree,atitssimplestlevel,justrequiresgettingacopyofitontoyourcomputer.However,ifyoudoittherightway,itwillhelpinmanyways.</p><p>Don'tlettheword"Github"scareyouaway.It'sactuallymucheasiertousethanmostpeoplethink,especiallybecausemostpeopleuseitthehardway.ThekeyisGithubDesktop,whichletsyoudoeverythingyouneedto,withouteventouchingthecommandline.</p><p>ThebenefitsofusingGithub:</p><ul><li>Itmakesitmuch,mucheasiertoupdateTheModdingTree.</li><li>Youcanshareyourworkwithoutanyextraeffortusinggithack,orwithabitmoreeffort,setupa<ahref="http://github.io"target="_blank"rel="noreferrer">github.io</a>site.</li><li>Itletsyouundochangestoyourcode,andtohavemultipleversionsofit.</li><li>Itletsyoucollaboratewithotherpeople,ifyouwantto.</li></ul><h2id="getting-set-up-with-github-and-the-modding-tree"tabindex="-1">GettingsetupwithGithubandTheModdingTree:<aclass="header-anchor"href="#getting-set-up-with-github-and-the-modding-tree"aria-hidden="true">#</a></h2><ol><li><p>Install<ahref="https://desktop.github.com/"target="_blank"rel="noreferrer">GithubDesktop</a>and<ahref="https://code.visualstudio.com/"target="_blank"rel="noreferrer">VisualStudioCode</a>.</p></li><li><p>MakeaGithubaccount.Youcanhandlethisonyourown.</p></li><li><p>Loginonyourbrowser,andgobackto<ahref="https://github.com/Acamaeda/The-Modding-Tree"target="_blank"rel="noreferrer">TheModdingTreepage</a>.Atthetopright,thereshouldbeabuttonthatsays"fork".Clickonit,andthenonyourusername.Younowhaveyourownfork,orcopy,ofTheModdingTree.</p></li><li><p>OpenGithubDesktopandlogin.Ignoreeverythingelseandchoose"clonearepository".A"repository"isbasicallya"Githubproject",likeTheModdingTree."Cloning"isdownloadingacopyoftherepositorytoyourcomputer.</p></li><li><p>LookforTheModdingTreeinthelistofrepositiories(itshouldbetheonlyone)andclick"clone".</p></li><li><p>Selectthatyou'reusingitforyourownpurposes,andclickcontinue.Itwilldownloadthefilesandhandleeverything.</p></li></ol><h2id="using-your-repository"tabindex="-1">Usingyourrepository<aclass="header-anchor"href="#using-your-repository"aria-hidden="true">#</a></h2><ol><li><p>Clickon"showinfinder"totheright,andthenopenindex.html.Thiswillletyouviewandtestyourproject!</p></li><li><p>Toedityourproject,click"openinVSCode"inGithubDesktop.</p></li><li><p>Openmod.jsinVSCode,andlookatthetoppartwhereitsays"modInfo".Onthelinesbelowthat,changethemod'snametowhateveryouwant,andchangetheidaswell.(Itcanbeanystringvalue,andit'susedtodeterminewherethesavefileis.Makeitsomethingthat'sprobablyunique,anddon'tchangeitagainlater.)</p></li><li><p>Savegame.js,andthenreloadindex.html.Thetitleonthetab,aswellasontheinfopage,willnowbethenewones!</p></li><li><p>GobacktoGithubDesktop.It'stimetosaveyourchangesintothegitsystembymakinga"commit"