Mod to allow entry with payment (of resources)

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Staxed

New Member
Jul 29, 2019
1,019
-2
0
So, I had this idea of gating certain areas of a building by requiring the player to pay in a specific resource.

However, I'm not sure about what the easiest method to do this would be. I can think of a way to do it using CC to read the contents of a chest, unlock the door for x amount of time, then remove contents from the chest for the next person...but curious if there is a mod that does this already or if anyone can think of a simpler way that doesn't require CC.

All ideas are welcome :)
 

casilleroatr

New Member
Jul 29, 2019
1,360
0
0
This mod is in the RR modpack although I haven't played with it myself so I don't know how far it will go to solve your problem but I think it looks good.

Vending
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
This mod is in the RR modpack although I haven't played with it myself so I don't know how far it will go to solve your problem but I think it looks good.

Vending

I don't think Vending has a way to apply a redstone signal or anything like that. It's simply "put something in and pull something else out"...I need "put something in and open door" :)
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
You could try a vanilla system :O using hoppers and chests with comparaters?

I never think of vanilla options these days, lol...that could work. I'll have to see how compact I can make that, as I'll need to build in a delay in order to keep the door open long enough and then remove the items from the chest.
 

KaosC57

New Member
Jul 29, 2019
79
0
0
What if you had an emerald pipe that is set to pull out your target item and then when it gets piped out it goes through a pipe with a gate that has "items traversing -> redstone signal" on it then into it.

Then you have to think of the delay, because i dont think it would be logical to put the logic gate onto the Emerald Pipe. You could use a Wooden Pipe or a Logistics Chassis Pipe with Extractor module and an Filtering type of module to gain a similar effect. What about Applied Energistics, is there a way to detect in AE that XYZ item is going into the system from XYZ place?
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
What if you had an emerald pipe that is set to pull out your target item and then when it gets piped out it goes through a pipe with a gate that has "items traversing -> redstone signal" on it then into it.

ooh, that could be nice and compact...[DOUBLEPOST=1397747685][/DOUBLEPOST]
Then you have to think of the delay, because i dont think it would be logical to put the logic gate onto the Emerald Pipe. You could use a Wooden Pipe or a Logistics Chassis Pipe with Extractor module and an Filtering type of module to gain a similar effect. What about Applied Energistics, is there a way to detect in AE that XYZ item is going into the system from XYZ place?

AE would be able to tell if there was an item in the system and open a door with a redstone emitter, but that still leaves the problem of pulling that item out of the system on a delay.
 

Jus2beast

New Member
Jul 29, 2019
280
0
1
Redstone signal connected to a repeater or something else to extend the signal? Im sure there is a block from the new red power for it[DOUBLEPOST=1397747778][/DOUBLEPOST]Staxxed, mind explaining what your trying to make. Like you want a door which opens when lets say 1 diamond is added? and then where does that diamond go? to a chest for yourself? if Yes id go with AE
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
Redstone signal connected to a repeater or something else to extend the signal? Im sure there is a block from the new red power for it

I'll have to check when I get home what blocks are available to extend a signal while using the least amount of space possible. Doesn't really need to be a huge delay...just a few seconds, enough for someone to get through the door after dropping in the items (and preferably not long enough for a second person to follow them through).
 

KaosC57

New Member
Jul 29, 2019
79
0
0
True enough, you could have something that auto-requests that item into a chest, hell if you want the player to have that item back, make it request it to a chest on the other side of the door!
 
  • Like
Reactions: Staxed

casilleroatr

New Member
Jul 29, 2019
1,360
0
0
I'll have to check when I get home what blocks are available to extend a signal while using the least amount of space possible. Doesn't really need to be a huge delay...just a few seconds, enough for someone to get through the door after dropping in the items (and preferably not long enough for a second person to follow them through).
State cells are capable of doing what you want. Project red has one, Engineer's toolbox has one I think, and you could always make one with computercraft but that might be overkill. There may even be other options depending on your modpack.
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
State cells are capable of doing what you want. Project red has one, Engineer's toolbox has one I think, and you could always make one with computercraft but that might be overkill. There may even be other options depending on your modpack.

It's a custom modpack, so any option can be available as I can just add the mod if I don't have it :).
 

darkeshrine

New Member
Jul 29, 2019
760
0
0
I can't really remember what it's called, but at one time wasn't there an item that could read how many items are in a chest and output a redstone signal? Can turtles do this?

Anyway, you have an input chest with a piping system that only pulls out what you want. That piping system puts things into a chest that is read by earlier said turtle/item and outputs a redstone signal. You also have a computer and player scanner to count the number of players at the entry door, then scan the chest to see if the corresponding amount of items are in the chest (lets say x items per person). If the computer scans and find the correct amount of items in the chest, then it outputs a redstone signal. The Redstone signals from the turtle/item and the computer input into an and-gate that opens the door. I'm pretty sure that a single computer can do this on it's own, but i like redundancy.
 

CarbonBasedGhost

New Member
Jul 29, 2019
910
-1
0
Umm this will sound weird, but have a hopper going into a mine cart that has a railcraft sensor testing if x items are in supplying a redstone signal that holds the door for x amount of time.
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
oh yeah, forgot to say IC2 is the one mod that isn't available, because I dun want it :D
 

midi_sec

New Member
Jul 29, 2019
1,053
0
0
AE network with a storage bus on a chest, level emitter set to whatever items you're requesting for entry, wooden pipe on chest with autarchic gate set to pulse on redstone signal (route it to your main ME network). I'd put a repeater between the emitter and the door to delay opening until all items have been sucked out of the chest.
 
  • Like
Reactions: Staxed

Staxed

New Member
Jul 29, 2019
1,019
-2
0
AE network with a storage bus on a chest, level emitter set to whatever items you're requesting for entry, wooden pipe on chest with autarchic gate set to pulse on redstone signal (route it to your main ME network). I'd put a repeater between the emitter and the door to delay opening until all items have been sucked out of the chest.

this is it, because I love AE...not sure why i didn't think of this method already...