Commit Graph

754 Commits

Author SHA1 Message Date
Thomas--S
6b52c78963 Update chest definitions to current minetest_game definitions 2017-01-15 15:58:13 +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
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
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
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
Rogier
fcef0ef987 Make chests usable if pipeworks is not installed 2015-06-17 17:06:49 -04:00
Rogier
ae7f49de38 Make chests usable without moreores (& add soft dependency) 2015-06-17 17:06:49 -04:00
Rogier
84812d2307 Make technic_chests not (implicitly) depend on technic
(by moving two images that are used for chests only, from technic/textures
 to technic_chests/textures)
2015-06-17 17:06:49 -04:00
sdzen
055ee23431 Readd myself 2015-06-06 10:39:47 -04:00
sdzen
a4f7996b56 Readd myself
a large amount of the 16x16 textures were mine but when RealBad put them back in the information on them mustve been scattered to the winds, just fixing this.
2015-06-06 10:34:45 -04:00
Vanessa Ezekowitz
24eca043d0 allow form backgrounds for chests to be textured separately 2015-05-03 15:13:45 -04:00
ShadowNinja
e393617fa1 Fix undefined global warning 2015-04-26 18:17:04 -04:00
ShadowNinja
35b0f068af Fix grinder name in recipe 2015-04-26 18:00:20 -04:00
Vanessa Ezekowitz
4cf1e63adb put marble block into group marble=1 2015-04-18 17:12:06 -04:00
est31
1615681e89 Fix autoloading for solar arrays
This autoloads the node above a solar array, so that its light value can be determined.
Previously, solar arrays in unloaded blocks would report an input of 0 to the switching station.
2015-03-23 03:41:03 +01:00
est31
3f179e4c53 Make rubber leaves yield rubber leaves
Previously, you wouldn't get any leaves items from mining rubber tree leaves.
Leafdecay still doesn't drop the leaves, only the saplings, just like with normal trees.
2015-03-22 19:35:51 +01:00
est31
6b800758fb Rename technic.cables and make it private
Give it a more descriptive name.
Previous use outside cables.lua isn't neccessary and gets removed.
2015-03-22 19:35:50 +01:00
Tim
137695ea67 allow activation/deactivation of frames/templates by config
have them deactivated by default due to a larger collection of associated issues
including but not limited to
* #170
* #216
* item duplication involving templates
* runaway machines
* traversal loop issues with huge machines leading to lag-outs
2015-03-16 18:58:41 -04:00
Vanessa Ezekowitz
b00e942824 don't run the damage ABM if damage is disabled on the server. 2015-03-15 18:21:28 -04:00
Vanessa Ezekowitz
cf75916ea7 Add spheres to the CNC machine
Note: this required renaming the base node name for the oblate spheroid
object, which previously had been named simply "sphere".  The result is
that all such nodes in an old world will change to actual spheres.

Since this includes a formspec change, machines will have to be dug and
re-placed to get the new program button to show up, and/or if the image
on the Oblate Spheroid button shows wrongly.
2015-03-12 00:02:23 -04:00