View Issue Details

IDProjectCategoryView StatusLast Update
0010286Dwarf FortressCreaturespublic2017-09-06 10:07
Reporterbearskie Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version0.43.05 
Summary0010286: CTAG defaults to true if !ARG not passed
DescriptionIf a creature variation does not provide the required arguments, CTAGs relating to that argument are assumed to be true.

This seems rather counter-intuitive. Ideally it should be the other way around - defaulting to false if no arguments are provided, and NOT applying the CTAG.
Steps To Reproduce[CREATURE_VARIATION:TEST]
    [CV_ADD_CTAG:1:YES:<stuff A>]
    [CV_ADD_CTAG:2:NO:<stuff B>]

[APPLY_CREATURE_VARIATION:TEST:HAHA]

Obviously, !ARG1 is not YES, hence CTAG 1 is false and <stuff A> doesn't happen.
However, despite !ARG2 not having been declared, CTAG 2 defaults to true and <stuff B> happens.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Add Note

Note

Issue History

Date Modified Username Field Change
2017-09-06 10:07 bearskie New Issue