Player

From SkyCorp Global
Revision as of 04:11, 29 December 2017 by SkyCorp (talk | contribs)

Contents

Public Methods

static Player getInstance()

Get the instance of the Player class.

string getDickSizeString()

Get string representation of player's dick size

void tfDickLarger()

Increase the size of player's dick. This outputs text to screen.

number getHeight()

Player's height, in inches

number getDickSize()

Player's dick size, in inches. 0 = no dick

deleteItem

getName

isInInventory

number getVaginaSize()

In inches. 0 = no vagina

string getVaginaSizeString()

A string representation of the player's vagina, ie: "large slit"

If no vagina (size 0), returns ""

Sizes 7+ are monstrous vaginas -- can check this via getMonsterVagina()

number getWeight()

Returns weight where 0 thin-100 obese.

Will get the larger of either players 'overweight' value (fat) or their pregnancy weight value

string getWeightString()

ie, "lean", "heavy", "obese", etc

This ONLY refers to fat.

int getBreastRows()

Number of rows.  1 is normal for male and female

int getBreastSize()

0 = none, 1 = AA, 2 = A, 3= B, 4=C, 5=D, ...

string getBreastSizeString

String representation of player's breast size, ie "large D-cup hooters"

No breasts will return ""

void tfBreastsLarger(boolean silent)

Increases size of breasts.

silent: If true, does not output TF text to screen.

void tfBreastsSmaller()

Decreases size of breasts.  Outputs TF text to screen.

void tfDickLarger()

Increases size of dick (max size via this function is 13).  Outputs TF text to screen.  Player's lust increases by 20.

void tfDickSmaller()

Decreases size of dick (down to no dick).  Outputs TF text to screen.

void setDickSize (int dickSize)

Sets dick size (in inches), with no text output to screen

location getLocation()

Returns players current location

boolean pickupItem(entity entityToPickUp)

This is the main function to call to try adding an item to the player's inventory.

Attempts adding a particular item to the player's inventory.  Will fail if inventory is full or there is already a clothing item in the particular slot.  A message will be shown to the player describing the success or failure

Returns if item was picked up

void forcePickupItemSilent(entity entityToPickUp)

Forces an item into inventory -- ignores inventory size limit, pickup restrictions, etc.

void pickupItemOrDropToGround(entity entityToPickup)

Attempts to add item to player inventory. If it can't be added, then the item drops to ground at player's feet

int getCurrentInventorySize()

How many items player is carrying -- does NOT include clothing/worn items.

void dropAllInventoryToMapRoom(string mapName, int mapRoomID)

Drops ALL items in the player's inventory into the target map room ID

boolean isInInventoryString(entity entityToCheck)

Is the target object in player inventory currently?

entity getInventoryItemByString(string entityName)

Return the named item (or null, if item name is not in inventory)

void deleteInventoryString(string entityName)

Delete by item's title in inventory

boolean dropItem(entity entityToDrop)

This is the main function to call to try dropping an item out of the player's inventory.

Will fail if item is nonexistent, or item's check function fails (ie: cursed).

A message will be shown to the player describing the success or failure

causeDamage

getPlayerAttackDamagePhysical

getPlayerAttackDamageLust

getAcceptance

setAcceptance

incAcceptance

decAcceptance

isCovered

getExposure

getTotallyHuman

setTotallyHuman

setToStartingCharacteristics

setMaleSilent

tfMakeVagina

tfVaginaSmaller

tfVaginaLarger

setVaginaSize

monsterVagina

resetLust

resetLustSilent

resetLustButNotMilk

getLust

incLust

decLust

getSomethingToPlayWith

hasArms

hasLegs

hasUselessHands

incOverweight

decOverweight

getOverweight

incBellyPreg

setBellyPreg

getCombinedBellySize

getBellyDescription

getBellyPreg

getHP

getHPMax

heal

getLevel

getCash

addCash

removeCash

getHeightString

tfHeightTaller

tfHeightShorter

tfHeightTowards

incMilkProduction

decMilkProduction

getMilkProduction

getUdderDescription

getUdderMilk

hasUdder

createUdder

removeUdder

resetMilkSilent

resetBreastMilkSilent

resetUdderMilkSilent

getBreastMilk

isAbleToExercise

attemptExercise

resetExercise

isAbleToWatchTV

setIsAbleToWatchTV

setBreastRows

tfIncBreastRows

tfDecBreastRows

getInHeat

getIsAllFours

checkPlayerMobile

triggerInseminationChance

getWristsBound

hasAlternateVoice

getAlternateVocal

Example Code

Dick Size Increaser