[SalvageUnion] add missing trait fields
This commit is contained in:
@@ -381,6 +381,7 @@
|
||||
</div>
|
||||
</details>
|
||||
<div class="textarea-with-controls">
|
||||
<input type="text" name="attr_traits" class="fullsize" title="Traits">
|
||||
<textarea name="attr_details" class="textarea"></textarea>
|
||||
<button type="roll" class="control-to-chat" value="&{template:info}{{info=@{name} \n @{details}}}">w</button>
|
||||
</div>
|
||||
@@ -447,6 +448,7 @@
|
||||
</div>
|
||||
</details>
|
||||
<div class="textarea-with-controls">
|
||||
<input type="text" name="attr_traits" class="fullsize" title="Traits">
|
||||
<textarea name="attr_details" class="textarea"></textarea>
|
||||
<button type="roll" class="control-to-chat" value="&{template:info}{{info=@{name} \n @{details}}}">w</button>
|
||||
</div>
|
||||
@@ -1538,7 +1540,7 @@ const importMechWeaponTraits = (rules, object, row) => {
|
||||
}
|
||||
|
||||
const importDetails = (toImport, object, row) => {
|
||||
object[row + "details"] = toImport.split('\n').slice(1).join(' ').trim();
|
||||
object[row + "details"] = toImport.split('\n').slice(1).join('').trim();
|
||||
}
|
||||
|
||||
const importTraits = (traits, object) => {
|
||||
|
||||
Reference in New Issue
Block a user