Remote Interface

Interface name:
SeaBlock

get_unlocks
Returns table of string, table of string. { [item name] = {tech name 1, tech name 2}, … }

get_starting_items
Returns table of string, integer. { [item name] = quantity, … }

set_unlock

 * item: string
 * techs: table of string

set_starting_item

 * item: string
 * quantity: integer

set_starting_items

 * items: table of string, integer. { [item name] = quantity, … }

Set methods can be used to remove by passing nil as second parameter. Passing nil to set_starting_items will prevent the rock chest from being placed.

Other
Mods modifying these should also modify table data.script_enabled. This table is populated by Sea Block in data stage. Read by YAFC, potentially other mods when calculating which recipes are accessible.