/tg/ Station 13 - Modules - TypesVar Details - Proc Details

family signup package

Vars

gang_to_useThe typepath of the gang antagonist datum that the person who uses the package should have added to them -- remember that the distinction between e.g. Ballas and Grove Street is on the antag datum level, not the team datum level.
handlerReferences the active families gamemode handler (if one exists), for adding new family members to.
team_to_useThe team datum that the person who uses this package should be added to.

Procs

add_to_gangAdds the user to the family that this package corresponds to, dispenses the free_clothes of that family, and adds them to the handler if it exists.
attempt_join_gangChecks if the user is trying to use the package of the family they are in, and if not, adds them to the family, with some differing processing depending on whether the user is already a family member.

Var Details

gang_to_use

The typepath of the gang antagonist datum that the person who uses the package should have added to them -- remember that the distinction between e.g. Ballas and Grove Street is on the antag datum level, not the team datum level.

handler

References the active families gamemode handler (if one exists), for adding new family members to.

team_to_use

The team datum that the person who uses this package should be added to.

Proc Details

add_to_gang

Adds the user to the family that this package corresponds to, dispenses the free_clothes of that family, and adds them to the handler if it exists.

attempt_join_gang

Checks if the user is trying to use the package of the family they are in, and if not, adds them to the family, with some differing processing depending on whether the user is already a family member.