View Issue Details

IDProjectCategoryView StatusLast Update
0011409Dwarf FortressAdventure Mode -- Reactionspublic2020-03-01 18:35
ReporterHuntthetroll Assigned ToToady One  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Platformx64OSWindowsOS VersionWindows 10
Product Version0.47.03 
Summary0011409: "Blessed with a holy weapon" divination result fails to spawn artifact weapon
DescriptionWhen my character rolled a divination die in a shrine, the game displayed the following message: "You have been blessed with a holy weapon!" Unfortunately, no such weapon appeared. A search of the monastery for it proved fruitless.

According to other players who have received this blessing, the weapon is supposed to spawn on the ground at your adventurer's feet. It goes without saying that this did not happen for me, and I don't have the slightest idea what the underlying cause could be.
Steps To ReproduceThe only way to possibly reproduce this bug in-game would be to roll dice in a lot of different shrines.
Additional InformationThe world in which this bug occurred was generated in version 0.47.02.
TagsNo tags attached.

Activities

Earthbound Modder

2020-02-22 21:37

reporter   ~0040169

I have successfully implemented a similar interaction that ended up working. The interaction required something like the following:

    [I_EFFECT:CREATE_ITEM]
        [IE_TARGET:A]
        [IE_IMMEDIATE]
        [IE_ITEM:100:1:WEAPON:ITEM_WEAPON_WHIP:INORGANIC:IRON]- key
        [IE_ITEM_QUALITY:ARTIFACT]

This creates an iron whip of artifact quality with a randomly generated name.

Basically the item has to be specifically defined, which (having checked) it isn't in the generated world.dat raws controlling blessings. There, it just appears as [IE_ITEM:100:1:WEAPON:NONE:NONE:NONE], which probably is supposed to result in a random weapon being generated, but results in the game failing to create a weapon due to a lack of item type, subtype, and material definitions.

This means the game is generating rare interactions that will result in failure every time: likely unintended, and a bug in the blessing system.

Toady One

2020-02-24 17:07

administrator   ~0040191

There's a subtype and a material picker, though in the NONE case for the material it was assuming there was a god input, which is fixed for next time (it'll pick a random material.) This doesn't close the report though, since without mods (getting rid of divine materials), the dice should have worked.

Huntthetroll

2020-02-25 09:09

reporter   ~0040201

Does *every* god have a divine material associated with it, though? Or is it only gods that have created vaults?

Huntthetroll

2020-02-28 14:09

reporter   ~0040261

Here's a save with two human adventurers parked at a shrine with an icosahedral die. Have each adventurer roll the die once. Savescum as many times as necessary.
Every time one of them gets a "holy weapon" blessing, no weapon will appear.

http://dffd.bay12games.com/file.php?id=14874

The world of this save is the same one, generated in version 0.47.02, where I first found the bug.

Earthbound Modder

2020-03-01 14:43

reporter   ~0040284

Seems to be fixed in .47.04 which is great, so I wanted to pop back in and say thanks Toady!

Huntthetroll

2020-03-01 18:35

reporter   ~0040286

Seconding what Earthbound Modder said. When testing my example save, I was able to get a holy weapon to appear after the appropriate divination result. Although this does not guarantee that all item generation interactions are fixed, the specific cases reported here appear to be fixed.

Add Note

Note

Issue History

Date Modified Username Field Change
2020-02-22 21:01 Huntthetroll New Issue
2020-02-22 21:37 Earthbound Modder Note Added: 0040169
2020-02-24 17:07 Toady One Note Added: 0040191
2020-02-24 17:07 Toady One Assigned To => Toady One
2020-02-24 17:07 Toady One Status new => feedback
2020-02-25 09:09 Huntthetroll Note Added: 0040201
2020-02-25 09:09 Huntthetroll Status feedback => assigned
2020-02-28 14:09 Huntthetroll Note Added: 0040261
2020-03-01 14:43 Earthbound Modder Note Added: 0040284
2020-03-01 18:35 Huntthetroll Note Added: 0040286