• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Powered Block that gives a buff when on?

stample

Refugee
Has anyone managed to create a block that gives a buff when stepped on, but only when that block is powered by a generator/battery/solar bank?

I've tried everything I can think of, and no luck. 

If you use BuffsWhenWalkedOn, it always gives the buff. 

I've had no luck duplicating a campfire to provide an AE buff.

I sort of got what I want by using electric fence posts as a base and changing the buff, but it requires you to be on the wire, not the block.  It works ok most of the time, but in MP it randomly shocks you like its actually the electric fence, rather than using the assigned buff.  No idea how, since the reference to the shock buff was replaced with my buff, but its consistent until the wire is re-run from the generator.  I assume something in <property name="Class" value="ElectricWire"/> is what's causing it, but I can't fix it, especially b/c I can't replicate it in SP.

What I really want is to wire a plate-like block to a generator, turn on the generator, then stand on the block to get the buff. 

It also needs to be a modlet, and MP server friendly, so no DTX.

Any help would be really appreciated.  I've spent a couple days on it at this point.

 
Back
Top