Commit Graph

830 Commits

Author SHA1 Message Date
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
Zefram
830de45936 Option for forcefield to be cubical 2014-08-15 12:25:46 +01:00
Zefram
6cc471e986 Simplify music player interface
Having a track selected now implies playing it, rather than
playing/stopped being a hidden state separate from track selection.
2014-08-15 12:25:46 +01:00
Zefram
1d0687556a Fix music player's sound management
If an operating music player was disconnected from the electrical network
or destroyed, it used to leave the music playing forever.  There was
also a glitch upon starting playing, as the music was started by the
form handler but then stopped when the run function realised it wasn't
receiving any power, because it hadn't demanded any yet.
2014-08-15 12:25:46 +01:00
Zefram
049129d9b8 Handle both pipeworks APIs
The new API function is now renamed to pipeworks.tube_inject_item(),
so use it under that name.  If it is not available, synthesise the new
API in terms of the old one.
2014-08-15 13:23:41 +02:00
Vanessa Ezekowitz
772c21cb04 don't put anchor in creative inv 2014-08-14 21:56:05 -04:00
Novatux
baf7f61665 Compatibility with latest pipeworks 2014-08-14 21:29:56 +02:00
Zefram
3b16a2858f Revise rules for regenerating latex
To ensure that only rubber tree trunk nodes that are part of trees
regenerate, rather than those that are used as building blocks, check
that they are sufficiently close to rubber tree leaves.  This replaces the
older rule that naturally-grown trunks regenerate (regardless of leaves)
and manually-placed trunks don't (even though manually building a tree
otherwise works).  The detection of manually-placed trunks was in any
case broken for users of moretrees, because that mod fails to set the
flag signalling manual placement.

Incidentally also fix a bug that caused rubber tree branches (horizontal
trunk nodes) to turn vertical when regenerating latex.  Rather than set
the complete node structure, only switch the type name, as does the tree
tap when emptying the node.
2014-08-13 23:13:52 +01:00
Zefram
b001a67979 Administrative world anchor 2014-08-13 19:07:53 +01:00
Zefram
38e85e9775 Manual section on uranium enrichment 2014-08-13 02:45:44 +01:00
Zefram
df7bf8c713 Manual sectioning
Expand list of sections yet to be written.  Arrange sections both written
and unwritten into a two-level structure, with a bit of consequential
reordering.
2014-08-13 00:25:15 +01:00
Zefram
7112e742f4 More manual
Added section on chests.  Fixed another stray British spelling.
Backslashed literal underscores to avoid them being interpreted as
emphasis markup.
2014-08-11 13:04:53 +01:00