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


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:

getActiveBodyPart(girlID)

Returns the body part that the player has chosen for that girl

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
GirlManager.bodyPart

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

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:

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

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:

setActiveBodyPart(girlID, bodyPart)

Sets the body part for a girl

Parameters:
Name Type Description
girlID string
bodyPart GirlManager.bodyPart
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: