Commit Graph

875 Commits

Author SHA1 Message Date
Alexander Ried
c79e68a80c Consider connect_sides for item transport
Previously connect_sides was only used to choose the correct visual
model, but not during item transport. This allowed items to exit tubes
in directions without a visual connection and enter objects from sides
that should not be connectable according to connect_sides.
For example an item could enter a chest from the front, if a tube passed
there.

This change saves the connect_sides in the meta table of the object
whenever the visual representation is updated. When nothing is cached
yet, it uses the old behavior. That way it does not break existing
builds.
2020-06-30 10:11:22 +00:00
Vanessa Dannenberg
9338c109a6 Merge branch 'rebased_luacontroller' into 'master'
Rebase lua_tube onto upstream luacontroller

See merge request VanessaE/pipeworks!20
2020-06-30 09:41:01 +00:00
tuedel
63bee98948 Fix typo in luatube update_real_port_states helper 2020-06-30 09:17:46 +00:00
groxxda
ee6c9991b9 Rebase lua_tube onto upstream luacontroller
Adds:
 - various bug fixes
 - error label on the formspec
 - lightweight interrupts
2020-06-30 09:15:50 +00:00
VanessaE
9eefe9c7bb add minimum minetest version key for contentdb 2020-06-03 13:00:28 -04:00
Vanessa Dannenberg
8281e3d068 Merge branch 'nodebreaker_fix' into 'master'
Prevent the node breaker from digging all nodes

See merge request VanessaE/pipeworks!19
2020-05-26 20:56:09 +00:00
upsilon
ed282b0298
Prevent node breaker from digging all nodes
A small mistake in the code allowed the node breaker to dig any node
using any tool, including hand.
2020-05-26 22:29:16 +02:00
SmallJoker
5410ea74f2 Fix wrong inventory_image and wield_image types 2020-05-07 12:13:25 -04:00
Vanessa Dannenberg
4602290bc5 Merge branch 'master' into 'master'
Change digilines detector tube to send an item table instead of an item string

See merge request VanessaE/pipeworks!18
2020-04-28 03:29:22 +00:00
Roger
64fb90f3e5 Change digilines detector tube to send an item table instead of an item string 2020-04-28 04:08:31 +01:00
Vanessa Dannenberg
99cb3a5d9d Merge branch 'fix-21' into 'master'
Translation string errors

Closes #21

See merge request VanessaE/pipeworks!17
2020-02-20 14:29:07 +00:00
Louis Royer
728d4e179a Translation string errors
Fixes #21.
Sorry, I had put wrong identifiers in translations strings.
Also, found another one to fix in `teleport_tube.lua`.

I hope, there is no other error.
2020-02-20 15:27:08 +01:00
Vanessa Dannenberg
760e9e383c Merge branch 'mt5-locale' into 'master'
French translation

See merge request VanessaE/pipeworks!16
2020-02-18 17:34:52 +00:00
Louis Royer
62bc13078f Add translation support
- Created `locale/template.txt`
- Fixed some typos
- Replace some `print("[pipeworks]"..` with `pipeworks.logger()`
- Removed "You hacker, you" from descriptions
2020-02-18 17:34:52 +00:00
Vanessa Dannenberg
84d7104c66 Merge branch 'master' into 'master'
Fix injector compatibility with technic HV machines

Closes #20

See merge request VanessaE/pipeworks!15
2020-01-14 12:35:37 +00:00
OgelGames
2ca825f991 fix injector compatibility with technic hv machines 2020-01-14 23:07:09 +11:00
Vanessa Dannenberg
0fa88b7054 Merge branch 'filter-injector-refactor' into 'master'
filter-injector.lua: eliminate most parameters from grabAndFire by making it a closure

See merge request VanessaE/pipeworks!13
2020-01-10 19:48:57 +00:00
electrodude
8f03c0e684 filter-injector.lua: Rename exact_match -> exmatch_mode
Also fixed bad conditional that would accept non-integer values of exmatch in a message.
2020-01-10 19:48:57 +00:00
Vanessa Dannenberg
75cfac34e6 add signs_lib placement rules
only works on signs_lib commit dcdee222 or later.
2019-09-23 15:41:56 -04:00
Vanessa Dannenberg
d5fe933456 use default metal sounds on all pipes and pipe devices 2019-09-23 15:40:28 -04:00
Pedro Gimeno
6ad2c9f568 Prevent another crash if minetest crashes during startup 2019-06-06 23:13:53 +02:00
Vanessa Dannenberg
05ca3e4f4f depend on screwdriver 2019-04-30 13:59:35 -04:00
Vanessa Dannenberg
27eb2ca9de Merge branch 'master' into 'master'
Fix crash when lua tubes are DoSed.

