miki151 / keeperrl

Source code of KeeperRL
GNU General Public License v2.0
874 stars 111 forks source link

consider creating menu like with text / choices / button #2044

Open samuellsk opened 7 months ago

samuellsk commented 7 months ago

the idea is to have some sort of choice / quest /buy system ? , depends on the modder

you are coming to the npc , hit the ? or some other way to interract. At this point all i can do is to show message with sprite. So be able to to show text / choice...

Do you want to buy items ? if yes show other choices (sprite + text) and have there button , linked to action.. sprite (from tiles.txt) + text (some custom like Sword + 15 damage with 20 percent to slow) and action button (buy) So if the player would hit the buy the give item would be executed and gold would be substracted....

I was out for a while, can we do a resource substraction ?? dunno... not important rn But not a bad for patch 1.1 version to queue this up