107 Commits

Author SHA1 Message Date
Thomas Rudin
6104383fa5 add quarry-quota per player: 4 blocks/second per default 2018-12-14 08:31:14 +01:00
Thomas Rudin
4015ef5532 Merge branch 'protected_forcefield' of https://github.com/Lejo1/technic into pandorabox 2018-12-11 16:57:22 +01:00
Lejo
17e68bb168 Check protection of the quarry 2018-12-11 16:27:08 +01:00
Thomas Rudin
e7a9e3124a Merge branch 'protected_forcefield' of https://github.com/Lejo1/technic into pandorabox 2018-12-11 15:28:30 +01:00
Lejo
333eae7a5f Check protection of the forcefield 2018-12-11 15:22:00 +01:00
Thomas Rudin
b04c6a9576 Merge https://github.com/minetest-mods/technic into pandorabox 2018-12-09 16:59:32 +01:00
Thomas Rudin
701240bc3a Quarry: Check for valid facedir to fix server freeze #465 (#466)
Checks if facedir is valid. If the face points up or down the depth-check would run endless and freeze the server
2018-12-09 16:01:10 +01:00
Lejo
aa82fa1d13 Forcefield: Remove deprecated update_map() call (#467) 2018-12-09 15:57:48 +01:00
Thomas Rudin
6ef76aacfb Merge branch 'quarry-facedir-fix' of github.com:pandorabox-io/technic-1 into pandorabox 2018-12-03 10:54:10 +01:00
Thomas Rudin
38eeecfa0c fix #465
Checks if facedir is valid. if the face points up or down the depth-check would run endless and freeze the server
2018-12-03 10:49:41 +01:00
Thomas Rudin
2d18ca778f another null check for https://github.com/pandorabox-io/pandorabox.io/issues/59 2018-11-28 08:36:10 +01:00
Thomas Rudin
31d7cbaf7e Merge https://github.com/minetest-mods/technic into pandorabox 2018-11-26 08:54:18 +01:00
Thomas Rudin
3d52b679b0 Quarry: Make use of fake digger from pipeworks (#453)
Fixes crash when digging empty protected chests (https://github.com/minetest/minetest_game/blob/backport-0.4/mods/default/nodes.lua#L1868)
2018-11-16 21:36:03 +01:00
Vanessa Dannenberg
44cb8df048 use basic_materials mod where possible. 2018-11-11 09:54:20 +01:00
h-v-smacker
557cb1bc8f recipe fix 2018-11-09 11:14:22 +01:00
h-v-smacker
41f70bbeee Industrial HV machines 2018-11-09 11:14:02 +01:00
h-v-smacker
81ee8e3405 hv furnace recipe fix 2018-11-09 11:13:02 +01:00
h-v-smacker
6cf6df426b HV furnace and extra recipes 2018-11-09 11:11:41 +01:00
Thomas Rudin
0c8d4f5e60 Revert "hv furnace"
This reverts commit d129ecd48ae608e1f7cf3def8af8703486818484.
2018-11-09 11:10:07 +01:00
Thomas Rudin
4cf9439ffd Revert "hv grinder"
This reverts commit 528516da9b8f1551db054ce677d1d61087f9380f.
2018-11-09 11:10:02 +01:00
Thomas Rudin
ce904d72b5 Merge branch 'fix-fake-digger' into pandorabox 2018-11-09 08:06:04 +01:00
Thomas Rudin
ee2728c26a fixes #441
Quarry uses a fake-digger created by pipeworks (hard-dependency)
Fixes crash when digging empty protected chests (https://github.com/minetest/minetest_game/blob/backport-0.4/mods/default/nodes.lua#L1868)
2018-11-09 07:56:18 +01:00
Thomas Rudin
528516da9b hv grinder 2018-10-24 11:17:25 +02:00
Thomas Rudin
d129ecd48a hv furnace 2018-10-24 11:10:41 +02:00
Thomas Rudin
638c3a33e0 pandorabox custom 2018-07-26 15:58:50 +02:00
thetaepsilon-gamedev
c93bfefd9f machines/HV/quarry.lua: [modification] provide a basic digger object to can_dig callbacks to prevent nil object errors (#425)
Minetest game's doors mod was known to cause server errors when passed a nil digger in it's can_dig callback,
due to always attempting to invoke digger:get_player_name().
Fix this by providing a basic fake player which provides this method to can_dig callbacks.
(It should be noted that currently this fix causes doors to be undiggable by quarries.)
2018-05-19 22:06:00 +02:00
Vitaliy
689766f15a Remove unused values (#407) 2018-02-17 11:00:15 -08:00
DS
e056800cea nuclear_reactor: do not set structure_accumulated_badness to less than 0 2017-09-07 07:43:20 +02:00
DS
bf58c77316 digilinize nuclear_reactor (#341)
* start digilinizing

* add self 💥 destruction and co.

* add start button and command

* fix some things

* add possibility to disable nuclear reactor in formspec

* oops

* some style

* improve connectivity

* add protection
2017-06-05 11:02:05 -04:00
DS
51f9df2cf2 make some forcefield improvements (#344)
* mkae some forcefield improvements

* add emitter on_blast
2017-06-05 10:56:03 -04:00
Vanessa Ezekowitz
1d20af1bcb replace HV nuke reactor nodeboxes with comparable mesh model
model includes a flat extension on one "side" to fix #342

rotate the reactor with the screwdriver with shift-right-click before filling, to
line up the flat side with your cabling.  Note that the reactor doesn't actually
care which side the cable comes from.
2017-04-12 22:22:29 -04:00
Vanessa Ezekowitz
54004f4951 redo top/bottom textures for supply converter
delete back/bottom texture for power monitor
use "machine bottom" for bottom of force field generator
add cable connection overlay, use it on various machines' bottoms/sides, as appropriate
2017-04-11 08:48:16 -04:00
Vanessa Ezekowitz
0e9caf069d add pipeworks tube overlay to top of quarry
(and get rid of obsolete inventorycube() image)
2017-04-11 08:09:53 -04:00
DS-Minetest
ef8bb38bfd Make forcefield controlable with digilines. 2017-04-04 23:58:02 -03:00
DS-Minetest
338f3b6a99 Make battery box send information via digilines. 2017-04-01 16:47:34 -03:00
Vanessa Ezekowitz
78f16c3e8e label all ABMs for profiler 2017-03-31 19:15:25 -04:00
Vanessa Ezekowitz
32b6ca9816 Merge pull request #298 from t4im/fix/quarry_loops
Mitigate server freezes due to item-transportation loops with quarries.
2017-03-06 14:11:40 -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
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
ShadowNinja
097d033585 Fix radiation damage 2016-03-20 22:38:30 -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
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
8ef83e8f7e Fix corium greifing disabling not working. 2015-11-14 11:29:16 +01:00
Vanessa Ezekowitz
e7d06b33d1 fix missing radiation resistance for lead block 2015-09-12 01:34:57 -04:00
est31
d732c8dfbd Add listring functionality
Add shift-click functionality
2015-06-18 04:09:27 +02: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