2022-03-03 01:37:05 +00:00
<!DOCTYPE html>
< html lang = "en-US" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width,initial-scale=1" >
< title > Project Entry | Profectus< / title >
< meta name = "description" content = "A game engine that grows with you." >
2022-07-15 03:01:53 +00:00
< link rel = "stylesheet" href = "/assets/style.e3402314.css" >
< link rel = "modulepreload" href = "/assets/app.cf939732.js" >
< link rel = "modulepreload" href = "/assets/guide_project-entry.md.8a9337cf.lean.js" >
2022-03-03 01:37:05 +00:00
2022-03-11 06:56:07 +00:00
< link rel = "stylesheet" href = "https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,600;1,400" >
2022-03-03 01:37:05 +00:00
< link rel = "apple-touch-icon" sizes = "180x180" href = "/apple-touch-icon.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "/favicon-32x32.png" >
< link rel = "icon" type = "image/png" sizes = "16x16" href = "/favicon-16x16.png" >
< link rel = "manifest" href = "/site.webmanifest" >
2022-03-03 01:41:28 +00:00
< script defer = "true" data-domain = "moddingtree.com" src = "https://plausible.io/js/plausible.js" > < / script >
2022-03-03 01:55:39 +00:00
< meta name = "og:description" content = "A game engine that grows with you" >
< meta name = "og:image" content = "/Logo.png" >
2022-03-03 01:37:05 +00:00
< / head >
< body >
2022-07-15 03:01:53 +00:00
< div id = "app" > < div class = "Layout" data-v-6b5fd0a9 > <!-- [ --> <!-- ] --> <!-- [ --> < span tabindex = "-1" data-v-45f6ae50 > < / span > < a href = "#VPContent" class = "VPSkipLink visually-hidden" data-v-45f6ae50 > Skip to content < / a > <!-- ] --> <!-- --> < header class = "VPNav" data-v-6b5fd0a9 data-v-0e356168 > < div class = "VPNavBar has-sidebar" data-v-0e356168 data-v-8856f192 > < div class = "container" data-v-8856f192 > < div class = "VPNavBarTitle has-sidebar" data-v-8856f192 data-v-6a6f7ff6 > < a class = "title" href = "/" data-v-6a6f7ff6 > <!-- [ --> < img class = "VPImage logo" src = "/favicon.svg" data-v-73ae1788 > <!-- ] --> <!-- [ --> Profectus<!-- ] --> < / a > < / div > < div class = "content" data-v-8856f192 > <!-- --> < nav aria-labelledby = "main-nav-aria-label" class = "VPNavBarMenu menu" data-v-8856f192 data-v-a30758ee > < span id = "main-nav-aria-label" class = "visually-hidden" data-v-a30758ee > Main Navigation< / span > <!-- [ --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink active" href = "/guide/" data-v-a30758ee data-v-8fba5fa8 data-v-5704c677 > <!-- [ --> Guide<!-- ] --> <!-- --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "/api/overview.html" data-v-a30758ee data-v-8fba5fa8 data-v-5704c677 > <!-- [ --> API<!-- ] --> <!-- --> < / a > <!-- ] --> <!-- [ --> < a class = "VPLink link VPNavBarMenuLink" href = "https://forums.moddingtree.com" target = "_blank" rel = "noopener noreferrer" data-v-a30758ee data-v-8fba5fa8 data-v-5704c677 > <!-- [ --> Forums<!-- ] --> <!-- --> < / a > <!-- ] --> <!-- ] --> < / nav > <!-- --> <!-- --> < div class = "VPSocialLinks VPNavBarSocialLinks social-links" data-v-8856f192 data-v-0ae890f7 data-v-4dcbaf3a > <!-- [ --> < a class = "VPSocialLink" href = "https://discord.gg/F3xveHV" title = "discord" target = "_blank" rel = "noopener noreferrer" data-v-4dcbaf3a data-v-48c45ef6 > < svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" focusable = "false" viewbox = "0 0 24 24" class = "icon" data-v-48c45ef6 > < path d = "M20.222 0c1.406 0 2.54 1.137 2.607 2.475V24l-2.677-2.273-1.47-1.338-1.604-1.398.67 2.205H3.71c-1.402 0-2.54-1.065-2.54-2.476V2.48C1.17 1.142 2.31.003 3.715.003h16.5L20.222 0zm-6.118 5.683h-.03l-.202.2c2.073.6 3.076 1.537 3.076 1.537-1.336-.668-2.54-1.002-3.744-1.137-.87-.135-1.74-.064-2.475 0h-.2c-.47 0-1.47.2-2.81.735-.467.203-.735.336-.735.336s1.002-1.002 3.21-1.537l-.135-.135s-1.672-.064-3.477 1.27c0 0-1.805 3.144-1.805 7.02 0 0 1 1.74 3.743 1.806 0 0 .4-.533.805-1.002-1.54-.468-2.14-1.404-2.14-1.404s.134.066.335.2h.06c.03 0 .044.015.06.03v.006c.016.016.03.03.06.03.33.136.66.27.93.4.466.202 1.065.403 1.8.536.93.135 1.996.2 3.21 0 .6-.135 1.2-.267 1.8-.535.39-.2.87-.4 1.397-.737 0 0-.6.936-2.205 1.404.33.466.795 1 .795 1 2.744-.06 3.81-1.8 3.87-1.726 0-3.87-1.815-7.02-1.815-7.02-1.635-1.214-3.165-1.26-3.435-1.26l.056-.02zm.168 4.413c.703 0 1.27.6 1.27 1.335 0 .74-.57 1.34-1.27 1.34-.7 0-1.27-.6-1.27-1.334.002-.74.573-1.338 1.27-1.338zm-4.543 0c.7 0 1.266.6 1.266 1.335 0 .74-.57 1.34-1.27 1.34-.7 0-1.27-.6-1.27-1.334 0-.74.57-1.338 1.27-1.338z" > < / path > < / svg > < span class = "visually-hidden" data-v-48c45ef6 > discord< / span > < / a > < a class = "VPSocialLink" href = "https://github.com/profectus-engine/Profectus" title = "github" target = "_blank" rel = "noopener noreferrer" data-v-4dcbaf3a data-v-48c45ef6 > < svg xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" focusable = "false" viewbox = "0 0 24 24" class = "icon" data-v-48c45ef6 > < path d = "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" > < / path > < / svg > < span class = "visually-hidden" data-v-48c45ef6 > github< / span > < / a > <!-- ] --> < / div > < div class = "VPFlyout VPNavBarE
< span class = "line" > < / span > < / code > < / pre > < / div > < h3 id = "fixoldsave" tabindex = "-1" > fixOldSave < a class = "header-anchor" href = "#fixoldsave" aria-hidden = "true" > #< / a > < / h3 > < ul > < li > Type: < code > (oldVersion: string | undefined, player: Partial< PlayerData> ) => void< / code > < / li > < / ul > < p > This function will be run whenever a save is loaded that has a different version than the one in < a href = "./project-info.html#versionnumber" > project info< / a > . It will be given the old version number, and the player save data object currently being loaded.< / p > < p > The purpose of this function is to perform any necessary migrations, such as capping a resource that accidentally inflated in a previous version of the project. By default it will do nothing.< / p > < / div > < / div > < / main > < footer class = "VPDocFooter" data-v-79ca2460 data-v-04568844 > < div class = "edit-info" data-v-04568844 > < div class = "edit-link" data-v-04568844 > < a class = "VPLink link edit-link-button" href = "https://github.com/profectus-engine/profectus-docs/edit/main/docs/guide/project-entry.md" target = "_blank" rel = "noopener noreferrer" data-v-04568844 data-v-5704c677 > <!-- [ --> < svg xmlns = "http://www.w3.org/2000/svg" viewbox = "0 0 24 24" class = "edit-link-icon" data-v-04568844 > < path d = "M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z" > < / path > < path d = "M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z" > < / path > < / svg > Edit this page<!-- ] --> <!-- --> < / a > < / div > < div class = "last-updated" data-v-04568844 > < p class = "VPLastUpdated" data-v-04568844 data-v-0ce8c960 > Last updated: < time datatime = "2022-07-15T02:59:46.000Z" data-v-0ce8c960 > < / time > < / p > < / div > < / div > < div class = "prev-next" data-v-04568844 > < div class = "pager" data-v-04568844 > < a class = "pager-link prev" href = "/guide/project-info.html" data-v-04568844 > < span class = "desc" data-v-04568844 > Previous page< / span > < span class = "title" data-v-04568844 > Project Info< / span > < / a > < / div > < div class = "has-prev pager" data-v-04568844 > < a class = "pager-link next" href = "/guide/changelog.html" data-v-04568844 > < span class = "desc" data-v-04568844 > Next page< / span > < span class = "title" data-v-04568844 > Changelog< / span > < / a > < / div > < / div > < / footer > <!-- [ --> <!-- ] --> < / div > < / div > < / div > < / div > < / div > <!-- --> <!-- [ --> <!-- ] --> < / div > < / div >
< script > _ _ V P _ H A S H _ M A P _ _ = J S O N . p a r s e ( " { \ " a p i _ c l a s s e s _ l i b _ b r e a k _ e t e r n i t y . d e f a u l t . m d \ " : \ " 3 3 a e c a a b \ " , \ " a p i _ c o m p o n e n t s _ c o n t e x t c o m p o n e n t . m d \ " : \ " 4 f a 7 c 0 a 3 \ " , \ " a p i _ c o m p o n e n t s _ i n f o c o m p o n e n t . m d \ " : \ " d 6 c 0 4 a d 3 \ " , \ " a p i _ c o m p o n e n t s _ l a y e r c o m p o n e n t . m d \ " : \ " d 5 c 7 e 9 f b \ " , \ " a p i _ c o m p o n e n t s _ m a r k n o d e c o m p o n e n t . m d \ " : \ " f 7 a e e 2 5 b \ " , \ " a p i _ c o m p o n e n t s _ m o d a l c o m p o n e n t . m d \ " : \ " 2 2 6 8 a 3 e 0 \ " , \ " a p i _ c o m p o n e n t s _ n o d e c o m p o n e n t . m d \ " : \ " f 9 c c b e 2 1 \ " , \ " a p i _ c o m p o n e n t s _ s a v e c o m p o n e n t . m d \ " : \ " 0 5 a 7 a a 3 8 \ " , \ " a p i _ c o m p o n e n t s _ f i e l d s _ d a n g e r b u t t o n c o m p o n e n t . m d \ " : \ " 2 2 2 e a 7 f 6 \ " , \ " a p i _ c o m p o n e n t s _ f i e l d s _ f e e d b a c k b u t t o n c o m p o n e n t . m d \ " : \ " 5 4 4 3 2 1 8 e \ " , \ " a p i _ c o m p o n e n t s _ f i e l d s _ s e l e c t c o m p o n e n t . m d \ " : \ " b f 5 7 8 3 b c \ " , \ " a p i _ c o m p o n e n t s _ f i e l d s _ s l i d e r c o m p o n e n t . m d \ " : \ " 6 6 a 3 5 a b 5 \ " , \ " a p i _ c o m p o n e n t s _ f i e l d s _ t e x t c o m p o n e n t . m d \ " : \ " 6 4 f 2 b 5 e 6 \ " , \ " a p i _ c o m p o n e n t s _ f i e l d s _ t o g g l e c o m p o n e n t . m d \ " : \ " c e 0 e a 3 c d \ " , \ " a p i _ c o m p o n e n t s _ l a y o u t _ c o l l a p s i b l e c o m p o n e n t . m d \ " : \ " 6 d 3 4 f 6 a 3 \ " , \ " a p i _ c o m p o n e n t s _ l a y o u t _ c o l u m n c o m p o n e n t . m d \ " : \ " a 2 3 b 6 5 c f \ " , \ " a p i _ c o m p o n e n t s _ l a y o u t _ r o w c o m p o n e n t . m d \ " : \ " d f a 7 d 0 6 3 \ " , \ " a p i _ c o m p o n e n t s _ l a y o u t _ s p a c e r c o m p o n e n t . m d \ " : \ " 8 2 d f e 5 1 1 \ " , \ " a p i _ c o m p o n e n t s _ l a y o u t _ s t i c k y c o m p o n e n t . m d \ " : \ " 1 4 8 c 9 7 4 e \ " , \ " a p i _ c o m p o n e n t s _ l a y o u t _ v e r t i c a l r u l e c o m p o n e n t . m d \ " : \ " 0 a 9 b a 6 8 c \ " , \ " a p i _ c o m p o n e n t s _ m a t h _ f l o o r c o m p o n e n t . m d \ " : \ " f 6 1 c 3 c b a \ " , \ " a p i _ c o m p o n e n t s _ m a t h _ s q r t c o m p o n e n t . m d \ " : \ " f 1 7 3 9 7 3 1 \ " , \ " a p i _ e n u m s _ d a t a _ t h e m e s . t h e m e s . m d \ " : \ " e 8 5 8 8 2 7 c \ " , \ " a p i _ e n u m s _ f e a t u r e s _ b o a r d s _ b o a r d . p r o g r e s s d i s p l a y . m d \ " : \ " c 6 1 0 6 7 e 5 \ " , \ " a p i _ e n u m s _ f e a t u r e s _ b o a r d s _ b o a r d . s h a p e . m d \ " : \ " d 6 9 1 6 b b 4 \ " , \ " a p i _ e n u m s _ f e a t u r e s _ f e a t u r e . v i s i b i l i t y . m d \ " : \ " a e 7 4 7 b 4 1 \ " , \ " a p i _ e n u m s _ f e a t u r e s _ m i l e s t o n e s _ m i l e s t o n e . m i l e s t o n e d i s p l a y . m d \ " : \ " 0 9 5 a a 2 4 c \ " , \ " a p i _ e n u m s _ u t i l _ c o m m o n . d i r e c t i o n . m d \ " : \ " 5 a 6 f 3 1 9 c \ " , \ " a p i _ i n t e r f a c e s _ d a t a _ c o m m o n . l a y e r t r e e n o d e o p t i o n s . m d \ " : \ " 3 d 2 e 2 4 1 7 \ " , \ " a p i _ i n t e r f a c e s _ d a t a _ c o m m o n . r e s e t b u t t o n o p t i o n s . m d \ " : \ " e 0 8 2 e f f 4 \ " , \ " a p i _ i n t e r f a c e s _ d a t a _ t h e m e s . t h e m e . m d \ " : \ " 7 d 0 c f 5 2 f \ " , \ " a p i _ i n t e r f a c e s _ d a t a _ t h e m e s . t h e m e v a r s . m d \ " : \ " c a 3 6 6 e 8 9 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ a c h i e v e m e n t s _ a c h i e v e m e n t . a c h i e v e m e n t o p t i o n s . m d \ " : \ " 4 f 8 3 9 c 3 e \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ a c h i e v e m e n t s _ a c h i e v e m e n t . b a s e a c h i e v e m e n t . m d \ " : \ " 1 4 7 5 8 4 b 2 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b a r s _ b a r . b a r o p t i o n s . m d \ " : \ " b 0 3 6 a e 8 d \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b a r s _ b a r . b a s e b a r . m d \ " : \ " a e f 2 d 6 d 5 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b a s e b o a r d . m d \ " : \ " 0 1 8 0 f 5 7 b \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b a s e b o a r d n o d e a c t i o n . m d \ " : \ " 5 1 b b 7 1 2 e \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b a s e n o d e t y p e . m d \ " : \ " 5 5 2 d 5 5 6 4 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b o a r d n o d e . m d \ " : \ " 3 3 5 d a a 8 f \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b o a r d n o d e a c t i o n o p t i o n s . m d \ " : \ " 2 6 e 2 6 e e 4 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b o a r d n o d e l i n k . m d \ " : \ " 2 3 0 c 6 f 0 0 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . b o a r d o p t i o n s . m d \ " : \ " a b b 9 0 f 4 e \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . n o d e l a b e l . m d \ " : \ " 7 e 3 8 6 3 2 c \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b o a r d s _ b o a r d . n o d e t y p e o p t i o n s . m d \ " : \ " c f c c d b 1 d \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b u y a b l e . b a s e b u y a b l e . m d \ " : \ " 4 0 d a 1 e 4 f \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ b u y a b l e . b u y a b l e o p t i o n s . m d \ " : \ " 3 4 2 5 0 1 6 1 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c h a l l e n g e s _ c h a l l e n g e . b a s e c h a l l e n g e . m d \ " : \ " c f 1 e 5 9 1 5 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c h a l l e n g e s _ c h a l l e n g e . c h a l l e n g e o p t i o n s . m d \ " : \ " 7 0 e 9 b b 7 1 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c l i c k a b l e s _ c l i c k a b l e . b a s e c l i c k a b l e . m d \ " : \ " 5 1 2 7 6 e 2 2 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c l i c k a b l e s _ c l i c k a b l e . c l i c k a b l e o p t i o n s . m d \ " : \ " 7 b 3 9 3 6 e 6 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c o n v e r s i o n . b a s e c o n v e r s i o n . m d \ " : \ " 9 f 8 4 d e b 6 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c o n v e r s i o n . c o n v e r s i o n o p t i o n s . m d \ " : \ " 7 3 a c 9 2 5 3 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ c o n v e r s i o n . s c a l i n g f u n c t i o n . m d \ " : \ " 8 1 1 3 8 1 f 2 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ g r i d s _ g r i d . b a s e g r i d . m d \ " : \ " 8 8 9 2 a 5 a f \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ g r i d s _ g r i d . g r i d c e l l . m d \ " : \ " 1 b 9 3 6 9 4 a \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ g r i d s _ g r i d . g r i d o p t i o n s . m d \ " : \ " 9 c 8 d c 2 9 d \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ h o t k e y . b a s e h o t k e y . m d \ " : \ " 6 4 8 3 9 d 5 3 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ h o t k e y . h o t k e y o p t i o n s . m d \ " : \ " 9 d a c 9 7 d 9 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ i n f o b o x e s _ i n f o b o x . b a s e i n f o b o x . m d \ " : \ " e 2 4 8 6 1 2 d \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ i n f o b o x e s _ i n f o b o x . i n f o b o x o p t i o n s . m d \ " : \ " 9 4 d b d 9 9 5 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ l i n k s _ l i n k s . b a s e l i n k s . m d \ " : \ " 5 f 9 6 8 8 6 3 \ " , \ " a p i _ i n t e r f a c e s _ f e a t u r e s _ l i n k s _ l i n k s . l i n k . m d \ " : \ " d 2 4 6 2 a 7 2 \ " , \ " a
< script type = "module" async src = "/assets/app.cf939732.js" > < / script >
2022-03-03 01:37:05 +00:00
< / body >
< / html >