Clothing: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:


=== string getSlot() ===
=== string getSlot() ===
String name of slot this clothing occupies.
String [[Clothing slot|name of slot]] this clothing occupies.


[[Category:LUA Class Reference]]
[[Category:LUA Class Reference]]

Revision as of 00:29, 10 February 2018

Version notes:

  • In versions before r25, clothing is treated as just an Entity and has none of the special functions below.
  • In versions r25 and after, Clothing items have additional parameters.

Public Methods

Note that a Clothing object supports all non-static methods that Entity supports!

boolean isVulnerableToMasculineTheft()

If true, this item can be lost in situations where masculine clothes are lost.

boolean isConcealableClothing()

If true, this item can conceal a TF in the slot it is in (this is most clothing items).

void soakWithCum()

Make this clothing cum-soaked. Currently just a description, but in future may have additional effects (exposure, lust, etc)

string getSlot()

String name of slot this clothing occupies.