-
Notifications
You must be signed in to change notification settings - Fork 4
starship.ts
-
subtypeDropdown() ⇒
void
Set subtype dropdown options based on selected ship type.
-
calcS() ⇒
undefined
Calculates the spawn chance of an S class ship based on the economy rating and type of the system
-
showHideStarshipSelects() ⇒
void
Shows and hides section based on other input.
-
invDropdown() ⇒
void
Sets the dropdown options for the inventory input based on the page data and ship data.
-
calcInv() ⇒
void
Calculates inventory size based on type and subtype.
-
costSlotCalc() ⇒
void
Calculates the cost and slot count required for the current pageData.
-
loc() ⇒
string
Constructs a location sentence for a discovered ship.
-
capitalDetection() ⇒
string
Determines whether the discovered ship is a capital ship based on inventory size
-
freighterSpawn() ⇒
string
Determines the method of freighter spawn
-
livingShipSpawn() ⇒
string
Determines the method of living ship spawn
-
locText() ⇒
string
Constructs the location sentence based on ship type
-
addInfo() ⇒
string
Constructs additional information sentence that includes the catalogue and research team
-
appearanceDropdowns() ⇒
void
Adds items to the part dropdowns based on the selected ship type.
-
appearanceSentence() ⇒
void
Sets the actual appearance sentence of the specified creature, using the information provided in the input fields.
-
albumOtherExternal() ⇒
string
Fills economy, race, and coords for the "other" parameter on starship album entries.
-
albumLinkGen() ⇒
string
Generates a link to a starship album based on the properties of the pageData object.
-
getCatalog() ⇒
string
Returns the appropriate album name based on the properties of the pageData object.
-
generateGalleryArray() ⇒
void
Creates an array of gallery images based on the current page data.
-
redirectPage() ⇒
boolean
|string
Redirects to a new page if the page name contains any Greek letters.
Set subtype dropdown options based on selected ship type.
Calculates the spawn chance of an S class ship based on the economy rating and type of the system
Shows and hides section based on other input.
Sets the dropdown options for the inventory input based on the page data and ship data.
Calculates inventory size based on type and subtype.
Calculates the cost and slot count required for the current pageData.
Constructs a location sentence for a discovered ship.
Kind: global function
Returns: string
-
The completed location sentence.
Determines whether the discovered ship is a capital ship based on inventory size
Kind: global function
Returns: string
-
If ship is a capital ship, returns the string 'Capital'; otherwise returns undefined.
Determines the method of freighter spawn
Kind: global function
Returns: string
-
Returns a sentence describing the freighter spawn location.
Determines the method of living ship spawn
Kind: global function
Returns: string
-
Returns a sentence describing the living ship spawn location and coordinates.
Constructs the location sentence based on ship type
Kind: global function
Returns: string
-
Returns the location sentence.
Constructs additional information sentence that includes the catalogue and research team
Kind: global function
Returns: string
-
- The additional information sentence
Adds items to the part dropdowns based on the selected ship type.
Sets the actual appearance sentence of the specified creature, using the information provided in the input fields.
Fills economy, race, and coords for the "other" parameter on starship album entries.
Kind: global function
Returns: string
-
Returns a string that includes the filled-out properties.
Generates a link to a starship album based on the properties of the pageData object.
Kind: global function
Returns: string
-
The link to the appropriate starship album.
Returns the appropriate album name based on the properties of the pageData object.
Kind: global function
Returns: string
-
The name of the corresponding starship album.
Creates an array of gallery images based on the current page data.
Redirects to a new page if the page name contains any Greek letters.
Kind: global function
Returns: boolean
| string
-
Either false if the page name doesn't contain Greek letters or a string with the name containing Greek letters replaced with their English transliterations.
Thank you for using the Eisvana Wiki Page Creator! I hope it helps you create amazing pages for your No Man's Sky discoveries. If you have any feedback or suggestions for how the project can be improved, please let me know.