Commit Graph

1050 Commits

Author SHA1 Message Date
SmallJoker
6664714313 Skip interact check for fake players
Fixes crash related to pipeworks
default.can_interact_with_node is not official part of the API yet. Using it anyway..
2018-06-28 19:49:04 +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
Jordan Irwin
a5db87f0f1 Test local variable 'have_ui' before calling 'unified_inventory' (#368) 2018-02-16 17:32:47 -08:00
number Zero
86fb981b44 Fix O(n^2) network traversal 2018-02-13 18:25:44 +01:00
Ekdohibs
215de5487b Fix redundant_warn 2018-01-13 10:30:22 +01:00
DS-Minetest
930c51eef9 chests: fix sort_inventory function 2018-01-07 09:56:55 +01:00
DS
37d49142cf supply_converter: avoid crashes caused by wrong digiline message types (#397) 2017-10-31 13:56:10 -04:00
DS
e056800cea nuclear_reactor: do not set structure_accumulated_badness to less than 0 2017-09-07 07:43:20 +02:00
Vanessa Ezekowitz
a84b5f3b28 print warning to console if redundant switching station is found
and where it is

only prints the warning once per redundant station, per minetest
session. if there are multiple redundant stations on a network, digging
one should cause the warning to appear for the next one technic finds,
if it doesn't show them all right away.
2017-07-03 18:05:52 -04:00
Vanessa Ezekowitz
9d5bd90b57 add chat command to allow disabling of switching station ABM
(for situations where a user creates a laggy machine on a public server, use
this to suspend power distribution until the machine is found and disabled)

`/powerctrl off` to disable
`/powerctrl on` to reenable

(actually, anything but "on" disables it)
2017-07-03 17:35:19 -04:00
DS-Minetest
16146231b8 don't place eg. chests without data 2017-07-03 17:35:19 -04:00
Vanessa Ezekowitz
d4162be9a7 remove wooden chests redefinitions
they're incompatible with current minetest_game and do nothing useful anyway
2017-06-17 22:06:37 -04:00
Vanessa Ezekowitz
db480011fb only try to clear/redefine recipes for teleport and accel tube
if they are enabled in pipeworks' config
2017-06-13 00:17:52 -04:00
Jordan Irwin
4cc124ff9e Replace deprecated call to 'minetest.env' (#371) 2017-06-08 03:30:41 -04: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
asl97
a495541c09 Actually reuse mapgen table (#365) 2017-06-05 10:59:16 -04:00
DS
1a75cd9254 add sulfur-lead crafting recipe(s) for battery (#353) 2017-06-05 10:56:51 -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
DS
9167d4fc6f update wrench (#359) 2017-06-05 10:53:18 -04:00
Vince Aggrippino
844e2fad47 Add the sapling group to rubber_tree_sapling (#366)
Add the sapling group to Rubber Tree Sapling so that it can be used in
Mesecons recipes for glue and blinky plant.
2017-06-05 10:52:47 -04:00
Carlos
e1bb29c338 Agrege la traduccion al español (#362) 2017-06-05 10:52:31 -04:00
you
987cc5a6a4 Add api documentation (#361) 2017-06-05 10:51:59 -04:00
numberZero
83a4bb60ca Fix flowing corium textures (#364) 2017-06-05 10:51:24 -04:00
Jordan Irwin
97e1c8b7f2 Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#369) 2017-06-05 10:50:30 -04:00
DS
9cc1a78371 advanced cable plate placing (#357)
* advanced cable plate placing

* make also sneak possible

* add screwdriver support
2017-06-05 10:50:15 -04:00
Vanessa Ezekowitz
42efc7e47c clarify battery box connections. 2017-04-17 15:03:30 -04:00
Vanessa Ezekowitz
adc638bd8c document current behavior of hydro gen 2017-04-16 23:06:24 -04:00
Vanessa Ezekowitz
557dc4db1b Battery boxes no longer connect to tubes from bottom
(since a power cable needs to go there)

items destined for "discharge" still come from the top, but items bound for the
"charge" slot must come in from the left, right or back
2017-04-14 05:16:14 -04:00
Vanessa Ezekowitz
e65c8b7130 Don't allow constructor to operate if bad facedir (fixes #328)
Also, use "simple" screwdriver mode for "off" constructor, and disable screwdriver for "on" one.
2017-04-13 20:48:18 -04:00
Vanessa Ezekowitz
69feeef0af use clear_craft to remove default sandstone recipe
get rid of the two grinder recipes from homedecor/fake_fire (obsolete)
2017-04-13 20:27:19 -04:00
Thomas--S
fc2f6d8976 Generalize check for cable below battery box 2017-04-13 22:36:52 +02:00
Vanessa Ezekowitz
06abe11dd0 check for cable plate under battery also 2017-04-13 16:25:42 -04:00
Thomas--S
6b8011eba7 Fix fence nodebox (#346) 2017-04-13 13:12:46 -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
7c11ff1876 LV fuel-fired gen should not have tube connection overlays 2017-04-12 21:04:37 -04:00
Vanessa Ezekowitz
a34ea59105 LV batbox should show charge on all X/Z sides
(also, fixup some other texture defs for readability)
2017-04-12 20:29:22 -04:00
Vanessa Ezekowitz
33455328bd Make batteries only charge/discharge from the bottom
(they were already supposed to but would leech charge from sideways neighbors too)
2017-04-12 20:21:20 -04:00
Vanessa Ezekowitz
14e0c4c48c revise cable connection overlay (make copper part look smaller) 2017-04-12 18:57:56 -04:00
Vanessa Ezekowitz
170d3e09c5 clean-up battery box images, make more consistent
added tube or cable entry overlays as appropriate.
deleted a couple of obsolete textures
2017-04-12 18:50:50 -04:00
DS
970f608078 use clear_craft (#339)
* use clear_craft

* fix it

* Update grinder_recipes.lua
2017-04-12 15:14:35 -04:00
Thomas--S
39bfb76cfb Take Item from Cable Plate Stack on Place (#345)
(when not in Creative)
and
Change drop to recipe.
2017-04-12 15:13:39 -04:00
Vanessa Ezekowitz
d2fb249d94 fix wrong toggle switch "on" img in chests 2017-04-11 20:57:23 -04:00
Vanessa Ezekowitz
fab2c492c4 pipeworks has button on/off, button label, and button "base" cached
used them wherever possible
2017-04-11 19:19: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
8479a8c984 add pipeworks tube overlays to self-contained injector
also, gave it paramtype2 = "facedir" and removed the front connection
for consistency with other machines
2017-04-11 08:17:56 -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
Vanessa Ezekowitz
869d0597ef add pipeworks tube entry overlay to tool workshop 2017-04-11 07:57:45 -04:00
Vanessa Ezekowitz
ca86550f26 added tube entry overlays to most MV machines 2017-04-11 07:54:00 -04:00
Vanessa Ezekowitz
a3a959ab5e add pipeworks tube overlays to MV, HV battery boxes 2017-04-11 07:48:46 -04:00