are these things possible?

Can you make choices appear in a conversation based on the current value of a specific player stat with the event system(I.E. player initiates conversation before the text is presented the game will check the value of the players X stat and then presents conversation options based on the value of that stat)?

can I also link in item use with the conversation options that are presented (I.E. Player shares cake with NPC over the course of a convo giving him a modifier to the the earlier mentioned stat check)?



I'm in the early stages of planning my first game out and want to make sure things are possible so when I go to program them later I don't run into a wall having to revamp a bunch of the over all workings. sorry if this has been asked a million times and thanks for any responses that appear
The first needs a script, and I don't know which scripts exist for XP (those scripts definately exist for Ace and MV), the second just tricky eventing with removing the items from inventory.
Thanks for the answer looks like learning a new skill is in in my future.

Original thread: https://forums.rpgmakerweb.com/threads/are-these-things-possible.76450/