Commit Graph

640 Commits

Author SHA1 Message Date
7600b7ee49 Remove depend.txt file, because support for Minetest lower then 5.0.0 is obsolete. 2021-03-29 08:36:48 +02:00
2e19e5db63 Fix error when technic is used with i3 and without craftguide mod. Optimalize code. 2021-03-29 08:35:14 +02:00
1b83798f4e Add support for i3 inventory mod aviable for minetst 5.4+. 2021-03-27 11:04:07 +01:00
1084ca00da Fix .luacheckrc, fix unused index variable, remove spaces, use tabs. 2021-03-26 22:12:45 +01:00
1f0f335ecc Remove forgotten testing code. 2021-03-26 19:17:43 +01:00
5d4ead886c Add support for craftguide mod recipe registration. 2021-03-26 19:05:32 +01:00
43acec2900 Add Rubber Goo as replacement for the grinder (#578)
Fixes the circular dependency in issue #474 by adding a new item that can be used to craft Rubber.
2021-02-09 19:03:55 +01:00
0f7810e538 Public/private mode for self-contained injector (#567)
Fixes #537.
2021-02-06 12:41:09 +01:00
11e43ffe13 nuclear_reactor: Add error messages on start failure (#574) 2021-01-06 18:12:51 +01:00
d8fe9ad16c Merge new documentation with technic/doc 2020-09-19 14:14:31 +02:00
a5b36b041e Prevent protection check on MV machine close (#569) 2020-09-12 10:27:31 +02:00
b9f89a0e39 Add ethereal support to chainsaw (#570) 2020-09-11 19:19:12 +02:00
03bb4dab46 Protect self-contained injector formspec buttons (#568)
Fixes #536.
2020-09-11 19:15:51 +02:00
d7336670f2 Constructor: Add protection check (#564)
Check if the player who placed constructor can access protected positions before placing or removing nodes.
2020-09-09 18:44:12 +02:00
3c85abb3b2 Restore recipe for bronze block to ingots (#566) 2020-09-07 17:41:34 +02:00
11f2b4f4b3 Fix warning reported by LuaCheck (#563) 2020-09-05 18:54:37 +02:00
00618d13b5 Drill and laser: call node-specific on_dig (#556)
This properly digs nodes that have a custom on_dig function specified. For normal nodes, the behaviour is kept the same.
2020-06-27 17:29:50 +02:00
6154a04c00 Remove node_ownership support, cleanup (#560) 2020-06-24 21:14:04 +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
31a052d7e6 Chainsaw update (bushes and moretrees fixed) (#551)
Add missing moretrees nodes to the chainsaw
Cut all nodes with the "tree" and "leaves" group too.
2020-05-10 14:42:57 +02:00
b2a124dd83 Deal with lava cans wasting lava (#532)
Rather than replacing lava source with lava source, the lava can will now attempt to place lava to the node "above".
This change applies the same for all registered cans.
2020-05-01 21:24:12 +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
904800abde Add river water can (#527) 2020-01-26 14:29:44 +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
da95be53ec Fix radiation protection when armor group is not set (#509)
The radiation damage group can be not set when armor completely
protects against radiation or when no mod has set a default value
for the damage group. We want to apply radiation damage in the
second case but not in the first.
2019-12-30 21:02:01 +01:00
76a39e71b9 Cleanup duplicate call (#522)
No need to call get_inventory twice
2019-12-25 22:23:34 +01:00
08b660ba99 Add recipe to extract violet dye from blueberries (#518) 2019-12-14 10:20:32 +01:00
c41f6509cf French translation: fix some errors and ortho (#513) 2019-10-26 19:34:17 +02:00
d5df30c3ff Replace deprecated functions with newer ones (#510)
Use mod.conf
2019-09-14 12:55:41 +02:00
e66bb281a4 Add cool_trees support to the chainsaw (#511)
Make list of timber node names less repetitive
2019-09-07 13:02:21 +02:00
768fbecc64 Add french translation (#417) 2019-08-26 19:53:24 +02:00
707fa5a97c Fix typos 2019-08-26 19:52:41 +02:00
e12220be79 Add translation for technic mod 2019-08-26 19:52:41 +02:00
d119a67482 Refactor switching station ABMs (#508)
When the function is defined inside the ABM, a new closure is allocated every time the ABM runs. 
Since the action function is already way too long, it's better for readability and performance to split it out.
2019-08-26 19:45:11 +02:00
bb05ff8fd2 Reject constructor in constructor slot inventories (#505) 2019-07-21 12:40:57 +02:00
dc4f4f66e6 Apply radiation damage only if entity is not dead (#504)
This prevents on_dieplayer being called unnecessarily, causing problems such as repeated death messages.
2019-07-10 20:27:01 +02:00
62fdb853ec Optimize PNG images losslessly (#501)
This incorporates non-interlaced PNGs from #500 to fix warnings thrown by libpng.
2019-06-20 18:35:26 +02:00
e8f1033d49 Add alloy ice + bucket = water bucket (#470) 2019-06-01 12:33:31 +02:00
a9b10cc4b1 Fix Polish translation (#497) 2019-04-14 11:43:30 +02:00
b81d1d3f2d Check protection of the forcefield and Quarry (#468) 2019-04-13 20:45:49 +02:00
c9ba4b329d Add Polish translation (#493) 2019-03-31 13:00:48 +02:00
700faca5cb Add moretrees poplar to chainsaw (#489) 2019-03-10 11:40:52 +01:00
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
4f78a69ffc Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
5f6b87d43a Fix spelling errors (#481) 2019-01-26 14:15:07 +01:00
6e58a8e939 Make power meter work on LV battery box (#483) 2019-01-26 14:14:45 +01:00