Commit Graph

1057 Commits

Author SHA1 Message Date
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
Dennis Jenkins
d2b68a6bef
Update pipeworks wiki link (#596) 2022-02-05 18:35:16 +01:00
sfence
140701c99e
Add technic_on_disable callback (#592)
This adds a new callback to trigger when the machine is no longer powered by the technic power grid. Also allows mods to override the infotext if needed.
2021-09-10 20:42:27 +02:00
sfence
1c219487d3
Add support for craftguide mod recipe registration (#584) 2021-04-14 16:20:20 +02:00
TechDudie
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
auouymous
0f7810e538
Public/private mode for self-contained injector (#567)
Fixes #537.
2021-02-06 12:41:09 +01:00
Cedric Haase
11e43ffe13
nuclear_reactor: Add error messages on start failure (#574) 2021-01-06 18:12:51 +01:00
SmallJoker
d8fe9ad16c Merge new documentation with technic/doc 2020-09-19 14:14:31 +02:00
SmallJoker
c06a56daff Denser documentation. 'Slay The Dragon' Part 2 2020-09-16 18:56:10 +02:00
SmallJoker
cd5a3ee1ef Denser documentation. 'Slay The Dragon' Part 1 2020-09-15 19:55:16 +02:00
auouymous
a5b36b041e
Prevent protection check on MV machine close (#569) 2020-09-12 10:27:31 +02:00
auouymous
b9f89a0e39
Add ethereal support to chainsaw (#570) 2020-09-11 19:19:12 +02:00
auouymous
03bb4dab46
Protect self-contained injector formspec buttons (#568)
Fixes #536.
2020-09-11 19:15:51 +02:00
auouymous
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
auouymous
3c85abb3b2
Restore recipe for bronze block to ingots (#566) 2020-09-07 17:41:34 +02:00
David Leal
11f2b4f4b3
Fix warning reported by LuaCheck (#563) 2020-09-05 18:54:37 +02:00
KaylebJay
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
David Leal
6154a04c00
Remove node_ownership support, cleanup (#560) 2020-06-24 21:14:04 +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
SmallJoker
88f2bc388f Add issue template 2020-06-13 14:14:14 +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
dokutan
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
dokutan
88f42539bb
Fix error caused by locked chest recipes (#548) 2020-05-03 19:53:43 +02:00
BobFred7
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
dokutan
34f2894321
Update dependencies in manual.md (#547)
Add basic_materials to the list of dependencies in manual.md.
2020-05-01 21:11:53 +02:00
Louis Royer
fb4fef783b
Shapeless locked chests crafts (chest + lockpad) (#530)
This was only done for `default:chest`.
2020-04-26 11:33:12 +02:00
Hugo Locurcio
4a9ad94bf9
Fix chest formspec protection (#540)
This closes #539.
2020-04-26 11:32:42 +02:00
Julien Palard
f3828c1943
Fix pipeworks link in manual (#533) 2020-03-15 17:29:18 +01: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
thetaepsilon-gamedev
fbc4cc8511 technic_cnc/cnc.lua: Fix access to non-existant stack parameter (#528) 2020-01-28 21:38:13 +01:00
Adrian
904800abde Add river water can (#527) 2020-01-26 14:29:44 +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
fgrosswig
7696546d47 Fix steel strut overlay texture name (#526) 2020-01-06 21:49:05 +01:00
coil
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
Luke aka SwissalpS
76a39e71b9 Cleanup duplicate call (#522)
No need to call get_inventory twice
2019-12-25 22:23:34 +01:00
coil
08b660ba99 Add recipe to extract violet dye from blueberries (#518) 2019-12-14 10:20:32 +01:00
_TarkFrench
cb84439266 French translation: fix some errors and ortho (part 2) 2019-10-26 19:35:00 +02:00
_TarkFrench
c41f6509cf French translation: fix some errors and ortho (#513) 2019-10-26 19:34:17 +02:00
David Leal
d5df30c3ff Replace deprecated functions with newer ones (#510)
Use mod.conf
2019-09-14 12:55:41 +02:00
coil
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
d-stephane
768fbecc64 Add french translation (#417) 2019-08-26 19:53:24 +02:00
Sires
707fa5a97c Fix typos 2019-08-26 19:52:41 +02:00
Sires
505ad8d045 Add translation for wrench mod 2019-08-26 19:52:41 +02:00