Sorry for not providing more information in my original post. The mission I was referring to is the one given by misc. NPCs (like the one generated near you at the start of a game). When the NPC gives the mission the text says “Someone forgot to code this message id is 78, topic is TALK_MISSION_OFFER!”. When you accept is says, “Someone forgot to code this message id is 78, topic is TALK_MISSION_ACCEPTED!” When you talk to them again it says, “Someone forgot to code this message id is 78, topic is TALK_MISSION_INQUIRE!” In the in-game mission list it simply says “Find a Book”.
As I said, my understanding of the code is limited so I may be completely wrong but it doesn’t appear like it is actually setting a book as a target when the quest is given.
In missiondef.cpp it shows:
MISSION(_("Find a Book"), MGOAL_FIND_ANY_ITEM, 2, 800, false,
&mission_place::always, &mission_start::place_book,
&mission_end::standard, &mission_fail::standard);
ORIGINS(ORIGIN_ANY_NPC);
There is no item listed in there. Where for the nurse mission you mentioned, it’s got:
MISSION(_("Find Advanced Emergency Care"), MGOAL_FIND_ITEM, 5, 50000, false,
&mission_place::always, &mission_start::ranch_nurse_8,
&mission_end::standard, &mission_fail::standard);
ORIGINS(ORIGIN_SECONDARY);
ITEM("emergency_book");
FOLLOWUP(MISSION_RANCH_NURSE_10);
I hope this helps narrow things down.