Skip to content

islandComposite

Lemonymous edited this page Nov 20, 2022 · 3 revisions

Table of Contents

 

easyEdit.islandComposite

  This module can be used to add new islandComposites to the game, or fetch existing ones.

An islandComposite is the composite of all the parts that makes up an island, its graphics, corporation, ceo, tileset, enemies, bosses, missions and structures.

 

add

  • table   add(string islandComposite_id, string base_islandComposite_id)

  To add a new islandComposite, start by calling this function. Use a unique islandComposite_id for your islandComposite to avoid potential collisions with islandComposites from other mods.

  You can create a blank islandComposite by leaving base_islandComposite_id empty, or you can use the id of an existing islandComposite to get a better base to start from. Anything you change after that, will only affect your own islandComposite.

 

Example - blank islandComposite:

local islandComposite = easyEdit.islandComposite:add("islandComposite_example")

Example - islandComposite based on Archive island:

local islandComposite = easyEdit.islandComposite:add("islandComposite_example", "archive")

This will return a islandComposite object, which you can build on using table fields found on this page.

 

get

  • table   get(string islandComposite_id)

  Returns the islandComposite object for an existing islandComposite with this islandComposite_id.

Vanilla IslandComposite id
"archive"
"rst"
"pinnacle"
"detritus"

 

islandComposite

fields

_id

  • string

  The unique id for this islandComposite.

 

bossList

  • string

  The id for the bossList associated with this islandComposite.

See bossList for details on how to create a new bossList entry.

 

ceo

  • string

  The id for the ceo associated with this islandComposite.

See ceo for details on how to create a new ceo entry.

 

corporation

  • string

  The id for the corporation associated with this islandComposite.

See corporation for details on how to create a new corporation entry.

 

enemyList

  • string

  The id for the enemyList associated with this islandComposite.

See enemyList for details on how to create a new enemyList entry.

 

island

  • string

  The id for the island associated with this islandComposite.

See island for details on how to create a new island entry.

 

missionList

  • string

  The id for the missionList associated with this islandComposite.

See missionList for details on how to create a new missionList entry.

 

structureList

  • string

  The id for the structureList associated with this islandComposite.

See structureList for details on how to create a new structureList entry.

 

tileset

  • string

  The id for the tileset associated with this islandComposite.

See tileset for details on how to create a new tileset entry.

 

Clone this wiki locally