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-07-10 03:21:02 +00:00
< link rel = "modulepreload" href = "/assets/app.7cfe4cf0.js" >
< link rel = "modulepreload" href = "/assets/guide_project-entry.md.ca85e0a8.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-19 03:48:53 +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-07-10 03:21:02 +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 \ " : \ " c a b 5 1 b 1 a \ " , \ " 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 \ " : \ " 3 a f 2 b b 4 0 \ " , \ " 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 \ " : \ " a b 1 4 a b a d \ " , \ " 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 6 f b d 2 c 4 \ " , \ " 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 \ " : \ " 6 b 2 d 6 7 a 5 \ " , \ " 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 \ " : \ " c 1 7 e 2 9 4 7 \ " , \ " 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 \ " : \ " 4 e c 5 c 4 1 c \ " , \ " 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 \ " : \ " a 3 a f 3 0 c 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 \ " : \ " 4 7 8 0 b c b 2 \ " , \ " 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 \ " : \ " 4 7 4 8 1 f 0 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 \ " : \ " 9 8 2 4 c f f 7 \ " , \ " 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 \ " : \ " 8 f 5 c 7 e 0 6 \ " , \ " 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 \ " : \ " e 2 3 7 b 5 0 b \ " , \ " 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 \ " : \ " 8 b 4 0 5 f f 6 \ " , \ " 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 \ " : \ " 7 9 c b 9 0 7 5 \ " , \ " 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 \ " : \ " 2 8 b 8 8 5 8 d \ " , \ " 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 \ " : \ " 9 0 3 1 f 0 d 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 \ " : \ " 0 4 9 9 5 b 6 d \ " , \ " 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 \ " : \ " 2 7 1 9 f 5 3 9 \ " , \ " 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 \ " : \ " 9 1 d 9 3 5 3 1 \ " , \ " 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 \ " : \ " 1 0 6 6 d f c 4 \ " , \ " 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 \ " : \ " 3 e 9 a 2 8 b 8 \ " , \ " 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 \ " : \ " 8 9 1 1 0 e a e \ " , \ " 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 \ " : \ " 3 9 5 d 6 9 9 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 \ " : \ " b 4 1 c e f 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 \ " : \ " 7 a d 9 3 0 a 6 \ " , \ " 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 \ " : \ " 6 c 3 a 1 6 2 f \ " , \ " 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 \ " : \ " e 9 4 c 0 5 f 1 \ " , \ " 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 \ " : \ " e a 1 0 9 1 1 5 \ " , \ " 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 \ " : \ " 6 a 5 1 1 7 5 9 \ " , \ " a p i _ f e a t u r e s _ b o a r d s _ b o a r d c o m p o n e n t . m d \ " : \ " c 3 7 d e c f d \ " , \ " 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 \ " : \ " 6 2 9 8 3 c 9 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 \ " : \ " 5 f a 6 5 3 e 2 \ " , \ " 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 \ " : \ " e 8 c f 4 7 6 c \ " , \ " 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 3 4 5 1 5 d 9 \ " , \ " 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 \ " : \ " 2 d 6 9 d d 2 0 \ " , \ " 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 \ " : \ " 4 7 9 b d 5 7 0 \ " , \ " 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 \ " : \ " 7 1 3 8 8 7 2 0 \ " , \ " a p i _ f e a t u r e s _ l i n k s _ l i n k c o m p o n e n t . m d \ " : \ " 8 9 5 f b 8 6 c \ " , \ " a p i _ f e a t u r e s _ l i n k s _ l i n k s c o m p o n e n t . m d \ " : \ " 9 5 c e 7 8 5 b \ " , \ " 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 \ " : \ " 0 5 7 b 0 7 8 b \ " , \ " a p i _ f e a t u r e s _ p a r t i c l e s _ p a r t i c l e s c o m p o n e n t . m d \ " : \ " 8 7 9 0 6 d e 5 \ " , \ " 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 \ " : \ " b b f 5 f d 5 8 \ " , \ " 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 \ " : \ " 9 b 9 1 8 1 3 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 \ " : \ " 7 5 e e e e a 0 \ " , \ " 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 \ " : \ " e c c 0 b c 8 e \ " , \ " 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 \ " : \ " c 6 c 0 d f 9 6 \ " , \ " a p i _ f e a t u r e s _ t o o l t i p s _ t o o l t i p c o m p o n e n t . m d \ " : \ " 4 f 8 a 1 3 9 6 \ " , \ " 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 \ " : \ " c c c 4 b 7 2 e \ " , \ " 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 \ " : \ " 1 e 4 7 f 0 f 0 \ " , \ " 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 \ " : \ " c 6 2 d 5 b 0 c \ " , \ " a p i _ i n d e x . m d \ " : \ " 5 8 c 9 9 f 1 b \ " , \ " 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 \ " : \ " 0 f d 9 3 0 0 4 \ " , \ " 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 \ " : \ " c 6 3 d 6 4 b b \ " , \ " 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 \ " : \ " a 1 0 1 9 f 4 9 \ " , \ " 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 \ " : \ " 3 5 8 4 7 8 c 4 \ " , \ " 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 \ " : \ " c 2 5 9 d 7 9 5 \ " , \ " 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 \ " : \ " a 8 d 4 4 6 d 4 \ " , \ " 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 \ " : \ " 6 6 b 0 a 4 0 b \ " , \ " 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 \ " : \ " 3 e 9 c 9 b a 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 \ " : \ " 6 1 2 2 a 4 0 d \ " , \ " 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 \ " : \ " e 2 7 e 7 b d 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 \ " : \ " f a 4 9 6 8 e 6 \ " , \ " 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 \ " : \ " 4 5 5 0 f 4 8 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 n o d e a c t i o n o p t i o n s . m d \ " : \ " d 9 d d b 5 b 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 o a r d n o d e l i n k . m d \ " : \ " d 8 9 f a 0 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 \ " : \ " c 0 2 d a 3 c 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 . n o d e
< script type = "module" async src = "/assets/app.7cfe4cf0.js" > < / script >
2022-03-03 01:37:05 +00:00
< / body >
< / html >