126 Commits

Author SHA1 Message Date
OgelGames
bd975163a6
Translation fixes and improvements (#289) 2022-11-15 15:30:39 +11:00
OgelGames
5ad0a8c229
Use minetest.load_area everywhere (#287)
also change `technic.get_or_load_node` to return loaded node instead of nil
2022-10-31 12:40:17 +11:00
SX
b300d3f5dc Use ephemeral sounds for tools 2022-06-09 22:29:48 +03:00
SX
3df86dd24b Add power tool API, refactor existing tools
Cleanup deprecated metadata access for tools

Fix mining drill translations

Remove deprecated power tool functions

Drop charge value completely

Ensure use_RE_charge always uses at least 1 point

Use precalculated wear factor, remove negative set_wear hack...

Use technic_max_charge instead of max_charge in item definition, accept both

Log errors instead of failing with invalid power tool stack

Metadata migration for prospector

Cleanup tool definition max_charge, get_RE_charge log warning for unknown stacks
2022-06-09 22:29:48 +03:00
nixnoxus
a39a454c49
Move to MT 5.0.0+ translation system (#255)
* convert to `minetest.get_translator`

* fix material translation

* fix material translation

* Revert "fix material translation"

This reverts commit 35d0979d5828f481b6e53c04f20739983ba35087.

* update */locale/*

* `S("Chernobylite Block")`

* restore non-breaking spaces

* fix technic_chests/spec/api_spec.lua

* fix S(...)

* update technic/locale/

* update german translations

* fix placeholder `%s` in *.zh_CN.tr translations
2022-01-07 13:17:43 +01:00
SX
42cd4ae5e5 Make multimeter formspec usable (#173) 2021-04-10 19:49:08 +03:00
SX
27402ee1e0 Fix first error revealed by get_int implementation :D 2021-02-21 21:34:25 +01:00
SX
9d13f2c1f3 Use get_int to get number 2021-02-21 21:34:25 +01:00
SX
ad24bbcf65 Add more config options 2021-02-21 21:34:25 +01:00
SX
201e215ad4 Add "Multimeter" network inspection tool (#137)
* (#107) Add network inspection tool

* (#107) Fix luacheck and crash if node does not have network

* (#107) Add few rows to display when no network

* (#107) Implement formspec functions, add remote start

* Multimeter texture

* Update formspec, textures and initial use behavior

Co-authored-by: SX <50966843+S-S-X@users.noreply.github.com>
2020-12-10 15:47:30 +02:00
OgelGames
c28c2499c3 fix long lines
#105
2020-10-25 01:11:29 +11:00
OgelGames
ddeaf76ade fix ignored luacheck warnings
#105
2020-10-24 22:59:38 +11:00
BuckarooBanzay
bcb42bab99 Merge remote-tracking branch 'origin/upstream' 2020-06-29 10:31:23 +02:00
KaylebJay
1da2a7f275 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
BuckarooBanzay
77e5ada332 Merge remote-tracking branch 'origin/upstream' 2020-06-16 09:56:52 +02:00
David Leal
814de6fdc9 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
dokutan
30a0b086f6 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
pull[bot]
80db7aa00b Merge pull request #40 from minetest-mods/master
[pull] master from minetest-mods:master
2020-05-01 21:22:41 +00:00
BobFred7
8d8ab63ff1 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
OgelGames
30775ff03f better chainsaw cutting
* acacia, palm, date palm, and willow trees are now cut fully
* cutting is now limited by `max_saw_radius` to prevent forest destruction
2020-03-14 22:58:09 +11:00
pull[bot]
8038c148c9 Merge pull request #22 from minetest-mods/master
[pull] master from minetest-mods:master
2020-01-26 13:57:59 +00:00
Adrian
904800abde Add river water can (#527) 2020-01-26 14:29:44 +01:00
OgelGames
5069207e71 fix drill and laser digging
digtron crates can now be dug correctly
2019-12-13 20:44:05 +11:00
NatureFreshMilk
98db7d203a Merge branch 'master' into pandorabox 2019-11-04 08:25:37 +01:00
Thomas Rudin
a389ae9b85 mining drill mk3 tuning 2019-10-19 14:04:02 +02:00
David Leal
d5df30c3ff Replace deprecated functions with newer ones (#510)
Use mod.conf
2019-09-14 12:55:41 +02:00
OgelGames
d9e9dbdd39 Replace hard-coded node values with runtime function 2019-09-08 22:11:55 +10: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
OgelGames
36e48cba32 Check for falling nodes after cutting with chainsaw 2019-09-04 22:43:28 +10:00
NatureFreshMilk
264bfef602 Merge branch 'cool_trees' of https://github.com/coil0/technic into pandorabox 2019-08-27 07:35:29 +02:00
coil
b7dafca556 Add cool_trees support to the chainsaw 2019-08-26 16:43:02 -04:00
NatureFreshMilk
1a9d4ccc7d Merge branch 'master' into pandorabox 2019-07-16 16:11:27 +02:00
Thomas Rudin
beb30a5603 fix digtron crate corruption 2019-05-12 18:43:12 +02:00
upsala
700faca5cb Add moretrees poplar to chainsaw (#489) 2019-03-10 11:40:52 +01:00
Thomas Rudin
3ee090a7c1 Merge branch 'protected-mithril-chest' into pandorabox 2019-02-01 21:24:08 +01:00
Christopher Head
4f78a69ffc Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
Thomas Rudin
54953b3213 date palm sawing 2018-11-26 18:08:42 +01:00
Vanessa Dannenberg
44cb8df048 use basic_materials mod where possible. 2018-11-11 09:54:20 +01:00
Vitaliy
d1b54a573c Use tin from MTG instead of moreores (#401)
Register tin dust unconditionally
2018-07-21 19:11:12 +02:00
HybridDog
f013d2dd1f Mining laser fixes (#421)
Do not remove air and group:hot nodes instead of using a fixed list
Abort mining when encountering an unknown node
Add random to the smoke puff particle
Set mining laser tool range to 0
2018-07-21 19:10:32 +02:00
Jordan Irwin
4cc124ff9e Replace deprecated call to 'minetest.env' (#371) 2017-06-08 03:30:41 -04:00
Vanessa Ezekowitz
78f16c3e8e label all ABMs for profiler 2017-03-31 19:15:25 -04:00
Vanessa Ezekowitz
60b5ca5594 Merge pull request #308 from thatgraemeguy/mk3_drill_fix
Make mk3 drill in 3x3 mode drill nodes from top to bottom
2017-03-06 14:22:25 -05:00
Vanessa Ezekowitz
05dfc14fdb Merge pull request #297 from t4im/fix/drill_pointed_thing
Remove reading of undefined global to fix drill drilling pointed_thing.above in combination with other badly coded mods.
2017-03-06 14:08:06 -05:00
Thomas
1765c31eaa Fixed set mode for mining drill mk2 and mk3 2017-03-05 09:01:50 +01:00
Thomas
11610cd9cb Fixed set mode for mining drill mk2 and mk3 2017-03-04 19:44:39 +01:00
ThatGraemeGuy
5dd6191175 Make mk3 drill in 3x3 mode drill nodes from top to bottom 2017-01-30 12:14:26 +02:00
ShadowNinja
1475ee6e40 Add trace_node_ray_fat and use it for mining lasers
This function includes more nodes, so laser tunnels
aren't always only one node wide.
2016-11-17 11:48:19 -05:00
ShadowNinja
cfd4cb7871 Update mining laser particle API usage 2016-11-17 11:48:19 -05:00
ShadowNinja
2b0a283556 Adjust mining laser start offset 2016-11-17 11:48:19 -05:00