21e044478e
Fix battery box charging issues caused by out of sync functions
...
This code should be merged in the future to avoid such issues.
2022-11-26 23:25:33 +01:00
521c0b74bb
Fix battery box charging on Windows
2022-11-24 21:49:20 +01:00
66e20a9231
Add register_cable_tier API function ( #612 )
2022-11-04 19:23:44 +01:00
6a9dfec36f
Batteries: Workaround to fix discharge ( #609 )
...
The network traversal code does still not handle connecting sides,
but at least finite power is no more.
2022-10-29 21:36:48 +02:00
f61bb82bd1
add recipes to grind all sand types into stone dust
...
idea from https://github.com/minetest-mods/technic/issues/573
2022-10-25 18:08:28 +02:00
f9b0906a82
Switching station: Begin optimizations
2022-06-08 21:57:46 +02:00
0f6bdb1bde
Correct (almost) all luacheck warnings
...
Also includes a few code opimizations:
- Combined mining drill functions
- Shorter alias registration (unused?)
- Add TODOs to address later
2022-06-06 21:04:13 +02:00
0211c582e9
Add charge set/get callbacks ( #600 )
...
For the easier making of multi mod chargeable tools.
2022-06-06 18:53:50 +02:00
1c219487d3
Add support for craftguide mod recipe registration ( #584 )
2021-04-14 16:20:20 +02:00
a5b36b041e
Prevent protection check on MV machine close ( #569 )
2020-09-12 10:27:31 +02:00
11f2b4f4b3
Fix warning reported by LuaCheck ( #563 )
2020-09-05 18:54:37 +02:00
438c0877f6
Add external machine registration support ( #557 )
...
New 'technic.register_base_machine' definition table value: 'modname' (defaults to current run mod)
2020-06-24 21:12:25 +02:00
a8daa417c4
Add GitHub workflow and luacheck ( #545 )
...
Add badge to README
Fix luacheck warnings
Remove node_ownership globals (and support)
2020-06-12 20:39:00 +02:00
befe3ecc86
Fix incorrect numeric types for 5.3.0-dev
...
5.3.0-dev adds strict type checks for registration fields, hence this was not noticed earlier due to implicit string-number conversions
2020-05-27 18:32:57 +02:00
df7f2e464a
Alloy furnace: More realistic recipe balance ( #549 )
2020-05-13 19:13:33 +02:00
0e10e8360d
Fix crash when placing cable plates ( #534 )
...
All coordinates can be equal if pointed_thing.above is identical
to pointed_thing.under.
2020-03-15 17:27:36 +01:00
1a45ad19d4
Alloy furnace: Accept only unique ItemStacks from tubes ( #523 )
...
Co-authored-by: Luke aka SwissalpS <Luke@SwissalpS.ws >
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com >
2020-01-11 22:06:24 +01:00
e90b28895c
battery_box.lua: Make "srcstack" local ( #525 )
...
Fixes warning:
Assignment to undeclared global "srcstack" inside a function at battery_box.lua:454
2020-01-06 21:50:15 +01:00
08b660ba99
Add recipe to extract violet dye from blueberries ( #518 )
2019-12-14 10:20:32 +01:00
e8f1033d49
Add alloy ice + bucket = water bucket ( #470 )
2019-06-01 12:33:31 +02:00
4f78a69ffc
Fix trailing whitespace ( #482 )
...
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
6e58a8e939
Make power meter work on LV battery box ( #483 )
2019-01-26 14:14:45 +01:00
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
8409be32fc
Fix cable plate placement ( #446 )
...
Cable plate placement now uses minetest.item_place
2018-11-23 20:25:32 +01:00
44cb8df048
use basic_materials mod where possible.
2018-11-11 09:54:20 +01:00
5b97d94dae
New sandstone crafts, fix dye crafting ( #390 )
2018-10-05 19:46:33 +02:00
d1b54a573c
Use tin from MTG instead of moreores
( #401 )
...
Register tin dust unconditionally
2018-07-21 19:11:12 +02:00
fb93388f06
Replace deprecated invsize[] with size[]
2018-07-19 14:36:21 +02:00
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
a5db87f0f1
Test local variable 'have_ui' before calling 'unified_inventory' ( #368 )
2018-02-16 17:32:47 -08:00
1a75cd9254
add sulfur-lead crafting recipe(s) for battery ( #353 )
2017-06-05 10:56:51 -04:00
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
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
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
fc2f6d8976
Generalize check for cable below battery box
2017-04-13 22:36:52 +02:00
06abe11dd0
check for cable plate under battery also
2017-04-13 16:25:42 -04:00
7c11ff1876
LV fuel-fired gen should not have tube connection overlays
2017-04-12 21:04:37 -04:00
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
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
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
970f608078
use clear_craft ( #339 )
...
* use clear_craft
* fix it
* Update grinder_recipes.lua
2017-04-12 15:14:35 -04:00
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
fab2c492c4
pipeworks has button on/off, button label, and button "base" cached
...
used them wherever possible
2017-04-11 19:19:29 -04:00
ca86550f26
added tube entry overlays to most MV machines
2017-04-11 07:54:00 -04:00
a3a959ab5e
add pipeworks tube overlays to MV, HV battery boxes
2017-04-11 07:48:46 -04:00
3f8478086d
fix crash in battery mod (missing meta check)
2017-04-11 07:45:31 -04:00
092ab7e738
added tube entry overlays to fuel-fired generators
2017-04-11 07:37:18 -04:00
bdd45f161a
fix broken ltier checks on MV/HV fuel-fired generators
2017-04-11 06:56:21 -04:00
5d05f59482
allow per-node stack splitting on all other standard machines
...
(default off)
2017-04-11 06:26:11 -04:00
ceead2b5ab
re-route tubes if active fuel-fired gen is dug (and can be)
2017-04-11 05:15:05 -04:00