Feature Request: Read Only Disk for item spills and creative use #2596

Open
mindforger opened this Issue Nov 7, 2016 · 2 comments

Projects

None yet

3 participants

@mindforger
Collaborator
mindforger commented Nov 7, 2016 edited

I just had an idea regarding an issue where an crafting cpu spilling items all over the world made the world unoperable.

How about a Read Only Disk, it has no defined capacity and it can not accept any items by any normal way.

It is created only when a Crafting CPU tries to drop it's contents. It can not be dismantled (shift rightcklick in hand) but it can be stuffed in a Drive, ME Chest or IO Port to regain the dropped items.

It will either vanish as the last item is removed from it (don't know if it possible to "programmatically remove" a disk from a drive without breaking something).
Or it will stay as an empty Read Only Disk containing nothing and can be trashed by the player.

(It could possibly store meta data on why it has been created for debugging purpose :P )

Also @yueh stated to make it "creative" useable for quest based modpacks to hand out rewards for example

@Scoaex
Scoaex commented Nov 7, 2016 edited

It will either vanish as the last item is removed from it (don't know if it possible to "programmatically remove" a disk from a drive without breaking something).
Or it will stay as an empty Read Only Disk containing nothing and can be trashed by the player.

It could maybe loose durability like Tools based on the percentage of items extracted until it breaks at 0%.

+There should be a way to fill it if modpack creators want to use it.
An idea would be that you can put it only once into a ME Drive/Chest to fill it with stuff.
After removing it from the Drive/Chest it gets read only.

@yueh
Member
yueh commented Nov 7, 2016

Not sure about the destroying them. Iirc it is handled by onItemUse or whatever it was. And handling that inside a drive might be error prone.

Just keeping it around is certainly the best option. It does not need any changes to drives. Just a new cell type without a way to insert into them. Which is pretty easy.

Not destroying also allows them to be kept as trophy should someone want it. If not throwing it into lava is still an option, but not a forced one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment