Skip to main content
Version: 1.2.0

Functions

Remarks

MelodicAlbuild, 4/4/2021

Class Variables

TypeNameDefault
BooleanEnabledfalse

Functions

Functions


Remarks

MelodicAlbuild, 4/8/2021

Arguments

TypeNameDescription
SDKsdkThe SDK you initialized at the start of the sdk. VolcanoidsSDK.SDK

Return Type

Void

Description

This function allows for the usage of further Functions in the SDK. Without using this function all other functions will throw errors. Making Copies of this Class is not recommended.


CreateModule


Remarks

MelodicAlbuild, 3/30/2021

Arguments

TypeNameDescription
StringcodenameThe Name of the Module with NO SPACES.
StringvariantnameThe Name of the Variant, Such as Tier1 or Tier2.
IntegermaxstackThe Maximum you can have of this item in a stack.
StringbaseitemThe Item to Base this object off, Pick a Module with the same Variant.
LocalizedStringnameThe Spaced Name of your Module.
LocalizedStringdescThe Description of your Module.
String or GUIDguidstringThe GUID in String or GUID Form for your module.
StringcategorynameThe Category in which your Module is in.
StringfactorytypenameThe Factory Type that is Module is a Part of.
StringiconPathFull pathname of the icon file.
String ArraycategoryListArray of Strings for Categories for the Module Item to be placed in.
BooleanloopingIf you are creating a new FactoryType, This is true for the first Module in that category, False at all other times.

Return Type

Void

Description

This function makes a module that you can attach to the drillship immediately, however keep in mind the model for the module is the model of the baseitem variable.


CreateItem


Remarks

MelodicAlbuild, 3/30/2021

Arguments

TypeNameDescription
StringcodenameThe Name of the Item with NO SPACES.
IntegermaxstackThe Maximum you can have of this item in a stack.
LocalizedStringnameThe Spaced Name of your Module.
LocalizedStringdescThe Description of your Module.
String or GUIDguidstringThe GUID in String or GUID Form for your module.
StringcategorynameThe Category in which your Module is in.
StringiconPathFull pathname of the icon file.

Return Type

Void

Description

This function is to create items. Note that if you want to put them in their own categories you need to use the category functions.


CreateDeposit


Remarks

MelodicAlbuild, 3/30/2021

Arguments

TypeNameDescription
BooleanUndergroundIf this is an Underground Deposit.
IntegerPercentageToReplaceThe percentage of active deposits to replace.
StringoutputnameThe Item to Output when Mined.
StringbaseitemThe Item to Base this object off, Pick a Module with the same Variant.
FloatminyieldThe Minimum Amount the Deposit can give.
FloatmaxyieldThe Maximum Amount the Deposit can give.
String or GUIDItemToReplaceThe Deposit Item to Replace.

Return Type

Void

Description

This function allows you to change deposits to another item. Such as mining copper bolts from copper ore deposits. Currently there is no ability to create more, only replace.


CreateRecipe


Remarks

MelodicAlbuild, 3/30/2021

Arguments

TypeNameDescription
StringrecipeNameName of the recipe.
Input ArrayinputsThe inputs of the Recipe. Uses VolcanoidsFramework.lib.classes.Input.
Output ArrayoutputsThe outputs of the Recipe. Uses VolcanoidsFramework.lib.classes.Output. Note there can only be 1 output as of this moment.
StringbaseRecipeThe base Recipe.
String or GUIDitemIdGUID for the Item.
String ArrayrequiredItemsThe required items (Schematics) to create this Recipe.
StringrecipeCategoryCategory the recipe belongs to.

Return Type

Void

Description

This function makes a recipe for an Item that does not already have a recipe. Note: This function does not modify existing recipes, Check out Our Modding Guide for an explanation on how to modify recipes.


CreateStation


Remarks

MelodicAlbuild, 4/4/2021

Arguments

TypeNameDescription
StringfactoryTypeNameName of the factory type for this Station to use.
StringcodenameThe Name of the Station with NO SPACES.
IntegermaxstackThe Maximum you can have of this item in a stack.
LocalizedStringnameThe Spaced Name of your Module.
LocalizedStringdescThe Description of your Module.
String or GUIDguidstringThe GUID in String or GUID Form for your module.
StringiconPathFull pathname of the icon file.
StringvariantnameThe Name of the Variant, Such as Tier1 or Tier2.
String ArraycategoryListArray of Strings for Categories for the Station Item to be placed in.

Return Type

Void

Description

This function makes a station and it's item that is immediately placeable in the world.


CreateCategory


Remarks

MelodicAlbuild, 3/30/2021

Arguments

TypeNameDescription
StringcategoryNameThe Category Name
String or GUIDcategoryIdThe String ID of your Category.
CategoryTypescategoryTypeThe Type of Category you are Creating, Found in VolcanoidsSDK.lib.classes.Enums

Return Type

Void

Description

This function makes a category for use in Modules, Items, Recipes, or Stations.