Feature #10
Updated by Hilapdatus about 5 years ago
When a container contains multiple coins those coins are automatically put into a pile. You can pull individual coins out of the pile or pull all the coins of a particular type out of the pile. I think it would be nifty if other objects could be heaped into piles as well. If there are seven swords on the ground, I'd like to see: a heap of swords is here instead of a sword, a sword, a sword, a sword, a sword, a sword, and a sword are here This could be controlled by adding something like: <pre><code class="c">int int CanBePiled() { return 1; } string PileNoun(int numItems) { return "pile" }</code></pre> } to LIB_OBJECT. Objects that shouldn't be piled could then override CanBePiled() and have it return 0. Other objects can alter the noun. By altering the noun based on the number of items a we could do something like have a dozen roses when there are 12 otherwise we'd have a bunch of roses. A pile wouldn't be created unless there are five or more objects or some such.