Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Template for new versions:
# Future

## Structures
- added default values for ``material`` and ``mat_index`` in ``reaction_reagentst`` and ``reaction_productst`` child classes

# 52.03-r1.1

Expand Down
12 changes: 6 additions & 6 deletions df.reaction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<class-type type-name='reaction_reagent_itemst' inherits-from='reaction_reagent'>
<enum base-type='int16_t' name='item_type' type-name='item_type'/>
<int16_t name='item_subtype' refers-to='(item-subtype-target $$._parent.item_type $)'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int16_t name='mat_index'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index' init-value='-1'/>
<int16_t name='mat_index' init-value='-1'/>

<stl-string name='reaction_class'/>
<stl-string name='has_material_reaction_product'/>
Expand Down Expand Up @@ -131,8 +131,8 @@
<class-type type-name='reaction_product_itemst' inherits-from='reaction_product'>
<enum base-type='int16_t' name='item_type' type-name='item_type'/>
<int16_t name='item_subtype' refers-to='(item-subtype-target $$._parent.item_type $)'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index' init-value='-1'/>
<int32_t name='mat_index' init-value='-1'/>

<int16_t name='probability'/>
<int16_t name='count'/>
Expand Down Expand Up @@ -161,8 +161,8 @@
<enum name='improvement_type' type-name='improvement_type'/>
<enum base-type='int32_t' name='improvement_specific_type' type-name='itemimprovement_specific_type'/>

<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index' init-value='-1'/>
<int32_t name='mat_index' init-value='-1'/>

<int16_t name='probability'/>

Expand Down
Loading