Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010286Dwarf FortressCreaturespublic2017-09-06 10:072017-09-06 10:07
Reporterbearskie 
Assigned To 
PrioritylowSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.43.05 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker