Haha, I just browsed github and then I found this:
if (g->u.has_amount(itm_mininuke, 1)) {
RESPONSE(“Because I’m holding a thermal detonator!”);
SUCCESS(TALK_GIVE_EQUIPMENT);
SUCCESS_ACTION(&talk_function::give_equipment);
SUCCESS_OPINION(0, 0, -1, 0, score * 300);
FAILURE(TALK_DENY_EQUIPMENT);
FAILURE_OPINION(0, 0, -1, 0, 0);
}
Can’t wait to try it out. 