Player: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
No edit summary
No edit summary
Line 108: Line 108:
A message will be shown to the player describing the success or failure
A message will be shown to the player describing the success or failure


=== causeDamage ===
=== boolean dropItemForceSilent(entity entityToDrop) ===
Will silently drop the target item to ground -- regardless of cursed status.


=== getPlayerAttackDamagePhysical ===
=== void causeDamage(int damageAmount) ===
Cause damage to player of damageAmount


=== getPlayerAttackDamageLust ===
=== int getPlayerAttackDamagePhysical() ===
How much damage the player causes to monsters.  You probably don't need to access this -- usually let existing monster mod system handle combat.


=== getAcceptance ===
=== int getPlayerAttackDamageLust() ===
How much damage the player causes to monsters.  You probably don't need to access this -- usually let existing monster mod system handle combat.


=== setAcceptance ===
=== int getAcceptance() ===
Returns player's current acceptance level


=== incAcceptance ===
=== void setAcceptance(int newAcceptanceLevel) ===
Sets player's acceptance level to something new.


=== decAcceptance ===
=== void incAcceptance(int amount) ===
Increases player's acceptance by amount


=== isCovered ===
=== void decAcceptance(int amount) ===
Decreases player's acceptance by amount


=== getExposure ===
=== boolean isCovered(string clothingSlot) ===
Checks to see if the target clothing slot is covered with an article of clothing that will conceal TFs


=== getTotallyHuman ===
Some clothing does NOT conceal TFs (like Lizland bindings)


=== setTotallyHuman ===
=== int getExposure() ===
How exposed is player?
* < 30 totally safe
* 30 ~ 100 suspicious, will catch looks but is still (currently) safe in public overworld areas
* > 100 guaranteed exposure


=== setToStartingCharacteristics ===
=== boolean getTotallyHuman() ===
Is player 100% human?


=== setMaleSilent ===
=== void setTotallyHuman() ===
Become human - no text output to screen


=== tfMakeVagina ===
=== void setToStartingCharacteristics() ===
Silently reset player to their starting characteristics, including human and body type


=== tfVaginaSmaller ===
=== void setMaleSilent() ===
Player silently becomes male


=== tfVaginaLarger ===
=== boolean tfMakeVagina() ===
Attempts TF.  Returns true if player is given a vagina, otherwise player already has one


=== setVaginaSize ===
=== boolean tfVaginaSmaller() ===
Attempts TF.  Returns true if player's vagina size decreases, otherwise already has no vagina.


=== monsterVagina ===
=== boolean tfVaginaLarger() ===
Attempts TF.  Returns true if player's vagina size increases, otherwise already has max size vagina.


=== resetLust ===
=== void setVaginaSize(int vaginaSize) ===
Silently set vagina to target size


=== resetLustSilent ===
=== boolean getMonsterVagina() ===
Does player have a monstrously sized vagina?  (With a monster vagina, players can't climax without receiving monster-sized dick)


=== resetLustButNotMilk ===
=== void resetLust() ===
Reset lust, display message


=== getLust ===
=== void resetLustSilent() ===
Reset lust, don't display message


=== incLust ===
=== void resetLustButNotMilk() ===
Reset lust, display message


=== decLust ===
=== int getLust() ===
Returns player lust level
 
=== void incLust(int amount) ===
Increases player lust by amount
 
=== void decLust(int amount) ===
Decreases player lust by amount


=== getSomethingToPlayWith ===
=== getSomethingToPlayWith ===

Revision as of 04:23, 29 December 2017

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

boolean dropItemForceSilent(entity entityToDrop)

Will silently drop the target item to ground -- regardless of cursed status.

void causeDamage(int damageAmount)

Cause damage to player of damageAmount

int getPlayerAttackDamagePhysical()

How much damage the player causes to monsters. You probably don't need to access this -- usually let existing monster mod system handle combat.

int getPlayerAttackDamageLust()

How much damage the player causes to monsters. You probably don't need to access this -- usually let existing monster mod system handle combat.

int getAcceptance()

Returns player's current acceptance level

void setAcceptance(int newAcceptanceLevel)

Sets player's acceptance level to something new.

void incAcceptance(int amount)

Increases player's acceptance by amount

void decAcceptance(int amount)

Decreases player's acceptance by amount

boolean isCovered(string clothingSlot)

Checks to see if the target clothing slot is covered with an article of clothing that will conceal TFs

Some clothing does NOT conceal TFs (like Lizland bindings)

int getExposure()

How exposed is player?

  • < 30 totally safe
  • 30 ~ 100 suspicious, will catch looks but is still (currently) safe in public overworld areas
  • > 100 guaranteed exposure

boolean getTotallyHuman()

Is player 100% human?

void setTotallyHuman()

Become human - no text output to screen

void setToStartingCharacteristics()

Silently reset player to their starting characteristics, including human and body type

void setMaleSilent()

Player silently becomes male

boolean tfMakeVagina()

Attempts TF. Returns true if player is given a vagina, otherwise player already has one

boolean tfVaginaSmaller()

Attempts TF. Returns true if player's vagina size decreases, otherwise already has no vagina.

boolean tfVaginaLarger()

Attempts TF. Returns true if player's vagina size increases, otherwise already has max size vagina.

void setVaginaSize(int vaginaSize)

Silently set vagina to target size

boolean getMonsterVagina()

Does player have a monstrously sized vagina? (With a monster vagina, players can't climax without receiving monster-sized dick)

void resetLust()

Reset lust, display message

void resetLustSilent()

Reset lust, don't display message

void resetLustButNotMilk()

Reset lust, display message

int getLust()

Returns player lust level

void incLust(int amount)

Increases player lust by amount

void decLust(int amount)

Decreases player lust by amount

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