aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-03-01 08:43:11 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-03-01 08:43:11 -0500
commit20948cfe47f1fbeeed04e890c457d83cc826d74d (patch)
tree575a2630767d9496f9581ef1b1947d436f5201d8 /src/entities.cpp
parent883b348abac73d6c2b1d4ea8b65caccf0767e5a8 (diff)
Work on merchants and yer mum
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index 5e8d51c..b0013d2 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -459,8 +459,12 @@ void NPC::interact(){ //have the npc's interact back to the player
void Merchant::interact(){
ui::merchantBox(name, &bsinv, ":Accept:Good-Bye", false, "Welcome to Smithy\'s. Buy your sausages here you freaking meme lording screw-face");
- //ui::merchantBox();
ui::waitForDialog();
+ if(ui::dialogOptChosen == 1){
+ std::cout << "Gimme ye' munny" << std::endl;
+ }else{
+ std::cout << "See ye!" << std::endl;
+ }
}
void Object::interact(void){