Documentation

BarDrink
in package

Provides details about bar drinks

Table of Contents

Constants

BASIC_DRINKS  = ['Big Momma Mojito', 'Cosmic Crush', 'Federal Berry Fizz', 'Flux Punch', 'Holy Hand Squeezed Gimlet', 'Little Julep Torpedo', 'Medium Cargo Cherry Chiller', 'Pod Giver', 'Stellar Side Car', 'Smuggler\'s Salty Swizzler']
RACIAL_DRINKS  = [RACE_ALSKANT => 'Alskant Space Shandy', RACE_CREONTI => 'Creonti "Big Daiquiri"', RACE_HUMAN => 'Human Bourbon Bruiser', RACE_IKTHORNE => 'Ik\'Thorne Buttery Burst', RACE_SALVENE => 'Salvene Swamp Soda', RACE_THEVIAN => 'Thevian Vodka Vortex', RACE_WQHUMAN => 'West Quadrant Colada', RACE_NIJARIN => 'Nijarin Ion Martini']
SPECIAL_DRINKS  = ['Spooky Midnight Special' => 'Suddenly the secrets of the universe become manifestly clear and you are at peace.', 'Azoolian Sunrise Special' => 'At the bottom of the glass, you see a reflection of the best trader in the universe, and it is you.']

Methods

getAll()  : array<string|int, string>
Returns the entire list of bar drinks.
getCommon()  : array<string|int, string>
Returns the bar drink list with special drinks removed.
getRacial()  : array<string|int, string>
Returns the list of racial bar drinks.
getRacialDrink()  : string
Returns the name of the drink associated with the given race.
getSpecial()  : array<string|int, string>
Returns the list of special bar drinks.
getSpecialMessage()  : string
Returns the message displayed to the player when they buy a special bar drink with the given name.
isSpecial()  : bool

Constants

BASIC_DRINKS

private mixed BASIC_DRINKS = ['Big Momma Mojito', 'Cosmic Crush', 'Federal Berry Fizz', 'Flux Punch', 'Holy Hand Squeezed Gimlet', 'Little Julep Torpedo', 'Medium Cargo Cherry Chiller', 'Pod Giver', 'Stellar Side Car', 'Smuggler\'s Salty Swizzler']

RACIAL_DRINKS

private mixed RACIAL_DRINKS = [RACE_ALSKANT => 'Alskant Space Shandy', RACE_CREONTI => 'Creonti "Big Daiquiri"', RACE_HUMAN => 'Human Bourbon Bruiser', RACE_IKTHORNE => 'Ik\'Thorne Buttery Burst', RACE_SALVENE => 'Salvene Swamp Soda', RACE_THEVIAN => 'Thevian Vodka Vortex', RACE_WQHUMAN => 'West Quadrant Colada', RACE_NIJARIN => 'Nijarin Ion Martini']

SPECIAL_DRINKS

private mixed SPECIAL_DRINKS = ['Spooky Midnight Special' => 'Suddenly the secrets of the universe become manifestly clear and you are at peace.', 'Azoolian Sunrise Special' => 'At the bottom of the glass, you see a reflection of the best trader in the universe, and it is you.']

Methods

getAll()

Returns the entire list of bar drinks.

public static getAll() : array<string|int, string>
Return values
array<string|int, string>

getCommon()

Returns the bar drink list with special drinks removed.

public static getCommon() : array<string|int, string>
Return values
array<string|int, string>

getRacial()

Returns the list of racial bar drinks.

public static getRacial() : array<string|int, string>
Return values
array<string|int, string>

getRacialDrink()

Returns the name of the drink associated with the given race.

public static getRacialDrink(int $raceID) : string
Parameters
$raceID : int
Return values
string

getSpecial()

Returns the list of special bar drinks.

public static getSpecial() : array<string|int, string>
Return values
array<string|int, string>

getSpecialMessage()

Returns the message displayed to the player when they buy a special bar drink with the given name.

public static getSpecialMessage(string $drink) : string
Parameters
$drink : string
Return values
string

isSpecial()

public static isSpecial(string $drink) : bool
Parameters
$drink : string
Return values
bool

        
On this page

Search results