Commit Graph

941 Commits

Author SHA1 Message Date
est31
86dd5852aa Add cache to quarry
Adds a cache to the quarry in order to reduce load and send larger stacks through pipes instead of just single items. Coin tossing ensures the cache gets purged around every 200 seconds. The interval isn't fixed in order to prevent material spikes from multiple quarries which got loaded simultaneously. When the cache is full, or the quarry finished, it is purged too.
2015-01-24 21:22:49 +01:00
est31
c38da0945c Optimize quarry_run
Don't load the whole digging area when only a small piece is relevant.
Also, move the (time expensive) check whether the air above a block is free to the last position, which spares unneccessary checks when multiple quarries are placed together, or a quarry has to loop over air for another reason.
2015-01-24 19:40:02 +01:00
Vanessa Ezekowitz
ec73a8508f add custom collision and selection box handling to CNC machine
also clean up formatting of surrounding code
2015-01-19 13:37:46 -05:00
Tim
7e92fe0a46 use an alternative and cleaner way to overwrite the pipeworks tube-recipes and default bronze 2015-01-18 20:34:15 +01:00
Wayward1
9e1c5740d3 Fix support for acacia trees
Just realized I had the wrong item string >.<
2015-01-16 20:08:25 -05:00
Vanessa Ezekowitz
d6b0deb989 fix cnc stick formspec img
(missed the border)
2015-01-16 19:16:39 -05:00
Vanessa Ezekowitz
1a7a17f3d7 new high-resolution imagery for CNC formspec
to go with the new models.
2015-01-16 19:12:02 -05:00
Vanessa Ezekowitz
3726bd9bd2 add the models too 2015-01-16 17:19:11 -05:00
Vanessa Ezekowitz
80cb6a495a Use mesh nodes for all of the more complex CNC machined items 2015-01-16 16:57:34 -05:00
Tim
0114feaf04 Add more nodes to the chainsaw 2015-01-12 17:51:55 -05:00
ThatGraemeGuy
2e04374de8 Add gloopores' Kalite dust as a more effecient fuel than lumps 2015-01-12 17:51:55 -05:00
Vanessa Ezekowitz
bc0ac581aa prevent crash if get_recipe_index() is passed a nil or apparent garbage instead
of a table
2015-01-12 17:43:56 -05:00
Novatux
4ac36e9d27 Fix infinite energy with supply converter 2014-12-30 12:10:36 +01:00
ShadowNinja
5382a88aef Fix some global errors 2014-12-15 17:47:07 -05:00
Vanessa Ezekowitz
a413904ecd minetest.env:* --> minetest.* 2014-11-30 12:45:42 -05:00
Novatux
dd30838245 Add more nodes to chainsaw 2014-11-30 08:28:57 +01:00
Vanessa Ezekowitz
8da4d057b0 update to latest mesecons API
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or later.
2014-11-22 13:58:38 -05:00
ShadowNinja
f13570b59b Fix support for tiles string shortcut 2014-11-13 12:57:26 -05:00
ShadowNinja
30a37a490f Make the forcefield replace buildable_to nodes and make it faster (about x20) 2014-11-13 12:28:04 -05:00
Zefram
aef07eb604 Manual section on radioactivity
Manual section on radioactivity
2014-11-06 09:03:01 -05:00
Zefram
f205e5f404 Fix anonymous digging of non-empty machine
The quarry was causing crashes when it reached a machine that was
undiggable due to containing items.
2014-11-06 08:33:14 -05:00
Rick McFarley
7c6c3b9679 Remove extra registration of LV transformer 2014-09-24 20:35:25 -04:00
ShadowNinja
42d0081367 Replace mining laser ray tracer with a simpler iterable one 2014-09-24 20:32:36 -04:00
HybridDog
4d1f9753e3 update mining lasers 2014-09-16 15:23:46 -04:00
ThatGraemeGuy
6d90ebb94e Make generators stop supplying EUs when there is a non-fuel item in the fuel slot 2014-09-16 15:21:14 -04:00
RealBadAngel
0defb2e66d Fix broken concrete posts. 2014-08-29 01:26:25 +02:00
Zefram
0de4fec07c Fix second description of radioactive group value 2014-08-28 15:30:15 +02:00
Zefram
fd527c2d98 Manual section on nuclear generator 2014-08-28 15:21:50 +02:00
Zefram
23423ab79b More manual on power generation
Sections on solar and wind.  Some rewording of the section on fuel-fired
generators.
2014-08-28 15:20:26 +02:00
Zefram
1d46d71b25 Manual sections on some generators 2014-08-28 15:18:12 +02:00
Zefram
45919b871a Make forcefield properly undiggable 2014-08-28 15:14:05 +02:00
Zefram
706e880f05 Manual sections on miscellaneous powered machines 2014-08-28 15:13:04 +02:00
Zefram
7c85726e9a Fix a stray British spelling in manual 2014-08-28 15:05:26 +02:00
Zefram
8cec4180af Manual section on processing machines 2014-08-28 15:02:02 +02:00
Zefram
04e911f94b Start of manual chapter on powered machines 2014-08-28 15:01:13 +02:00
Zefram
3b1abaaa56 Manual section on concrete 2014-08-28 14:37:36 +02:00
ShadowNinja
ec069aa43e Change chainsaw cutting algorithm back to old one
The new algorithm caused horizontal sections of trees to be left, with the
sections above and below them removed.
2014-08-22 20:57:30 -04:00
ShadowNinja
16302cffce Fix chainsaw placing drops and playing sounds at tops of trees 2014-08-22 20:01:15 -04:00
Zefram
78646b2d89 Make tree tap respect item_drop 2014-08-22 14:20:13 +01:00
Zefram
0cf4133b97 Make wrench available in creative mode only
The wrench is far too powerful to be available to survival-mode players
via a cheap recipe.
2014-08-22 01:07:38 +01:00
Zefram
7ab3f9bed2 Update wrench's metadata for technic machines
The changes that this covers are that the alloy furnaces now have one
"src" inventory instead of a "src" and "src2"; that the tool workshop
is now MV; and the existence of MV compressor, extractor, and centrifuge.
2014-08-22 01:01:44 +01:00
Zefram
2912e2da78 Rebalance radiation shielding
Squeeze the range of material shielding values.  The strongest shielding
materials get weaker, and weaker shielding materials, especially low-end
ones such as dirt, get stronger.  The radioactivity of the active
reactor core is increased so that the standard shielding is (still)
only narrowly sufficient.
2014-08-20 20:09:41 +01:00
Zefram
7a9d2ffe5f Finer gradations of radioactivity
Make the "radioactive" group value be the safe distance in millimeters
rather than meters, to allow for intermediate values.  Use such
intermediate values for the uranium blocks, using the existing formula
with this finer quantisation.  All other radioactive nodes retain their
existing radioactivity exactly.
2014-08-20 19:14:03 +01:00
Zefram
7d610b7c80 Tube capability for tool workshop
Tool workshop can now accept tools to repair via tube.  It has upgrade
slots.  Battery upgrade reduces its power consumption.  Tube upgrade
makes it eject fully-repaired (or unrepairable) items via tube.
2014-08-18 17:09:37 +01:00
Zefram
814646b542 Smoother link of processing cycles to ABM cycles
Make the generic processing machine code willing to complete more than
one processing cycle in one ABM cycle, and more generally to carry
over leftover processing effort after completing a processing cycle.
The src_time meta item now represents accumulated processing effort
(time multiplied by speed) in a scaled form (to retain fractions),
rather than just time in integral seconds.  This affects the MV furnace,
with speed 4 and most recipe times being 3 s, and will be essential for
faster furnaces.
2014-08-18 15:14:15 +01:00
Zefram
d0efa15b98 In quarry, skip past undiggable nodes
The quarry used to get stuck when it encountered an undiggable node.
Change it to skip past that node, digging whatever later stuff it can.
Necessarily, the current digging position becomes semantically-significant
state: it is no longer sufficient to search the quarry cuboid from the top
on each iteration.  The current digging height is reported in the quarry's
interaction form, and can be reset to the top using a button on the form.

Where there is a non-air node within the quarry directly above the
next node to dig, it blocks the quarry's access to that node, even if
everything involved is diggable.  Thus an undiggable node casts a shadow
of undug nodes below it.  Resolving undiggability of a node is a major
reason to use the restart button.
2014-08-18 15:14:15 +01:00
Novatux
390ade6e54 Change oregen to a non-uniform distribution. 2014-08-17 17:08:11 +02:00
Zefram
d0001a20c9 Fix visible cable connection for irregular items
The switching station and supply converter only semantically connect to
cables in particular directions.  Make them visually connect only in
the matching directions.  This is done by special-casing in the cable
update logic.  If more irregular items arise in the future, or the
existing items start to need facedir logic, this should be generalised
into something like the connect_sides system for pneumatic tubes.
2014-08-17 13:43:39 +01:00
Novatux
35b10adb40 Fix items sending 2014-08-16 13:42:17 +02:00
Zefram
849526cd76 Fix forcefield power demand when disabled 2014-08-15 12:25:47 +01:00