Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011806Dwarf FortressMiscellaneous Crashespublic2021-09-14 08:332021-09-14 08:33
Reportervoliol 
Assigned To 
PrioritylowSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.47.05 
Target VersionFixed in Version 
Summary0011806: Descriptor pattern tokens, PATTERN:IRIS_EYE, PATTERN:PUPIL_EYE and PATTERN:SPOTS, cause crashes if no colors are given.
DescriptionCustom descriptor patterns may be told to act as eye colors or spots by using either PATTERN:IRIS_EYE, PATTERN:PUPIL_EYE, PATTERN:SPOTS, but then be given no colors using CP_COLOR. If such a descriptor pattern lacking colors is given to a creature, then the game will crash upon attempting to view that creature's description.
Steps To Reproduce- Copy these into any of the descriptor pattern files (or create a new raw file for them):

[COLOR_PATTERN:IRIS_EYE_NONE]
    [PATTERN:IRIS_EYE]

[COLOR_PATTERN:PUPIL_EYE_NONE]
    [PATTERN:PUPIL_EYE]

[COLOR_PATTERN:SPOTS_NONE]
    [PATTERN:SPOTS]

- Make a creature use them, e.g. by pasting something like

[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
    [TL_COLOR_MODIFIER:IRIS_EYE_NONE:1]
        [TLCM_NOUN:eyes:PLURAL]

to the end of the creature definition.

- Load these raws, and attempt to view the creature's description.
Additional InformationI have only tested this in arena mode, but have no reason to believe it would not hold true in the other modes.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-09-14 08:33 voliol New Issue


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker