Modding:Clothing: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
(Split)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Version notes:
 
 
Clothing such as pendants and necklaces.
These items of clothing do not reduce exposure and instead function as cursed accessories which can transform the player into various [[species]] such as a [[fox]] or [[tiger]].
 
== Version notes: ==
* In versions before r25, clothing is treated as just an [[Entity]] and has none of the special functions below.   
* 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.   
* In versions r25 and after:
** Clothing items have all the normal [[Entity]] functions, plus the below Clothing-specific functions.   
** Additionally, the .type of clothing objects are 'Clothing' instead of 'Entity'  


== Public Methods ==
== Public Methods ==

Latest revision as of 07:31, 17 June 2025


Clothing such as pendants and necklaces. These items of clothing do not reduce exposure and instead function as cursed accessories which can transform the player into various species such as a fox or tiger.

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 all the normal Entity functions, plus the below Clothing-specific functions.
    • Additionally, the .type of clothing objects are 'Clothing' instead of 'Entity'

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.