Dungeon Crawl Stone Soup Tracker - DCSS
Viewing Issue Advanced Details
12258 Bug Report minor always 2020-05-11 11:19 2020-12-13 15:40
bcadren Both  
ebering All  
normal Both  
resolved 0.25 old branch  
done  
none    
none  
0012258: Sif and Kiku will not give book gifts if an aquatic player is standing in deep water
Additionally it's weird that the Oka/Trog gift code right above it duplicates the logic of "feat_eliminates_items()" instead of calling it. It's better practice to keep this in one centralized area for similar calls in case of later changes.

Both: 1350/1351

    if (!(feat_has_solid_floor(grd(you.pos()))
        || feat_is_watery(grd(you.pos())) && species_likes_water(you.species)))

and 1483:

    if (!feat_has_solid_floor(grd(you.pos())))

in religion.cc really should be replaced with:

    if (feat_eliminates_items(grd(you.pos())))

This is a correction on earlier issue: "0012257: Sif and Kiku will not give book gifts if the player is standing in shallow water."
Issue History
2020-05-11 11:19 bcadren New Issue
2020-12-13 15:40 ebering Note Added: 0033969
2020-12-13 15:40 ebering Status new => resolved
2020-12-13 15:40 ebering Resolution open => done
2020-12-13 15:40 ebering Assigned To => ebering

Notes
(0033969)
ebering   
2020-12-13 15:40   
Fixed in 0.26-a0-1065-g58b0234282