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.
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.