See merge request VanessaE/pipeworks!8
2019-01-15 23:39:29 +00:00
luk3yx
dc8778d7d3 Fix crash when lua tubes are DoSed. 2019-01-16 10:31:07 +13:00
Weinzierl Stefan
26e7b46415 Support Technic freezer
fixes #7
2019-01-02 05:52:41 -05:00
Vanessa Dannenberg
839b0ed4b1 Merge branch 'nomesecons' into 'master'
Remove hard dependency on mesecons

See merge request VanessaE/pipeworks!7
2018-12-08 20:21:13 +00:00
rubenwardy
da764f4ce0 Remove hard dependency on mesecons 2018-12-08 20:10:48 +00:00
Vanessa Dannenberg
ef5d30c92d Merge branch 'rotate-metadata-fix' into 'master'
fix metadata loss on rotate

See merge request VanessaE/pipeworks!6
2018-11-27 19:53:40 +00:00
Thomas Rudin
f2fff77e90 fix metadata loss on rotate
use swap_node() instead of set_node() so locked chests can be used again after rotation
2018-11-27 20:47:37 +01:00
h-v-smacker
f37b21e632 fix autocrafter recipe 2018-11-15 03:51:56 +03:00
h-v-smacker
c9a951c2e8 improving connectivity 2018-11-14 07:07:33 +03:00
Vanessa Dannenberg
f5a60ba407 license fixups: update to LGPL3.0 for code, add CC-by-SA 4.0 for media 2018-11-08 18:22:12 -05:00
Vanessa Dannenberg
d7dfd11364 use basic_materials mod where possible 2018-10-30 20:45:48 -04:00
Vanessa Dannenberg
4c20de48b2 Merge branch 'master' into 'master'
Add on-rotate to chests, furnaces, filter-injectors, dispenser, deployer, and node breaker

See merge request VanessaE/pipeworks!4
2018-09-17 15:55:38 +00:00
12Me21
9725fa2f28 Add on-rotate to chests, furnaces, filter-injector, dispenser, deployer, and node breaker 2018-09-17 11:44:15 -04:00
Vanessa Dannenberg
25c00a6e05 Merge branch 'master' into 'master'
Tubes now update their connections when rotated with the screwdriver.

See merge request VanessaE/pipeworks!3
2018-09-15 15:04:52 +00:00
12Me21
d8ed6d3af4 Tubes now update their connections when rotated with the screwdriver. 2018-09-15 10:30:13 -04:00
Vanessa Dannenberg
a69c210b56 remove value/sensor conversion LBM
no longer needed, broken anyway
2018-09-08 16:20:27 -04:00
Vanessa Dannenberg
cb8a4f3cec Merge branch 'fix-wiki-link' into 'master'
Fix link to wiki documentation

See merge request VanessaE/pipeworks!2
2018-08-24 07:06:19 +00:00
Christopher Head
002bcbf850
Fix link to wiki documentation 2018-08-23 23:29:30 -07:00
SmallJoker
6fdda18390 Handle nil return value for add_item
Remove old comments. Current HEAD requires version ~0.4.16
2018-08-04 12:27:09 +02:00
HybridDog
6492b8ec76 Add node breaker sounds (#219)
Also, disallow node breakers to dig unknown nodes
and a bit whitespace fix
2018-08-01 16:41:55 +02:00
SmallJoker
8186f003be Add pipeworks.create_fake_player
Fix setter issue, add dynamic/static option

Add player height. Properties aren't adaptive yet
2018-07-13 23:03:09 +02:00
SmallJoker
d19f4fc518 Fix get_pos crash since 92a55c3 2018-07-04 18:58:35 +02:00
SmallJoker
92a55c3985 Replace deprecated Lua function calls 2018-07-03 22:30:44 +02:00
SmallJoker
1a396c707c Add is_player to fakePlayer. Prevents grabAndFire-related crashes 2018-07-03 22:14:32 +02:00
Vanessa Dannenberg
ea94718a9a
Merge pull request #213 from Thomas--S/look
Add new `get_look_horizontal()` and `get_look_vertical()` to fake player
2018-05-11 09:21:10 -04:00
thetaepsilon-gamedev
bfd44443a2 wielder.lua: fix crash in can_tool_dig_node() when unknown nodes are looked up 2018-04-15 19:55:22 +01:00
Thomas--S
7ee48e0938 Add new get_look_horizontal() and get_look_vertical() to fake player
See minetest/minetest@fa0bbbf96d
2018-03-26 08:29:29 +02:00
Vanessa Ezekowitz
cb5530c6c8 fix some broken models
two had bad poly coordinates, caused rendering errors in-game
one other model was flipped
fixes #212
2018-02-13 13:42:24 -05:00