You have been taken by the Mists

Author Topic: Idea: Letter system for taverns  (Read 736 times)

Leezil

  • Undead Master
  • ****
  • Posts: 312
Idea: Letter system for taverns
« on: September 19, 2019, 02:33:58 PM »
I'm not sure how difficult this would be to implement, but it would be very helpful and RP-enhancing if innkeepers/bartenders had the ability to store "letters" for PCs.

For example, John Smith stops by The Depressed Barovian and leaves a letter for John Wick with the NPC innkeeper. Later John Wick checks with the innkeeper to see if there are any letters waiting for him. John Wick finds that one letter is waiting for him and can read it.
Sasha Sorokina: Devoted to the Morninglord
Portrait - link

zDark Shadowz

  • Guest
Re: Idea: Letter system for taverns
« Reply #1 on: September 19, 2019, 03:54:42 PM »
I wonder how that could be scripted since persistent storage via the DB isn't a thing here.

It couldn't be picked up normally by a conversation dialogue, cause you may be holding multiple letters so it might have to do something like convert the title and description of a letter into a string that's saved on the NPC themselves after using the unique power of the note on the NPC which initiates a dialogue where you type someone's name on who should receive it.

But NPCs will reset after 15min if no one visits the inn, so you can't store integers or the item itself on the NPC either...

Maybe it gets saved to an invisible object that doesnt despawn? And the NPC just does the dialogue for handing out letters by recreating the item based on the strings saved to that object and tied to the character name listed originally.

Think it seems easier to just leave a wax sealed envelope by the innkeeper, if the player gets it they get it, and trust that other players will ask a DM to possess the NPC if they want to pretend to be the intended recipient before taking it.