branch

This function returns the branch that the player is in.

Syntax:

local br = you.branch(_G)

For example, if the player is in the Vaults, this function would return “Vaults”.

Note that in the initial compilation phase before the game starts, this function always returns “D”.

Logged in as: Anonymous (VIEWER)
dcss/help/maps/lua/modules/you/branch.txt · Last modified: 2012-07-21 17:22 by infiniplex
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki