diff options
Diffstat (limited to 'src/entities/oldMint.c')
| -rw-r--r-- | src/entities/oldMint.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/entities/oldMint.c b/src/entities/oldMint.c index 9e43fd9..87b3583 100644 --- a/src/entities/oldMint.c +++ b/src/entities/oldMint.c @@ -31,9 +31,19 @@ InteractionCommand interactWithOldMint(Entity* entity, Game* game, addItemToInventory(&game->inventory, item); return INTERACTION_TALK; case SELECTION_USE: - return INTERACTION_KILL_ITEM; + setInteractionChat(&game->interactionChat, + "Bad idea. I am very old and stale."); + entity->data = (void*)1; + return INTERACTION_TALK; default: - entity->visable = false; - return INTERACTION_END; + if (entity->data == NULL) + { + entity->visable = false; + return INTERACTION_END; + } + else + { + return INTERACTION_KILL_ITEM; + } } } |
