Commit Graph

174 Commits

Author SHA1 Message Date
SmallJoker ebbc8b5a19
v2 2024-03-16 12:38:55 +01:00
SmallJoker 51af3f918b
align after the first printable character 2024-03-16 12:37:38 +01:00
gabriel1379 155bb12847 Add CR recs part 2 2024-03-13 20:11:53 +01:00
gabriel1379 6cbd6bb15e Apply CR recommendations 2024-03-13 20:06:16 +01:00
gabriel1379 a7566d187f Do clearing crafts with function, table and loop too 2024-03-09 16:40:47 +01:00
gabriel1379 09ef1cab84 Fix tabs 2024-03-09 16:19:25 +01:00
gabriel1379 0356ebec84 Create function, table and loop for clearing crafts to keep things overviewable 2024-03-09 16:17:20 +01:00
gabriel1379 381edc5a4f Edit wrongly placed comment 2024-03-09 15:51:44 +01:00
gabriel1379 f1a0f2c86c Add grinder recipes for everness sandstones (all of them) 2024-03-09 15:47:51 +01:00
gabriel1379 58fa4ec43d Trim spaces 2024-03-09 15:30:34 +01:00
gabriel1379 c48d32c004 Attempt to fix tabs in compressor_recipes.lua 2024-03-09 15:28:35 +01:00
gabriel1379 8074d49de8 Clear default everness sandstone to sand recipe 2024-03-09 15:19:39 +01:00
gabriel1379 e57dc5b16c Add everness sandstone compressor recipes, clear their default recipes 2024-03-09 15:00:06 +01:00
Gábriel f47da0c045
Add grinding for pyrite from Everness mod (#633)
Add recipe for grinding pyrite lump from everness mod into pyrite dust if everness mod is present (also includes images for pyrite dust).
2024-03-08 18:44:13 +01:00
cx384 a08ba2bb93
Get rid of deprecated metadata (#628)
The deprecated metadata gets converted to a proper ItemStackMetaRef.
All keys stay the same except for:
- Cans that use `can_level` now, since they didn't store a serialized table in the metadata before.
- `charge` which is now `technic:charge`, since any item (also from other mods) may have a technic charge which can cause compatibility problems.

Backwards compatibility is kept but going back to older `technic` versions might result in misbehaving circuits.
2024-01-22 18:27:54 +01:00
SmallJoker 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
SmallJoker 521c0b74bb Fix battery box charging on Windows 2022-11-24 21:49:20 +01:00
sfence 66e20a9231
Add register_cable_tier API function (#612) 2022-11-04 19:23:44 +01:00
SmallJoker 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
OgelGames 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
SmallJoker f9b0906a82 Switching station: Begin optimizations 2022-06-08 21:57:46 +02:00
SmallJoker 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
sfence 0211c582e9
Add charge set/get callbacks (#600)
For the easier making of multi mod chargeable tools.
2022-06-06 18:53:50 +02:00
sfence 1c219487d3
Add support for craftguide mod recipe registration (#584) 2021-04-14 16:20:20 +02:00
auouymous a5b36b041e
Prevent protection check on MV machine close (#569) 2020-09-12 10:27:31 +02:00
David Leal 11f2b4f4b3
Fix warning reported by LuaCheck (#563) 2020-09-05 18:54:37 +02:00
KaylebJay 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
David Leal 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
Vanessa Dannenberg 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
BobFred7 df7f2e464a
Alloy furnace: More realistic recipe balance (#549) 2020-05-13 19:13:33 +02:00
coil 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
Serhiy Zahoriya 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
fgrosswig 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
coil 08b660ba99 Add recipe to extract violet dye from blueberries (#518) 2019-12-14 10:20:32 +01:00
Parasitoid e8f1033d49 Add alloy ice + bucket = water bucket (#470) 2019-06-01 12:33:31 +02:00
Christopher Head 4f78a69ffc Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
Christopher Head 6e58a8e939 Make power meter work on LV battery box (#483) 2019-01-26 14:14:45 +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
12Me21 8409be32fc Fix cable plate placement (#446)
Cable plate placement now uses minetest.item_place
2018-11-23 20:25:32 +01:00
Vanessa Dannenberg 44cb8df048 use basic_materials mod where possible. 2018-11-11 09:54:20 +01:00
DS 5b97d94dae New sandstone crafts, fix dye crafting (#390) 2018-10-05 19:46:33 +02:00
Vitaliy d1b54a573c Use tin from MTG instead of `moreores` (#401)
Register tin dust unconditionally
2018-07-21 19:11:12 +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
Jordan Irwin a5db87f0f1 Test local variable 'have_ui' before calling 'unified_inventory' (#368) 2018-02-16 17:32:47 -08:00
DS 1a75cd9254 add sulfur-lead crafting recipe(s) for battery (#353) 2017-06-05 10:56:51 -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 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 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