IronWillGames / AshenEmpires

5 stars 0 forks source link

Fun Idea - Store a player's corpse contents in gravedigger type of NPC who will resell some items for markeup #176

Open hgesler opened 11 months ago

hgesler commented 11 months ago

Players who die and lose their items could get a second chance to buyback some precious gear.

Idea is that when a corpse is cleaned up/decayed/destroyed (unsure what runs here as it is not creeped) the contents over a certain value (resale val) would be placed in an NPC who could resell these things.

Not entirely sure how to do this since I've not ever seen how to work with NPC shopkeep scripts, though it could be done in a straight conversation/prompt dialogue, however that is very clunky and would be painful to get through a large # of items. A while loop would have to run on it or give them option to buy all back for gold etc.

Think this would be a good idea, worth fiddling with in test at least.