MCPcopy Create free account
hub / github.com/crawl/crawl / take_note

Function take_note

crawl-ref/source/notes.cc:550–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void take_note(const Note& note, bool force)
551{
552 if (notes_active && (force || _is_noteworthy(note)))
553 {
554 note_list.push_back(note);
555 note.check_milestone();
556 }
557}
558
559void activate_notes(bool active)
560{

Callers 15

make_user_noteFunction · 0.85
_djinn_announce_spellsFunction · 0.85
_wanderer_note_equipmentFunction · 0.85
_take_starting_noteFunction · 0.85
floor_transitionFunction · 0.85
_change_skill_levelFunction · 0.85
set_terrain_seenFunction · 0.85
mpr_check_patternsFunction · 0.85
crawl_take_noteFunction · 0.85
bless_weaponFunction · 0.85
zin_donate_goldFunction · 0.85

Calls 3

_is_noteworthyFunction · 0.85
check_milestoneMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected