Commit Graph

721 Commits

Author SHA1 Message Date
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
Zefram
5692c29a45 More manual
Sections on rubber and electrical power.
2014-08-09 13:59:46 +01:00
Zefram
eed803349c More manual
Added sections on the technic-specific kinds of item processing, and on
generic metal mechanics, and the specific trickery around iron (merging
in notes_on_iron).
2014-08-08 23:22:36 +01:00
Zefram
ddb522d4cc Fix stray British spellings in manual 2014-08-08 19:36:43 +01:00
Zefram
e3b44be6ec Change "altitude" to "elevation" in manual
Vanessa finds "altitude" to carry too much of an aviation connotation.
Zefram finds "elevation" to carry insufficient connotation of being
relative to sea level, so also adds a clarifying note.  Beware of changing
this terminology without negotiation, as it aroused surprisingly strong
opinions.
2014-08-08 17:40:28 +01:00
Zefram
488070c1ee Start on user manual 2014-08-08 16:41:31 +01:00
Kevin Zheng
7cfb3874a3 Evenly distribute charge across multiple batteries 2014-08-06 12:08:48 -05:00
ShadowNinja
ab567e21ca Remove non-functional tetris machine 2014-08-04 13:43:57 -04:00
Zefram
4996d1824c Make nuclear reactor core harder to break
With breaking an active reactor core now causing instant meltdown, having
it breakable by hand is too hazardous.  Change it to match steel block,
which constitutes the main part of the rest of the reactor structure.
2014-08-04 12:54:47 -04:00
Zefram
a2d1fefe14 Realistic range of radioactivity of uranium blocks
Fully-depleted uranium doesn't lack noticeable radioactivity.  The
radioactivity of enriched uranium is dominated by the U-234 fraction,
not U-235.
2014-08-04 17:03:56 +01:00