Rpg inventory system

i need to know everything about how to create it, how to make when you interact with a certain item on a floor you should get a message that you got an item, or how much gold, and it displays into the itembox, i also would like to know how to still have these same items when you change scenes

it’s just complicated to me

the items are text in the inventory system