-
Notifications
You must be signed in to change notification settings - Fork 3
islandComposite
-
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.
-
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.
-
table
get(string islandComposite_id)
Returns the islandComposite object for an existing islandComposite with this islandComposite_id
.
Vanilla IslandComposite id |
---|
"archive" |
"rst" |
"pinnacle" |
"detritus" |
string
The unique id for this islandComposite.
string
The id for the bossList associated with this islandComposite.
See bossList for details on how to create a new bossList entry.
string
The id for the ceo associated with this islandComposite.
See ceo for details on how to create a new ceo entry.
string
The id for the corporation associated with this islandComposite.
See corporation for details on how to create a new corporation entry.
string
The id for the enemyList associated with this islandComposite.
See enemyList for details on how to create a new enemyList entry.
string
The id for the island associated with this islandComposite.
See island for details on how to create a new island entry.
string
The id for the missionList associated with this islandComposite.
See missionList for details on how to create a new missionList entry.
string
The id for the structureList associated with this islandComposite.
See structureList for details on how to create a new structureList entry.
string
The id for the tileset associated with this islandComposite.
See tileset for details on how to create a new tileset entry.