This is the general holding class for a sts2 floor.
Public fields
actThe act this floor appeared in.
mapThe STS2Map object this floor belongs to.
floor_typeThe type of floor that this is.
player_statsThe stats of the player/s at the end of this floor. A list of STS2PlayerMidrun objects.
turns_takenThe number of turns this room took.
model_idThe model id of the encounter (or
NULLif rest site/treasure room).monstersThe monsters present on the floor.
roomsA list of the unparsed room data.
Methods
Method new()
Create a new floor object from floor data.
Usage
STS2Floor$new(floordata, act = 0, map = NULL)