LopyLuna / Create-Calamity

MIT License
9 stars 2 forks source link

Feature: Pneumatic Pipes #16

Open JR1811 opened 1 year ago

JR1811 commented 1 year ago

Content

Adds a new pressure system to the game.

Here is an irl example

Contributors

SpottyTheTurtle commented 1 year ago

already planned for Steam 'n Rails

JR1811 commented 1 year ago

do they explode? @SpottyTheTurtle

Sascha-T commented 1 year ago

already planned for Steam 'n Rails

cool, so? :tf:

rohbust commented 1 year ago

so

rohbust commented 1 year ago

so

  • depending on how long the pipe is is how much SU it uses (e.g. 64blocks is 256)
  • capsules can be dyed and have an inventory size of nine
  • once you place a capsule in the input you can see it for like half a second and then it shoots into the pipe with the same sound as the potato cannon. the door on the pipe closes so you don't overload the system and opens when it's taken out of the output.
  • if two capsules are sent in through two different inputs one will wait for the other at the output (or there's a config option for it to explode)
  • inputs and outputs are filtered with the same system as the redstone links, in case you have more than one output
  • and if you put a pipe bomb into the input it'll explode out the other end
  • dynamite will do the same except with ✨block damage

image image

rohbust commented 1 year ago
Spydnel commented 1 year ago

Some more ideas:

rohbust commented 1 year ago

image made by spydnel

rohbust commented 1 year ago

idea: maybe we can have a special kind of pipe that shoots the capsule out to land in another pipe, like the weighted ejector, and if it dosent land in another pipe it goes on the floor

Spydnel commented 1 year ago

idea: maybe we can have a special kind of pipe that shoots the capsule out to land in another pipe, like the weighted ejector, and if it dosent land in another pipe it goes on the floor

I love it. That could just use an open ended pipe right?

rohbust commented 1 year ago

idea: maybe we can have a special kind of pipe that shoots the capsule out to land in another pipe, like the weighted ejector, and if it dosent land in another pipe it goes on the floor

I love it.

That could just use an open ended pipe right?

yush, and maybe it only happens at the cost of more SU or something and maybe it automatically targets the right one bc it's still trying to go to the output with the right filter

JR1811 commented 1 year ago

Launch it as a ProjectileEntity and check if it's somewhat near another open pipe on impact or let it drop as an ItemStack if that is not the case.

The speed of the Projectile entity would correlate to the pressure which has been released. After that the pipe obviously should loose all of its pressure since its an open-ended pipe.

IThundxr commented 1 year ago

A more in depth system for this + steam is already planned for snr

JR1811 commented 1 year ago

A more in depth system for this + steam is already planned for snr

scroll up

pouffy commented 1 year ago

If the pipe system is pressurised, open ended pipes should shoot out thin jets of air similar to encased fans but without the ability to process items. It would only have enough pressure to slowly push entities but would be a nice detail.