Runix-Minecraft / Runix

Home of the forge based, Runecraft inspired Minecraft mod
3 stars 0 forks source link

Runes should drop energy items when broken #4

Open josiahseaman opened 10 years ago

josiahseaman commented 10 years ago

World Runes that store energy like Teleporter should drop items of equivalent energy when their blocks are broken. These runes are energy reservoirs based on consumeKeyBlock(). When broken, drop items, subtract energy then delete self: getActiveMagic().remove(this);

This will require a Tiers.makeSpareChange(int energy) method for use in Runix (possibly a separate issue). Energy items are small set of sample items from a range of tiers. Let's say: Cobblestone, Logs, Iron Ingots, Lapis shards, diamonds. These would be the equivalent to making change with pennies, dimes, and quarters. Don't drop ores, just in case that can be exploited when comboed with other mods.

0xilly commented 10 years ago

I could add a Interface to the API that would allow for that.

0xilly commented 10 years ago

On second thought I'll make that a default function of BaseRune

talwyn commented 10 years ago

Should a rune inside a domain instead transfer its remaining energy back into the domain?

josiahseaman commented 10 years ago

Yes! Yes it should. Good idea. Another place where particle animations would make it a lot clearer what is happening.

0xilly commented 10 years ago

Yay rendering!!!!