Progress made! (I think?)

Thanks to Kevin's advice this is down to just two errors!  Here's the
list:
C:\Documents and Settings\Barbara\My
Documents\GitHub\Cataclysm-DDA\game.cpp||In member function 'void
game::pickup(int, int, int)':|
C:\Documents and Settings\Barbara\My
Documents\GitHub\Cataclysm-DDA\game.cpp|7304|error: 'tmp' was not
declared in this scope|
C:\Documents and Settings\Barbara\My
Documents\GitHub\Cataclysm-DDA\game.cpp|7305|error: invalid use of
non-static member function 'void iuse::hotplate(game*, player*, item*,
bool)'|
||=== Build finished: 2 errors, 0 warnings (0 minutes, 10 seconds) ===|

The first error I think is being caused because the code is still trying
to give the tmp_hotplate item to the fake NPC "tmp", who isn't here.  I
think this needs to be given to the PLAYER, because if I add in the tmp
NPC the hotplate will looks for items inthe3 NPC's inventory, not the
players.  So now I need the command to give this to the player, which I
can't figure out.
The second error is from me not knowing how to get Cata to "use" the
fake hotplate we're generating.  so far, all my guesses are coming up
empty, and I can't find an example in the code to copy.
If we can iron these two bugs out, I think this will all work!