Commit Graph

981 Commits

Author SHA1 Message Date
Thomas
11610cd9cb Fixed set mode for mining drill mk2 and mk3 2017-03-04 19:44:39 +01:00
Vanessa Ezekowitz
fd609d0f7b lower the cap on water mill to 1575 EU
2250 is just too much
2017-03-02 19:06:40 -05:00
Vanessa Ezekowitz
1b0669d5eb Merge pull request #312 from cheapie/master
Crafting changes
2017-02-27 19:08:26 -05:00
Carter Kolwey
dab5fa7105 Grind gravel into sand 2017-02-27 18:03:39 -06:00
Carter Kolwey
5e19514c60 Add dirt recipe to centrifuge
4 dirt -> 2 clay lumps, 1 sand, 1 gravel
2017-02-27 17:58:43 -06:00
Carter Kolwey
0139eab9a2 Rework dirt crafting
Dirt is now crafted from stone dust, leaves, water, and sand, instead of by grinding gravel. Stone dust can be obtained by grinding stone or sand.
2017-02-27 17:51:33 -06:00
Vanessa Ezekowitz
1f49ef973d cap water mill output at max_output and 100% :P 2017-02-26 15:16:41 -05:00
number Zero
cbe97434dc Add option to disable radiation protection 2017-02-25 20:55:15 -05:00
number Zero
73afc40d9c Immortal entities support 2017-02-25 20:55:15 -05:00
number Zero
b739ed6cb1 Made radiation configurable 2017-02-25 20:55:15 -05:00
number Zero
51be33deea Restored weak shielding 2017-02-25 20:55:15 -05:00
number Zero
1810f417d2 Radiation improved
Now it is applied to mobs too.
Moreover, it should now respect "radiation" armor group, or fall back to "fleshy" group to detect vulnerable things
2017-02-25 20:55:15 -05:00
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