Commit graph

1083 commits

Author SHA1 Message Date
SandGrainOne
370c33ee70 Adding FilteredBuffer 2013-06-29 19:03:36 +02:00
Krapht
8867512f38 Removed crafting/Creative inventory for Blueprints, Architect table and blueprint library 2013-06-28 20:36:02 +02:00
SirSengir
365d9a27d6 Fix determination of crafting equivalency.
Items can be registered with multiple ore ids in the OreDictionary. A direct comparison of the ore ids may fail in that case.
2013-06-28 20:05:48 +02:00
viliml
1d0a902217 Update BlockQuarry.java
Fixes https://github.com/BuildCraft/BuildCraft/issues/972
2013-06-25 19:31:28 +03:00
CovertJaguar
ee02561cd0 Adjust pump for new default 2013-06-24 21:22:45 -07:00
CovertJaguar
b223fd4440 Increased default power perdition to 1 MJ/t 2013-06-24 21:15:49 -07:00
CovertJaguar
8b6546a8bd Fixed Power Request Trigger
Its now restricted to Wooden Power pipes.

Before:
The trigger was useless because it was triggering off the powerQuery
array which was always true so long as there was any device on the
network requesting power. This made it rather useless for scaling
production to demand.

After:
It now triggers whenever the Wooden Power Pipe's internal power buffer
drops below a certain point. This however required a modification of the
wooden pipe's internals because it was getting stuck in the "Off" state
due to how it handled transferring power from the buffer to the pipe
network.

Anyway, it works now and is somewhat useful.

Note: The Wooden Power Pipe's internal buffer stores 1500 MJ, this was
true even before this commit.
2013-06-24 21:02:48 -07:00
CovertJaguar
5f58280e5f Merge branch 'master' of https://github.com/BuildCraft/BuildCraft 2013-06-24 18:15:06 -07:00
CovertJaguar
c50847c196 Added two new Power Pipe Triggers
Requests Energy: Activated when the pipe has an active power request.
Use to allow your network to respond to demand dynamically.

Energy Overloaded: Activated when the pipe turns red, in case anyone
wants to know when that happens.
2013-06-24 18:13:54 -07:00
Christian
22b202fb25 Fix single energy pulse 2013-06-24 20:22:31 -04:00
CovertJaguar
318eb5c4a7 Crafting generally ignores NBT, we should too
Let the recipe decide.
2013-06-24 06:13:15 -07:00
CovertJaguar
fb374cf7fc Increased Mining Well cost per block
Its now the same as the quarry, 60 MJ per block.

Also tweaked power provider settings on the Mining Well and Quarry to
prevent smaller engines from being unable to overcome the maintenance
drain.
2013-06-24 05:43:27 -07:00
CovertJaguar
0882dadce3 Fixed a bug that was causing pipes to leak excess
This is an interesting commit, it not only fixes the RS Cells
(@King_Lemming) it also makes it so the network can respond to demand as
needed by shutting down overheating engines, since the pipes won't
accept power now unless something is requesting it.
2013-06-21 17:28:22 -07:00
CovertJaguar
cdebf25a03 Cleaned up engine power display 2013-06-21 17:13:54 -07:00
CovertJaguar
fc0df8e84f Removed a bit of unneeded code in the Wood PPipe
@King_Lemming this will break compat with RS Cells because you're doing
it wrong. Don't use powerRequest() like that and don't ignore the return
of receiveEnergy().

PS. It was already broken because the cell was just throwing power away
because it was ignoring the return of receiveEnergy().
2013-06-21 16:44:07 -07:00
CovertJaguar
951292da37 Reduce Oil chance in deserts, etc...
Blame this one on myst's flatlands.
2013-06-21 04:31:17 -07:00
CovertJaguar
1e3d704fd4 ACT can handle damagable items correctly now
Note it still can't (and probably won't ever be able to) handle
wildcarded subtypes like different colored wool.
2013-06-21 03:14:28 -07:00
CovertJaguar
821605b71d Fix for Refinery not accepting power 2013-06-19 21:23:43 -07:00
CovertJaguar
d4c5452a1c Added Power throughput tooltip to power pipes 2013-06-19 17:48:24 -07:00
Player
4f740be088 Assembly Table: prevent planning recipies multiple times 2013-06-19 10:28:48 +02:00
Player
50efde2217 Assembly Table: use currentRequiredEnergy to scale the progress bar 2013-06-18 23:31:29 +02:00
CovertJaguar
32bab2251e Mining Well should break pipes when invalidated 2013-06-18 03:14:19 -07:00
Player
0c6ad8f247 fix last commit, wrong texture sheet 2013-06-16 22:01:21 +02:00
Player
1e0d1eb750 Add fallback to the missing icon while rendering pipes in the inventory 2013-06-16 21:51:20 +02:00
CovertJaguar
a0f57c57ca Wooden Power Pipes now add power to themselves...
...instead of their neighbor. The result being that they are constrained
by the new limits and that they actually render the power flow in
themselves.

