Commit Graph

969 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
4888581bee Make hydro generators sense the water flow volume around them
Water flow around a gen is shown more or less directly by the water's
param2, range 0 to 15, so four sides could total 60.  Cap the result to 45
so that three sides' worth of full flow (or four sides at reduced flow) still
registers as "100%", and raise the maximum outpu to 2250 EU.
2017-02-21 13:36:58 -05:00
Vanessa Ezekowitz
8cab1a0aec don't allow standing water to power a gen,
and add support for default flowing river water
2017-02-21 13:21:23 -05:00
ThatGraemeGuy
5dd6191175 Make mk3 drill in 3x3 mode drill nodes from top to bottom 2017-01-30 12:14:26 +02:00
ShadowNinja
06dec20326 Add longer-term radiation damage
Radiation now slowly damages you for a while after exposure,
with the effect's time and intensity proportional to the
amount of radiation received.  The radioactivity of some
items is reduced to account for the increased damage.
2017-01-28 17:51:14 -05:00
ShadowNinja
1da213a5e4 Split radiation from nuclear reactor code 2017-01-28 17:51:14 -05:00
ShadowNinja
26de2f7c88 Tweak radioactivity
This simplifies radioactivity by removing the 1000 and 0.25 multipliers.
It also increases the effectiveness of protection (I think it was too low
before -- most of the advantage of adding protective layers was just from
the increased distance).
2017-01-28 17:51:14 -05:00
ShadowNinja
8ccb6d97ec Switch nuclear reactor to a lead shield
The reactor originaly used a stainless steel shield only
because lead wasn't yet available.  Stainless steel shields
are automatically converted to lead shields for legacy reasons.
2017-01-28 17:51:14 -05:00
Thomas--S
6b52c78963 Update chest definitions to current minetest_game definitions 2017-01-15 15:58:13 +01:00
Thomas--S
5f1919d2bc Update has_locked_chest_privilege to current minetest_game function 2017-01-15 15:51:53 +01:00
Tim
d39797aad8 Handle CONTENT_IGNORE when checking windmill conditions.
Windmills always span more than one mapblock, so even with a switching station next to the generators, they will stop working if unloaded due to the windmill check failing to handle CONTENT_IGNORE of the frames at the foot of the windmill, unless a second switching station would be placed there.

The commit assumes, that a user has to load a block to modify it, and thus unloaded blocks to have the same windmill frame state as before.
This also makes technic_run for windmills a little faster by being able to skip some unnecessary node lookups and generally avoiding creation of 20 tables per windmill per step.
2016-11-17 11:59:48 -05:00
ShadowNinja
1475ee6e40 Add trace_node_ray_fat and use it for mining lasers
This function includes more nodes, so laser tunnels
aren't always only one node wide.
2016-11-17 11:48:19 -05:00
ShadowNinja
e501c4622b Replace trace_node_ray algorithm
This is an algorithm that I designed myself.  It fixes an
issue with the old code where it would be more eager to
move in some directions rather than others.  This bug
resulted in, eg, a lead block on a radiation source's
+x side protecting you when you were directly overhead.
2016-11-17 11:48:19 -05:00
ShadowNinja
cfd4cb7871 Update mining laser particle API usage 2016-11-17 11:48:19 -05:00
ShadowNinja
2b0a283556 Adjust mining laser start offset 2016-11-17 11:48:19 -05:00
raymoo
63efc395cd fix node dupe exploit in frames
You can dupe nodes by placing them on a frame, because the on_rightclick wouldn't return the new itemstack.
2016-10-14 05:41:31 -03:00
Tim
7890ffe46b Fix drill drilling pointed_thing.above when some other mod declares a global variable above. 2016-10-09 17:46:44 +02:00
Tim
428b1b8709 Mitigate several forms of quarry-placement leading to item-transportation loops, that eventually cause server freezes.
As a nice side effect, items are not gonna be unnecessarily received by the quarry anymore, if another tube is available for transport.
2016-10-09 17:46:06 +02:00
MT-Modder
99bebc8008 Update blast resistant concrete on_blast() to new TNT API
The destroyed item is now returned instead of being directly dropped, and the blast intensity value has changed.
2016-10-04 19:37:26 -04:00
number Zero
03df68461a Power control added 2016-07-24 00:38:29 +03:00
number Zero
e8ac23e111 Supply converter now has control panel 2016-07-24 00:34:20 +03:00
Emon
413d20d6c8 Updated Italian locale
Added missing translations
2016-05-18 15:22:20 +02:00
tenplus1
322615542e Fix item drop when digging mv furnace
Fixed crash when digging mv furnace
2016-05-12 23:59:16 +02:00
ShadowNinja
3db3a9cc32 Fix cable alias count 2016-04-01 19:58:37 -04:00
veikk0
2258adb2a9 Replace nuclear reactor alarm sound 2016-03-30 22:53:29 +03:00
ShadowNinja
097d033585 Fix radiation damage 2016-03-20 22:38:30 -04:00
NathanSalapat
584cd82b58 Add support for new trees in minetest game 2016-03-20 13:30:18 -04:00
MT-Modder
0c144cd75c Make blast-resistant concrete blast resistant 2016-03-20 00:08:50 -04:00
ShadowNinja
85a984982c Cleanup
Changes:
  * Make rayIter a global utility, and use it for radiation too.
  * prettynum -> pretty_num and cleanup.
  * Remove resolve_name/function_exists (unused).
  * Cleanup nuclear reactor code.
