import{_ase,cast,o,a4asi}from"./chunks/framework.CsM8T_AH.js";constm=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[],"relativePath":"public/gamedevtree/docs/getting-started.md","filePath":"public/gamedevtree/docs/getting-started.md"}'),a={name:"public/gamedevtree/docs/getting-started.md"},n=i('<h1id="getting-started"tabindex="-1">Gettingstarted<aclass="header-anchor"href="#getting-started"aria-label="Permalink to "Getting started""></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,setupagithub.iosite.</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-label="Permalinkto"GettingsetupwithGithubandTheModdingTree:""></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-label="Permalinkto"Usingyourrepository""></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".</p></li><li><p>Atthebottomrightcorner,addasummaryofyourchanges,andthenclick"committomaster".</p></li><li><p>Finally,atthetopmiddle,click"pusho