Buildings

The buildings container object is a list of individual battle_building objects. It can be retrieved by calling battle:buildings.

Loaded in Battle loaded in battle
Back to top

Functionality

buildings:count()

Returns the number of buildings in the list.

Returns:

  1. number count

buildings:item(number index)

Returns a building from the list by its numeric index.

Parameters:

1

number

index

Returns:

  1. battle_building building
Last updated 07/02/21 06:39:15