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-03-11 06:56:07 +00:00
< link rel = "stylesheet" href = "/assets/style.148fff69.css" >
2022-03-12 01:24:32 +00:00
< link rel = "modulepreload" href = "/assets/app.54d5a277.js" >
< link rel = "modulepreload" href = "/assets/guide_project-entry.md.d05ac823.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
< meta name = "twitter:title" content = "Project Entry | Profectus" >
< meta property = "og:title" content = "Project Entry | Profectus" >
< / head >
< body >
2022-03-12 01:24:32 +00:00
< div id = "app" > <!-- [ --> < div class = "theme" > < header class = "nav-bar" data-v-675d8756 > < div class = "sidebar-button" data-v-675d8756 > < svg class = "icon" xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" role = "img" viewBox = "0 0 448 512" > < path fill = "currentColor" d = "M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z" class > < / path > < / svg > < / div > < a class = "nav-bar-title" href = "/" aria-label = "Profectus, back to home" data-v-675d8756 data-v-cc01ef16 > <!-- --> Profectus< / a > < div class = "flex-grow" data-v-675d8756 > < / div > < div class = "nav" data-v-675d8756 > < nav class = "nav-links" data-v-675d8756 data-v-eab3edfe > <!-- [ --> < div class = "item" data-v-eab3edfe > < div class = "nav-link" data-v-eab3edfe data-v-b8818f8c > < a class = "item active" href = "/guide/" data-v-b8818f8c > Guide <!-- --> < / a > < / div > < / div > < div class = "item" data-v-eab3edfe > < div class = "nav-link" data-v-eab3edfe data-v-b8818f8c > < a class = "item" href = "/api/" data-v-b8818f8c > API <!-- --> < / a > < / div > < / div > < div class = "item" data-v-eab3edfe > < div class = "nav-link" data-v-eab3edfe data-v-b8818f8c > < a class = "item isExternal" href = "https://forums.moddingtree.com" target = "_blank" rel = "noopener noreferrer" data-v-b8818f8c > Forums < svg class = "icon outbound" xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewbox = "0 0 100 100" width = "15" height = "15" data-v-b8818f8c > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / div > < / div > < div class = "item" data-v-eab3edfe > < div class = "nav-link" data-v-eab3edfe data-v-b8818f8c > < a class = "item isExternal" href = "https://discord.gg/F3xveHV" target = "_blank" rel = "noopener noreferrer" data-v-b8818f8c > Discord < svg class = "icon outbound" xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewbox = "0 0 100 100" width = "15" height = "15" data-v-b8818f8c > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / div > < / div > < div class = "item" data-v-eab3edfe > < div class = "nav-link" data-v-eab3edfe data-v-b8818f8c > < a class = "item isExternal" href = "https://github.com/profectus-engine/Profectus" target = "_blank" rel = "noopener noreferrer" data-v-b8818f8c > Github < svg class = "icon outbound" xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewbox = "0 0 100 100" width = "15" height = "15" data-v-b8818f8c > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / div > < / div > <!-- ] --> <!-- --> < div class = "item" data-v-eab3edfe > < div class = "nav-link" data-v-eab3edfe data-v-b8818f8c > < a class = "item isExternal" href = "https://github.com/profectus-engine/profectus-docs" target = "_blank" rel = "noopener noreferrer" data-v-b8818f8c > GitHub < svg class = "icon outbound" xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewbox = "0 0 100 100" width = "15" height = "15" data-v-b8818f8c > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / div > < / div > < / nav > < / div > <!-- [ --> <!-- ] --> < / header > < aside class = "sidebar"
2022-03-11 07:02:46 +00:00
< / 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 > < footer class = "page-footer" data-v-7eddb2c4 data-v-07c132fc > < div class = "edit" data-v-07c132fc > < div class = "edit-link" data-v-07c132fc data-v-1ed99556 > < a class = "link" href = "https://github.com/profectus-engine/profectus-docs/edit/main/docs/guide/project-entry.md" target = "_blank" rel = "noopener noreferrer" data-v-1ed99556 > Edit this page on GitHub < svg class = "icon outbound icon" xmlns = "http://www.w3.org/2000/svg" aria-hidden = "true" x = "0px" y = "0px" viewbox = "0 0 100 100" width = "15" height = "15" data-v-1ed99556 > < path fill = "currentColor" d = "M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z" > < / path > < polygon fill = "currentColor" points = "45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9" > < / polygon > < / svg > < / a > < / div > < / div > < div class = "updated" data-v-07c132fc > <!-- --> < / div > < / footer > < div class = "next-and-prev-link" data-v-7eddb2c4 data-v-38ede35f > < div class = "container" data-v-38ede35f > < div class = "prev" data-v-38ede35f > < a class = "link" href = "/guide/project-info" data-v-38ede35f > < svg xmlns = "http://www.w3.org/2000/svg" viewbox = "0 0 24 24" class = "icon icon-prev" data-v-38ede35f > < path d = "M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z" > < / path > < / svg > < span class = "text" data-v-38ede35f > Project Info< / span > < / a > < / div > < div class = "next" data-v-38ede35f > < a class = "link" href = "/guide/changelog" data-v-38ede35f > < span class = "text" data-v-38ede35f > Changelog< / span > < svg xmlns = "http://www.w3.org/2000/svg" viewbox = "0 0 24 24" class = "icon icon-next" data-v-38ede35f > < path d = "M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z" > < / path > < / svg > < / a > < / div > < / div > < / div > <!-- [ --> <!-- ] --> < / div > < / main > < / div > <!-- --> <!-- ] --> < / div >
2022-03-19 03:15:39 +00:00
< 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 c i m a l . m d \ " : \ " 2 e 9 4 7 4 a 5 \ " , \ " 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 \ " : \ " 9 2 6 8 f d 0 b \ " , \ " 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 \ " : \ " 8 4 8 7 d b 4 8 \ " , \ " 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 \ " : \ " c 1 c 3 8 c 9 a \ " , \ " 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 \ " : \ " e a 9 2 2 0 5 9 \ " , \ " 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 \ " : \ " 4 d 6 d 3 e 1 4 \ " , \ " a p i _ c o m p o n e n t s _ t o o l t i p c o m p o n e n t . m d \ " : \ " f 6 a 4 1 7 2 9 \ " , \ " 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 \ " : \ " 3 d a d 3 1 5 3 \ " , \ " 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 \ " : \ " 6 3 3 0 b 0 e 0 \ " , \ " 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 \ " : \ " 1 6 1 9 1 3 4 3 \ " , \ " 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 \ " : \ " a 0 2 b 4 6 c b \ " , \ " 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 \ " : \ " 0 c f 1 e 1 6 0 \ " , \ " 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 \ " : \ " f 6 a 8 c d f 1 \ " , \ " 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 \ " : \ " 6 a a a f 4 b 5 \ " , \ " 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 \ " : \ " 4 6 c f b 2 2 5 \ " , \ " 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 \ " : \ " 2 1 d d 6 2 0 2 \ " , \ " 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 \ " : \ " c 6 7 6 5 0 1 8 \ " , \ " 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 \ " : \ " 5 7 8 f 9 2 4 2 \ " , \ " a p i _ c o m p o n e n t s _ l i n k s _ l i n k c o m p o n e n t . m d \ " : \ " 7 3 5 f 2 6 6 b \ " , \ " a p i _ c o m p o n e n t s _ l i n k s _ l i n k n o d e c o m p o n e n t . m d \ " : \ " 3 5 0 8 4 9 d 0 \ " , \ " a p i _ c o m p o n e n t s _ l i n k s _ l i n k s c o m p o n e n t . m d \ " : \ " 6 a 4 7 6 2 1 4 \ " , \ " 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 \ " : \ " f c 1 5 6 0 2 1 \ " , \ " a p i _ e n u m s _ f e a t u r e s _ b a r s _ b a r . d i r e c t i o n . m d \ " : \ " 5 4 2 4 6 6 7 7 \ " , \ " 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 \ " : \ " f 8 8 f 5 8 8 a \ " , \ " 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 \ " : \ " 9 6 d f 0 8 8 a \ " , \ " 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 \ " : \ " f 2 3 6 0 2 c c \ " , \ " 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 \ " : \ " 7 2 1 c 5 e 0 5 \ " , \ " a p i _ 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 c o m p o n e n t . m d \ " : \ " f 0 0 a 4 e 6 f \ " , \ " a p i _ f e a t u r e s _ b a r s _ b a r c o m p o n e n t . m d \ " : \ " 4 b 5 c 1 6 2 c \ " , \ " a p i _ f e a t u r e s _ b o a r d s _ b o a r d l i n k c o m p o n e n t . m d \ " : \ " a 5 c 0 5 a b b \ " , \ " a p i _ f e a t u r e s _ b o a r d s _ b o a r d n o d e c o m p o n e n t . m d \ " : \ " 2 c 9 0 8 4 9 f \ " , \ " a p i _ 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 o m p o n e n t . m d \ " : \ " c a d 5 7 6 1 3 \ " , \ " a p i _ 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 o m p o n e n t . m d \ " : \ " 0 9 2 f 6 f 0 d \ " , \ " a p i _ f e a t u r e s _ g r i d s _ g r i d c e l l c o m p o n e n t . m d \ " : \ " 4 d f 6 6 9 8 1 \ " , \ " a p i _ f e a t u r e s _ g r i d s _ g r i d c o m p o n e n t . m d \ " : \ " d 0 e 1 3 8 2 4 \ " , \ " a p i _ f e a t u r e s _ i n f o b o x e s _ i n f o b o x c o m p o n e n t . m d \ " : \ " e a 6 a 8 1 3 0 \ " , \ " a p i _ 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 c o m p o n e n t . m d \ " : \ " 3 b a f c 1 8 2 \ " , \ " a p i _ f e a t u r e s _ r e s o u r c e s _ m a i n d i s p l a y c o m p o n e n t . m d \ " : \ " 4 5 b 4 c 6 c e \ " , \ " a p i _ f e a t u r e s _ r e s o u r c e s _ r e s o u r c e c o m p o n e n t . m d \ " : \ " e 2 3 3 8 9 8 4 \ " , \ " a p i _ f e a t u r e s _ t a b s _ t a b b u t t o n c o m p o n e n t . m d \ " : \ " 1 4 a 8 f e b 1 \ " , \ " a p i _ f e a t u r e s _ t a b s _ t a b c o m p o n e n t . m d \ " : \ " 6 1 d 6 5 d 0 1 \ " , \ " a p i _ f e a t u r e s _ t a b s _ t a b f a m i l y c o m p o n e n t . m d \ " : \ " 3 7 4 1 3 1 6 b \ " , \ " a p i _ f e a t u r e s _ t r e e s _ t r e e c o m p o n e n t . m d \ " : \ " 1 5 3 0 8 0 f 8 \ " , \ " a p i _ f e a t u r e s _ t r e e s _ t r e e n o d e c o m p o n e n t . m d \ " : \ " a 9 7 5 c b a f \ " , \ " a p i _ f e a t u r e s _ u p g r a d e s _ u p g r a d e c o m p o n e n t . m d \ " : \ " a e 8 a 0 b 1 9 \ " , \ " a p i _ i n d e x . m d \ " : \ " 7 4 0 5 d 1 e a \ " , \ " 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 \ " : \ " 8 6 a 5 b a 7 3 \ " , \ " 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 \ " : \ " 0 0 4 f a 0 4 e \ " , \ " 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 \ " : \ " e 0 4 f 3 8 c c \ " , \ " 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 \ " : \ " 8 4 8 9 d 1 0 1 \ " , \ " 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 1 1 4 3 a 1 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 . b a s e a c h i e v e m e n t . m d \ " : \ " d 9 5 8 1 7 a c \ " , \ " 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 \ " : \ " 7 a 2 5 f 8 a e \ " , \ " 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 \ " : \ " 1 5 1 b 1 2 6 1 \ " , \ " 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 \ " : \ " d 9 4 6 2 f 1 1 \ " , \ " 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 \ " : \ " c 3 b 3 2 b c 1 \ " , \ " 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 \ " : \ " d 2 4 4 2 c 1 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 . m d \ " : \ " a 8 0 3 0 d 6 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 o a r d n o d e a c t i o n o p t i o n s . m d \ " : \ " e e 0 8 3 d c 3 \ " , \ " 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 \ " : \ " 4 8 2 c c 3 a 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 . b o a r d o p t i o n s . m d \ " : \ " 0 1 3 a d 4 8 3 \ " , \ " 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 \ " : \ " 5 2 b 0 6 5 7 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 . n o d e t y p e o p t i o n s . m d \ " : \ " f b 7 3 5 9 b 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 d 4 c 4 7 b 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 \ " : \ " 6 1 b 3 d 6 f 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 . b a s e c h a l l e n g e . m d \ " : \ " 0 f 7 6 f 0 3 5 \ " , \ " a p i _ i n t e r f a c e s _ f e a t
2022-03-12 01:24:32 +00:00
< script type = "module" async src = "/assets/app.54d5a277.js" > < / script >
2022-03-03 01:37:05 +00:00
< / body >
< / html >