I have been doing some more tinkering on my blood altar.
I have the rituals of regen and feathered knife beneath my altar but more importantly for the purposes of this thread I have expanded my Steve's Factory Manager set up and found new and interesting uses. I also finally worked out my own button api so I have some swanky computercraft control for my blood altar.*
First things first. I moved my SFM set up so that I had more room to place the rituals and also to make everything neater. I worked out that SFM redstone receivers/emitters do not "conduct connectivity". This means that you have to run normal inventory cable alongside the redstone ones to make sure everything is connected (more expensive clusters do exist though).
Here is my first manual setup. The 2 right levers control the rituals and the 4 on left selectively allow SFM scripts that control slate recipes to run. SFM adds a redstone emitter and I am using that to suppress the rituals. The ritual master stones of each ritual have one space between them which is where I put the redstone emitter, this way one emitter can control both rituals.
I made a command group for each slate (and I can make more for other recipes should I wish to) and each group has a redstone controlled trigger. On each trigger the manager checks if the altar is empty of items and has enough life essence to complete the craft and if that were the case then it would put one input item into the altar. It will also pull finished products from the altar. The two rituals are also controlled by a command group. SFM redstone was a bit tricky to get your head round, but once you get it, it is straightforward.
There is a computer under my altar too. It has a sensor wrapped to it (which I have currently unimplemented plans for) and it also has a monitor accessible from near the altar.
I made buttons for all the crafting recipes I have (on the left). While a single craft is selected all of the others are automatically deselected by the computer program because it works best when only one recipe is selected. The two buttons on the right control the rituals, and each ritual can be selected and deselected independently without deselecting anything else. Unfortunately, Computercraft does not currently support any bundled redstone wires that I know of, so I had to do something special.
These two computers are in modem communication with the main computer. They run the same program which basically handles redstone requests from other computers. The main computer is able to turn each SFM redstone receiver on or off via these two computers. Hopefully, MFR rednet support will be readded to computercraft soon.
It looks like Howl's bedroom in Howl's Moving Castle. I have planned on using the sensor to allow the computer to suppress the rituals when no player is around.
*For some reason buttons have always been something I have never found a sensible way to code, as though there is a great big mental block in my way. Well it was more like a mental traffic jam but now the traffic has eased and I have an API that I am somewhat happy with. It is not ready to be released and it is still a bit clunky and I haven't tested it thoroughly. I don't even know how effective it will be in other programs although I hope it will do OK.
Also, when writing forum posts after a big coding session I keep accidentally typing ctrl+s