Echo Hollow

Gender-Bending Interactive Stories! :D

User Tools

Site Tools


libtf:documentation:api:person

This is an old revision of the document!


<-- Back

LibTF.Person

Inherits From: LibTF.PersistentObject

Person is kind of the core of LibTF. Each character in your can who can be transformed (usually just the PC in most TF games, but the library supports as many transformable characters as you want).

Persons can carry items, via their Inventory field.

Persons can wear Apparel, via their WornApparel field.

Persons also have built in Transformable fields, which are the core of the library's transformation system.

A Person's individual Transformables can be configured to operate independently from one another (for the game author who wants fine-grained control over the character's transformation), or can be configured to interpolate their values from a master transformable, so that they change automatically (for the game author who want's things to stay simple and easy). For example, when interpolation is enabled for all sex/gender Transformables and Height, the character's height, bust, and sexual organs will all change automatically according to the character's Femininity transformable's value.

Fields

Inherited from LibTF.PersistentObject: id, parentId, parent, name, aName, nameIsProper, nameIrregularArticle

(Person).applyTransformationsImmediately

  • Access: Read-Write
  • Type: Boolean

This field controls whether or not transformations are applied to this Person immediately.

If true, then any modification of any of this Person's Transformable fields .val or .newVal fields, as well as calls to .increase() or .decrease(), will be applied to this Person immediately.

If false, then any modification as above will be deferred until .applyTransformations() is called on this Person, or .applyTransformation() is called on the specific Transformable. That is, these modifications will be remembered secretly as they are made, but they will not be applied to the Person until .applyTransformations() is called. This is useful for games where transformations occur as the PC sleeps, as a result of the day's events, or somesuch.

If null or undefined when Persistence.setDefaults was called to create this Person, then the value of LibTF.Settings.defaultApplyTransformationsImmediately will be used.

(Person).inventory

The LibTF.Inventory object that tracks what items this Person is carrying.

(Person).apparel

The LibTF.Apparel.WornApparel object that tracks what this Person is wearing.

(Person).femininity

This Person's Femininity transformable.

(Person).height

This Person's Height transformable. Optionally interpolated from the Person's Femininity.

(Person).bust

This Person's Bust transformable. Optionally interpolated from the Person's Femininity.

(Person).penis

This Person's Penis/Clit transformable. Optionally interpolated from the Person's Femininity.

(Person).pussy

This Person's Pussy/Balls transformable. Optionally interpolated from the Person's Femininity.

Methods

Inherited from LibTF.PersistentObject: hasPersistent(), getPersistent(), setPersistent(), resetPersistent()

(Person).applyChanges( thirdPerson = false )

  • Arguments:
    • thirdPerson: FIXME.
  • Returns: (type) desc.
  • Throws: Error if: FIXME.

FIXME desc

FIXME Example

(Person).getDescriptionGeneral( thirdPerson=false, suppressTFStats=false )

  • Arguments:
    • thirdPerson: FIXME.
    • suppressTFStats: FIXME.
  • Returns: (type) desc.
  • Throws: Error if: FIXME.

FIXME desc

FIXME Example

(Person).getDescriptionApparel( thirdPerson=false, suppressTFStats=false )

  • Arguments:
    • thirdPerson: FIXME.
    • suppressTFStats: FIXME.
  • Returns: (type) desc.
  • Throws: Error if: FIXME.

FIXME desc

FIXME Example

(Person).getDescriptionSexual( thirdPerson=false, suppressTFStats=false )

  • Arguments:
    • thirdPerson: FIXME.
    • suppressTFStats: FIXME.
  • Returns: (type) desc.
  • Throws: Error if: FIXME.

FIXME desc

FIXME Example

<-- Back

libtf/documentation/api/person.1524450728.txt.gz ยท Last modified: 2018/04/22 19:32 by lee