Commit Graph

991 Commits

Author SHA1 Message Date
Thomas Rudin
c14521cbd2 Quarry: Fix server freeze when max depth is reduced (#487)
Endless loop if max-depth is changed but some quarries are below that new limit
The old comparison (~=) did not account for that
2019-03-02 11:14:05 +01:00
Christopher Head
4f78a69ffc Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
Christopher Head
5f6b87d43a Fix spelling errors (#481) 2019-01-26 14:15:07 +01:00
Christopher Head
6e58a8e939 Make power meter work on LV battery box (#483) 2019-01-26 14:14:45 +01:00
Vanessa Dannenberg
8ebc1de29c make sure MV turbines only turn on in response to *flowing* water 2018-12-17 08:03:18 +01:00
upsala
e1a71a8fb0 Add MV-Freezer (#457)
New Grinder-recipe: ice => snowblock
New recipe for freezer: Freezer now generates ice
2018-12-09 17:37:58 +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
Vanessa Dannenberg
bdd13beeff fix brass block->ingot recipe
(clearing basic_materials' copper/silver recipe killed this one also)
2018-11-27 21:24:52 +01:00
GreenXenith
f5bf0d98b1 Add mod check for strut register 2018-11-26 22:05:20 +01:00
Vanessa Dannenberg
3cafe7553a minor fix for "LV" translations 2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
bc26b047d2 add blast-resistant concrete
and some basic_materials nodes
2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
83ec1b2476 fix dirt textures
add grassy shapes cut from default:dirt_with_grass
2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
c068edec65 fix excessive "element straight" quantity 2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
4ecb3d4334 make "half"/"full" buttons work 2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
d40946fa38 allow CNC to work without technic
minetest.conf technic_cnc_use_technic = false disables
use of power, returns items instantly, uses only default
stuff in craft recipe

(defaults to enabled if technic is installed)
2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
dc0689018d move CNC machine into its own mod 2018-11-25 16:10:23 +01:00
Vanessa Dannenberg
51d7bd81ff let moreblocks handle brass block stairs et. al (#456) 2018-11-24 17:35:06 +01:00
Vanessa Dannenberg
2b2411d1ee blast-resistant concrete stairs/slopes/et. al (#455)
if moreblocks is installed.
2018-11-23 20:48:23 +01:00
12Me21
8409be32fc Fix cable plate placement (#446)
Cable plate placement now uses minetest.item_place
2018-11-23 20:25:32 +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
Vanessa Dannenberg
f702a6597b fix missing worldgen depends 2018-11-11 09:53:27 +01:00
Tim
e931041358 Fix clear_craft crash due to dependency order via soft-dependency on dye (#449)
Fixes Fix #448
2018-10-23 18:42:52 +02:00
DS
5b97d94dae New sandstone crafts, fix dye crafting (#390) 2018-10-05 19:46:33 +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
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
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