Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/action_group

Vars

actionsThe actions we're managing
column_maxMax amount of buttons we can have per row Indexes at 1
landingOur landing screen object
locationThe screen location we go by
max_rowsHow many rows of actions we can have at max before we just stop hiding Indexes at 1
north_offsetThe initial vertical offset of our action buttons
ownerThe hud we're owned by
pixel_north_offsetThe pixel vertical offset of our action buttons
row_offsetHow far "ahead" of the first row we start. Lets us "scroll" our rows Indexes at 1

Procs

ButtonNumberToScreenCoordsAccepts a number represeting our position in the group, indexes at 0 to make the math nicer
clear_landingClears any landing objects we may currently have
generate_landingGenerates a landing object that can be dropped on to join this group
sizeReturns the amount of objects we're storing at the moment

Var Details

actions

The actions we're managing

column_max

Max amount of buttons we can have per row Indexes at 1

landing

Our landing screen object

location

The screen location we go by

max_rows

How many rows of actions we can have at max before we just stop hiding Indexes at 1

north_offset

The initial vertical offset of our action buttons

owner

The hud we're owned by

pixel_north_offset

The pixel vertical offset of our action buttons

row_offset

How far "ahead" of the first row we start. Lets us "scroll" our rows Indexes at 1

Proc Details

ButtonNumberToScreenCoords

Accepts a number represeting our position in the group, indexes at 0 to make the math nicer

clear_landing

Clears any landing objects we may currently have

generate_landing

Generates a landing object that can be dropped on to join this group

size

Returns the amount of objects we're storing at the moment