Semi-automatically generated modding documentation for Barotrauma

ConcatComponent

Attributes

Attribute Type Default value Description
MaxOutputLength int 256 The maximum length of the output string. Warning: Large values can lead to large memory usage or networking load.
Separator string ””  
TimeFrame float 0 The item must have received signals to both inputs within this timeframe to output the result. If set to 0, the inputs must be received at the same time.

This component also supports the attributes defined in: ItemComponent

Example

<Item identifier="concatcomponent" category="Electrical" Tags="smallitem,logic" maxstacksize="8" cargocontaineridentifier="metalcrate" scale="0.5" impactsoundtag="impact_metal_light" isshootable="true">
  <ConcatComponent canbeselected="true" />
  <ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver" hudpriority="10">
    <GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center" style="ConnectionPanel" />
    <RequiredItem items="screwdriver" type="Equipped" />
    <input name="signal_in1" displayname="connection.signalinx~[num]=1" />
    <input name="signal_in2" displayname="connection.signalinx~[num]=2" />
    <output name="signal_out" displayname="connection.signalout" />
  </ConnectionPanel>
  [...]
</Item>