View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009549 | Dwarf Fortress | Dwarf Mode -- Moods | public | 2016-02-09 17:41 | 2024-02-07 14:16 |
Reporter | Quietust | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 0.42.05 | ||||
Summary | 0009549: Artifact weapons have base-level sharpness? | ||||
Description | When weapons are created, they are assigned a "sharpness" value which is based on their material's MAX_EDGE property - base-quality weapons get 50%, well-crafted weapons get 60%, finely-crafted weapons get 70%, superior ones get 80%, exceptional get 90%, and masterful get the full 100%. However, artifact weapons seem to only get 50% sharpness, seemingly because the "strange mood completed" function just directly sets the artifact item's quality to 5 (e.g. "item->quality = 5;") instead of calling the virtual class function which sets the quality and recalculates its sharpness (e.g. "item->setQuality(5);"). | ||||
Additional Information | http://www.bay12forums.com/smf/index.php?topic=156150.0 This is actually a quite long-standing bug, dating back to version 0.23 (which also assigned the variable directly instead of calling the function) but not actually manifesting until version 0.31 (when said function started doing other things in addition to assigning quality). | ||||
Tags | No tags attached. | ||||