打开/关闭搜索
搜索
打开/关闭菜单
4875
2301
13
8.8万
Trials in Tainted Space Bilingual Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
无法加载偏好设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
中文(简体)
个人工具
登录
查看“︁Save Editing/zh-hans”︁的源代码
来自Trials in Tainted Space Bilingual Wiki
分享此页面
更多语言
查看
阅读
查看源代码
查看历史
associated-pages
页面
讨论
更多操作
←
Save Editing/zh-hans
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
管理员
、translationadmin
本页面无法手动更新。本页面是
Save Editing
页面的翻译版,可以使用
翻译工具
来更新该翻译。
您可以查看和复制此页面的源代码。
<languages /> {{ContentWarning|message= 除了官方的 TiTS 存档编辑器外,开发团队并不完全认可或支持存档修改,因为这将被视为“作弊”和/或“破解”游戏文件,以获取想要的结果,而不是按设计使用游戏内机制。 如果你打算修改自己的存档文件,请注意,你需对存档修改可能产生的任何后果负全部责任——这包括对你的游戏体验产生的任何负面影响、出现修改前不存在的任何奇怪的外观或功能相关 bug,甚至导致存档文件本身损坏,或使其变得无法被游戏读取。 <b>永远记得保留一份原始、未经修改的存档文件的备份副本!</b>}} __TOC__ == 描述 == 本文是关于修改[[Trials in Tainted Space|污秽宇宙的试炼]]存档文件的参考指南。 游戏可以保存为两种文件变体:一种是游戏专用的 *.tits 文件(通过“'''保存文件'''”按钮),另一种是更易编辑的 *.sol 文件(通过“'''保存'''”按钮)。本编辑指南只专注于[http://en.wikipedia.org/wiki/Local_shared_object 本地共享对象]文件类型(*.sol)。 == 编辑器 == 有几种方法可以修改存档文件。 === 游戏状态编辑器 === TiTs 的 Javascript(JS)版本目前有一个非官方的游戏状态编辑器,允许你在游戏进行时进行编辑。 [https://forum.fenoxo.com/threads/titsedjs-a-game-state-editor-for-javascript-version.32419/#post-404980] === TiTS 存档编辑器 === {{ContentWarning|message= 要修改存档文件,必须先将其'''保存到文件''',然后加载到你选择的编辑器中。}} ==== 官方 ==== <i>目前暂无详细信息。</i> ==== 非官方 ==== '''针对旧版本(Flash/Adobe AIR)''' [https://github.com/Chase-san/TiTsEd/releases <i>TiTsEd</i>] '''针对 JS 版本''' [https://forum.fenoxo.com/threads/tits-js-save-editor.34145/ <i>TiTS.JS Save Editor</i>] JS 版本的存档以 .json 格式存储,可以用标准文本编辑器和网站打开。前者通常需要某种插件将文本格式化为易于阅读的格式,而网站通常会自动完成这项工作。请注意,这种编辑方式类似于高级用户操作——你可以做到多得多的修改,但前提是你知道自己在做什么。 === CourseVector .minerva === 最常用、也最容易获取的方法是使用名为[http://blog.coursevector.com/minerva .minerva]的本地共享对象编辑器。旧版 .minerva 可以下载到本地机器上使用,但需要安装[http://www.adobe.com/products/air.html AIR]环境软件才能正常运行。另外,当前的在线浏览器版本允许上传 *.sol 文件进行编辑,然后将更改保存为新文件。 == 存档文件位置 == 根据所使用的操作系统和/或网络浏览器,游戏生成的 *.sol 存档文件可能存放在多个位置之一。 === 文件夹目录 === 第一步是找到正确的文件夹目录: ==== Windows Vista 与 7 ==== 按以下步骤访问“AppData”文件夹: * 按 Windows 键 + R 打开“运行”命令框。 * 在“运行”框中输入或复制粘贴“%AppData%”,然后点击“确定”或按回车键。 * Roaming > Macromedia > Flash Player > #SharedObjects > ''[数字和字母]'' 另一种方法是让隐藏文件夹可见,从而直接导航到 AppData 文件夹。 完整路径:<br> C:\Users\''[用户名]''\AppData\Roaming\Macromedia\Flash Player\#SharedObjects\''[数字和字母]''\ 如果使用'''Windows XP''',存档文件可以位于以下文件路径:<br> C:\Documents and Settings\''[用户名]''\Application Data\Macromedia\Flash Player\#SharedObjects\''[数字和字母]''\ 如果使用'''Google Chrome''',存档文件可以位于以下文件路径:<br> C:\Users\''[用户名]''\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\''[数字和字母]''\ 或者,如果你找不到确切目录,可以按以下方法搜索文件: * 按 Windows 键 + R 打开“运行”命令框。 * 在“运行”框中输入或复制粘贴“%AppData%”,然后点击“确定”或按回车键。 * 转到窗口右上角的“搜索 Roaming”文本输入框,输入“TiTs_”或“.sol”。 * 等待搜索找到[[#Filename|相关文件]]。 <div lang="en" dir="ltr" class="mw-content-ltr"> ==== Mac OS X ==== </div> 完整路径:<br> Users/''[用户名]''/Library/Preferences/Macromedia/Flash Player/#SharedObjects/''[数字和字母]''/ 如果使用'''Google Chrome''',存档文件可以位于以下文件路径:<br> ~/Library/Application Support/Google/Chrome/Default/Pepper Data/Shockwave Flash/WritableRoot/#SharedObjects/''[数字和字母]''/www.fenoxo.com 如果你没有使用“默认”的 Google Chrome 账户(例如 Chrome 上存在多个独立配置文件的用户),则无需打开 Default 文件夹,文件路径是:<br> ~/Library/Application Support/Google/Chrome/Profile ''[编号]''/Pepper Data/Shockwave Flash/WritableRoot/#SharedObjects/''[数字和字母]''/www.fenoxo.com<br> Chrome 中的配置文件并不是按其保存时的名称命名的,而是按创建顺序编号的。 ==== Linux ==== 完整路径:<br> /home/''[用户名]''/.macromedia/Flash_Player/#SharedObjects/''[数字和字母]''/ === 文件位置 === 找到正确的目录后,下一步是在以下文件夹位置找到实际文件: 如果'''Trials in Tainted Space'''是下载到本地硬盘而非在线浏览器中游玩的,存档文件可能位于标有“localhost”的文件夹中,通常位于 Macromedia Flash Player 的缓存/临时文件夹内。 * 例如,在 Windows 7 上:Roaming > Macromedia > Flash Player > #SharedObjects > ''[数字和字母]'' > localhost<br /> '''较新版本的 Flash 已将此处改为名为“#localWithNet”的文件夹''' * 例如:Roaming > Macromedia > Flash Player > #SharedObjects > ''[数字和字母]'' > #localWithNet 另外,通过'''www.fenoxo.com'''或'''fenoxo.com'''在线游玩时,存档文件将分别位于“www.fenoxo.com”和“fenoxo.com”文件夹中。如果在'''FurAffinity'''网站(或'''www.furaffinity.net''')上游玩,则位于“d.facdn.net”文件夹中。 * 例如,在 Windows 7 上:Roaming > Macromedia > Flash Player > #SharedObjects > ''[数字和字母]'' > www.fenoxo.com === Filename === 找到合适的文件夹后,生成的存档文件名应该类似“TiTs_''n''.sol”,其中“''n''”是存档所在的存档位编号。 * 例如,如果文件保存在'''3 号存档位''',则文件名应为“TiTs_3.sol”。 == 存档文件结构 == 构成存档文件组件的值类型多种多样,包括: * <b>Integer</b> - 整数(非小数)数值。 * <b>Number</b> - 带有小数或分数值的数值。 * <b>Boolean</b> - 由 true 或 false 组成的布尔值。 * <b>String</b> - 由文本字符组成的序列。 * <b>Array</b> - 一组变量组成的集合。 * <b>Object</b> - 与数组类似,由一组变量组成的集合。 ''请注意,如果数值中没有小数,那么 Number 值可以被视为 Integer。Integer 和 Number 都可以是正值或负值。'' == 变量数组 == 存档文件将包含一个主值数组,其中每个值都可能包含另一个值数组(而这些数组还可以再包含另一个值数组)。 The main set of values presented in the save are as follows: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Save File Array !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || characters || Object || Array of serialized [[#Characters|character]] objects. |- || currentHours || Integer || The current hour. |- || currentMinutes || Integer || The current minute. |- || daysPassed || Integer || Days passed since the first day of the adventure. |- || flags || Object || Array of various game flag values. |- || gameOptions || Object || Array of game option values. |- || mailSystem || Object || Array of messenger message objects. |- || minVersion || Integer || Save file's minimum save version number. |- || playerGender || String || Player character's gender upon save. |- || playerLocation || String || Player character's location coordinate upon save. |- || saveLocation || String || Player character's location name displayed upon save. |- || saveName || String || Player character's name upon save. <i>(Save file's name)</i> |- || saveNotes || String || Special notes given to the save file upon save. |- || shipLocation || String || Player character's ship location name displayed upon save. |- || statTracking || Object || Array of stat tracking objects. |- || unlockedCodexEntries || Array || Array of unlocked [[Codex#Codex_Entries|codex entries]]. |- || version || Integer || Save file's current save version number. |- || viewedCodexEntries || Array || Array of viewed [[Codex#Codex_Entries|codex entries]]. |- |} === Characters === 该数组包含标记为需要序列化的角色的各种信息。这些信息主要涉及特定角色的属性、已装备物品和身体部位细节。 要编辑玩家角色,需要关注的数组对象是“PC”。 {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Character Array !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || HPMod || Number || Modified value of [[Combat_Mechanics#HP|HP]]. |- || HPRaw || Number || Raw value of [[Combat_Mechanics#HP|HP]]. |- || ShipStorageInventory || Array || Array of inventory slots containing [[#Item|items]] located on the player character's ship. |- || XPRaw || Integer || Raw value of [[Combat_Mechanics#XP|XP]]. |- || a || String || Lowercase article used to refer to the character. <i>(Primarily used in combat text.)</i> |- || accessory || Object || [[#Item|Item]] currently occupying the [[Accessory|accessory]] slot. |- || affinity || String || Designates the [[Combat_Mechanics#Affinity|affinity]] type of the character. <i>(Assigned during character creation.)</i> |- || aimMod || Number || Modified value of [[Combat_Mechanics#Aim|aim]]. |- || aimRaw || Number || Raw value of [[Combat_Mechanics#Aim|aim]]. |- || analVirgin || Boolean || Whether or not the character has a virgin [[Asshole|anus]]. |- || antennae || Integer || Amount of [[Antennae#Number|antennae]]. |- || antennaeType || Integer || Type of [[Antennae#Type|antennae]]. |- || armFlags || Array || Array of flags for the [[Arms|arms]]. |- || armType || Integer || Type of [[Arms#Type|arms]]. |- || armor || Object || [[#Item|Item]] currently occupying the [[Armor|armor]] slot. |- || ass || Object || Array of properties of the [[#Orifices|anus]]. |- || ballEfficiency || Number || Efficiency of [[Cum#Cum_Efficiency|cum]] production. |- || ballFullness || Integer || Prostate or testicle semen fullness. |- || ballSizeMod || Number || Modified value of testicle size. |- || ballSizeRaw || Number || Raw value of [[Testicle#Size|testicle]] size. |- || balls || Integer || Amount of [[Testicle#Number|testicles]]. |- || baseHPResistances || Object || Array of HP resistance stats. |- || baseShieldResistances || Object || Array of Shield resistance stats. |- || beardLength || Number || Length of [[Beard#Length|beard]]. |- || beardStyle || Integer || Style type of [[Beard#Style|beard]]. |- || bellyRatingMod || Number || Modified value of belly size. |- || bellyRatingRaw || Number || Raw value of [[Belly#Size|belly]] size. |- || breastRows || Array || Array of the [[#Breast_Rows|breast rows]]. |- || buttRatingMod || Number || Modified value of butt size. |- || buttRatingRaw || Number || Raw value of [[Butt#Size|butt]] size. |- || buyMarkdown || Number || Multiplier value of the markdown price when the character buys items. |- || capitalA || String || Uppercase article used to refer to the character. <i>(Primarily used in combat text.)</i> |- || characterClass || Integer || Value of the character's [[Global_Values#Character|class]]. <i>(Viewed as Occupation.)</i> |- || classInstance || String || Directory and name of the object's function. |- || clitLength || Number || Length of [[Clit#Length|clitoris]]. |- || cockVirgin || Boolean || Whether or not the character has penis virginity. |- || cocks || Array || Array of the [[#Cocks|penises]]. |- || credits || Integer || Amount of usable [[credits]] currently held on the character's person. |- || cumMultiplierMod || Number || Modified value of cum production's cum multiplier. |- || cumMultiplierRaw || Number || Raw value of cum production's [[Cum#Cum_Multiplier|cum multiplier]]. |- || cumQualityMod || Number || Modified value of cum production's cum quality. |- || cumQualityRaw || Number || Raw value of cum production's [[Cum#Cum_Quality|cum quality]] <i>(also known as Virility)</i>. |- || cumType || Integer || Type of [[Cum#Type|fluid]] produced as male ejaculate. |- || customBlock || String || Action for when the character is blocking an attack. <i>(Used in generic combat text.)</i> |- || customDodge || String || Action for when the character is dodging an attack. <i>(Used in generic combat text.)</i> |- || dickNippleMultiplier || Number || Multiplier value of [[Nipple#Genital_Length|dick nipple]] length when it is erect. |- || dickNippleType || Integer || Type of [[Nipple#Genital_Type|dick nipple]] <i>(for nipple types that support it)</i>. |- || earLength || Number || Length of [[Ears#Length|ears]] <i>(for ear types that support it)</i>. |- || earType || Integer || Type of [[Ears#Type|ears]]. |- || earsPLong || String || Long name of ear piercing (if applicable). |- || earsPShort || String || Short name of ear piercing (if applicable). |- || earsPierced || Integer || Number of ear piercings. |- || eggs || Integer || <i>(Unused)</i> |- || elasticity || Number || Value of the character's genital [[Elasticity#Elasticity|elasticity]]. |- || energyMod || Number || Modified value of [[Combat_Mechanics#Energy|energy]]. |- || energyRaw || Number || Raw value of [[Combat_Mechanics#Energy|energy]]. |- || exhibitionismRaw || Number || Raw value of [[Exhibitionism#Manipulation|exhibitionism]] level. |- || eyeColor || String || Color of [[Eyes#Color|eyes]]. |- || eyeType || Integer || Type of [[Eyes#Type|eyes]]. |- || eyebrowPLong || String || Long name of eyebrow piercing (if applicable). |- || eyebrowPShort || String || Short name of eyebrow piercing (if applicable). |- || eyebrowPierced || Integer || Number of eyebrow piercings. |- || faceFlags || Array || Array of flags for the [[Face|face]]. |- || faceType || Integer || Type of [[Face#Type|face]]. |- || femininity || Number || Value of [[Femininity#Details|femininity]] level. |- || fertilityMod || Number || Modified value of [[Pregnancy#Fertility|fertility]]. |- || fertilityRaw || Number || Raw value of [[Pregnancy#Fertility|fertility]]. |- || fertilizedEggs || Integer || <i>(Unused)</i> |- || furColor || String || Color of [[Skin#Color|fur]]. |- || genitalSpot || Integer || Value of the character's [[Global_Values#Character|genital location]]. |- || gills || Boolean || Whether or not [[Gills|gills]] are present. |- || girlCumType || Integer || Type of [[Girl-Cum#Type|fluid]] produced as female ejaculate. |- || hairColor || String || Color of [[Hair#Color|hair]]. |- || hairLength || Number || Length of [[Hair#Length|hair]]. |- || hairStyle || String || Style of [[Hair#Style|hair]]. |- || hairType || Integer || Type of [[Hair#Type|hair]]. |- || hipRatingMod || Number || Modified value of hip size. |- || hipRatingRaw || Number || Raw value of [[Hips#Size|hip]] size. |- || hornLength || Number || Length of [[Horn#Length|horn]] <i>(for horn types that support it)</i>. |- || hornType || Integer || Type of [[Horn#Type|horn]]. |- || horns || Integer || Amount of [[Horn#Number|horns]] on the head. |- || impregnationType || String || Pregnancy name of impregnation type. |- || intelligenceMod || Number || Modified value of [[Combat_Mechanics#Intelligence|intelligence]]. |- || intelligenceRaw || Number || Raw value of [[Combat_Mechanics#Intelligence|intelligence]]. |- || inventory || Array || Array of inventory slots containing [[#Item|items]] located on the character's person. |- || isLustImmune || Boolean || Whether or not the character is immune to lust. |- || keeperBuy || String || Shopkeeper message for buying items. |- || keeperGreeting || String || Shopkeeper message for greeting another character. |- || keeperSell || String || Shopkeeper message for selling items. |- || keyItems || Array || Array of [[#Storage|storage]]-class [[Key_item|key items]], located on the player character's person. |- || legCount || Integer || Amount of [[Leg#Number|legs]]. |- || legFlags || Array || Array of flags for the [[Leg|legs]]. |- || legType || Integer || Type of [[Leg#Type|legs]]. |- || level || Integer || Current value of the character's [[Combat_Mechanics#Level|level]]. |- || libidoMod || Number || Modified value of [[Combat_Mechanics#Libido|libido]]. |- || libidoRaw || Number || Raw value of [[Combat_Mechanics#Libido|libido]]. |- || lipColor || String || Color of [[Lips#Color|lips]]. |- || lipMod || Number || Modified value of [[Lips#Lip Mod|lip size]]. |- || lipPLong || String || Long name of lip piercing (if applicable). |- || lipPShort || String || Short name of lip piercing (if applicable). |- || lipPierced || Integer || Number of lip piercings. |- || long || String || Description of the character's appearance and/or environment during combat. |- || lowerUndergarment || Object || [[#Item|Item]] currently occupying the [[Lower_undergarment|lower undergarment]] slot. |- || lustMod || Number || Modified value of [[Combat_Mechanics#Lust|lust]]. |- || lustRaw || Number || Raw value of [[Combat_Mechanics#Lust|lust]]. |- || meleeWeapon || Object || [[#Item|Item]] currently occupying the [[Melee_weapon|melee weapon]] slot. |- || milkFullness || Integer || Value of the lactation's [[Milk#Milk_Fullness|milk fullness]]. |- || milkMultiplier || Number || Value of the lactation's [[Milk#Milk_Multiplier|milk multiplier]]. |- || milkRate || Number || Value of the lactation's [[Milk#Milk_Rate|milk rate]]. |- || milkType || Integer || Type of [[Milk#Type|fluid]] produced while lactating. |- || minutesSinceCum || Integer || Amount of minutes since the last orgasm. |- || neverSerialize || Boolean || Whether or not to restrict all the data in this class object array from being recorded upon save. |- || nippleColor || String || Color of each [[Nipple#Color|nipple]]. |- || nippleLengthRatio || Number || Length ratio of each [[Nipple#Length|nipple]]. |- || nippleWidthRatio || Number || Width ratio of each [[Nipple#Width|areola]]. |- || nipplesPLong || String || Long name of nipple piercing (if applicable). |- || nipplesPShort || String || Short name of nipple piercing (if applicable). |- || nipplesPerBreast || Integer || Amount of [[Nipple#Number|nipples]] for each breast. |- || nipplesPierced || Integer || Number of nipple piercings. |- || nosePLong || String || Long name of nose piercing (if applicable). |- || nosePShort || String || Short name of nose piercing (if applicable). |- || nosePierced || Integer || Number of nose piercings. |- || originalRace || String || The original birth [[:Category:Races|race]] of the character. |- || perkPoints || Integer || Amount of usable perk points to attain various [[:Category:Character_classes|class]]-related [[Perks_by_source|perks]]. |- || perks || Array || Array of [[#Storage|storage]]-class [[Perks#List|perks]] currently owned. |- || personality || Integer || Value of [[Alignment#Personality|personality]] level. |- || physiqueMod || Number || Modified value of [[Combat_Mechanics#Physique|physique]]. |- || physiqueRaw || Number || Raw value of [[Combat_Mechanics#Physique|physique]]. |- || plural || Boolean || Whether or not the character is addressed as plural. |- || pregnancyData || Array || Array of [[#Pregnancy|pregnancies]] currently in progress. |- || pregnancyIncubation<br>BonusFatherMod || Number || Modified value of the semen to affect the multiplier of another character's pregnancy speed. |- || pregnancyIncubation<br>BonusFatherRaw || Number || Raw value of the semen to affect the multiplier of another character's pregnancy speed. |- || pregnancyIncubation<br>BonusMotherMod || Number || Modified value of the womb to affect the multiplier of the character's pregnancy speed. |- || pregnancyIncubation<br>BonusMotherRaw || Number || Raw value of the womb to affect the multiplier of the character's pregnancy speed. |- || pregnancyMultiplierMod || Number || Modified value of the multiplier for the amount of offspring a womb can create. |- || pregnancyMultiplierRaw || Number || Raw value of the multiplier for the amount of offspring a womb can create. |- || rangedWeapon || Object || [[#Item|Item]] currently occupying the [[Ranged_weapon|ranged weapon]] slot. |- || reflexesMod || Number || Modified value of [[Combat_Mechanics#Reflexes|reflexes]]. |- || reflexesRaw || Number || Raw value of [[Combat_Mechanics#Reflexes|reflexes]]. |- || refractoryRate || Integer || Value of cum production's [[Milk#Refractory_Rate|refractory rate]]. |- || scaleColor || String || Color of [[Skin#Color|scales]]. |- || sellMarkup || Number || Multiplier value of the markup price when the character sells items. |- || sexualPreferences || Object || Array of sexual preferences. |- || shield || Object || [[#Item|Item]] currently occupying the [[Shield_generator|shield generator]] slot. |- || shieldsRaw || Number || Raw value of [[Combat_Mechanics#Shields|shields]] generated. |- || short || String || The character's first/primary name or alias. |- || skinAccent || String || Color of [[Skin#Status_Effects|skin accents]]. |- || skinFlags || Array || Array of flags for the [[Skin#Type|skin type]]. |- || skinTone || String || Color of [[Skin#Color|skin]]. |- || skinType || Integer || Type of [[Skin#Type|skin]]. |- || statusEffects || Array || Array of [[#Storage|storage]]-class [[Status Effects|status effects]] currently affecting the character. |- || tailCount || Integer || Amount of [[Tail#Number|tails]]. |- || tailFlags || Array || Array of flags for the [[Tail|tails]]. |- || tailGenital || Integer || Type of [[Tail#Genital_Type|tail genital]]. <i>(For valid tail types; Unused)</i> |- || tailGenitalArg || Integer || Type of [[Tail#Genital_Type|penis]] or [[Tail#Genital_Type|vagina]] the tail has. |- || tailGenitalColor || String || Color of [[Tail#Genital_Type|tail genital]]. <i>(For genital tail types that support it.)</i> |- || tailRecharge || Integer || <i>(Unused)</i> |- || tailType || Integer || Type of [[Tail#Type|tail]]. |- || tailVenom || Integer || <i>(Unused)</i> |- || tallness || Number || Value of the character's full [[Height#Height|height]]. |- || teaseLevel || Integer || <i>(Unused)</i> |- || teaseXP || Integer || <i>(Unused)</i> |- || thickness || Number || Value of the character's [[Thickness|body thickness]]. |- || timesCum || Integer || Amount of times the character had an orgasm. |- || tone || Number || Value of the character's [[Tone|muscle tone]]. |- || tongueFlags || Array || Array of flags for the [[Tongue|tongue]]. |- || tonguePLong || String || Long name of tongue piercing (if applicable). |- || tonguePShort || String || Short name of tongue piercing (if applicable). |- || tonguePierced || Integer || Number of tongue piercings. |- || tongueType || Integer || Type of [[Tongue#Type|tongue]]. |- || typesBought || Array || List of item types available to buy from another character. |- || unclaimedClassPerks || Integer || Amount of [[:Category:Character_classes|class]]-specific perks available for the player character to gain. |- || unclaimedGenericPerks || Integer || Amount of general perks available for the player character to gain. |- || unspentStatPoints || Integer || Amount of skill points available for the player character to upgrade [[Combat_Mechanics#Core_Stats|core stats]]. |- || upperUndergarment || Object || [[#Item|Item]] currently occupying the [[Upper_undergarment|upper undergarment]] slot. |- || vaginalVirgin || Boolean || Whether or not the character has vaginal virginity. |- || vaginas || Array || Array of the [[#Orifices|vaginas]]. |- || version || Integer || Character function's version number. <i>(Used for updates from a previous version.)</i> |- || willpowerMod || Number || Modified value of [[Combat_Mechanics#Willpower|willpower]]. |- || willpowerRaw || Number || Raw value of [[Combat_Mechanics#Willpower|willpower]]. |- || wingCount || Integer || Amount of [[Wings#Number|wings]]. |- || wingType || Integer || Type of [[Wings#Type|wings]]. |- |} ==== Breast Rows ==== The breast rows, regardless of breast sizes, fall under the "BreastRow" class of organ objects which contain the following properties: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Breast Row Class !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || breastRatingHoneypotMod || Number || Modified value of breast size derived from the [[Perks_by_source#Honeypot|Honeypot gene]]. |- || breastRatingLactationMod || Number || Modified value of breast size derived from the [[Milk#Milk_Fullness|lactation]]. |- || breastRatingMod || Number || Modified value of breasts size. |- || breastRatingRaw || Number || Raw value of [[Chest#Size|breasts]] size. |- || breasts || Integer || Amount of [[Chest#Number|breasts]] in the row. |- || classInstance || String || Directory and name of the object's function. |- || fullness || Integer || <i>(Unused)</i> |- || nippleType || Integer || Type of [[Nipple#Type|nipple]]. |- |} ==== Cocks ==== The penis falls under the "Cock" class of organ objects which contain the following properties: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Cock Class !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || cLengthMod || Number || Modified value of the penis length. |- || cLengthRaw || Number || Raw value of the [[Penis#Length|penis]] length. |- || cThicknessRatioMod || Number || Modified value of the penis thickness ration. |- || cThicknessRatioRaw || Number || Raw value of the [[Penis#Thickness_Ratio|penis]] thickness ration. |- || cType || Integer || Type of [[Penis#Type|penis]]. |- || classInstance || String || Directory and name of the object's function. |- || cockColor || String || Color of [[Penis#Color|penis]]. |- || cockFlags || Array || Array of flags for the [[Penis|penis]]. |- || flaccidMultiplier || Number || Multiplier to determine the scaled value of the penis size. |- || knotMultiplier || Number || Multiplier to determine the scaled value of the [[Penis#Knot_Multiplier|penis knot]]. |- || pLong || String || Long name of penis piercing (if applicable). |- || pShort || String || Short name of penis piercing (if applicable). |- || pierced || Integer || Number of penis piercings. |- || sock || String || Description or name of cock sock (if applicable). |- || virgin || Boolean || Whether or not the penis appears virgin. |- |} ==== Orifices ==== The vagina and anus fall under the "Vagina" class of organ objects which contain the following properties: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Vagina Class !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || bonusCapacity || Integer || Value of [[Vagina#Bonus_Capacity|vagina]] or [[Asshole#Bonus_Capacity|anus]] bonus capacity. |- || classInstance || String || Directory and name of the object's function. |- || clitPLong || String || Long name of clitoris piercing (if applicable). |- || clitPShort || String || Short name of clitoris piercing (if applicable). |- || clitPierced || Integer || Number of clitoris piercings. |- || clits || Integer || Amount of [[Clit#Number|clitorises]] the vagina has. |- || hymen || Boolean || Whether or not the vagina has a virgin-like [[Vagina#Status_Effects|hymen]]. |- || labiaPLong || String || Long name of labia piercing (if applicable). |- || labiaPShort || String || Short name of labia piercing (if applicable). |- || labiaPierced || Integer || Number of labia piercings. |- || loosenessMod || Integer || Modified value of the orifice looseness. |- || loosenessRaw || Integer || Raw value of [[Vagina#Looseness|vagina]] or [[Asshole#Looseness|anus]] looseness. |- || minLooseness || Integer || Minimum value of the orifice looseness. |- || shrinkCounter || Integer || Counter for changing the orifice looseness towards its minimum value. |- || type || Integer || Type of [[Vagina#Type|vagina]]. |- || vaginaColor || String || Color of [[Vagina#Color|vagina]]. |- || vagooFlags || Array || Array of flags for the [[Vagina|vagina]]. |- || wetnessMod || Integer || Modified value of the orifice wetness. |- || wetnessRaw || Integer || Raw value of [[Vagina#Wetness|vagina]] or [[Asshole#Wetness|anus]] wetness. |- |} ==== Pregnancy ==== The "PregnancyData" array consists of active and inactive "wombs" which contain the following properties: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Pregnancy Data !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || classInstance || String || Directory and name of the object's function. |- || pregnancyBellyRating<br>Contribution || Integer || Value contributed to the [[Belly#Pregnant_Size|belly]] size. |- || pregnancyIncubation || Integer || Minutes of gestation/incubation time for the [[Pregnancy#Pregnancy|pregnancy]]. |- || pregnancyIncubationMulti || Integer || Multiplier applied to the time, affecting the speed of the [[Pregnancy#Pregnancy|pregnancy]]. |- || pregnancyQuantity || Integer || Amount of individual offspring resulting from the [[Pregnancy#Pregnancy|pregnancy]]. |- || pregnancyType || String || Name of the type of pregnancy. |- |} ==== 类型值 ==== 有关预定义类型和标记所用整数的参考,请参见[[Global_Values|全局数值]]页面。 要确定某个类型/标记是否与特定身体部位兼容,请参阅[[Appearance|外观]]页面中的身体部位列表。 ==== Item ==== For most item objects, only a few notable values are saved. {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Item Array !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || classInstance || String || Directory and name of the object's function. |- || quantity || Integer || Amount of this item held in the slot. |- || shortName || String || Item's given short name. <i>(Used as the display name in the slot.)</i> |- || version || Integer || Item function's version number. <i>(Used for updates from a previous version.)</i> |- |} However, if the item is marked for serialization, the object is dynamic rather than static, and additional values are available: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Additional Item Array Values !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || attack || Number || Value of the item's [[Combat_Mechanics#Accuracy|accuracy]]. |- || attackNoun || String || Noun for attack action. <i>(Used in generic combat text.)</i> |- || attackVerb || String || Verb for attack action. <i>(Used in generic combat text.)</i> |- || baseDamage || Object || Array with the [[#Collection|collection]] of [[Combat_Mechanics#Damage_Types|damage type]] information. |- || basePrice || Integer || Base [[credits|credit]] value of the item. |- || combatUsable || Boolean || Whether or not the item is usable in combat. |- || critBonus || Number || Value of the item's [[Combat_Mechanics#Critical_Damage|critical damage]]. |- || defense || Number || Value of the item's [[Combat_Mechanics#Defense|defense]]. |- || description || String || Item's brief description. |- || evasion || Number || Value of the item's [[Combat_Mechanics#Evasion|evasion]]. |- || fortification || Number || Value of the item's [[Combat_Mechanics#Fortification|fortification]]. |- || hardLightEquipped || Boolean || Whether or not the item is [[Hardlight|hardlight]]-enabled. |- || isUsable || Boolean || Whether or not the item is usable at all. |- || itemFlags || Array || Array of flags for the [[Global_Values#Gameplay|item]]. |- || longName || String || Item's full name. |- || neverSerialize || Boolean || Whether or not to restrict all the data in this class object array from being recorded upon save. |- || resistances || Object || Array with the [[#Collection|collection]] of [[Combat_Mechanics#Resistances|resistance]] information. |- || sexiness || Number || Value of the item's [[Combat_Mechanics#Sexiness|sexiness]]. |- || shieldDefense || Number || Value of the item's [[Combat_Mechanics#Shield_Defense|shield defense]]. |- || shields || Number || Value of the item's [[Combat_Mechanics#Bonus_Shields|bonus shields]]. |- || stackSize || Integer || Amount this item can stack to until the slot is completely full. |- || targetsSelf || Boolean || Whether or not the item's values target the character's self on use. |- || tooltip || String || Item's fully detailed description or extended information. |- || type || Integer || Type of [[Global_Values#Gameplay|item]]. |- |} ==== Storage ==== Storage class arrays are commonly used for key items, perks, and status effects. The values for a storage object are as follows: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Storage Class !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || classInstance || String || Directory and name of the object's function. |- || combatOnly || Boolean || Whether or not the status effect is restricted to combat only. |- || hidden || Boolean || Whether or not the status effect is hidden. |- || iconName || String || Name of the icon to be displayed while the status effect is active. |- || minutesLeft || Integer || Amount of minutes left before the status effect expires. |- || storageName || String || Name of the key item, perk, or status effect. <i>(Storage object's name.)</i> |- || tooltip || String || Description of the item, perk or effect's details. |- || value1 || Integer || Value designated for the first slot. |- || value2 || Integer || Value designated for the second slot. |- || value3 || Integer || Value designated for the third slot. |- || value4 || Integer || Value designated for the fourth slot. |- |} ==== Collection ==== Type collection of type/flag arrays are used determine the values for each damage/resistance of an item. The arrays are as follows: {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ Type Collection !width="200px"| Name !width="100px"| <span style="font-size:88%">Value Type</span> !width="600px" class="unsortable"| Description |- || flagCollection || Array || Array of [[Codex:_Item_Mechanics#Weapon_Flags|weapon]] or [[Codex:_Item_Mechanics#Armor_Flags|armor]] flags. |- || typeCollection || Array || Array of [[Combat_Mechanics#Damage_Types|damage]] or [[Combat_Mechanics#Resistances|resistence]] types. |- |} For typeCollection, the array's index numbers correlate to the [[<tvar name="link-4">Special:MyLanguage/Global_Values#Type_Collection</tvar>|damage type]], where the values under each type designates the amount of damage/protection from each type. The flagCollection works similar to other flag-like arrays where only the defined/adopted flag values are included in the collection. {|class="wikitable sortable bordered" border="1" cellpadding="2" style="text-align:left" |+ typeCollection !width="40px"| # !width="100px"| <span style="font-size:88%">Value Type</span> !width="160px" class="unsortable"| Description |- || 0 || Number || Kinetic value. |- || 1 || Number || Electric value. |- || 2 || Number || Burning value. |- || 3 || Number || Freezing value. |- || 4 || Number || Corrosive value. |- || 5 || Number || Poison value. |- || 6 || Number || True Damage value. |- || 7 || Number || Psionic value. |- || 8 || Number || Drug value. |- || 9 || Number || Pheromone value. |- || 10 || Number || Tease value. |- || 11 || Number || True Lust value. |- |} [[Category:Game mechanics]] [[Category:Pre-Java Script conversion]]
该页面使用的模板:
Template:ContentWarning
(
查看源代码
)
返回
Save Editing/zh-hans
。
查看“︁Save Editing/zh-hans”︁的源代码
来自Trials in Tainted Space Bilingual Wiki