Skip to content

Commit

Permalink
update record_item for new ruleset changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Aug 14, 2024
1 parent 98051d5 commit bdc429c
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions campaign/record_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@
<sheetdata>

<!-- Hardness, Hitpoints, Damage -->
<label_column name="item_durability_label" insertbefore="weight_label">
<label_content_column name="item_durability_label" insertbefore="weight_label">
<anchored>
<top offset="20" />
</anchored>
<static textres="item_label_itemdurability" />
</label_column>
</label_content_column>

<number_columnh name="hardness" insertbefore="weight_label">
<number_content_columnh name="hardness" insertbefore="weight_label">
<anchored width="40" height="20">
<top offset="20" />
<left offset="97" />
<left offset="105" />
</anchored>
<delaykeyupdate />
<min>0</min>
</number_columnh>
</number_content_columnh>
<label_fieldtop name="hardness_label">
<anchored to="hardness" />
<static textres="item_label_hardness" />
</label_fieldtop>

<number_column name="hitpoints" insertbefore="weight_label">
<number_content_column name="hitpoints" insertbefore="weight_label">
<anchored width="40" height="20">
<top parent="hardness" anchor="top" offset="0" />
<left parent="hardness" anchor="right" relation="relative" offset="10" />
Expand All @@ -48,13 +48,13 @@
window.itemdamage.onValueChanged()
end
</script>
</number_column>
</number_content_column>
<label_fieldtop name="hitpoints_label">
<anchored to="hitpoints" />
<static textres="item_label_hitpoints" />
</label_fieldtop>

<number_column name="itemdamage" insertbefore="weight_label">
<number_content_column name="itemdamage" insertbefore="weight_label">
<anchored width="40" height="20">
<top parent="hardness" anchor="top" offset="0" />
<left parent="hardness" anchor="right" relation="relative" offset="10" />
Expand All @@ -64,7 +64,7 @@
<min>0</min>
<tooltip textres="item_tooltip_damage" />
<script file="campaign/scripts/itemdamage.lua" />
</number_column>
</number_content_column>
<label_fieldtop name="itemdamage_label">
<anchored to="itemdamage" />
<static textres="item_label_damage" />
Expand All @@ -85,10 +85,10 @@
</buttoncontrol>

<!-- Substance, Size, Thickness -->
<label_column name="substance_label" insertbefore="weight_label">
<label_content_column name="substance_label" insertbefore="weight_label">
<static textres="item_label_substance" />
</label_column>
<string_columnh name="substance" insertbefore="weight_label" />
</label_content_column>
<string_content_columnh name="substance" insertbefore="weight_label" />

<buttoncontrol name="button_rebuildattributes">
<anchored to="substance" width="20" height="20">
Expand All @@ -104,32 +104,32 @@
</script>
</buttoncontrol>

<label_column name="size_label" insertbefore="weight_label">
<label_content_column name="size_label" insertbefore="weight_label">
<static textres="item_label_size" />
</label_column>
<string_columnh name="size" insertbefore="weight_label" />
</label_content_column>
<string_content_columnh name="size" insertbefore="weight_label" />

<label_column name="thickness_label" insertbefore="weight_label">
<label_content_column name="thickness_label" insertbefore="weight_label">
<static textres="item_label_thickness" />
</label_column>
<number_columnh name="thickness" insertbefore="weight_label">
</label_content_column>
<number_content_columnh name="thickness" insertbefore="weight_label">
<hideonvalue>0</hideonvalue>
<min>0</min>
</number_columnh>
</number_content_columnh>

<!-- CL and Saves -->
<label_column name="cl_label">
<label_content_column name="cl_label">
<anchored>
<top offset="20" />
</anchored>
<static textres="casterlevel" />
</label_column>
<number_columnh name="cl">
</label_content_column>
<number_content_columnh name="cl">
<anchored>
<top offset="20" />
</anchored>
<script file="campaign/scripts/calculatesave.lua" />
</number_columnh>
</number_content_columnh>

<number_npc_save name="fortitudesave" source="saves.fortitude">
<anchored to="cl" width="40" height="20">
Expand Down

0 comments on commit bdc429c

Please sign in to comment.