Class: GirlManager

GirlManager


new GirlManager()

The GirlManager class lets you check and change anything related to the girls.

Source:

Members


currentGirl :string

currentGirl is the currently selected girl. It's the girl displayed on the HUD.

Type:
  • string
Source:

Methods


chooseGirl()

Opens up a menu where you choose a girl. Returns the girl's id or false if the user did not select any girl

Source:
Returns:
Type
Promise.<string>

equipClothes(clothID)

Equips clothes based on the clothes ID

Parameters:
Name Type Description
clothID string
Source:

fuckGuys(girl, amount)

Increases the amount of guys a girl has fucked by the amount
The amount of guys a girl has fucked determines the stamina gain, so this is useful if you create a gang bang quest and want to reward the player with extra points

Parameters:
Name Type Description
girl string
amount number
Source:

gainExp(girl, type, exp)

Adds the exp to a girl's body part

Parameters:
Name Type Description
girl string
type GirlManager.bodyPart
exp number
Source:

gainStamina(girl, amount)

Adds the amount to the girl's current stamina

Parameters:
Name Type Description
girl
amount
Source:

getGirl(girlID)

Returns the gameData object for the girl

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
object

<private> getGirlBonus(girl)

Returns the bonus object for the girl

Parameters:
Name Type Description
girl String
Source:
Returns:
Type
object

getGirlClothes(girlID)

Returns the girl's clothes

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
string

getGirlContainer(context, girlID [, layers] [, input])

Parameters:
Name Type Argument Description
context Phaser.Scene
girlID string
layers object <optional>

If you want to change any of the layers manually

Properties
Name Type Argument Description
body string <optional>
face string <optional>
clothes string <optional>
additional array <optional>

An optional array of textures that will be stacked on top of the finished image. This is for anything extra like cum

input boolean <optional>

If true, clicking the container will display the girl's image

Source:
Returns:

Phaser.GameObjects.Container


getGirlExp(girl, body)

Returns the exp of a girl

Parameters:
Name Type Description
girl String
body GirlManager.bodyPart
Source:
Returns:
Type
number

getGirlLevel(girl, body [, bonus])

Returns the girl's body part level

Parameters:
Name Type Argument Default Description
girl String
body GirlManager.bodyPart
bonus boolean <optional>
true

Bonus is the extra levels you get from clothes/items/etc. Set this to false if you just want the raw level of the girl

Source:
Returns:
Type
number

getGirlPassive(girl)

Returns the current passive function of a girl

Parameters:
Name Type Description
girl string
Source:
Returns:
Type
GirlManager.passiveCallback

getGirls()

Returns an array with the ids of the girls

Source:
Returns:
Type
array.<string>

getMaxStamina(girl)

Returns the limit of stamina a girl can have

Parameters:
Name Type Description
girl String
Source:

<private> getStaminaGain(girl)

Parameters:
Name Type Description
girl
Source:
Returns:
Type
number

getTotalLevel(girl, bonus)

Returns the total level of the girl. All of the body part levels combined

Parameters:
Name Type Description
girl String
bonus boolean

Bonus is the extra levels you get from clothes/items/etc. Set this to false if you just want the raw level of the girl

Source:

getTotalStamina()

Returns the total stamina for all the girls

Source:
Returns:
Type
number

girlPassive(girl, client, bodyPart)

Calls the girl's passive function

Parameters:
Name Type Description
girl string
client string
bodyPart GirlManager.bodyPart
Source:

loseStamina(girl, amount)

Subtracts the amount from the girl's current stamina

Parameters:
Name Type Description
girl
amount
Source:

setGirlPassive(girl, callback)

Overwrites the current passive function for the girl with a new function

Parameters:
Name Type Description
girl string
callback GirlManager.passiveCallback
Source:

splitExp(girls, totalExp, bodyParts)

Splits the exp amongst the girls in the array

Parameters:
Name Type Description
girls Array.<string>

Array of girl ids

totalExp number

This number will be divided by the amount of girls and then by the amount of body parts

bodyParts Array.<GirlManager.bodyPart>

Array of body parts

Source:

unlockGirl(girl)

Unlocks a girl. Checks to see if there is available space in the house

Parameters:
Name Type Description
girl string
Source:
Returns:
Type
boolean

Type Definitions


bodyPart

Body parts throughout the whole game use these keys

Type:
  • 'Hands' | 'Feet' | 'Throat' | 'Tits' | 'Pussy' | 'Anal'
Source:

passiveCallback(girl, client, bodyPart)

Function called after fucking a client

Parameters:
Name Type Description
girl string
client object
bodyPart GirlManager.bodyPart
Source: