官方文檔https://regalis11.github.io/BaroModDoc/ContentTypes/Item.html
Item類型
此內容類型用於定義各種可互動內容,亦即機械和物品可以被撿起來。
屬性
- 每個Item必須具有identifier屬性。
- identifier屬性用來指定物品及覆蓋(overriding)時使用。
- 多語言翻譯時:
- name="",在翻譯文檔設定entityname.[identifier] ="翻譯的名稱"
- description="",在翻譯文檔設定entitydescription.[identifier]="翻譯的描述"
misc.xml
<!-- <?xml(開始宣告,表示這是一份 XML 文件) version="1.0"(通常固定為 1.0,Barotrauma 僅支援此版本) encoding="utf-8"(使用 UTF-8 編碼,支援中英文與多語系字元) -->
<?xml version="1.0" encoding="utf-8"?>
<!-- 每一個xml文件只能有一個頂層標籤,Items用來包含多個Item標籤 -->
<Items>
<!-- Item(Item類型標籤,可自訂) name(名稱) identifier(物件ID) category(商店分類,Misc雜物) Tags(過濾用/自訂分類) scale(圖片縮放) description(描述) price(價格) isshootable(是否可被射擊) -->
<Item name="" identifier="guitar" category="Misc" Tags="bigitem,instrument" scale="0.5" description="" price="300" isshootable="true">
<!-- Upgrade(升級倍率標籤) gameversion(版本標記,可省略,無影響運作) scale(每次升級加成倍率,每級提升 50%) -->
<Upgrade gameversion="0.9.2.0" scale="0.5"/>
<!-- Price(價格標籤) baseprice(基礎價格) -->
<Price baseprice="50">
<!-- storeidentifier(商店ID) merchantoutpost(前哨站商人) minavailable(商店最低供應量,預設為0(無庫存)) -->
<Price storeidentifier="merchantoutpost" minavailable="1"/>
<!-- merchantcity(城市商人) -->
<Price storeidentifier="merchantcity" minavailable="1"/>
<!-- merchantresearch(研究站商人) sold(有沒有賣) -->
<Price storeidentifier="merchantresearch" sold="false" />
<!-- merchantmilitary(軍事基地商人) -->
<Price storeidentifier="merchantmilitary" sold="false" />
<!-- merchantmine(礦場商人) -->
<Price storeidentifier="merchantmine" sold="false" />
</Price>
<!-- InventoryIcon(物品欄顯示圖示標籤) texture(圖片路徑) sourcerect(X,Y,寬,高,裁切圖片上的區域) origin(X,Y,圖片放置旋轉縮放中心點(0~1,預設中心為 0.5,0.5)) -->
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="512,256,64,64" origin="0.5,0.5" />
<!-- Sprite(場景顯示圖示標籤) depth(物品在 Z 軸的前後層順序,0=最前,1=最後) -->
<Sprite texture="Misc.png" sourcerect="0,0,97,254" depth="0.6" origin="0.5,0.5" />
<!-- Body(碰撞框標籤) radius(膠囊體底部半徑) height(垂直高度) density(密度,1~5漂浮,6~10普通,11~20重物,>21無法移動,可能影響動量與撞擊音效) -->
<Body radius="40" height="160" density="12" />
<!-- RangedWeapon(遠距武器標籤,可發射子彈) reload(重新填裝所需秒數,0.5極快,1.0普通,2.5慢速,5.0重型) -->
<RangedWeapon reload="1" />
<!-- Holdable(手持標籤) slots(手持欄位) controlpose(若設為 true,會根據角色動畫/姿勢改變物品角度與位置) aimpos(瞄準位置,調整瞄準手勢位置,相對於預設瞄準手勢位置) handle1(握把位置1) handle2(握把位置2) swingamount(擺動幅度) swingspeed(擺動速度) swingwhenusing(使用時擺動,是否反作用力) msg(耍移到上面顯示的撿起訊息,翻譯用) -->
<Holdable slots="RightHand+LeftHand" controlpose="true" aimpos="30,-20" handle1="-2,-40" handle2="5,50" swingamount="10,20" swingspeed="1" swingwhenusing="true" msg="ItemMsgPickUpSelect">
<!-- StatusEffect(狀態效果標籤) type(當物品被「使用」時觸發) target(效果套用到「使用者本人」) -->
<StatusEffect type="OnUse" target="Character">
<!-- Conditional(條件標籤,只讓特定角色觸發效果) HasStatusTag(是否有某個狀態標籤,!equals clown不是小丑) -->
<Conditional HasStatusTag="!equals clown" />
<!-- 使用吉他時,隨機播放其中一首音效。每次使用只會循環播放其中一個音檔。 -->
<!-- sound(音效標籤) file(音效檔案路徑) type(音效觸發方式:「OnUse」代表使用時播放) selectionmode(選擇模式,CharacterSpecific僅自己,預設為 RoundSpecific範圍內可聽?) range(可被聽到的範圍) loop(是否循環) -->
<sound file="Content/Items/Misc/Guitar1.ogg" type="OnUse" selectionmode="CharacterSpecific" range="600" loop="true" />
<sound file="Content/Items/Misc/Guitar2.ogg" type="OnUse" selectionmode="CharacterSpecific" range="600" loop="true" />
<sound file="Content/Items/Misc/Guitar3.ogg" type="OnUse" selectionmode="CharacterSpecific" range="600" loop="true" />
</StatusEffect>
<StatusEffect type="OnUse" target="Character">
<!-- HasStatusTag(是否有某個狀態標籤,clown是小丑) -->
<Conditional HasStatusTag="clown" />
<!-- 小丑彈吉他音效 -->
<sound file="Content/Items/Misc/GuitarClown.ogg" type="OnUse" range="600" loop="true" />
</StatusEffect>
</Holdable>
</Item>
<!-- cargocontaineridentifier(貨櫃容器 ID,購買後出現在潛艇上裝購買物的箱子ID) impactsoundtag(碰撞音效標籤) -->
<Item name="" identifier="harmonica" category="Misc" Tags="smallitem,instrument" cargocontaineridentifier="metalcrate" scale="0.5" description="" price="300" impactsoundtag="impact_metal_light" isshootable="true">
<!-- PreferredContainer(優先容器標籤) primary(主要容器 ID(會優先放入),crewcab駕駛艙) spawnprobability(生成機率(0~1)為浮點數,如 0.1 = 10%) notcampaign(是否非戰役模式,預設false會出現在所有模式) -->
<PreferredContainer primary="crewcab" spawnprobability="0.05" notcampaign="true"/>
<!-- secondary(次要容器標籤,wreckcrewcab沈船駕駛艙,abandonedcrewcab廢棄駕駛艙,piratecrewcab海盜駕駛艙) -->
<PreferredContainer secondary="wreckcrewcab,abandonedcrewcab,piratecrewcab" spawnprobability="0.1"/>
<Price baseprice="50">
<Price storeidentifier="merchantoutpost" minavailable="1"/>
<Price storeidentifier="merchantcity" minavailable="1"/>
<Price storeidentifier="merchantresearch" sold="false" />
<Price storeidentifier="merchantmilitary" sold="false" />
<Price storeidentifier="merchantmine" sold="false" />
</Price>
<Upgrade gameversion="0.9.2.0" scale="0.5"/>
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="576,256,64,64" origin="0.5,0.5" />
<Sprite texture="Misc.png" sourcerect="102,16,58,21" depth="0.6" origin="0.5,0.5" />
<!-- width(矩形碰撞框寬度) -->
<Body width="58" height="20" density="15" />
<RangedWeapon reload="1" />
<!-- slots(支援雙手持有(RightHand+LeftHand)或單手持有(Any)) -->
<Holdable slots="RightHand+LeftHand,Any" aimable="false" aimpos="25,15" handle1="-10,0" handle2="0,0" swingamount="20,0" swingspeed="0.5" swingwhenusing="true" msg="ItemMsgPickUpSelect">
<sound file="Content/Items/Misc/Harmonica1.ogg" type="OnUse" selectionmode="CharacterSpecific" range="600" loop="true" />
<sound file="Content/Items/Misc/Harmonica2.ogg" type="OnUse" range="600" loop="true" />
<!-- statuseffecttags(狀態效果標籤,playingharmonica吹口琴的狀態) duration(持續時間(秒)) stackable(狀態是否可疊加) -->
<StatusEffect statuseffecttags="playingharmonica" type="OnUse" target="Character" duration="0.1" stackable="false" />
</Holdable>
</Item>
<Item name="" identifier="accordion" category="Misc" Tags="smallitem,instrument" scale="0.5" description="" price="300" impactsoundtag="impact_metal_light" isshootable="true">
<PreferredContainer primary="crewcab" spawnprobability="0.05" notcampaign="true"/>
<PreferredContainer secondary="wreckcrewcab,abandonedcrewcab,piratecrewcab" spawnprobability="0.1"/>
<Price baseprice="50">
<Price storeidentifier="merchantoutpost" minavailable="1"/>
<Price storeidentifier="merchantcity" minavailable="1"/>
<Price storeidentifier="merchantresearch" sold="false" />
<Price storeidentifier="merchantmilitary" sold="false" />
<Price storeidentifier="merchantmine" sold="false" />
</Price>
<RangedWeapon reload="1" />
<Upgrade gameversion="0.9.2.0" scale="0.5" />
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="576,956,64,64" origin="0.5,0.5" />
<Sprite texture="Misc.png" sourcerect="164,5,92,110" depth="0.55" origin="0.5,0.5" />
<Body width="92" height="110" density="20" />
<Holdable slots="RightHand+LeftHand,Any" controlpose="true" aimable="false" aimpos="50,-20" handle1="-20,0" handle2="-10,0" swingamount="50,0" swingspeed="0.5" swingwhenusing="true" msg="ItemMsgPickUpSelect">
<sound file="Content/Items/Misc/AccordionLoop.ogg" type="OnUse" range="600" loop="true" />
</Holdable>
</Item>
<!-- requireaimtouse(是否需要瞄準使用,預設false) -->
<Item name="" identifier="captainspipe" category="Misc" Tags="smallitem" scale="0.5" cargocontaineridentifier="metalcrate" impactsoundtag="impact_metal_light" isshootable="true" requireaimtouse="true">
<PreferredContainer primary="crewcab" spawnprobability="0.05" notcampaign="true"/>
<PreferredContainer secondary="wreckcrewcab,abandonedcrewcab,piratecrewcab" spawnprobability="0.1"/>
<Price baseprice="50">
<Price storeidentifier="merchantoutpost"/>
<Price storeidentifier="merchantcity"/>
<Price storeidentifier="merchantresearch"/>
<Price storeidentifier="merchantmilitary"/>
<Price storeidentifier="merchantmine"/>
</Price>
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="511,957,64,64" origin="0.5,0.5" />
<Sprite texture="Misc.png" sourcerect="105,73,50,30" depth="0.55" origin="0.5,0.5" />
<Body width="58" height="20" density="15" />
<Holdable slots="Any,RightHand,LeftHand" aimable="false" aimpos="28,10" handle1="10,-5" swingamount="0,0" swingspeed="0.5" swingwhenusing="true" msg="ItemMsgPickUpSelect">
<!-- type(OnSecondaryUse次要使用(右鍵或特殊鍵)) target(目標,This指向該物品自身) -->
<StatusEffect type="OnSecondaryUse" target="This">
<!-- InWater(是否在水中) -->
<Conditional InWater="false" />
<!-- ParticleEmitter(粒子發射器標籤) particle(粒子效果類型) particlespersecond(每秒幾個粒子) scalemin(最小尺寸) scalemax(最大尺寸) anglemin(最小角度) anglemax(最大角度) velocitymin(最低速度) velocitymax(最高速度) -->
<ParticleEmitter particle="swirlysmoke" particlespersecond="1" scalemin="1" scalemax="2" anglemin="0" anglemax="360" velocitymin="0" velocitymax="10"/>
<!-- RequiredItem(需求物品標籤) 整行意思是必須有含「pipetobacco菸草」才有粒子效果 -->
<RequiredItem items="pipetobacco" type="Contained" />
</StatusEffect>
<!-- 只要玩家按住右鍵使用道具,會每幾幀重複觸發 OnSecondaryUse -->
<!-- interval(觸發間隔,該狀態效果每幾秒觸發一次,8每 8 秒觸發一次 StatusEffect) -->
<StatusEffect type="OnSecondaryUse" target="This" interval="8">
<Conditional InWater="false" />
<!-- Random隨機播放一個音效 -->
<Sound file="Content/Items/Medical/ITEM_cigarette.ogg" range="250" selectionmode="Random" />
<Sound file="Content/Items/Medical/ITEM_cigaretteExtended.ogg" range="250" />
<!-- 需要有pipetobacco才有音效 -->
<RequiredItem items="pipetobacco" type="Contained" />
</StatusEffect>
<!-- 需要在水中且有pipetobacco才有泡泡粒子特效 -->
<StatusEffect type="OnSecondaryUse" target="This">
<Conditional InWater="true" />
<ParticleEmitter particle="bubbles" particlespersecond="3" scalemin="0.3" scalemax="0.5" anglemin="0" anglemax="360" velocitymin="0" velocitymax="10"/>
<RequiredItem items="pipetobacco" type="Contained" />
</StatusEffect>
<!-- Condition(耐久值,-4.0每次觸發消耗 4 耐久) disabledeltatime(是否忽略時間流逝運算,false啟用時間流逝計算即效果受時間流逝影響,表示狀態效果與時間間隔(intervel)掛勾,會按間隔持續生效) -->
<StatusEffect type="OnSecondaryUse" target="Contained" Condition="-4.0" disabledeltatime="false">
<!-- 效果只會在「包含 pipetobacco」時觸發,消耗pipetobacco耐久(-4.0) -->
<RequiredItem items="pipetobacco" type="Contained" />
</StatusEffect>
<!-- 玩家對物品按下次要使用鍵時,對【玩家自身】生效 -->
<StatusEffect type="OnSecondaryUse" target="Character">
<!-- 增加【精神病抗性】數值 +15(表示暫時性抗性提升) -->
<!-- Affliction(負面狀態標籤) identifier(負面狀態ID,psychosisresistance精神病抗性) amount(數值) -->
<Affliction identifier="psychosisresistance" amount="15" />
<!-- 減少「精神病」狀態 5 點(代表緩解此負面狀態) -->
<!-- ReduceAffliction(減少負面狀態標籤) identifier(psychosis精神病) -->
<ReduceAffliction identifier="psychosis" amount="5" />
<!-- 減少「幻覺」狀態 5 點(代表緩解此負面狀態) -->
<ReduceAffliction identifier="hallucinating" amount="10" />
<!-- 需要有pipetobacco才有抗性效果 -->
<RequiredItem items="pipetobacco" type="Contained" />
</StatusEffect>
</Holdable>
<!-- captainspipe是容器 -->
<!-- ItemContainer(內容物容器標籤) hideitems(隱藏容器中內容物的 sprite) drawinventory(是否在 UI 中顯示容器格子) capacity(容器有幾格) maxstacksize(容器自身最大堆疊數) slotsperrow(規畫用非實際格數,UI 顯示時每垂直行幾格,例如capacity=12,slotsperrow=4,顯示 3 行,每行 4 格) itempos(內容物位置(相對於父物件captainspipe)) iteminterval(多個物品顯示時的間距) itemrotation(物品顯示旋轉角度) canbeselected(此容器是否可以被選取,false不可互動) containedspritedepth(內容物的圖層深度) -->
<ItemContainer hideitems="true" drawinventory="true" capacity="1" maxstacksize="1" slotsperrow="6" itempos="74,-281" iteminterval="0,0" itemrotation="0" canbeselected="false" containedspritedepth="0.79">
<!-- SlotIcon(欄位圖示標籤?) slotindex(欄位索引?) -->
<SlotIcon slotindex="0" texture="Content/UI/StatusMonitorUI.png" sourcerect="0,384,64,64" origin="0.5,0.5" />
<!-- 限制此容器只能放入 ID 為 pipetobacco 的物品 -->
<!-- Containable(可容納物品標籤) items(內容物ID) -->
<Containable items="pipetobacco" />
</ItemContainer>
</Item>
<!-- maxstacksize(角色以外一般容器物品自身最多堆疊) maxstacksizecharacterinventory(角色身上物品自身最多堆疊) -->
<Item name="" identifier="pipetobacco" category="Misc" maxstacksize="32" maxstacksizecharacterinventory="8" Tags="smallitem,pipetobacco" cargocontaineridentifier="metalcrate" scale="0.5" impactsoundtag="impact_metal_light" isshootable="true">
<PreferredContainer primary="captainspipe" spawnprobability="1"/>
<PreferredContainer primary="crewcab" spawnprobability="0.05" notcampaign="true"/>
<PreferredContainer secondary="wreckcrewcab,abandonedcrewcab,piratecrewcab" spawnprobability="0.1"/>
<Price baseprice="120">
<!-- multiplier(價格倍率) -->
<Price storeidentifier="merchantoutpost" multiplier="1.1" minavailable="1"/>
<Price storeidentifier="merchantcity" multiplier="0.9" minavailable="2"/>
<Price storeidentifier="merchantresearch" sold="false" />
<Price storeidentifier="merchantmilitary" sold="false" />
<Price storeidentifier="merchantmine" sold="false" />
</Price>
<!-- 自動販賣機消耗金錢不用材料 -->
<!-- Fabricate(製造標籤) suitablefabricators(可用的製造設備,vendingmachine自動販賣機) requiredtime(製造所需時間) requiredmoney(製造所需金錢) fabricationlimitmin(限制最少可製作 0 個) fabricationlimitmax(限制最多可製作 10 個,注意 0 會顯示缺貨不能製造) -->
<Fabricate suitablefabricators="vendingmachine" requiredtime="1" requiredmoney="190" fabricationlimitmin="0" fabricationlimitmax="10"/>
<!-- fabricator潛艇上的製造設備 -->
<Fabricate suitablefabricators="fabricator" requiredtime="20">
<!-- RequiredSkill(需要技能標籤) identifier(技能ID) level(最低等級) -->
<RequiredSkill identifier="helm" level="30" />
<!-- 材料為 3 個 tobaccobud -->
<Item identifier="tobaccobud" />
<Item identifier="tobaccobud" />
<Item identifier="tobaccobud" />
</Fabricate>
<!-- Deconstruct(解構標籤) time(分解時間20秒) -->
<Deconstruct time="20">
<!-- 分解出 1 個 tobaccobud -->
<Item identifier="tobaccobud" />
</Deconstruct>
<InventoryIcon texture="Content/Items/InventoryIconAtlas2.png" sourcerect="192,320,64,64" origin="0.5,0.5" />
<Sprite texture="Content/Items/Gardening/GrowablePlants_Temp.png" sourcerect="848,774,44,58" depth="0.55" origin="0.5,0.5" />
<Body width="40" height="50" density="10.5"/>
<Holdable slots="Any,RightHand,LeftHand" msg="ItemMsgPickUpSelect" >
<!-- 壞掉後自動刪除 -->
<StatusEffect type="OnBroken" target="This">
<Remove />
</StatusEffect>
</Holdable>
</Item>
<!-- width height(呈現在地圖的尺寸) category(編輯器分類,Decorative裝飾)subcategory(次分類,generic通用裝飾)-->
<Item name="" identifier="bunk" width="173" height="129" category="Decorative" subcategory="generic">
<sprite texture="Content/Map/MiscStructures.png" sourcerect="1416,1163,173,129" depth="0.85" origin="0.5,0.5" />
<!-- Controller(控制角色互動標籤) UserPos(使用者位置(相對物件)) direction(使用者朝向,Right向右) hidehud(是否隱藏HUD) issecondaryitem(是否是附屬物品) canbeselected(物品是否可被可選取(有滑鼠互動)) drawuserbehind(使用者是否被畫在物件後面) noninteractablewhenflippedy(是否Y軸翻轉時(上下顛倒)不可互動,trueY軸翻轉時不可互動) -->
<Controller UserPos="0,-150" direction="Right" hidehud="false" issecondaryitem="true" canbeselected="true" drawuserbehind="true" noninteractablewhenflippedy="true">
<!-- 設定角色躺下的動畫姿態與骨架位置對應床面 -->
<!-- limbposition(角色姿勢定錨標籤)limb position(決定使用時角色在床上的擺位姿勢) -->
<limbposition limb="Head" position="-13,-85" />
<limbposition limb="Torso" position="42,-70" />
<limbposition limb="Waist" position="112,-80" />
<limbposition limb="RightFoot" position="222,-80" />
<limbposition limb="LeftFoot" position="222,-80" />
<!-- allowusinglimb(是否允許使用肢體,false禁用該部位互動,避免手部在躺下時誤操作) -->
<limbposition limb="RightHand" position="112,-80" allowusinglimb="false" />
<limbposition limb="LeftHand" position="112,-80" allowusinglimb="false" />
<!-- OnActive當角色「使用中」時觸發 -->
<StatusEffect type="OnActive" target="Character">
<!-- reduceaffliction(減少負面狀態標籤) type(負面狀態類型,damage傷害) strength(強度,每 tick 5%) -->
<reduceaffliction type="damage" strength="0.05" />
<!-- 減少腦震盪concussion -->
<reduceaffliction identifier="concussion" strength="0.04" />
<!-- 減少感染infection-->
<reduceaffliction identifier="infection" strength="0.02" />
<!-- 減少失血bloodloss-->
<reduceaffliction identifier="bloodloss" strength="0.05" />
<!-- 減少流血bleeding -->
<reduceaffliction identifier="bleeding" strength="0.05" />
<!-- 減少噁心nausea -->
<reduceaffliction identifier="nausea" strength="0.5" />
<!-- 減少酒醉drunk -->
<reduceaffliction identifier="drunk" strength="0.5" />
<!-- 減少阿片類藥物戒斷opiatewithdrawal -->
<reduceaffliction identifier="opiatewithdrawal" strength="0.06" />
<!-- 減少阿片類藥物成癮opiateaddiction -->
<reduceaffliction identifier="opiateaddiction" strength="0.06" />
<!-- 減少化學戒斷chemwithdrawal -->
<reduceaffliction identifier="chemwithdrawal" strength="0.06" />
<!-- 減少化學成癮chemaddiction -->
<reduceaffliction identifier="chemaddiction" strength="0.06" />
</StatusEffect>
</Controller>
</Item>
<!-- nameidentifier(名稱ID,指向本地化文字檔中的名稱字串) descriptionidentifier(描述ID) allowstealingalways(是否總是允許可被偷走) spritecolor(圖片顏色,20,39,162,255深藍色調) hideinmenus(在製作/購買清單隱藏) -->
<Item name="" identifier="researcherscribble1" nameidentifier="alientranslator" descriptionidentifier=" " allowstealingalways="true" spritecolor="20,39,162,255" category="Misc" hideinmenus="true" Tags="smallitem" cargocontaineridentifier="metalcrate" scale="0.5" impactsoundtag="impact_soft">
<PreferredContainer primary="crewcab" secondary="locker"/>
<PreferredContainer secondary="researchcontainer" spawnprobability="0.05"/>
<InventoryIcon texture="Content/Items/Misc/scribble1.png" sourcerect="0,0,768,1024" origin="0.5,0.5" />
<Sprite texture="Content/Map/Outposts/Art/FactionItems.png" sourcerect="367,194,12,44" origin="0.5,0.5" depth="0.8" />
<Body width="35" height="40" density="8" />
<!-- holdangle(持有時傾斜角度) -->
<Holdable slots="Any,RightHand,LeftHand" holdangle="30" handle1="-10,0" msg="ItemMsgPickUpSelect" />
<!-- Terminal(終端顯示介面標籤) canbeselected(是否可以互動選取) msg(ItemMsgInteractSelect互動訊息) AllowInGameEditing(是否可以遊戲內編輯) AutoHideScrollbar(自動隱藏卷動條?) readonly(是否唯讀) autoscrolltobottom(是否自動滾至最底) linestartsymbol(行首符號) marginmultiplier(文字邊距倍率?) drawhudwhenequipped(是否裝備時顯示HUD,true拿在手上會顯示HUD) -->
<Terminal canbeselected="true" msg="ItemMsgInteractSelect" AllowInGameEditing="false" AutoHideScrollbar="true" readonly="true" autoscrolltobottom="false" linestartsymbol="" marginmultiplier="1.5" drawhudwhenequipped="true">
<!-- GuiFrame(終端視窗外框標籤) relativesize(相對尺寸,0.5,0.75 終端視窗尺寸為螢幕 50% , 75%) anchor(錨點,center置中顯示) style(終端視窗背景樣式) hidedragicons(隱藏拖動圖示,true不可拖曳終端視窗) -->
<GuiFrame relativesize="0.5,0.75" anchor="Center" style="Scribble1" hidedragicons="true" />
</Terminal>
</Item>
<!-- variantof(繼承,派生自 scribble1,表示繼承其大部分屬性,僅覆蓋定義內的欄位) -->
<Item name="" identifier="researcherscribble2" variantof="researcherscribble1">
<InventoryIcon texture="Content/Items/Misc/scribble2.png" sourcerect="0,0,768,1024" origin="0.5,0.5" />
<Terminal>
<GuiFrame style="Scribble2" />
</Terminal>
</Item>
</Items>
Terminal終端

aimpos&handle1

holdangle

用途不明代碼
<!-- 使用口琴時附加playingharmonica狀態0.1秒 -->
<StatusEffect statuseffecttags="playingharmonica" type="OnUse" target="Character" duration="0.1" stackable="false" />
待解決(歡迎讀者留言解惑)
- selectionmode:CharacterSpecific、 RoundSpecific、Random的意義及預設值
- AutoHideScrollbar是甚麼意思?
- marginmultiplier是甚麼意思?