PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

[Feature Request] Program Controller suicide widget

duncanwebb opened this issue ยท 2 comments

commented

image

The suicide widget could cause the program to be ejected from the program controller. This would be handy for programs like Tek Stack's Greenhouse program. This program is really two programs in one, the first is to build the greenhouse and the second it to farm it. We could use redstone to control the running program, but the suicide piece would be a nice clean way to do this.

In the above image it would be ejected to the bottom is there is an inventory attached otherwise it would do nothing

commented

Yep, this is actually easy enough to do. But I would drop the programmable item in-world if there isn't a suitable chest to receive it rather than do nothing. Otherwise it'll just keep executing past the Suicide piece, effectively ignoring it.

(I might also make it so that programmed drone & network API's don't despawn when dropped in item form, to avoid losing valuable programs...)

commented

Added in 2.10.0 release