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.

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

  • Access: Read-Only
  • Type: LibTF.Inventory

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

(Person).apparel

  • Access: Read-Only
  • Type: LibTF.Apparel.WornApparel

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

(Person).femininity

  • Access: Read-Only
  • Type: LibTF.Transformable.Femininity

This Person's Femininity transformable. More information can be found in the LibTF.Transformable.Femininity documentation.

(Person).height

  • Access: Read-Only
  • Type: LibTF.Transformable.Height

This Person's Height transformable. Optionally interpolated from the Person's LibTF.Femininity. More information can be found in the LibTF.Transformable.Height documentation.

(Person).bust

  • Access: Read-Only
  • Type: LibTF.Transformable.Bust

This Person's Bust transformable. Optionally interpolated from the Person's LibTF.Femininity. More information can be found in the LibTF.Transformable.Bust documentation.

(Person).penis

  • Access: Read-Only
  • Type: LibTF.Transformable.Penis

This Person's Penis/Clit transformable. Optionally interpolated from the Person's LibTF.Femininity. More information can be found in the LibTF.Transformable.Penis documentation.

(Person).pussy

  • Access: Read-Only
  • Type: LibTF.Transformable.Pussy

This Person's Pussy/Balls transformable. Optionally interpolated from the Person's LibTF.Femininity. More information can be found in the LibTF.Transformable.Pussy documentation.

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.1524450212.txt.gz ยท Last modified: 2018/04/22 19:23 by lee