import{_ase,oast,caso,Qasi}from"./chunks/framework.1169fbc9.js";consty=JSON.parse('{"title":"Getting started","description":"","frontmatter":{},"headers":[],"relativePath":"public/lit/docs/getting-started.md","filePath":"public/lit/docs/getting-started.md","lastUpdated":1701137263000}'),a={name:"public/lit/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-desktop-visual-studio-code-and-the-modding-tree"tabindex="-1">GettingsetupwithGithubDesktop,VisualStudioCode,andTheModdingTree:<aclass="header-anchor"href="#getting-set-up-with-github-desktop-visual-studio-code-and-the-modding-tree"aria-label="Permalinkto"GettingsetupwithGithubDesktop,VisualStudioCode,andTheModdingTree:""></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><h3id="using-your-repository"tabindex="-1">Usingyourrepository<aclass="header-anchor"href="#using-your-repository"aria-label="Permalinkto"Usingyourrepository""></a></h3><ol><li><p>Clickon"showinexplorer/finder"totheright,andthenopentheindex.htmlfileinthefolder.Thepageshouldopenuponyourbrowser.Thiswillletyouviewandtestyourprojectlocally!</p></li><li><p>Toedityourproject,click"openinVSCode"inGithubDesktop.</p></li><li><p>Open<ahref="/js/mod.js">mod.js</a>inVSCode,andlookatthetoppartwhereithasa"modInfo"object.Fillinyourmod'snametowhateveryouwant,andchangetheidaswell.(Itcanbeanystringvalue,andit'susedtodeterminewherethesavefileis.Makeitsomethingthat'sprobablyunique,anddon'tchangeitagainlaterorelseit'lleffectivelywipeexistingsaves)</p></li><li><p>Save<ahref="/js/mod.js">mod.js</a>,andthenreload<ahref="/index.html">index.html</a>inyourbrowser.Thetitleonthetab,aswellasontheinfopage,willnow