Wooden Pipes are set with a input cap of 32 MJ/t, buffed from the
previous effective limit of 29 MJ/t.

Note that this also effectively adds a 32 MJ/t pipe that can be used for
limiting flows.
2013-06-15 16:27:43 -07:00
Player
e18031d223 fix AssemblyTable processing client-side 2013-06-14 19:32:49 +02:00
Alex Binnie
91430f4279 Changed Assembly Table Recipe packets to NBT 2013-06-14 17:45:48 +01:00
Alex Binnie
d62a0d440c Facades now store both block id and meta in nbt 2013-06-14 17:09:11 +01:00
Alex Binnie
8933df795a Support for facades with metadata >= 16 by using NBT 2013-06-14 00:18:11 +01:00
CovertJaguar
7a320cbba0 Added progress bar to ACT 2013-06-13 15:09:55 -07:00
CovertJaguar
4ac9a0fc45 Fixed ACT support for OreDict/Wildcards
Also gave StackHelper a proper static accessor, one that should be
compatible with Krapht's Tests.
2013-06-13 14:35:54 -07:00
CovertJaguar
782995b035 Merge branch 'master' of https://github.com/BuildCraft/BuildCraft 2013-06-13 13:51:25 -07:00
CovertJaguar
77b92a8ce9 Added Oil Burn config 2013-06-13 13:50:51 -07:00
SirSengir
c2465a7cf8 Don't get the oreID twice if it isn't needed. 2013-06-13 18:08:25 +02:00
CovertJaguar
7b818ec45c Wrong header (oops) 2013-06-12 21:41:25 -07:00
CovertJaguar
69736013e6 Minor rework of ACT (Laser)
Split inventory into input/output sections.

Added support for retrieving ingredients from neighboring inventories.
Yes, this means crafting chains are possible.

Various other minor tweaks to when it requests power, how it decides it
has everything it needs to craft, etc...
2013-06-12 21:39:55 -07:00
CovertJaguar
fd548a4954 Add removal support to Transactors
Can only remove 1 item at a time, but that's almost always sufficient.

Also added a bunch of helper functions in InvUtils (moving items between
inventories, counting items, etc..).
2013-06-12 21:36:56 -07:00
CovertJaguar
d585770ce3 Limit Filler slots to 1 item 2013-06-12 21:34:07 -07:00
CovertJaguar
ad2ead2e89 Added Quartz Pipes
Item and Power.

Item Pipe won't connect to Stone or Cobblestone and has half the
friction of Stone.

Power Pipe takes the place of Gold (64 MJ/t) and bumps Gold and Diamond
up to 256 MJ/t and 1024 MJ/t respectively. Expanding the upper tier
power distribution capacity.

Various textures adjusted to keep pipes distinct.
2013-06-12 19:26:46 -07:00
CovertJaguar
61fe020b89 Proving once again that I cant spell 2013-06-12 14:56:48 -07:00
SirSengir
400cde7d78 Made TileAssemblyTable aware of OreDictionary. 2013-06-12 19:40:52 +02:00
CovertJaguar
da4ec07112 Better error 2013-06-12 08:56:27 -07:00
CovertJaguar
bb9ac3e1ca Lets not break ABO 2013-06-12 08:52:44 -07:00
CovertJaguar
a949418fab Fix potential Engine NPE
If somehow you get an engine with an invalid metadata value, it would
crash.
2013-06-12 08:26:52 -07:00
CovertJaguar
e996f64660 Some minor optimizations 2013-06-12 07:47:28 -07:00
CovertJaguar
5760844dae Added Horizon Filler Pattern
This pattern is basically the old Flatten pattern that would clear all
the way to the sky.

Recipe
GGG
GGG
BBB

Flatten got a matching recipe:
GGG
BBB
BBB
2013-06-12 06:43:15 -07:00
CovertJaguar
d17a384a2f Add pipe uncrafting recipes
Closes #677
2013-06-12 06:14:23 -07:00
CovertJaguar
69df314c36 A better attempt 2013-06-12 06:13:21 -07:00
CovertJaguar
7336dfd882 Attempt to prevent pipes from tossing excess
This NEEDS extensive testing. I only have a vague idea how this code
works.

The original code was just tossing any power beyond what it could
handle, with no throttle on how much it was requesting from its
neighbors.

I think its working, more or less, but you'd probably have to hook it to
some TE Cells or something to know for sure.
2013-06-12 03:36:22 -07:00
CovertJaguar
ff0e36a784 Immibis' Filler changes
Closes #838
2013-06-12 02:45:56 -07:00