bc-stubs 96.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/bc/Assets/Female3DCG/Female3DCG.d.ts +41 -0
  4. package/bc/Assets/Female3DCG/Female3DCGExtended.d.ts +29 -0
  5. package/bc/Backgrounds/Backgrounds.d.ts +37 -0
  6. package/bc/Female3DCG_Types.d.ts +875 -0
  7. package/bc/Screens/Character/Appearance/Appearance.d.ts +392 -0
  8. package/bc/Screens/Character/BackgroundSelection/BackgroundSelection.d.ts +98 -0
  9. package/bc/Screens/Character/Cheat/Cheat.d.ts +54 -0
  10. package/bc/Screens/Character/Creation/Creation.d.ts +40 -0
  11. package/bc/Screens/Character/Disclaimer/Disclaimer.d.ts +21 -0
  12. package/bc/Screens/Character/FriendList/FriendList.d.ts +102 -0
  13. package/bc/Screens/Character/InformationSheet/InformationSheet.d.ts +46 -0
  14. package/bc/Screens/Character/ItemColor/ItemColor.d.ts +232 -0
  15. package/bc/Screens/Character/Login/Login.d.ts +194 -0
  16. package/bc/Screens/Character/OnlineProfile/OnlineProfile.d.ts +27 -0
  17. package/bc/Screens/Character/PasswordReset/PasswordReset.d.ts +28 -0
  18. package/bc/Screens/Character/Preference/Preference.d.ts +658 -0
  19. package/bc/Screens/Character/Relog/Relog.d.ts +36 -0
  20. package/bc/Screens/Character/Title/Title.d.ts +68 -0
  21. package/bc/Screens/Character/Wardrobe/Wardrobe.d.ts +93 -0
  22. package/bc/Screens/Cutscene/NPCCollaring/NPCCollaring.d.ts +26 -0
  23. package/bc/Screens/Cutscene/NPCSlaveAuction/NPCSlaveAuction.d.ts +27 -0
  24. package/bc/Screens/Cutscene/NPCWedding/NPCWedding.d.ts +35 -0
  25. package/bc/Screens/Cutscene/PlayerCollaring/PlayerCollaring.d.ts +26 -0
  26. package/bc/Screens/Cutscene/PlayerMistress/PlayerMistress.d.ts +24 -0
  27. package/bc/Screens/Cutscene/SarahIntro/SarahIntro.d.ts +22 -0
  28. package/bc/Screens/Inventory/Cloth/CheerleaderTop/CheerleaderTop.d.ts +33 -0
  29. package/bc/Screens/Inventory/Cloth/FrilledShirt/FrilledShirt.d.ts +10 -0
  30. package/bc/Screens/Inventory/ClothAccessory/Bib/Bib.d.ts +2 -0
  31. package/bc/Screens/Inventory/EyeShadow/EyeShadow.d.ts +60 -0
  32. package/bc/Screens/Inventory/Futuristic/Futuristic.d.ts +60 -0
  33. package/bc/Screens/Inventory/ItemArms/FullLatexSuit/FullLatexSuit.d.ts +6 -0
  34. package/bc/Screens/Inventory/ItemArms/HempRope/HempRope.d.ts +2 -0
  35. package/bc/Screens/Inventory/ItemArms/NylonRope/NylonRope.d.ts +2 -0
  36. package/bc/Screens/Inventory/ItemArms/PrisonLockdownSuit/PrisonLockdownSuit.d.ts +4 -0
  37. package/bc/Screens/Inventory/ItemArms/TransportJacket/TransportJacket.d.ts +10 -0
  38. package/bc/Screens/Inventory/ItemBreast/ForbiddenChastityBra/ForbiddenChastityBra.d.ts +32 -0
  39. package/bc/Screens/Inventory/ItemBreast/FuturisticBra/FuturisticBra.d.ts +24 -0
  40. package/bc/Screens/Inventory/ItemButt/AnalBeads2/AnalBeads2.d.ts +2 -0
  41. package/bc/Screens/Inventory/ItemButt/InflVibeButtPlug/InflVibeButtPlug.d.ts +2 -0
  42. package/bc/Screens/Inventory/ItemDevices/DollBox/DollBox.d.ts +2 -0
  43. package/bc/Screens/Inventory/ItemDevices/FuckMachine/FuckMachine.d.ts +16 -0
  44. package/bc/Screens/Inventory/ItemDevices/FuturisticCrate/FuturisticCrate.d.ts +8 -0
  45. package/bc/Screens/Inventory/ItemDevices/KabeshiriWall/KabeshiriWall.d.ts +13 -0
  46. package/bc/Screens/Inventory/ItemDevices/Kennel/Kennel.d.ts +18 -0
  47. package/bc/Screens/Inventory/ItemDevices/LuckyWheel/LuckyWheel.d.ts +48 -0
  48. package/bc/Screens/Inventory/ItemDevices/PetBowl/PetBowl.d.ts +6 -0
  49. package/bc/Screens/Inventory/ItemDevices/VacBedDeluxe/VacBedDeluxe.d.ts +2 -0
  50. package/bc/Screens/Inventory/ItemDevices/WheelFortune/WheelFortune.d.ts +10 -0
  51. package/bc/Screens/Inventory/ItemDevices/WoodenBox/WoodenBox.d.ts +13 -0
  52. package/bc/Screens/Inventory/ItemFeet/HempRope/HempRope.d.ts +2 -0
  53. package/bc/Screens/Inventory/ItemFeet/NylonRope/NylonRope.d.ts +2 -0
  54. package/bc/Screens/Inventory/ItemHandhelds/PortalTablet/PortalTablet.d.ts +10 -0
  55. package/bc/Screens/Inventory/ItemHead/DroneMask/DroneMask.d.ts +2 -0
  56. package/bc/Screens/Inventory/ItemHood/CanvasHood/CanvasHood.d.ts +6 -0
  57. package/bc/Screens/Inventory/ItemMisc/CombinationPadlock/CombinationPadlock.d.ts +16 -0
  58. package/bc/Screens/Inventory/ItemMisc/ExclusivePadlock/ExclusivePadlock.d.ts +6 -0
  59. package/bc/Screens/Inventory/ItemMisc/FamilyPadlock/FamilyPadlock.d.ts +6 -0
  60. package/bc/Screens/Inventory/ItemMisc/HighSecurityPadlock/HighSecurityPadlock.d.ts +15 -0
  61. package/bc/Screens/Inventory/ItemMisc/IntricatePadlock/IntricatePadlock.d.ts +6 -0
  62. package/bc/Screens/Inventory/ItemMisc/LoversPadlock/LoversPadlock.d.ts +6 -0
  63. package/bc/Screens/Inventory/ItemMisc/LoversTimerPadlock/LoversTimerPadlock.d.ts +17 -0
  64. package/bc/Screens/Inventory/ItemMisc/MetalPadlock/MetalPadlock.d.ts +6 -0
  65. package/bc/Screens/Inventory/ItemMisc/MistressPadlock/MistressPadlock.d.ts +6 -0
  66. package/bc/Screens/Inventory/ItemMisc/MistressTimerPadlock/MistressTimerPadlock.d.ts +13 -0
  67. package/bc/Screens/Inventory/ItemMisc/OwnerPadlock/OwnerPadlock.d.ts +6 -0
  68. package/bc/Screens/Inventory/ItemMisc/OwnerTimerPadlock/OwnerTimerPadlock.d.ts +22 -0
  69. package/bc/Screens/Inventory/ItemMisc/PandoraPadlock/PandoraPadlock.d.ts +6 -0
  70. package/bc/Screens/Inventory/ItemMisc/PasswordPadlock/PasswordPadlock.d.ts +17 -0
  71. package/bc/Screens/Inventory/ItemMisc/PortalLinkPadlock/PortalLinkPadlock.d.ts +6 -0
  72. package/bc/Screens/Inventory/ItemMisc/SafewordPadlock/SafewordPadlock.d.ts +12 -0
  73. package/bc/Screens/Inventory/ItemMisc/TimerPadlock/TimerPadlock.d.ts +13 -0
  74. package/bc/Screens/Inventory/ItemMisc/TimerPasswordPadlock/TimerPasswordPadlock.d.ts +13 -0
  75. package/bc/Screens/Inventory/ItemMisc/WoodenSign/WoodenSign.d.ts +2 -0
  76. package/bc/Screens/Inventory/ItemMouth/FuturisticPanelGag/FuturisticPanelGag.d.ts +49 -0
  77. package/bc/Screens/Inventory/ItemNeck/AutoShockCollar/AutoShockCollar.d.ts +4 -0
  78. package/bc/Screens/Inventory/ItemNeck/FuturisticCollar/FuturisticCollar.d.ts +59 -0
  79. package/bc/Screens/Inventory/ItemNeck/PetSuitShockCollar/PetSuitShockCollar.d.ts +4 -0
  80. package/bc/Screens/Inventory/ItemNeck/ShockCollar/ShockCollar.d.ts +4 -0
  81. package/bc/Screens/Inventory/ItemNeck/SlaveCollar/SlaveCollar.d.ts +25 -0
  82. package/bc/Screens/Inventory/ItemNeckAccessories/CollarAutoShockUnit/CollarAutoShockUnit.d.ts +15 -0
  83. package/bc/Screens/Inventory/ItemNeckAccessories/CollarNameTag/CollarNameTag.d.ts +8 -0
  84. package/bc/Screens/Inventory/ItemNeckAccessories/CollarShockUnit/CollarShockUnit.d.ts +17 -0
  85. package/bc/Screens/Inventory/ItemNeckAccessories/CustomCollarTag/CustomCollarTag.d.ts +2 -0
  86. package/bc/Screens/Inventory/ItemNeckAccessories/ElectronicTag/ElectronicTag.d.ts +2 -0
  87. package/bc/Screens/Inventory/ItemNeckRestraints/CollarLeash/CollarLeash.d.ts +4 -0
  88. package/bc/Screens/Inventory/ItemNeckRestraints/PetPost/PetPost.d.ts +2 -0
  89. package/bc/Screens/Inventory/ItemNipples/LactationPump/LactationPump.d.ts +2 -0
  90. package/bc/Screens/Inventory/ItemPelvis/ForbiddenChastityBelt/ForbiddenChastityBelt.d.ts +32 -0
  91. package/bc/Screens/Inventory/ItemPelvis/FuturisticChastityBelt/FuturisticChastityBelt.d.ts +28 -0
  92. package/bc/Screens/Inventory/ItemPelvis/FuturisticTrainingBelt/FuturisticTrainingBelt.d.ts +103 -0
  93. package/bc/Screens/Inventory/ItemPelvis/LoveChastityBelt/LoveChastityBelt.d.ts +8 -0
  94. package/bc/Screens/Inventory/ItemPelvis/ObedienceBelt/ObedienceBelt.d.ts +29 -0
  95. package/bc/Screens/Inventory/ItemPelvis/PortalPanties/PortalPanties.d.ts +10 -0
  96. package/bc/Screens/Inventory/ItemPelvis/SciFiPleasurePanties/SciFiPleasurePanties.d.ts +6 -0
  97. package/bc/Screens/Inventory/ItemTorso/FuturisticHarness/FuturisticHarness.d.ts +8 -0
  98. package/bc/Screens/Inventory/ItemVulva/ClitAndDildoVibratorbelt/ClitAndDildoVibratorbelt.d.ts +4 -0
  99. package/bc/Screens/Inventory/ItemVulva/FuturisticVibrator/FuturisticVibrator.d.ts +65 -0
  100. package/bc/Screens/Inventory/ItemVulva/LoversVibrator/LoversVibrator.d.ts +2 -0
  101. package/bc/Screens/Inventory/Wings/SteampunkWings/SteampunkWings.d.ts +16 -0
  102. package/bc/Screens/MiniGame/Chess/BondageChess.d.ts +30 -0
  103. package/bc/Screens/MiniGame/Chess/chess.d.ts +7 -0
  104. package/bc/Screens/MiniGame/ChestLockpick/ChestLockpick.d.ts +27 -0
  105. package/bc/Screens/MiniGame/ClubCard/ClubCard.d.ts +373 -0
  106. package/bc/Screens/MiniGame/ClubCardBuilder/ClubCardBuilder.d.ts +66 -0
  107. package/bc/Screens/MiniGame/DojoStruggle/DojoStruggle.d.ts +25 -0
  108. package/bc/Screens/MiniGame/GetUp/GetUp.d.ts +31 -0
  109. package/bc/Screens/MiniGame/HorseWalk/HorseWalk.d.ts +85 -0
  110. package/bc/Screens/MiniGame/Kidnap/Kidnap.d.ts +165 -0
  111. package/bc/Screens/MiniGame/KinkyDungeon/KDAutoStruggle.d.ts +99 -0
  112. package/bc/Screens/MiniGame/KinkyDungeon/KDClasses.d.ts +11 -0
  113. package/bc/Screens/MiniGame/KinkyDungeon/KDDelayedActions.d.ts +17 -0
  114. package/bc/Screens/MiniGame/KinkyDungeon/KDFixForBC.d.ts +11 -0
  115. package/bc/Screens/MiniGame/KinkyDungeon/KDModUtils.d.ts +93 -0
  116. package/bc/Screens/MiniGame/KinkyDungeon/KDParticles.d.ts +37 -0
  117. package/bc/Screens/MiniGame/KinkyDungeon/KDTypeDefs.d.ts +2161 -0
  118. package/bc/Screens/MiniGame/KinkyDungeon/KDWardrobe.d.ts +84 -0
  119. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeon.d.ts +653 -0
  120. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonAlt.d.ts +481 -0
  121. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBones.d.ts +16 -0
  122. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBoss.d.ts +119 -0
  123. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBuffs.d.ts +33 -0
  124. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonBuffsList.d.ts +865 -0
  125. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonConsumables.d.ts +36 -0
  126. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonConsumablesList.d.ts +66 -0
  127. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonCurse.d.ts +44 -0
  128. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogue.d.ts +171 -0
  129. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogueList.d.ts +45 -0
  130. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDialogueTriggers.d.ts +48 -0
  131. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDraw.d.ts +738 -0
  132. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDress.d.ts +62 -0
  133. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonDressList.d.ts +33 -0
  134. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditor.d.ts +1124 -0
  135. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditorGen.d.ts +113 -0
  136. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEditorTiles.d.ts +4 -0
  137. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEffectTiles.d.ts +6 -0
  138. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemies.d.ts +544 -0
  139. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemiesList.d.ts +22 -0
  140. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEnemyEventList.d.ts +18 -0
  141. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonErrors.d.ts +59 -0
  142. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonEvents.d.ts +151 -0
  143. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFactions.d.ts +53 -0
  144. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFactionsList.d.ts +650 -0
  145. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFight.d.ts +453 -0
  146. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonFurniture.d.ts +28 -0
  147. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonGame.d.ts +429 -0
  148. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonHUD.d.ts +134 -0
  149. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonInput.d.ts +23 -0
  150. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonInventory.d.ts +178 -0
  151. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonItem.d.ts +33 -0
  152. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonJail.d.ts +142 -0
  153. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonJailList.d.ts +105 -0
  154. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLoot.d.ts +66 -0
  155. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLootList.d.ts +866 -0
  156. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonLore.d.ts +37 -0
  157. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagic.d.ts +113 -0
  158. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagicCode.d.ts +23 -0
  159. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMagicList.d.ts +62 -0
  160. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMapMods.d.ts +5 -0
  161. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMistress.d.ts +10 -0
  162. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMultiplayer.d.ts +26 -0
  163. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonMusic.d.ts +28 -0
  164. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonObject.d.ts +42 -0
  165. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonParams.d.ts +4 -0
  166. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPathfinding.d.ts +36 -0
  167. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPerks.d.ts +147 -0
  168. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPersonality.d.ts +83 -0
  169. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonPlayerEffects.d.ts +35 -0
  170. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonQuest.d.ts +10 -0
  171. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonReputation.d.ts +229 -0
  172. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonRestraints.d.ts +766 -0
  173. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonRestraintsList.d.ts +55 -0
  174. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonSetpiece.d.ts +91 -0
  175. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonShrine.d.ts +89 -0
  176. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonSpawns.d.ts +49 -0
  177. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonStats.d.ts +282 -0
  178. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTests.d.ts +5 -0
  179. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTiles.d.ts +160 -0
  180. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTilesList.d.ts +72 -0
  181. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonTraps.d.ts +34 -0
  182. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonVibe.d.ts +98 -0
  183. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonVision.d.ts +24 -0
  184. package/bc/Screens/MiniGame/KinkyDungeon/KinkyDungeonWeaponList.d.ts +5 -0
  185. package/bc/Screens/MiniGame/MagicBattle/MagicBattle.d.ts +73 -0
  186. package/bc/Screens/MiniGame/MagicPuzzle/MagicPuzzle.d.ts +75 -0
  187. package/bc/Screens/MiniGame/MaidCleaning/MaidCleaning.d.ts +51 -0
  188. package/bc/Screens/MiniGame/MaidDrinks/MaidDrinks.d.ts +82 -0
  189. package/bc/Screens/MiniGame/PlayerAuction/PlayerAuction.d.ts +36 -0
  190. package/bc/Screens/MiniGame/PuppyWalker/PuppyWalker.d.ts +39 -0
  191. package/bc/Screens/MiniGame/RhythmGame/RhythmGame.d.ts +76 -0
  192. package/bc/Screens/MiniGame/SlaveAuction/SlaveAuction.d.ts +39 -0
  193. package/bc/Screens/MiniGame/Tennis/Tennis.d.ts +52 -0
  194. package/bc/Screens/MiniGame/Therapy/Therapy.d.ts +39 -0
  195. package/bc/Screens/MiniGame/WheelFortune/WheelFortune.d.ts +105 -0
  196. package/bc/Screens/Online/AdvancedRule/AdvancedRule.d.ts +32 -0
  197. package/bc/Screens/Online/ChatAdmin/ChatAdmin.d.ts +59 -0
  198. package/bc/Screens/Online/ChatBlockItem/ChatBlockItem.d.ts +30 -0
  199. package/bc/Screens/Online/ChatCreate/ChatCreate.d.ts +66 -0
  200. package/bc/Screens/Online/ChatRoom/ChatRoom.d.ts +1342 -0
  201. package/bc/Screens/Online/ChatRoom/Commands.d.ts +66 -0
  202. package/bc/Screens/Online/ChatSearch/ChatSearch.d.ts +241 -0
  203. package/bc/Screens/Online/ChatSelect/ChatSelect.d.ts +33 -0
  204. package/bc/Screens/Online/ForbiddenWords/ForbiddenWords.d.ts +33 -0
  205. package/bc/Screens/Online/Game/OnlineGame.d.ts +69 -0
  206. package/bc/Screens/Online/GameClubCard/GameClubCard.d.ts +131 -0
  207. package/bc/Screens/Online/GameLARP/GameLARP.d.ts +279 -0
  208. package/bc/Screens/Online/GameMagicBattle/GameMagicBattle.d.ts +159 -0
  209. package/bc/Screens/Online/WheelFortuneCustomize/WheelFortuneCustomize.d.ts +24 -0
  210. package/bc/Screens/Room/Arcade/Arcade.d.ts +94 -0
  211. package/bc/Screens/Room/AsylumBedroom/AsylumBedroom.d.ts +16 -0
  212. package/bc/Screens/Room/AsylumEntrance/AsylumEntrance.d.ts +265 -0
  213. package/bc/Screens/Room/AsylumGGTS/AsylumGGTS.d.ts +330 -0
  214. package/bc/Screens/Room/AsylumMeeting/AsylumMeeting.d.ts +110 -0
  215. package/bc/Screens/Room/AsylumTherapy/AsylumTherapy.d.ts +117 -0
  216. package/bc/Screens/Room/Cafe/Cafe.d.ts +144 -0
  217. package/bc/Screens/Room/Cell/Cell.d.ts +32 -0
  218. package/bc/Screens/Room/ClubCardLounge/ClubCardLounge.d.ts +28 -0
  219. package/bc/Screens/Room/CollegeCafeteria/CollegeCafeteria.d.ts +57 -0
  220. package/bc/Screens/Room/CollegeChess/CollegeChess.d.ts +75 -0
  221. package/bc/Screens/Room/CollegeDetention/CollegeDetention.d.ts +98 -0
  222. package/bc/Screens/Room/CollegeEntrance/CollegeEntrance.d.ts +54 -0
  223. package/bc/Screens/Room/CollegeTeacher/CollegeTeacher.d.ts +71 -0
  224. package/bc/Screens/Room/CollegeTennis/CollegeTennis.d.ts +47 -0
  225. package/bc/Screens/Room/CollegeTheater/CollegeTheater.d.ts +100 -0
  226. package/bc/Screens/Room/Crafting/Crafting.d.ts +213 -0
  227. package/bc/Screens/Room/DailyJob/DailyJob.d.ts +111 -0
  228. package/bc/Screens/Room/Empty/Empty.d.ts +84 -0
  229. package/bc/Screens/Room/Gambling/Gambling.d.ts +269 -0
  230. package/bc/Screens/Room/Infiltration/Infiltration.d.ts +223 -0
  231. package/bc/Screens/Room/InfiltrationPerks/InfiltrationPerks.d.ts +42 -0
  232. package/bc/Screens/Room/Introduction/Introduction.d.ts +195 -0
  233. package/bc/Screens/Room/KidnapLeague/KidnapLeague.d.ts +253 -0
  234. package/bc/Screens/Room/LARP/LARP.d.ts +39 -0
  235. package/bc/Screens/Room/Magic/Magic.d.ts +199 -0
  236. package/bc/Screens/Room/MagicSchoolEscape/MagicSchoolEscape.d.ts +36 -0
  237. package/bc/Screens/Room/MagicSchoolLaboratory/MagicSchoolLaboratory.d.ts +170 -0
  238. package/bc/Screens/Room/MaidQuarters/MaidQuarters.d.ts +305 -0
  239. package/bc/Screens/Room/MainHall/MainHall.d.ts +255 -0
  240. package/bc/Screens/Room/Management/Management.d.ts +544 -0
  241. package/bc/Screens/Room/MovieStudio/MovieStudio.d.ts +178 -0
  242. package/bc/Screens/Room/Nursery/Nursery.d.ts +85 -0
  243. package/bc/Screens/Room/Pandora/Pandora.d.ts +348 -0
  244. package/bc/Screens/Room/PandoraPrison/PandoraPrison.d.ts +180 -0
  245. package/bc/Screens/Room/Photographic/Photographic.d.ts +53 -0
  246. package/bc/Screens/Room/Platform/Platform.d.ts +1730 -0
  247. package/bc/Screens/Room/PlatformDialog/PlatformDialog.d.ts +3966 -0
  248. package/bc/Screens/Room/PlatformIntro/PlatformIntro.d.ts +21 -0
  249. package/bc/Screens/Room/PlatformProfile/PlatformProfile.d.ts +62 -0
  250. package/bc/Screens/Room/Poker/Poker.d.ts +141 -0
  251. package/bc/Screens/Room/Poker/PokerHandValue.d.ts +65 -0
  252. package/bc/Screens/Room/Prison/Prison.d.ts +118 -0
  253. package/bc/Screens/Room/Private/Private.d.ts +781 -0
  254. package/bc/Screens/Room/PrivateBed/PrivateBed.d.ts +78 -0
  255. package/bc/Screens/Room/PrivateRansom/PrivateRansom.d.ts +28 -0
  256. package/bc/Screens/Room/Sarah/Sarah.d.ts +162 -0
  257. package/bc/Screens/Room/Shibari/Shibari.d.ts +162 -0
  258. package/bc/Screens/Room/Shop/Shop.d.ts +162 -0
  259. package/bc/Screens/Room/SlaveMarket/SlaveMarket.d.ts +90 -0
  260. package/bc/Screens/Room/Stable/Stable.d.ts +236 -0
  261. package/bc/Scripts/Activity.d.ts +270 -0
  262. package/bc/Scripts/AfkTimer.d.ts +43 -0
  263. package/bc/Scripts/Animation.d.ts +81 -0
  264. package/bc/Scripts/Asset.d.ts +216 -0
  265. package/bc/Scripts/Audio.d.ts +105 -0
  266. package/bc/Scripts/Character.d.ts +495 -0
  267. package/bc/Scripts/CharacterName.d.ts +1 -0
  268. package/bc/Scripts/ColorPicker.d.ts +155 -0
  269. package/bc/Scripts/Common.d.ts +499 -0
  270. package/bc/Scripts/CommonDraw.d.ts +34 -0
  271. package/bc/Scripts/ControllerSupport.d.ts +107 -0
  272. package/bc/Scripts/Dialog.d.ts +970 -0
  273. package/bc/Scripts/DictionaryBuilder.d.ts +210 -0
  274. package/bc/Scripts/Drawing.d.ts +581 -0
  275. package/bc/Scripts/Drawing3D.d.ts +21 -0
  276. package/bc/Scripts/DynamicDraw.d.ts +310 -0
  277. package/bc/Scripts/Element.d.ts +154 -0
  278. package/bc/Scripts/ExtendedItem.d.ts +339 -0
  279. package/bc/Scripts/GLDraw.d.ts +223 -0
  280. package/bc/Scripts/Game.d.ts +61 -0
  281. package/bc/Scripts/GameLog.d.ts +87 -0
  282. package/bc/Scripts/Graph.d.ts +46 -0
  283. package/bc/Scripts/Import.d.ts +7 -0
  284. package/bc/Scripts/Inventory.d.ts +509 -0
  285. package/bc/Scripts/MiniGame.d.ts +30 -0
  286. package/bc/Scripts/ModularItem.d.ts +286 -0
  287. package/bc/Scripts/Mouse.d.ts +34 -0
  288. package/bc/Scripts/NPC.d.ts +105 -0
  289. package/bc/Scripts/Notification.d.ts +120 -0
  290. package/bc/Scripts/PortalLink.d.ts +159 -0
  291. package/bc/Scripts/Property.d.ts +98 -0
  292. package/bc/Scripts/Reputation.d.ts +36 -0
  293. package/bc/Scripts/Server.d.ts +239 -0
  294. package/bc/Scripts/Skill.d.ts +107 -0
  295. package/bc/Scripts/Speech.d.ts +145 -0
  296. package/bc/Scripts/Struggle.d.ts +357 -0
  297. package/bc/Scripts/Testing.d.ts +30 -0
  298. package/bc/Scripts/Text.d.ts +92 -0
  299. package/bc/Scripts/TextItem.d.ts +65 -0
  300. package/bc/Scripts/TightenLoosenItem.d.ts +31 -0
  301. package/bc/Scripts/Timer.d.ts +62 -0
  302. package/bc/Scripts/Translation.d.ts +101 -0
  303. package/bc/Scripts/TypedItem.d.ts +242 -0
  304. package/bc/Scripts/Validation.d.ts +324 -0
  305. package/bc/Scripts/VariableHeight.d.ts +108 -0
  306. package/bc/Scripts/VibratorMode.d.ts +209 -0
  307. package/bc/Scripts/lib/LZString.d.ts +12 -0
  308. package/bc/Scripts/lib/three/FBXLoader.d.ts +0 -0
  309. package/bc/Scripts/lib/three/GLTFLoader.d.ts +0 -0
  310. package/bc/Scripts/lib/webgl/resources/m4.d.ts +0 -0
  311. package/bc/Typedef.d.ts +3933 -0
  312. package/package.json +19 -0
