Commit Graph

1052 Commits

Author SHA1 Message Date
SmallJoker
3bece9cec5 Fix incorrect recipe registration for craftguide and i3 2024-12-16 20:46:14 +01:00
SmallJoker
59643c45d4 Chainsaw: Chat message for 'aborted by safe cut'
This provides a feedback to the player.
2024-12-07 22:15:43 +01:00
Tóth Kornél
b268e3d526
Fix machines connected to multiple networks (#655)
Machines sometimes were be a part of multiple networks and generated power for each. This is fixed by checking if the machine is already part of an other network before assigning it to the current network.
2024-11-29 18:58:51 +01:00
Tóth Kornél
87e512ff24
Fix power monitor instability (#654)
This fixes the power monitor instability where it was switching between having and not having network infotext. The cause was that the power monitor is LV MV and HV machine at the same time, and each tier has a countdown. If any of these countdowns were 0 it treated the machine as having no network. This was changed so that it only treats a machine as having no network if it is timed out in all tiers that it is a part of.
2024-11-22 21:19:49 +01:00
DustyBagel
18df2813a0
Comment print statements in battery_box.lua (#650) 2024-09-06 19:10:04 +02:00
SmallJoker
221fc1376e
technic_cnc: use programs definition to generate formspec (#647)
This deprecates the variables onesize_products and twosize_products by using a shared definition table.
With these changes, it should be easier to add new programs in the future.

New feature: Tooltips are added to all programs. (only applies to newly placed nodes)
2024-08-10 10:50:51 +02:00
SmallJoker
9f373d6528 technic_cnc: Add group 'cracky'
Fixes a regression from ba2bdf836 where stone-like nodes could no longer be dug.
New sanity check to avoid such issues in the future.
2024-08-03 08:25:13 +02:00
Gábriel
6731db14e5
Add compressor recipes for nether racks (#644) 2024-07-07 18:53:15 +02:00
OgelGames
a9079c49e0
Expose technic.get/set_charge functions (#645) 2024-07-07 18:45:03 +02:00
SmallJoker
f80372a0f8 Frames: Fix error in node placement callback execution 2024-05-18 18:05:44 +02:00
Gábriel
80dee96dbe
Add grinding recipe for nether lump + refactor grinder recipes (#638)
Maintenance:

* Sort dependency-based entries alphabetically
* Refactor dust registration

Features:

* Add grinding recipe for nether lump and ingot + image for nether dust
2024-05-06 17:33:22 +02:00
Gábriel
d65c4aadd2
Add grinder crafting recipe from everness desert stone (#637)
Add two alternative grinder crafting recipes with the two everness desert stones
2024-05-06 17:31:13 +02:00
Gábriel
98675a2ae9
Add compressor recipes for nether brick and lump (#639)
Another addition with nether, similar to the previous one, just this time for compressor.

Clears nether's default recipes for compressed nether brick and nether lump, using the compressor instead for these tasks.
2024-04-30 17:44:51 +02:00
SmallJoker
ba2bdf8368
technic_cnc: Use client-side translation API (#636) 2024-04-28 18:41:52 +02:00
Gábriel
d5ff69d1d9
Add Everness sandstone compressor recipes (#634) 2024-03-25 19:45:57 +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
410e341da5 HV Reactor: Improve formspec layout 2024-01-09 21:51:08 +01:00
cx384
5826c2feaa
Fix outdated dependency links (#627) 2024-01-06 12:26:20 +01:00
SmallJoker
b221d69717 Remove duplicated textures
Now the ingot textures provided by commit 83e9cab3 are loaded
2023-12-19 18:59:46 +01:00
SFENCE
a296446da1 Add granite brick node (#593) 2023-12-19 18:25:45 +01:00
SmallJoker
49d4105a2b Quarry: revert startpos+1 air-like node check
Quarries are also deployed in entirely solid underground, where
it is expected that the quarry produces a new shaft from scratch.
2023-10-01 10:47:59 +02:00
SmallJoker
fda8a3d042 Quarry: Allow digging in different airlike environments
This offloads the digging check to a separate function for better code separation.
2023-09-23 13:25:11 +02:00
SmallJoker
dfcf64c1d0 Chainsaw: new setting to disable safe cutting
Some trees might generate with param2 != 0, which makes the
chainsaw appear blunt/useless. This safety feature is now
customizable.
2023-08-26 10:57:05 +02:00
SmallJoker
0921c326a8 Chainsaw: fix occasional error on startup
This also tweaks the cost function to make the chainsaw a bit less powerful.
2023-08-03 21:28:41 +02:00
SmallJoker
9b7c44b453 Wrench: Fix node registration from other mods 2023-01-29 13:11:37 +01:00
SmallJoker
86e083c409 Document a few derived textures
Thanks to cx384 for providing this input
2023-01-11 20:43:06 +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
damiemk
aad1b2875a
Add Japanese translation (#613) 2022-11-17 19:59:39 +01:00
sfence
66e20a9231
Add register_cable_tier API function (#612) 2022-11-04 19:23:44 +01:00
SmallJoker
705961e2fe Supply converter: Charge batteries again 2022-11-01 20:27:26 +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
SmallJoker
d4609f23f2
Chests: Use prepend styling and re-order elements (#608) 2022-10-29 21:36:33 +02:00
SmallJoker
091bb2406d Chainsaw: Add certain dftrees "fruit"-like nodes 2022-10-26 19:17:40 +02:00
SmallJoker
c40189eabf Export technic_music_player_top.png to PNG, run optipng 2022-10-25 18:17:45 +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
7d39136764
Chainsaw: Partial rewrite, various improvements (#607)
Introduces protection checks for the entire tree
More efficient node digging (VoxelManip)
Improved drop handling using detached inventories for correct stack sizes

Approximate speed-up of approx. 7x compared to the previous code for a giant sequoia.
2022-10-25 18:03:51 +02:00
SmallJoker
4775d98fb7 Unify and simplify LED/Lamp node definition 2022-10-20 20:08:56 +02:00
Bryce w
d623715d94 Add LV led and lamp 2022-10-20 18:28:45 +02:00
ZettaScript
718a5beda1
Supply converter: demany only the needed power (#577)
Supply converter demands only the needed power to satisfy the demand on the output network. It can still be too much if the output network has other power sources, because supply is not taken in account.

This surplus of energy can be used to charge batteries.
2022-10-20 17:56:10 +02:00
SmallJoker
fa39b24ed5 Document lead and sulfur 2022-10-19 21:51:09 +02:00
SmallJoker
bce5306abe Fix Mining Drill Mk1 not drilling
Problem introduced in  0f6bdb1
2022-06-19 16:50:20 +02:00
SmallJoker
167ab93905 Maintenance: Remove depends.txt and error on old MT versions 2022-06-14 20:49:21 +02:00
SmallJoker
5beb84bed9 Improve/trim the user manual further
Detailed information can be found on Wikipedia. The user manual
should be a compact documentation of the mod as whole.
This replaces long explanations with relevant links for use by
people who are interested in going deeper into this matter.
2022-06-14 20:46:16 +02:00
SmallJoker
f9b0906a82 Switching station: Begin optimizations 2022-06-08 21:57:46 +02:00
SmallJoker
9a39a94272 Further document the API 2022-06-08 20:19:53 +02:00
SmallJoker
349676f243 CNC: Fix startup error and texture warnings 2022-06-06 21:19:04 +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