2016-03-20 00:02:33 -04:00
ShadowNinja
4a993c2de8 Use connected nodeboxes for concrete posts 2016-03-20 00:02:33 -04:00
ShadowNinja
83c6494166 Use connected nodeboxes for cables 2016-03-20 00:02:33 -04:00
mrsteyk
f9a8593c87 Zinc is too rare!!! It is an issue!
Changed zinc parameters in first block block to match "lead noise" and "tin frequent". Please commit this! Zinc was a real problem to me untill i changed this file, now i can find about 10 zinc in 2 minutes!
2016-02-28 11:15:53 +03:00
RealBadAngel
c5127f4b1b Fix code style (useless or) 2015-11-28 08:31:27 +01:00
RealBadAngel
46f3f8ec7d Add vacuum cleaner tool (by Phvli) 2015-11-28 08:27:22 +01:00
Vanessa Ezekowitz
e16a39b385 Revert "height_min/max --> y_min/max"
(due to misread of the code)

This reverts commit 798a885807.
2015-11-25 13:55:15 -05:00
RealBadAngel
8ef83e8f7e Fix corium greifing disabling not working. 2015-11-14 11:29:16 +01:00
Vanessa Ezekowitz
798a885807 height_min/max --> y_min/max 2015-10-23 14:44:36 -04:00
Vanessa Ezekowitz
71b13ab0e8 tile_images --> tiles 2015-10-23 14:15:48 -04:00
MT-Modder
2d86ee64e3 Change tile_images to tiles 2015-10-16 13:55:57 -04:00
est31
54b6d9976c CNC: re-add player inventory to formspec
Fix regression of commit

d732c8dfbd - "Add listring functionality"

by @est31 (me xD).
2015-09-12 08:04:07 +02:00
Vanessa Ezekowitz
e7d06b33d1 fix missing radiation resistance for lead block 2015-09-12 01:34:57 -04:00
Vanessa Ezekowitz
1b1780946e add facedir to tool workshop 2015-09-12 01:18:16 -04:00
Vanessa Ezekowitz
28ed3b29a3 clarify license in README 2015-09-12 01:01:41 -04:00
Vanessa Ezekowitz
ec3e3b348d copy rubber tree textures to technic_worldgen
should fix #222
2015-09-12 00:54:28 -04:00
1Nick1Name
cfd788358c Use moreblocks as an optional dependency. 2015-09-12 00:24:24 -04:00
Christian Wischenbart
e2ca7166f9 added rubber tree description
+added to group "leaves"
2015-07-28 16:20:00 +02:00
Novatux
32d776293b Update my name in README.md 2015-07-24 11:46:34 +02:00
ThatGraemeGuy
a529baba47 Machines should become inactive when output slots are full 2015-07-12 20:43:01 +02:00
est31
a793747d92 Move coal furnaces to other/
They don't use power, move them to where they belong.
2015-06-18 04:16:47 +02:00
est31
d732c8dfbd Add listring functionality
Add shift-click functionality
2015-06-18 04:09:27 +02:00
asl97
7cd848a050 default:mese_block is now default:mese
https://github.com/minetest-technic/technic/blob/master/technic/crafts.lua#L189
2015-06-17 17:10:03 -04:00