Class: ResourceDropsite

ResourceDropsite()

new ResourceDropsite()

Source:

Methods

AcceptsType()

Returns whether this dropsite accepts the given generic type of resource.
Source:

GetTypes()

Returns the list of resource types accepted by this dropsite, as defined by it being referred to in the template and the resource being enabled.
Source:

ReceiveResources(resources, entity) → {Object}

Parameters:
Name Type Description
resources Object The resources to drop here in the form of { "resource": amount }.
entity number The entity that tries to drop their resources here.
Source:
Returns:
- Which resources could be dropped off here.
Type
Object