NPCCharacter
Hierarchy
- Character
- NPCCharacter
Index
Properties
- AccountName
- ActivePoseMapping
- Affection
- AllowItem
- AllowMove
- AllowedActivePoseMapping
- Appearance
- AppearanceFull
- AppearanceLayers
- Archetype
- ArousalSettings
- ArousalZoom
- AssetFamily
- Attribute
- BlackList
- BlinkFactor
- BlockItems
- Cage
- CanChangeClothesOn
- CanChangeOwnClothes
- CanChangeToPose
- CanGetForSaleSign
- CanGetLongDuster
- CanInteract
- CanKneel
- CanPickLocks
- CanTalk
- CanWalk
- Canvas
- CanvasBlink
- CharacterID
- ClothesTaken
- Crafting
- Creation
- CurrentDialog
- CurrentTraining
- CustomBackground
- Description
- Dialog
- DialogInfo
- Difficulty
- Domination
- DrawAppearance
- DrawPoseMapping
- DrinkValue
- Effect
- Event
- ExpectedTraining
- ExpressionQueue
- FavoriteItems
- FixedImage
- FocusGroup
- Friendship
- FromPandora
- Game
- GetBlindLevel
- GetBlurLevel
- GetClumsiness
- GetDeafLevel
- GetDifficulty
- GetGenders
- GetLoversNumbers
- GetLovership
- GetPronouns
- GetSlowLevel
- GetTints
- GoneAway
- HasAttribute
- HasEffect
- HasHiddenItems
- HasNoItem
- HasPenis
- HasScriptedAssets
- HasTints
- HasVagina
- HeightModifier
- HeightRatio
- HeightRatioProportion
- HiddenItems
- Hooks
- House
- ID
- InterviewCleanCount
- Inventory
- InventoryData
- IsAssFull
- IsBirthday
- IsBlind
- IsBreastChaste
- IsButtChaste
- IsChaste
- IsDeaf
- IsEdged
- IsEgged
- IsEnclose
- IsFamilyOfPlayer
- IsFixedHead
- IsFlatChested
- IsFullyOwned
- IsGagged
- IsInFamilyOfMemberNumber
- IsInverted
- IsKneeling
- IsLocked
- IsLover
- IsLoverOfCharacter
- IsLoverOfMemberNumber
- IsLoverOfPlayer
- IsMounted
- IsMouthBlocked
- IsMouthOpen
- IsNaked
- IsNpc
- IsOnline
- IsOwned
- IsOwnedByCharacter
- IsOwnedByMemberNumber
- IsOwnedByPlayer
- IsOwner
- IsPlayer
- IsPlugged
- IsRestrained
- IsShackled
- IsSiblingOfCharacter
- IsSimple
- IsSlow
- IsStanding
- IsSuspended
- IsVulvaChaste
- IsVulvaFull
- ItemPermission
- KidnapCard
- KidnapMaxWillpower
- KidnapStat
- KidnapWillpower
- KissCount
- LabelColor
- LastActivity
- LastMapData
- LimitedItems
- Love
- Lover
- LoverName
- Lovership
- MapData
- MasturbateCount
- MemberNumber
- Money
- MustDraw
- Name
- Nickname
- OnlineID
- OnlineSharedSettings
- OrgasmDone
- OrgasmMeter
- OweFavor
- OwnedSince
- Owner
- OwnerName
- OwnerNumber
- Ownership
- PermissionItems
- PoseMapping
- PrivateBed
- PrivateBedActivityTimer
- PrivateBedAppearance
- PrivateBedLeft
- PrivateBedMoveTimer
- PrivateBedTop
- QuizFail
- QuizLog
- RandomOdds
- Recruit
- RecruitOdds
- RegisterHook
- Reputation
- Rule
- RunHooks
- RunScripts
- SavedColors
- Skill
- Stage
- Status
- StatusTimer
- Tints
- Title
- TrainingCount
- TrainingCountHigh
- TrainingCountLow
- TrainingCountPerfect
- TrainingIntensity
- Trait
- TrialDone
- TriggerIntro
- Type
- UnregisterHook
- WhiteList
Accessors
Methods
Properties
AccountName
The character's account name
Note that it's only meaningful for the logged in player as the server never provides account names.
Online characters will use "Online-"
plus their character ID, NPCs will have their dialog identifier,
and simple characters set it to CharacterID.
ActivePoseMapping
A record mapping pose categories to the last manually enabled pose belonging to it.
Note that these poses are by no means guaranted to be enabled, as they do not reflect any item-specific automatic pose changes (see PoseMapping).
optionalAffection
AllowItem
optionalAllowMove
AllowedActivePoseMapping
A record mapping pose categories to all allowed poses belonging to it.
A value of null
implies that all poses within the category are allowed.
Appearance
optionalAppearanceFull
optionalAppearanceLayers
optionalArchetype
NPC type: Slave, Maid, etc.
optionalArousalSettings
optionalArousalZoom
AssetFamily
The asset family used by the character
Attribute
BlackList
BlinkFactor
optionalBlockItems
optionalCage
CanChangeClothesOn
Check whether a character can change another one's outfit.
Type declaration
Parameters
C: Character
Returns boolean
CanChangeOwnClothes
Check whether a character can change its own outfit.
Type declaration
Returns boolean
CanChangeToPose
Type declaration
Parameters
Pose: AssetPoseName
Returns boolean
optionalCanGetForSaleSign
optionalCanGetLongDuster
CanInteract
Type declaration
Returns boolean
CanKneel
Type declaration
Returns boolean
CanPickLocks
Type declaration
Returns boolean
CanTalk
Type declaration
Returns boolean
CanWalk
Type declaration
Returns boolean
Canvas
CanvasBlink
CharacterID
The unique identifier for the character
A value of ""
indicates the player before the login happens
optionalClothesTaken
optionalCrafting
optionalCreation
CurrentDialog
optionalCurrentTraining
optionalCustomBackground
The custom background to use for the current room Only valid on Player
optionalDescription
Dialog
optionalDialogInfo
The character's loaded dialog info
optionalDifficulty
Type declaration
optionalLastChange?: number
Level: number
optionalDomination
optionalDrawAppearance
DrawPoseMapping
A record mapping pose categories to something something.
optionalDrinkValue
Effect
optionalEvent
optionalExpectedTraining
optionalExpressionQueue
optionalFavoriteItems
optionalFixedImage
FocusGroup
optionalFriendship
optionalFromPandora
optionalGame
GetBlindLevel
Type declaration
Parameters
optionaleyesOnly: boolean
Returns number
GetBlurLevel
Type declaration
Returns number
GetClumsiness
Type declaration
Returns number
GetDeafLevel
Type declaration
Returns number
GetDifficulty
Type declaration
Returns number
GetGenders
Type declaration
Returns AssetGender[]
GetLoversNumbers
Returns the list of member numbers (or names, for NPCs) the character is in love with
Type declaration
Parameters
optionalMembersOnly: boolean
Returns (string | number)[]
GetLovership
Returns the lovership data for the character
Type declaration
Parameters
optionalMembersOnly: boolean
Returns Lovership[]
GetPronouns
Type declaration
Returns CharacterPronouns
GetSlowLevel
Type declaration
Returns number
GetTints
Type declaration
Returns RGBAColor[]
optionalGoneAway
HasAttribute
Type declaration
Parameters
attribute: AssetAttribute
Returns boolean
HasEffect
Type declaration
Parameters
Effect: EffectName
Returns boolean
HasHiddenItems
HasNoItem
Type declaration
Returns boolean
HasPenis
Type declaration
Returns boolean
optionalHasScriptedAssets
HasTints
Type declaration
Returns boolean
HasVagina
Type declaration
Returns boolean
HeightModifier
HeightRatio
optionalHeightRatioProportion
optionalHiddenItems
Hooks
optionalHouse
ID
The character's cache slot ID in the Character array
Usually meaningless, except that ID 0 is always the player,
but please use IsPlayer()
instead of checking that.
optionalInterviewCleanCount
Inventory
optionalInventoryData
IsAssFull
Type declaration
Returns boolean
IsBirthday
Type declaration
Returns boolean
IsBlind
Type declaration
Returns boolean
IsBreastChaste
Type declaration
Returns boolean
IsButtChaste
Type declaration
Returns boolean
IsChaste
Type declaration
Returns boolean
IsDeaf
Type declaration
Returns boolean
IsEdged
Type declaration
Returns boolean
IsEgged
Type declaration
Returns boolean
IsEnclose
Type declaration
Returns boolean
IsFamilyOfPlayer
Type declaration
Returns boolean
IsFixedHead
Type declaration
Returns boolean
IsFlatChested
Type declaration
Returns boolean
IsFullyOwned
Whether the character has completed their ownership trial
Type declaration
Returns boolean
IsGagged
Type declaration
Returns boolean
IsInFamilyOfMemberNumber
Type declaration
Parameters
MemberNum: number
Returns boolean
IsInverted
Type declaration
Returns boolean
IsKneeling
Type declaration
Returns boolean
IsLocked
Type declaration
Returns boolean
IsLover
IsLoverOfCharacter
Whether the character is in love with the given character
Type declaration
Parameters
C: Character
Returns boolean
IsLoverOfMemberNumber
Whether the character is in love with the given character, number form
Type declaration
Parameters
memberNumber: number
Returns boolean
IsLoverOfPlayer
Whether the character is in love with the player
Type declaration
Returns boolean
IsMounted
Type declaration
Returns boolean
IsMouthBlocked
Type declaration
Returns boolean
IsMouthOpen
Type declaration
Returns boolean
IsNaked
Type declaration
Returns boolean
IsNpc
Type declaration
Returns this is NPCCharacter
IsOnline
Type declaration
Returns this is Character
IsOwned
Whether the character is owned, and who owns it
Type declaration
Returns false | online | npc | ggts | player
IsOwnedByCharacter
Whether the character is owned by the given character
Type declaration
Parameters
C: Character
Returns boolean
IsOwnedByMemberNumber
Whether the character is owned by the given character, number form
Type declaration
Parameters
memberNumber: number
Returns boolean
IsOwnedByPlayer
Whether the player owns that character
Type declaration
Returns boolean
IsOwner
Whether the given character owns the player
Type declaration
Returns boolean
IsPlayer
Type declaration
Returns this is PlayerCharacter
IsPlugged
Type declaration
Returns boolean
IsRestrained
Type declaration
Returns boolean
IsShackled
Type declaration
Returns boolean
IsSiblingOfCharacter
Type declaration
Parameters
C: Character
Returns boolean
IsSimple
Type declaration
Returns boolean
IsSlow
Type declaration
Returns boolean
IsStanding
Type declaration
Returns boolean
IsSuspended
Type declaration
Returns boolean
IsVulvaChaste
Type declaration
Returns boolean
IsVulvaFull
Type declaration
Returns boolean
optionalItemPermission
optionalKidnapCard
optionalKidnapMaxWillpower
optionalKidnapStat
optionalKidnapWillpower
optionalKissCount
optionalLabelColor
optionalLastActivity
optionalLastMapData
optionalLimitedItems
optionalLove
Lover
LoverName
The character's lover name. NPC-only
Type declaration
Returns string
optionalLovership
optionalMapData
optionalMasturbateCount
optionalMemberNumber
Money
MustDraw
Name
optionalNickname
optionalOnlineID
A deprecated identifier for online characters Only exists on the player, has the same value as their character ID.
optionalOnlineSharedSettings
optionalOrgasmDone
optionalOrgasmMeter
optionalOweFavor
OwnedSince
The number of days since the character has been owned (-1 means not owned)
Type declaration
Returns number
Owner
OwnerName
The name of this character's owner
Type declaration
Returns string
OwnerNumber
The character's owner number. Might be -1 for non-online characters
Type declaration
Returns number
optionalOwnership
PermissionItems
A record with all asset- and type-specific permission settings
PoseMapping
A record mapping pose categories to the currently enabled pose belonging to it.
optionalPrivateBed
optionalPrivateBedActivityTimer
optionalPrivateBedAppearance
optionalPrivateBedLeft
optionalPrivateBedMoveTimer
optionalPrivateBedTop
optionalQuizFail
optionalQuizLog
optionalRandomOdds
optionalRecruit
optionalRecruitOdds
RegisterHook
Type declaration
Parameters
hookName: CharacterHook
hookInstance: string
callback: () => void
Returns boolean
Reputation
optionalRule
RunHooks
Type declaration
Parameters
hookName: CharacterHook
Returns void
optionalRunScripts
SavedColors
Skill
Stage
optionalStatus
optionalStatusTimer
Tints
optionalTitle
optionalTrainingCount
optionalTrainingCountHigh
optionalTrainingCountLow
optionalTrainingCountPerfect
optionalTrainingIntensity
optionalTrait
optionalTrialDone
optionalTriggerIntro
Type
The type of character: online, npc, or simple
UnregisterHook
Type declaration
Parameters
hookName: CharacterHook
hookInstance: string
Returns boolean
WhiteList
Accessors
ActivePose
Get a copy or set the array of the last set of manually activated poses.
Note that these poses are by no means guaranted to be enabled, as they do not reflect any item-specific automatic pose changes (see Pose).
Returns readonly AssetPoseName[]
Parameters
value: readonly AssetPoseName[]
Returns void
AllowedActivePose
Get a copy or set the array of the last of a subset of all allowed poses.
Only guaranteed to reflect the total number of allowed poses if, for a given pose category, at least one pose is allowed.
Returns readonly AssetPoseName[]
Parameters
value: readonly AssetPoseName[]
Returns void
DrawPose
Get a copy or set the array of something something poses.
Returns readonly AssetPoseName[]
Parameters
value: readonly AssetPoseName[]
Returns void
Pose
Get a copy or set the array of currently enabled poses.
Returns readonly AssetPoseName[]
Parameters
value: readonly AssetPoseName[]
Returns void
Methods
optionalWillRelease
Returns boolean
NPC-only