Commit Graph

777 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
ed2aab46e1 Merge pull request #258 from mrsteyk/patch-1
Zinc is too rare!!! It is an issue!
2017-03-06 13:56:38 -05:00
Vanessa Ezekowitz
e3b33e21c7 Merge pull request #314 from thomas31415/master
Fixed set mode for mining drill mk2 and mk3
2017-03-06 13:35:16 -05:00
Vanessa Ezekowitz
ff6675ef28 Merge pull request #315 from cheapie/master
Only update the associated network(s) when placing/digging nodes
2017-03-06 00:35:44 -05:00
Carter Kolwey
d3f40e0fd0 Only update the associated network(s) when placing/digging nodes 2017-03-05 04:09:23 -06:00
Thomas
1765c31eaa Fixed set mode for mining drill mk2 and mk3 2017-03-05 09:01:50 +01:00
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
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
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
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
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
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 798a885807a1e1d6f0e028dbf6dcdb5cc9517106.
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

d732c8dfbd818e9b0b4a04620af40399b35c74ab - "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