@@ -0,0 +1,30 @@
1
+ declare function MiniGameLoad(): void;
2
+ /**
3
+ * Starts a given mini game at a set difficulty and keeps
4
+ * @param {string} GameType - Name of the mini-game to launch
5
+ * @param {number|string} Difficulty - Difficulty Ration for the mini-game
6
+ * @param {string} ReturnFunction - Callback name to execute once the mini-game is over
7
+ * @returns {void} - Nothing
8
+ */
9
+ declare function MiniGameStart(GameType: string, Difficulty: number | string, ReturnFunction: string): void;
10
+ declare function MiniGameEnd(): void;
11
+ /**
12
+ * Checks if the C key is being pressed and if cheats are available
13
+ * @returns {boolean} - TRUE if C and cheats are allowed
14
+ */
15
+ declare function MiniGameCheatKeyDown(): boolean;
16
+ declare var MiniGameType: string;
17
+ declare var MiniGameVictory: boolean;
18
+ declare var MiniGamePerfect: boolean;
19
+ /** @type {number} */
20
+ declare var MiniGameDifficulty: number;
21
+ /** @type {string} */
22
+ declare var MiniGameDifficultyMode: string;
23
+ declare var MiniGameDifficultyRatio: number;
24
+ declare var MiniGameAdvancedPayment: number;
25
+ declare var MiniGameReturnFunction: string;
26
+ declare var MiniGameProgress: number;
27
+ declare var MiniGameTimer: number;
28
+ declare var MiniGameEnded: boolean;
29
+ declare var MiniGameCheatAvailable: boolean;
30
+ declare let KDPatched: boolean;
@@ -0,0 +1,286 @@
1
+ /**
2
+ * Registers a modular extended item. This automatically creates the item's load, draw and click functions. It will
3
+ * also generate the asset's AllowType array, as AllowType arrays on modular items can get long due to the
4
+ * multiplicative nature of the item's types, and also converts the AllowModuleTypes property on any asset layers into
5
+ * an AllowTypes property, if present.
6
+ * @param {Asset} asset - The asset being registered
7
+ * @param {ModularItemConfig} config - The item's modular item configuration
8
+ * @returns {ModularItemData} - The generated extended item data for the asset
9
+ */
10
+ declare function ModularItemRegister(asset: Asset, config: ModularItemConfig): ModularItemData;
11
+ /**
12
+ * Initialize the modular item properties
13
+ * @param {ModularItemData} Data - The item's extended item data
14
+ * @param {Item} Item - The item in question
15
+ * @param {Character} C - The character that has the item equiped
16
+ * @param {boolean} Refresh - Whether the character and relevant item should be refreshed and pushed to the server
17
+ * @returns {boolean} Whether properties were initialized or not
18
+ */
19
+ declare function ModularItemInit(Data: ModularItemData, C: Character, Item: Item, Refresh?: boolean): boolean;
20
+ /**
21
+ * @param {ModularItemData} data
22
+ */
23
+ declare function ModularItemLoad(data: ModularItemData): void;
24
+ /**
25
+ * @param {ModularItemData} data
26
+ */
27
+ declare function ModularItemClick(data: ModularItemData): void;
28
+ /**
29
+ * @param {ModularItemData} data
30
+ */
31
+ declare function ModularItemDraw(data: ModularItemData): void;
32
+ /**
33
+ * Parse the and pre-process the passed modules (and their options)
34
+ * @param {Asset} asset - The asset in question
35
+ * @param {readonly ModularItemModuleConfig[]} modules - An object describing a single module for a modular item.
36
+ * @param {boolean | undefined} [changeWhenLocked] - See {@link ModularItemConfig.ChangeWhenLocked}
37
+ * @returns {ModularItemModule[]} - The updated modules and options
38
+ */
39
+ declare function ModularItemBuildModules(asset: Asset, modules: readonly ModularItemModuleConfig[], changeWhenLocked?: boolean | undefined): ModularItemModule[];
40
+ /**
41
+ * Generates an asset's modular item data
42
+ * @param {Asset} asset - The asset to generate modular item data for
43
+ * @param {ModularItemConfig} config - The item's extended item configuration
44
+ * @returns {ModularItemData} - The generated modular item data for the asset
45
+ */
46
+ declare function ModularItemCreateModularData(asset: Asset, { Modules, ChatSetting, ChatTags, ChangeWhenLocked, DialogPrefix, ScriptHooks, Dictionary, DrawData, BaselineProperty, DrawImages, }: ModularItemConfig): ModularItemData;
47
+ /**
48
+ * Creates a modular item's base draw function (for the module selection screen)
49
+ * @param {ModularItemData} data - The modular item data for the asset
50
+ * @returns {() => void} - The modular item's base draw function
51
+ */
52
+ declare function ModularItemCreateDrawBaseFunction(data: ModularItemData): () => void;
53
+ /**
54
+ * Maps a modular item option to a button definition for rendering the option's button.
55
+ * @param {ModularItemOption} option - The option to draw a button for
56
+ * @param {ModularItemModule} module - A reference to the option's parent module
57
+ * @param {ModularItemData} data - The modular item's data
58
+ * @param {number} currentOptionIndex - The currently selected option index for the module
59
+ * @returns {ModularItemButtonDefinition} - A button definition array representing the provided option
60
+ */
61
+ declare function ModularItemMapOptionToButtonDefinition(option: ModularItemOption, module: ModularItemModule, { dialogPrefix }: ModularItemData, currentOptionIndex: number): ModularItemButtonDefinition;
62
+ /**
63
+ * Draws a module screen from the provided button definitions and modular item data.
64
+ * @param {string} moduleName - The name of the module whose page is being drawn
65
+ * @param {readonly ModularItemButtonDefinition[]} buttonDefinitions - A list of button definitions to draw
66
+ * @param {ModularItemData} data - The modular item's data
67
+ * @param {ExtendedItemDrawData<ElementMetaData.Modular>} drawData
68
+ * @returns {void} - Nothing
69
+ */
70
+ declare function ModularItemDrawCommon(moduleName: string, buttonDefinitions: readonly ModularItemButtonDefinition[], data: ModularItemData, { paginate, pageCount, elementData, itemsPerPage }: ExtendedItemDrawData<ElementMetaData.Modular>): void;
71
+ /**
72
+ * Draws the extended item screen for a given module.
73
+ * @param {ModularItemModule} module - The module whose screen to draw
74
+ * @param {ModularItemData} data - The modular item's data
75
+ * @returns {void} - Nothing
76
+ */
77
+ declare function ModularItemDrawModule(module: ModularItemModule, data: ModularItemData): void;
78
+ /**
79
+ * Generates a click function for a modular item's module selection screen
80
+ * @param {ModularItemData} data - The modular item's data
81
+ * @returns {function(): void} - A click handler for the modular item's module selection screen
82
+ */
83
+ declare function ModularItemCreateClickBaseFunction(data: ModularItemData): () => void;
84
+ /**
85
+ * A generic click handler for a module's screen
86
+ * @param {ModularItemModule} module - The module whose screen we are currently in
87
+ * @param {ModularItemData} data - The modular item's data
88
+ * @returns {void} - Nothing
89
+ */
90
+ declare function ModularItemClickModule(module: ModularItemModule, data: ModularItemData): void;
91
+ /**
92
+ * A common click handler for modular item screens. Note that pagination is not currently handled, but will be added
93
+ * in the future.
94
+ * @param {ExtendedItemDrawData<ElementMetaData.Modular>} drawData
95
+ * @param {function(): void} exitCallback - A callback to be called when the exit button has been clicked
96
+ * @param {function(number): void} itemCallback - A callback to be called when an item has been clicked
97
+ * @param {function(number): void} paginateCallback - A callback to be called when a pagination button has been clicked
98
+ * @returns {void} - Nothing
99
+ */
100
+ declare function ModularItemClickCommon({ paginate, elementData }: ExtendedItemDrawData<ElementMetaData.Modular>, exitCallback: () => void, itemCallback: (arg0: number) => void, paginateCallback: (arg0: number) => void): void;
101
+ /**
102
+ * Handles page changing for modules
103
+ * @param {string} moduleName - The name of the module whose page should be modified
104
+ * @param {number} delta - The page delta to apply to the module's current page
105
+ * @param {ModularItemData} data - The modular item's data
106
+ * @param {ExtendedItemDrawData<ElementMetaData.Modular>} drawData
107
+ * @returns {void} - Nothing
108
+ */
109
+ declare function ModularItemChangePage(moduleName: string, delta: number, data: ModularItemData, { pageCount }: ExtendedItemDrawData<ElementMetaData.Modular>): void;
110
+ /**
111
+ * Transitions between pages within a modular item's extended item menu
112
+ * @param {string} newModule - The name of the new module to transition to
113
+ * @param {ModularItemData} data - The modular item's data
114
+ * @returns {void} - Nothing
115
+ */
116
+ declare function ModularItemModuleTransition(newModule: string, data: ModularItemData): void;
117
+ /**
118
+ * Parses the focus item's current type into an array representing the currently selected module options
119
+ * @param {ModularItemData} data - The modular item's data
120
+ * @param {string?} type - The type string for a modular item. If null, use a type string extracted from the selected module options
121
+ * @returns {number[]} - An array of numbers representing the currently selected options for each of the item's modules
122
+ */
123
+ declare function ModularItemParseCurrent({ asset, modules }: ModularItemData, type?: string | null): number[];
124
+ /**
125
+ * Merges all of the selected module options for a modular item into a single Property object to set on the item
126
+ * @param {ModularItemData} data - The modular item's data
127
+ * @param {readonly number[]} moduleValues - The numeric values representing the current options for each module
128
+ * @param {ItemProperties|null} BaselineProperty - Initial properties
129
+ * @returns {ItemProperties} - A property object created from combining each module of the modular item
130
+ */
131
+ declare function ModularItemMergeModuleValues({ asset, modules }: ModularItemData, moduleValues: readonly number[], BaselineProperty?: ItemProperties | null): ItemProperties;
132
+ /**
133
+ * Sanitize and merge all modular item properties
134
+ * @param {ItemProperties} Property - The to-be sanitized properties
135
+ * @param {ItemProperties} mergedProperty - The to-be returned object with the newly sanitized properties
136
+ * @param {Asset} Asset - The relevant asset
137
+ * @returns {ItemProperties} - The updated merged properties
138
+ */
139
+ declare function ModularItemSanitizeProperties(Property: ItemProperties, mergedProperty: ItemProperties, Asset: Asset): ItemProperties;
140
+ /**
141
+ * Generates the type string for a modular item from its modules and their current values.
142
+ * @param {AssetOverrideHeight} currentValue - The OverrideHeight for the future item
143
+ * @param {AssetOverrideHeight} newValue - The OverrideHeight being merged
144
+ * @returns {AssetOverrideHeight | undefined} - A string type generated from the selected option values for each module
145
+ */
146
+ declare function ModularItemMergeOverrideHeight(currentValue: AssetOverrideHeight, newValue: AssetOverrideHeight): AssetOverrideHeight | undefined;
147
+ /**
148
+ * Generates the type string for a modular item from its modules and their current values.
149
+ * @param {ModularItemModule[]} modules - The modules array for the modular item
150
+ * @param {readonly number[]} [values] - The numeric values representing the current options for each module
151
+ * @returns {string} - A string type generated from the selected option values for each module
152
+ */
153
+ declare function ModularItemConstructType(modules: ModularItemModule[], values?: readonly number[]): string;
154
+ /**
155
+ * Separate a modular item type string into a list with the types of each individual module.
156
+ * @param {string} Type - The modular item type string
157
+ * @returns {string[] | null} - A list with the options of each individual module or `null` if the input type wasn't a string
158
+ */
159
+ declare function ModularItemDeconstructType(Type: string): string[] | null;
160
+ /**
161
+ * Sets a modular item's type based on a change in a module's option selection.
162
+ * @param {ModularItemModule} module - The module that changed
163
+ * @param {number} index - The index of the newly chosen option within the module
164
+ * @param {ModularItemData} data - The modular item's data
165
+ * @returns {void} - Nothing
166
+ */
167
+ declare function ModularItemSetType(module: ModularItemModule, index: number, data: ModularItemData): void;
168
+ /**
169
+ * Sets a modular item's type and properties to the option whose name matches the provided option name parameter.
170
+ * @param {Character} C - The character on whom the item is equipped
171
+ * @param {Item | AssetGroupName} itemOrGroupName - The item whose type to set, or the group name for the item
172
+ * @param {string} optionNames - The name of the option to set
173
+ * @param {boolean} [push] - Whether or not appearance updates should be persisted (only applies if the character is the
174
+ * player) - defaults to false.
175
+ * @param {null | Character} [C_Source] - The character setting the new item option. If `null`, assume that it is _not_ the player character.
176
+ * @returns {string|undefined} - undefined or an empty string if the type was set correctly. Otherwise, returns a string
177
+ * informing the player of the requirements that are not met.
178
+ */
179
+ declare function ModularItemSetOptionByName(C: Character, itemOrGroupName: Item | AssetGroupName, optionNames: string, push?: boolean, C_Source?: null | Character): string | undefined;
180
+ /**
181
+ * Publishes the chatroom message for a modular item when one of its modules has changed.
182
+ * @param {ModularItemData} data
183
+ * @param {Character} C
184
+ * @param {Item} item
185
+ * @param {ModularItemOption} newOption
186
+ * @param {ModularItemOption} previousOption
187
+ * @returns {void} - Nothing
188
+ */
189
+ declare function ModularItemPublishAction(data: ModularItemData, C: Character, item: Item, newOption: ModularItemOption, previousOption: ModularItemOption): void;
190
+ /**
191
+ * Generates an array of all types available for an asset based on its modular item data, filtered by the provided
192
+ * predicate function, if needed.
193
+ * @param {ModularItemData} data - The modular item's data
194
+ * @param {(typeObject: Record<string, number>) => boolean} [predicate] - An optional predicate for filtering the
195
+ * resulting types
196
+ * @returns {string[]} - The generated array of types
197
+ */
198
+ declare function ModularItemGenerateTypeList({ modules }: ModularItemData, predicate?: (typeObject: Record<string, number>) => boolean): string[];
199
+ /**
200
+ * Generates and sets the AllowLock and AllowLockType properties for an asset based on its modular item data. For types
201
+ * where two independent options declare conflicting AllowLock properties (i.e. one option declares AllowLock: false and
202
+ * another declares AllowLock: true), the resulting type will permit locking (i.e. true overrides false).
203
+ * @param {ModularItemData} data - The modular item's data
204
+ * @returns {void} - Nothing
205
+ */
206
+ declare function ModularItemGenerateAllowLockType(data: ModularItemData): void;
207
+ /**
208
+ * Generates and assigns a modular asset's AllowType, AllowEffect and AllowBlock properties, along with the AllowTypes
209
+ * properties on the asset layers based on the values set in its module definitions.
210
+ * @param {ModularItemData} data - The modular item's data
211
+ * @returns {void} - Nothing
212
+ */
213
+ declare function ModularItemGenerateValidationProperties(data: ModularItemData): void;
214
+ /**
215
+ * Hide an HTML element if a given module is not active.
216
+ * @param {ModularItemData} Data - The modular item data
217
+ * @param {string} ID - The id of the element
218
+ * @param {string} Module - The module that must be active
219
+ * @returns {boolean} Whether the module is active or not
220
+ */
221
+ declare function ModularItemHideElement(Data: ModularItemData, ID: string, Module: string): boolean;
222
+ /**
223
+ * ModularItem.js
224
+ * --------------
225
+ * This file contains utilities related to modular extended items (for example the High Security Straitjacket). It is
226
+ * generally not necessary to call functions in this file directly - these are called from Asset.js when an item is
227
+ * first registered.
228
+ *
229
+ * A modular item is a typed item, but each type may be comprised of several independent "modules". For example, the
230
+ * High Security Straitjacket has 3 different modules: crotch panel (c), arms (a), and crotch straps (s), and each
231
+ * module can be configured independently. The resulting type then uses an abbreviated format which represents the
232
+ * module values comprising that type. Each module contains a number of options that may be chosen for that module.
233
+ *
234
+ * For example "c0a1s2" - represents the type where the crotch panel module uses option 0, the arms module uses option
235
+ * 1, and the crotch straps module uses option 2. The properties of the type will be derived from a combination of the
236
+ * properties of each of the type's module options. For example, difficulty will be calculated by summing up the
237
+ * difficulties for each of its module options.
238
+ *
239
+ * All dialogue for modular items should be added to `Dialog_Player.csv`. To implement a modular item, you need the
240
+ * following dialogue entries:
241
+ * * "<GroupName><AssetName>SelectBase" - This is the text that will be displayed on the module selection screen (e.g.
242
+ * `ItemArmsHighSecurityStraitJacketSelectBase` - "Configure Straitjacket")
243
+ * * For each module:
244
+ * * "<GroupName><AssetName>Select<ModuleName>" - This is the text that will be displayed on the module's subscreen
245
+ * (e.g. `ItemArmsHighSecurityStraitJacketSelectCrotch` - "Configure crotch panel")
246
+ * * "<GroupName><AssetName>Module<ModuleName>" - This is the text that will be used to describe the module (under
247
+ * the module's button) in the module selection screen (e.g. `ItemArmsHighSecurityStraitJacketModuleCrotch` -
248
+ * "Crotch Panel")
249
+ * * For each option:
250
+ * * "<GroupName><AssetName>Option<ModuleKey><OptionNumber>" - This is the text that will be used to describe the
251
+ * option (under the option's button) in the module subscreen for the module containing that option (e.g.
252
+ * `ItemArmsHighSecurityStraitJacketOptionc0` - "No crotch panel")
253
+ * * If the item's chat setting is configured to `PER_MODULE`, you will need a chatroom message for each module,
254
+ * which will be sent when that module changes. It should have the format "<GroupName><AssetName>Set<ModuleName>"
255
+ * (e.g. `ItemArmsHighSecurityStraitJacketSetCrotch` - "SourceCharacter changed the crotch panel on
256
+ * DestinationCharacter straitjacket")
257
+ * * If the item's chat setting is configured to `PER_OPTION`, you will need a chatroom message for each option, which
258
+ * will be sent when that option is selected. It should have the format
259
+ * "<GroupName><AssetName>Set<ModuleKey><OptionNumber>" (e.g. `ItemArmsHighSecurityStraitJacketSetc0` -
260
+ * "SourceCharacter removes the crotch panel from DestinationCharacter straitjacket")
261
+ */
262
+ /**
263
+ * The keyword used for the base menu on modular items
264
+ * @const {string}
265
+ */
266
+ declare const ModularItemBase: "Base";
267
+ /**
268
+ * A lookup for the modular item configurations for each registered modular item
269
+ * @const
270
+ * @type {Record<string, ModularItemData>}
271
+ * @see {@link ModularItemData}
272
+ */
273
+ declare const ModularItemDataLookup: Record<string, ModularItemData>;
274
+ /**
275
+ * An enum encapsulating the possible chatroom message settings for modular items
276
+ * - PER_MODULE - The item has one chatroom message per module (messages for individual options within a module are all
277
+ * the same)
278
+ * - PER_OPTION - The item has one chatroom message per option (for finer granularity - each individual option within a
279
+ * module can have its own chatroom message)
280
+ * @type {Record<"PER_MODULE"|"PER_OPTION", ModularItemChatSetting>}
281
+ */
282
+ declare const ModularItemChatSetting: Record<"PER_MODULE" | "PER_OPTION", ModularItemChatSetting>;
283
+ /** A regular expression that knows how to split modular types into [module key, option index] components */
284
+ declare const ModularItemTypeSplitter: RegExp;
285
+ /** A regular expression that knows how to split a [key, index] into its parts */
286
+ declare const ModularItemSubtypeSplitter: RegExp;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Check if the mouse position is within the boundaries of a given zone (Useful for UI components)
3
+ * @param {number} Left - Starting position on the X axis
4
+ * @param {number} Top - Starting position on the Y axis
5
+ * @param {number} Width - Width of the zone
6
+ * @param {number} Height - Height of the zone
7
+ * @returns {boolean} - Returns TRUE if the click occurred in the given zone
8
+ */
9
+ declare function MouseIn(Left: number, Top: number, Width: number, Height: number): boolean;
10
+ /**
11
+ * Check if the mouse position is within the boundaries of a given zone along the X axis
12
+ * @param {number} Left - Starting position on the X axis
13
+ * @param {number} Width - Width of the zone
14
+ * @returns {boolean} - Returns TRUE if the click occurred in the given zone
15
+ */
16
+ declare function MouseXIn(Left: number, Width: number): boolean;
17
+ /**
18
+ * Check if the mouse position is within the boundaries of a given zone along the Y axis
19
+ * @param {number} Top - Starting position on the Y axis
20
+ * @param {number} Height - Height of the zone
21
+ * @returns {boolean} - Returns TRUE if the click occurred in the given zone
22
+ */
23
+ declare function MouseYIn(Top: number, Height: number): boolean;
24
+ /**
25
+ * A common check for whether the specified position is being hovered over
26
+ * @param {number} Left - Starting position on the X axis
27
+ * @param {number} Top - Starting position on the Y axis
28
+ * @param {number} Width - Width of the zone
29
+ * @param {number} Height - Height of the zone
30
+ * @returns {boolean} - Returns TRUE if the mouse is currently hovering over the specified zone
31
+ */
32
+ declare function MouseHovering(Left: number, Top: number, Width: number, Height: number): boolean;
33
+ declare var MouseX: number;
34
+ declare var MouseY: number;
@@ -0,0 +1,105 @@
1
+ /**
2
+ * Sets a specific trait for a NPC
3
+ * @param {NPCCharacter} C - NPC to set the trait for
4
+ * @param {string} TraitName - Name of the trait to set
5
+ * @param {number} TraitValue - Value of the trait to set
6
+ * @returns {void} - Nothing
7
+ */
8
+ declare function NPCTraitSet(C: NPCCharacter, TraitName: string, TraitValue: number): void;
9
+ /**
10
+ * Generate random traits for a NPC (70% odds for each traits, can switch on both sides, strength is from 1 to 100). Will generate at least one trait.
11
+ * @param {NPCCharacter} C - NPC to generate the trait for
12
+ * @returns {void} - Nothing
13
+ */
14
+ declare function NPCTraitGenerate(C: NPCCharacter): void;
15
+ /**
16
+ * Get the opposite trait of a specified trait.
17
+ * @param {string} Trait - Name of the trait to find the opposite of.
18
+ * @returns {string} - Name of the opposite trait.
19
+ */
20
+ declare function NPCTraitReverse(Trait: string): string;
21
+ /**
22
+ * Returns the weight value of the specified option (The higher the value, the higher the chances the option will be picked, an opposite trait will always result as an option that's not picked)
23
+ * @param {string} Dialog - Specified dialog line with the affecting traits.
24
+ * @param {readonly NPCTrait[]} Trait - List of traits of the NPC.
25
+ * @returns {number} - Weight of the dialog option
26
+ */
27
+ declare function NPCTraitGetOptionValue(Dialog: string, Trait: readonly NPCTrait[]): number;
28
+ /**
29
+ * Finds and keeps the best possible option for a specified NPC dialog group. A group is a list of similar options where each option is influenced by a specified trait.
30
+ * @param {NPCCharacter} C - NPC to get the dialog of
31
+ * @param {string} Group - Name of the dialog group to look for
32
+ * @returns {void} - Nothing.
33
+ */
34
+ declare function NPCTraitKeepBestOption(C: NPCCharacter, Group: string): void;
35
+ /**
36
+ * Picks the dialog group option that fits mosts with the NPC traits
37
+ * @param {Character} C - NPC to get the dialog options of
38
+ * @returns {void} - Nothing.
39
+ */
40
+ declare function NPCTraitDialog(C: Character): void;
41
+ /**
42
+ * Sets the arousal settings for a NPC if it's not already done
43
+ * @param {Character} C - NPC to set the arousal stats of
44
+ * @returns {void} - Nothing.
45
+ */
46
+ declare function NPCArousal(C: Character): void;
47
+ /**
48
+ * Returns the trait value of an NPC. If the opposite trait is found, it will return a negative value.
49
+ * @param {NPCCharacter} C - NPC to get the trait of
50
+ * @param {string} TraitType - Name of the trait to get the value of
51
+ * @returns {number} - Value of the trait, returns 0 if it was never set.
52
+ */
53
+ declare function NPCTraitGet(C: NPCCharacter, TraitType: string): number;
54
+ /**
55
+ * Adds a new event in a specified NPC log or updates an existing event if it was previously logged.
56
+ * @param {NPCCharacter} C - NPC for which to add the event to
57
+ * @param {string} EventName - Name of the even to add
58
+ * @param {number} EventValue - Value of the even to add (time in ms)
59
+ * @returns {void} - Nothing
60
+ */
61
+ declare function NPCEventAdd(C: NPCCharacter, EventName: string, EventValue: number): void;
62
+ /**
63
+ * Deletes a specified NPC event from the log
64
+ * @param {NPCCharacter} C - NPC for which to delete the event
65
+ * @param {string} EventName - Name of the even to delete
66
+ * @returns {void} - Nothing
67
+ */
68
+ declare function NPCEventDelete(C: NPCCharacter, EventName: string): void;
69
+ /**
70
+ * Returns a specified NPC event value.
71
+ * @param {NPCCharacter} C - NPC to get the event value of
72
+ * @param {string} EventName - Name of the even to get the value of
73
+ * @returns {number} - Value of the event as the time in ms, returns 0 if it was never logged
74
+ */
75
+ declare function NPCEventGet(C: NPCCharacter, EventName: string): number;
76
+ /**
77
+ * For longer events like a collaring, the serious trait will dictate the time (1 day if playful, 3 days if nothing, 7 days if serious)
78
+ * @param {NPCCharacter} C - NPC to get the event delay of
79
+ * @returns {number} - Delay required for the event.
80
+ */
81
+ declare function NPCLongEventDelay(C: NPCCharacter): number;
82
+ /**
83
+ * The horny / frigid trait comes into play when a NPC decides if it can take the player as a lover. (1 week if horny, 2 weeks if nothing, 4 weeks if frigid)
84
+ * @param {NPCCharacter} C - NPC to get the event delay of
85
+ * @returns {number} - Delay required for the lover event.
86
+ */
87
+ declare function NPCLongLoverEventDelay(C: NPCCharacter): number;
88
+ /**
89
+ * Changes the love factor for a specified NPC, will stay within the -100 to 100 range
90
+ * @param {NPCCharacter} C - NPC to change the love factor of
91
+ * @param {number} LoveFactor - Amount to add to the current love factor (can be negative).
92
+ * @returns {void} - Nothing
93
+ */
94
+ declare function NPCLoveChange(C: NPCCharacter, LoveFactor: number): void;
95
+ /**
96
+ * Raises the love factor progressively with interaction time
97
+ * @returns {void} - Nothing
98
+ */
99
+ declare function NPCInteraction(): void;
100
+ /**
101
+ * List for all possible pairs of NPC traits. A pair defines opposites.
102
+ * @constant
103
+ * @type {[string, string][]}
104
+ */
105
+ declare var NPCTrait: [string, string][];
@@ -0,0 +1,120 @@
1
+ /**
2
+ * Initialise notification variables on startup
3
+ * @returns {void} - Nothing
4
+ */
5
+ declare function NotificationLoad(): void;
6
+ /**
7
+ * Create a handler instance to track and handle notifications of that event type
8
+ * @param {NotificationEventType} eventType
9
+ * @param {NotificationSetting} setting
10
+ */
11
+ declare function NotificationEventHandlerSetup(eventType: NotificationEventType, setting: NotificationSetting): void;
12
+ /**
13
+ * Create a new notification
14
+ * @param {NotificationEventType} eventType - The type of event that occurred
15
+ * @param {NotificationData} [data={}] - Data relating to the event that can be passed into a popup
16
+ * @returns {void} - Nothing
17
+ */
18
+ declare function NotificationRaise(eventType: NotificationEventType, data?: NotificationData): void;
19
+ /**
20
+ * Clear all raised notifications of the specified type
21
+ * @param {NotificationEventType} eventType - The type of event to be cleared
22
+ * @returns {void} - Nothing
23
+ */
24
+ declare function NotificationReset(eventType: NotificationEventType): void;
25
+ /**
26
+ * Clear all raised notifications
27
+ * @returns {void} - Nothing
28
+ */
29
+ declare function NotificationResetAll(): void;
30
+ /**
31
+ * Returns whether popup notifications are permitted
32
+ * @param {NotificationEventType} eventType - The type of event that occurred
33
+ * @param {NotificationData} [data={}] - Data relating to the event that can be passed into a popup
34
+ * @returns {boolean} - Whether popups can appear
35
+ */
36
+ declare function NotificationPopupsEnabled(eventType: NotificationEventType, data?: NotificationData): boolean;
37
+ /**
38
+ * Returns the total number of notifications raised for a particular alert type
39
+ * @param {NotificationAlertType} alertType - The type of alert to check
40
+ * @returns {number} - The total number of notifications
41
+ */
42
+ declare function NotificationGetTotalCount(alertType: NotificationAlertType): number;
43
+ /**
44
+ * Sets or clears the notification number in the document header
45
+ * @returns {void} - Nothing
46
+ */
47
+ declare function NotificationTitleUpdate(): void;
48
+ /**
49
+ * Redraws the icon in the tab/window header to show a red circle with the notification count
50
+ * @param {boolean} resetingAll - If resetting all notifications, no need to redraw as the total decreases
51
+ * @returns {void} - Nothing
52
+ */
53
+ declare function NotificationDrawFavicon(resetingAll: boolean): void;
54
+ /**
55
+ * An enum for the events in the game that notifications can be raised for
56
+ * @type {{ CHATMESSAGE: "ChatMessage", CHATJOIN: "ChatJoin", BEEP: "Beep", DISCONNECT: "Disconnect", TEST: "Test", LARP: "Larp" }}
57
+ */
58
+ declare const NotificationEventType: {
59
+ CHATMESSAGE: "ChatMessage";
60
+ CHATJOIN: "ChatJoin";
61
+ BEEP: "Beep";
62
+ DISCONNECT: "Disconnect";
63
+ TEST: "Test";
64
+ LARP: "Larp";
65
+ };
66
+ /**
67
+ * An enum for the types of notifications that can be raised
68
+ * @type {Record<"NONE"|"TITLEPREFIX"|"FAVICON"|"POPUP",NotificationAlertType>}
69
+ */
70
+ declare const NotificationAlertType: Record<"NONE" | "TITLEPREFIX" | "FAVICON" | "POPUP", NotificationAlertType>;
71
+ /**
72
+ * An enum for the audio settings for notifications
73
+ * @type {Record<"NONE"|"FIRST"|"REPEAT", NotificationAudioType>}
74
+ */
75
+ declare const NotificationAudioType: Record<"NONE" | "FIRST" | "REPEAT", NotificationAudioType>;
76
+ /**
77
+ * A class to track the state of each notification event type and handle actions based on the player's settings
78
+ */
79
+ declare class NotificationEventHandler {
80
+ /**
81
+ * Creates a new NotificationEventHandler for the specified event type
82
+ * @param {NotificationEventType} eventType - The
83
+ * @param {NotificationSetting} settings - The player settings corresponding to the event type
84
+ */
85
+ constructor(eventType: NotificationEventType, settings: NotificationSetting);
86
+ eventType: NotificationEventType;
87
+ settings: NotificationSetting;
88
+ raisedCount: number;
89
+ popup: Notification;
90
+ /**
91
+ * Raise a notification
92
+ * @param {NotificationData} data - Data relating to the event that can be passed into a popup
93
+ * @returns {void} - Nothing
94
+ */
95
+ raise(data: NotificationData): void;
96
+ /**
97
+ * Raise a popup notification
98
+ * @param {NotificationData} data - Data relating to the event passed into the popup
99
+ * @returns {void} - Nothing
100
+ */
101
+ raisePopup(data: NotificationData): void;
102
+ /**
103
+ * Determines whether an audio alert shoud be played
104
+ * @param {boolean} usingPopup - If TRUE this indicates that the audio will be played by a popup, rather than an in-game alert
105
+ * @returns {boolean} - Whether audio should be played
106
+ */
107
+ playAudio(usingPopup: boolean): boolean;
108
+ /**
109
+ * Resets all raised notifications for this event
110
+ * @param {boolean} resetingAll - Indicates if all notifications are being reset, to avoid unnecessarily repeating steps for each event type
111
+ * @returns {void} - Nothing
112
+ */
113
+ reset(resetingAll: boolean): void;
114
+ }
115
+ /** @type {Record<NotificationEventType, NotificationEventHandler>} */
116
+ declare let NotificationEventHandlers: Record<NotificationEventType, NotificationEventHandler>;
117
+ /** @type {NotificationAlertType[]} */
118
+ declare var NotificationAlertTypeList: NotificationAlertType[];
119
+ /** @type {NotificationAudioType[]} */
120
+ declare var NotificationAudioTypeList: NotificationAudioType[];