Class: ClientManager

ClientManager


new ClientManager()

Source:

Methods


client(clientID, clientLevel [, wantsGirl] [, wantsBodyPart])

Constructor for creating clients.

Parameters:
Name Type Argument Description
clientID string
clientLevel number
wantsGirl string <optional>
wantsBodyPart GirlManager.bodyPart <optional>
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

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:

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:

Type Definitions


client

Type:
  • object
Properties:
Name Type Description
ID string

Client ID

Name string

Client's name

Cum number

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

Level number

client level

Girl string

The girl the client wants or "Any"

BodyPart string

The body part the client wants or "Any"

Status array

Client's status effects

Source:

clientObj

Type:
  • object
Properties:
Name Type Description
Tint number
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

Difficulty number

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

getAttack function

Function called to see what attack should come next from this client, utilize the parameters to make battles interesting. return 'default' for a regular 1 damage, any body part attack

Source: