Commit Graph

922 Commits

Author SHA1 Message Date
Thomas Rudin
26474b3f5c owner check 2018-10-15 20:24:05 +02:00
Thomas Rudin
5ab0b6383a enable drill 2018-10-15 20:23:11 +02:00
Thomas Rudin
ebf4ad0fd7 custom 2018-10-15 20:21:30 +02:00
Thomas Rudin
e1a8876fc4 Merge remote-tracking branch 'origin/master' into HEAD 2018-09-19 11:28:26 +02:00
Vanessa Dannenberg
92dd0f4af8 Add a new type of cable clip
Uses Zeg9's steel mod's "steel:strut_mount" or streetsmod's
"streets:steel_support" as the base/blocky part, with an overlay copied
from the steel mod to make it look like the clip is fixed to the strut
with a steel band.

Textures will adjust to match whichever mod is installed, preferring the
steel mod.

Can be crafted from any of these standard/shaped recipes:

- - -        - f d
- f -   or   - s -
- m -        - i -

f = fencepost-shaped clip
m = steel mod strut with mount
s = steel mod strut without mount, or streets mod steel support
i = default steel ingot
d = dye (optional, see below)

If the user has Unified Dyes (commit 2a816534 or later), the clip can be
dyed (well, the white part anyway :-) ), either by adding a portion of
dye as above, or by crafting an existing clip + dye. Uses
"colorwallmounted" mode for 32-color support.
2018-09-07 17:13:18 -07:00
Thomas Rudin
fe917c7b23 config 2018-08-28 12:06:29 +02:00
Vanessa Dannenberg
29f746369f Switch to colored itemstacks (#438)
with full crafting recipes
(requires Unified Dyes commit 2a816534 or later)
2018-08-25 21:24:52 +02:00
Elias Åström
488f80d950 Clean file frames.lua to make more readable
- "#(array)" replaced with "#array"
- "(a and b) or c" replaced with "a and b or c"
- Cleaned some other places with unnecessary parenthesis
- "a,b" replaced with "a, b"
- "a+b" replaced with "a + b" (and for all other binops)
- "{a, b, c}" replaced with "{ a, b, c }"
- "-n + a" replaced with "a - n"
- Removed trailing whitespace
- Blank lines added in some very dense places
- Very long lines broken into shorter lines
- Use modern functions like vector.new and vector.round
- Align with spaces instead of tabs
2018-08-25 12:24:58 +02:00
Elias Åström
d74c250a40 Preserve active timers at frame move
Previously timers were not copied over to the new nodes when frames
move.  This lead to blinky plants from mesecons to stop working after a
platform has moved, and buttons getting stuck in their pressed state.

Now the timers state for active timers are copied from the old node
positions to the new node positions.
2018-08-25 12:24:58 +02:00
Tanmaya Meher
2e7859c35e New MV Hydro Machine (#412)
* New MV hydro with upgraded power

The LV hydro is easy to make giving lot of power. The New hydro MV will put a tier system to it; thereby giving more incentive to player to pursue MV hydro plus a little survival aspect. This is a result of [Detailed discussion which is here](https://github.com/minetest-mods/technic/issues/411). Thanks to VanessaE for a good talk and support and enthusiasm to make one :) This will now produce around 175 EU (in between 150-200, so basically average). The MV hydro will give 10x more power than this one. :)
2018-08-25 12:24:14 +02:00
ChimneySwift
86a04d860e manual.md: Corrections and straightening of facts (#406)
- There are manuals for all of the modpacks Technic depends on (possibly this is recent)
- Tin is now part of minetest_game
- Minor typo fixes
2018-08-25 12:22:18 +02:00
SmallJoker
9b40d02fbd Revert get_3d to deprecated get3d for 0.4.x compatibility 2018-08-04 09:57:30 +02:00
Thomas Rudin
638c3a33e0 pandorabox custom 2018-07-26 15:58:50 +02:00
Vitaliy
d1b54a573c Use tin from MTG instead of moreores (#401)
Register tin dust unconditionally
2018-07-21 19:11:12 +02:00
HybridDog
f013d2dd1f Mining laser fixes (#421)
Do not remove air and group:hot nodes instead of using a fixed list
Abort mining when encountering an unknown node
Add random to the smoke puff particle
Set mining laser tool range to 0
2018-07-21 19:10:32 +02:00
HybridDog
80c6a14566 Tidy up ore registrations (#422) 2018-07-21 19:09:27 +02:00
SmallJoker
fb93388f06 Replace deprecated invsize[] with size[] 2018-07-19 14:36:21 +02:00
HybridDog
41f175986d Show EU power values more readable (#424)
Add the EU_string helper function
In comparison to pretty_num it uses SI prefixes, adds "EU" (e.g. kEU) and rounds the number for readability
Add a constant_digit_count boolean setting
2018-07-16 17:26:39 +02:00
HybridDog
6af0376c23 Use a:iter instead of for loops for sulfur generation (#423) 2018-07-16 17:25:53 +02:00
Thomas--S
0fcc7a14c2 Replace old nodeupdate() with new minetest.check_for_falling() (#391) 2018-07-16 17:25:43 +02:00
Vitaliy
68fac3ed7b Fix wooden chest formspec (#429) 2018-07-15 12:28:34 +02:00
Fixer
395089dfd8 Wrench: Allow picking up with protection_bypass privilege (#393)
This allows admins to move other players locked chests/etc without hassle (relocating flying chests).
2018-07-15 12:27:52 +02:00
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