Player: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
(WIP)
No edit summary
Line 10: Line 10:
Increase the size of player's dick.  This outputs text to screen.
Increase the size of player's dick.  This outputs text to screen.


getHeight
=== number getHeight() ===
Player's height, in inches


getDickSize
=== number getDickSize() ===
Player's dick size, in inches.  0 = no dick


deleteItem
=== deleteItem ===


getName
=== getName ===


isInInventory
=== isInInventory ===


getVaginaSize
=== number getVaginaSize() ===
In inches.  0 = no vagina


getVaginaSizeString
=== string getVaginaSizeString() ===
A string representation of the player's vagina, ie: "large slit"


getWeight
If no vagina (size 0), returns ""


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


getBreastRows
=== number getWeight() ===
Returns weight where 0 thin-100 obese. 


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


getBreastSizeString
=== string getWeightString() ===
ie, "lean", "heavy", "obese", etc


tfBreastsLarger
This ONLY refers to fat.


tfBreastsSmaller
=== int getBreastRows() ===
Number of rows.  1 is normal for male and female


tfDickLarger
=== int getBreastSize() ===
0 = none, 1 = AA, 2 = A, 3= B, 4=C, 5=D, ...


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


setDickSize
No breasts will return ""


getLocation
=== void tfBreastsLarger(boolean silent) ===
Increases size of breasts.


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


forcePickupItemSilent
=== void tfBreastsSmaller() ===
Decreases size of breasts.  Outputs TF text to screen.


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


getCurrentInventorySize
=== void tfDickSmaller() ===
Decreases size of dick (down to no dick).  Outputs TF text to screen.


dropAllInventoryToMapRoom
=== void setDickSize (int dickSize) ===
Sets dick size (in inches), with no text output to screen


isInInventoryString
=== location getLocation() ===
Returns players current location


getInventoryItemByString
=== boolean pickupItem(entity entityToPickUp) ===
This is the main function to call to try adding an item to the player's inventory.


deleteInventoryString
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


dropItem
Returns if item was picked up


causeDamage
=== void forcePickupItemSilent(entity entityToPickUp) ===
Forces an item into inventory -- ignores inventory size limit, pickup restrictions, etc.


getPlayerAttackDamagePhysical
=== 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


getPlayerAttackDamageLust
=== int getCurrentInventorySize() ===
How many items player is carrying -- does NOT include clothing/worn items.


getAcceptance
=== void dropAllInventoryToMapRoom(string mapName, int mapRoomID) ===
Drops ALL items in the player's inventory into the target map room ID


setAcceptance
=== boolean isInInventoryString(entity entityToCheck) ===
Is the target object in player inventory currently?


incAcceptance
=== entity getInventoryItemByString(string entityName) ===
Return the named item (or null, if item name is not in inventory)


decAcceptance
=== void deleteInventoryString(string entityName) ===
Delete by item's title in inventory


isCovered
=== boolean dropItem(entity entityToDrop) ===
This is the main function to call to try dropping an item out of the player's inventory.


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


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


setTotallyHuman
=== causeDamage ===


setToStartingCharacteristics
=== getPlayerAttackDamagePhysical ===


setMaleSilent
=== getPlayerAttackDamageLust ===


tfMakeVagina
=== getAcceptance ===


tfVaginaSmaller
=== setAcceptance ===


tfVaginaLarger
=== incAcceptance ===


setVaginaSize
=== decAcceptance ===


monsterVagina
=== isCovered ===


resetLust
=== getExposure ===


resetLustSilent
=== getTotallyHuman ===


resetLustButNotMilk
=== setTotallyHuman ===


getLust
=== setToStartingCharacteristics ===


incLust
=== setMaleSilent ===


decLust
=== tfMakeVagina ===


getSomethingToPlayWith
=== tfVaginaSmaller ===


hasArms
=== tfVaginaLarger ===


hasLegs
=== setVaginaSize ===


hasUselessHands
=== monsterVagina ===


incOverweight
=== resetLust ===


decOverweight
=== resetLustSilent ===


getOverweight
=== resetLustButNotMilk ===


incBellyPreg
=== getLust ===


setBellyPreg
=== incLust ===


getCombinedBellySize
=== decLust ===


getBellyDescription
=== getSomethingToPlayWith ===


getBellyPreg
=== hasArms ===


getHP
=== hasLegs ===


getHPMax
=== hasUselessHands ===


heal
=== incOverweight ===


getLevel
=== decOverweight ===


getCash
=== getOverweight ===


addCash
=== incBellyPreg ===


removeCash
=== setBellyPreg ===


getHeightString
=== getCombinedBellySize ===


tfHeightTaller
=== getBellyDescription ===


tfHeightShorter
=== getBellyPreg ===


tfHeightTowards
=== getHP ===


incMilkProduction
=== getHPMax ===


decMilkProduction
=== heal ===


getMilkProduction
=== getLevel ===


getUdderDescription
=== getCash ===


getUdderMilk
=== addCash ===


hasUdder
=== removeCash ===


createUdder
=== getHeightString ===


removeUdder
=== tfHeightTaller ===


resetMilkSilent
=== tfHeightShorter ===


resetBreastMilkSilent
=== tfHeightTowards ===


resetUdderMilkSilent
=== incMilkProduction ===


getBreastMilk
=== decMilkProduction ===


isAbleToExercise
=== getMilkProduction ===


attemptExercise
=== getUdderDescription ===


resetExercise
=== getUdderMilk ===


isAbleToWatchTV
=== hasUdder ===


setIsAbleToWatchTV
=== createUdder ===


setBreastRows
=== removeUdder ===


tfIncBreastRows
=== resetMilkSilent ===


tfDecBreastRows
=== resetBreastMilkSilent ===


getInHeat
=== resetUdderMilkSilent ===


getIsAllFours
=== getBreastMilk ===


checkPlayerMobile
=== isAbleToExercise ===


triggerInseminationChance
=== attemptExercise ===


getWristsBound
=== resetExercise ===


hasAlternateVoice
=== isAbleToWatchTV ===


getAlternateVocal
=== setIsAbleToWatchTV ===
 
=== setBreastRows ===
 
=== tfIncBreastRows ===
 
=== tfDecBreastRows ===
 
=== getInHeat ===
 
=== getIsAllFours ===
 
=== checkPlayerMobile ===
 
=== triggerInseminationChance ===
 
=== getWristsBound ===
 
=== hasAlternateVoice ===
 
=== getAlternateVocal ===


== Example Code ==
== Example Code ==
[[Dick Size Increaser]]
[[Dick Size Increaser]]
[[Category:LUA Class Reference]]
[[Category:LUA Class Reference]]

Revision as of 04:11, 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

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