Class: ClientManager

ClientManager


new ClientManager()

Source:

Methods


client(clientID, clientLevel)

Constructor for creating clients.

Parameters:
Name Type Description
clientID string
clientLevel number
Source:
Returns:
Type
ClientManager.client
Example
let client = new GAME.client.client('EasthollowResident', 5);
let client = new GAME.client.client('Leon', 10, 'Queen', 'Pussy');

getClientExp(clientID)

Returns the amount of exp a client will give

Parameters:
Name Type Description
clientID string
Source:
Returns:
Type
number

getClientGold(clientID [, clientLevel])

Returns the amount of gold a client will give

Parameters:
Name Type Argument Description
clientID string
clientLevel number <optional>

If you want to scale the gold based on the clients level

Source:
Returns:
Type
number

getClientObj(clientID)

Returns the object list of all clients

Parameters:
Name Type Description
clientID
Source:
Returns:
Type
Object

getClientPack()

Generates an array of clients that could have been summoned with the current stats, used for updating the clients after going to sleep

Source:

getGoldMultipler()

Returns the gold multiplier which is used to increase the amount of gold a client gives based on their level

Source:
Returns:
Type
number

getUnlockedBrothelBosses()

Returns an array of brothel bosses that could come today. Only gives bosses that are unlocked and whose reputation is lower than the brothel's

Source:
Returns:
Type
Array.<string>

getUnlockedClients()

Returns an array of unlocked clients that aren't bosses

Source:
Returns:
Type
Array.<string>

guyDrops(clientID)

Parameters:
Name Type Description
clientID string
Source:

setGoldMultipler(amount)

Sets the gold multiplier

Parameters:
Name Type Description
amount number
Source:

Type Definitions


client

Type:
  • object
Properties:
Name Type Description
ID string

Client ID

Name string

Client's name

Combo Array.<BattleManager.comboObj>

Current battle combo for this client

Cum number

How close a client is to cumming (0-100)

Level number

client level

Status array

Client's status effects

Source:

clientObj

Type:
  • object
Properties:
Name Type Description
Name string

Full name of client

ID string

ID of client

Region string

Region of client

EXP number

Experience given each time client is fucked

Gold number

Gold given if client cums in a battle

BaseLevel number

Level used for determining min and max gold/exp

Difficulty number

How easy it is to make this client cum, higher is harder, 6 is default

BrothelBoss boolean

Is this client a stronger "boss" that should appear by chance?

Source: