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


addLayer(girlID, girlLayer)

Adds a layer to the girl's body. Automatically creates a GirlManager.girlLayer

Parameters:
Name Type Description
girlID string
girlLayer GirlManager.girllayer
Source:

addUltimate(girl, amount)

Adds ultimate meter to the girl

Parameters:
Name Type Description
girl string
amount number
Source:

addUltimate(girl, amount)

Adds ultimate meter to the girl

Parameters:
Name Type Description
girl string
amount number
Source:

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 [, overMax])

Adds the amount to the girl's current stamina

Parameters:
Name Type Argument Default Description
girl
amount
overMax <optional>
true

If the added stamina should go over her maximum stamina 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 [, input])

Parameters:
Name Type Argument Description
context Phaser.Scene
girlID string
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

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:

getNaked(girlID)

Returns if the girl is naked or not

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

getRecovery(girlID)

Returns the girl's total recovery each turn of a battle

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

getStamina( [girl])

Returns the stamina of a girl

Parameters:
Name Type Argument Description
girl String <optional>
Source:
Returns:
Type
number

<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

getUnlocked( [hasStamina])

Returns an array of girls that are unlocked

Parameters:
Name Type Argument Description
hasStamina boolean <optional>

Only get girls that have stamina

Source:
Returns:
Type
Array

getUnlockedBodyParts()

Returns an array of body parts that are unlocked

Source:
Returns:
Type
Array.<GirlManager.bodyPart>

isUnlocked(girlID)

Checks if a girl is unlocked

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

loseStamina(girl, amount)

Subtracts the amount from the girl's current stamina

Parameters:
Name Type Description
girl
amount
Source:

loseUltimate(girl, amount)

Subtracts ultimate meter to the girl

Parameters:
Name Type Description
girl string
amount number
Source:

loseUltimate(girl, amount)

Subtracts ultimate meter to the girl

Parameters:
Name Type Description
girl string
amount number
Source:

removeAllLayers(girlID)

Removes all layers on girl's body

Parameters:
Name Type Description
girlID string
Source:

removeLayer(girlID, layerID)

Removes layer from girl's body

Parameters:
Name Type Description
girlID string
layerID string
Source:

setBody(girlID, key)

Changes the girl's body texture

Parameters:
Name Type Description
girlID string
key string
Source:

setFace(girlID, key)

Changes the girl's face texture

Parameters:
Name Type Description
girlID string
key string
Source:

setNaked(girlID, boolean)

Sets the girl as naked or not
Clothes stats are not affected, the girl is technically still wearing the clothes

Parameters:
Name Type Description
girlID string | Array.<string>

ID or array of IDs to set

boolean boolean
Source:

setStamina(girlID, amount)

Sets the stamina for a girl, ignores all rules

Parameters:
Name Type Description
girlID string
amount number
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, force)

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

Parameters:
Name Type Description
girl string
force boolean

Will raise the house capacity if it is maxed

Source:
Returns:
Type
boolean

Type Definitions


bodyPart

Body parts throughout the whole game use these keys

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

girlLayer

Properties:
Name Type Description
girl string

ID of girl this layer is for

beforeClothes boolean

If this layer should be added before the girl's clothes

layerID string

ID of layer to be added. Ex: 'Queen-Layer-Bukkake' layer ID is 'Bukkake'

Source: