1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-11-18 00:08:28 +01:00
Commit Graph

751 Commits

Author SHA1 Message Date
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
thetaepsilon-gamedev
cb692d2188
Merge pull request #209 from h-v-smacker/luatube_pin_report
Explicitly report the color of incoming port for items coming through tubes
2017-12-25 19:48:21 +00:00
thetaepsilon-gamedev
91bd0c7e98 teleport_tube.lua: add checks for hash collisions in positions table 2017-12-22 17:57:00 +00:00
thetaepsilon-gamedev
57fc8c67f8 teleport_tube.lua: fix 32-bit clamping issues on some systems for %d in string.format
Some servers running ubuntu in particular were reporting issues with teleport tubes not working.
On investigation, all tube entries were colliding as string.format("%d", ...)
was returning either -2^31 or 2^31-1 depending on system bit width,
causing hash entries to be overwritten.
This is possibly related to the use of C sprintf within lua.
Fix this by using %g instead to interpret as double without int conversion,
with a large enough number of digits such that all possible 2^48 values from
minetest.hash_node_position() can be correctly serialised.
2017-12-22 17:18:31 +00:00
thetaepsilon-gamedev
a2e183c6f3 item_transport.lua: split out determination of next position in go_next() into separate function 2017-12-19 23:15:44 +00:00
thetaepsilon-gamedev
fb91ba53f1 item_transport.lua: read cycle direction at start of go_next() in preparation for refactoring 2017-12-19 22:53:18 +00:00
thetaepsilon-gamedev
97522b6a24 item_transport.lua: update return statements in go_next() to include multimode parameter 2017-12-19 18:38:02 +00:00
thetaepsilon-gamedev
755dd26208 item_transport.lua: move tube limit checking before can_go() callback in go_next() 2017-12-19 18:17:22 +00:00
thetaepsilon-gamedev
56362cdd2a item_transport.lua: factor out tube overload code into separate function 2017-12-18 23:07:40 +00:00
thetaepsilon-gamedev
28a3ba44d1 item_transport.lua: initial support in item luaentity for multiple outputs and trajectories from go_next() 2017-12-18 22:38:24 +00:00
thetaepsilon-gamedev
d659cb38b3 item_transport.lua: read extra multimode parameter from go_next callback 2017-12-18 22:07:53 +00:00
h-v-smacker
83c3030494 Explicitly report the color of incoming port for items in tubes 2017-11-30 11:48:51 +03:00
Vanessa Ezekowitz
8fa259c93f remove regular pipe inventory image 2017-11-11 00:22:52 -05:00
Vanessa Ezekowitz
8db1f02bca add craft recipe for straight-only pipe 2017-11-11 00:22:52 -05:00
thetaepsilon-gamedev
59d9e0b97d pressure logic: detect vertical orientation for horizontal rotating flowables 2017-11-04 22:27:47 +00:00
Vanessa Ezekowitz
ee0c276900 added straight-only pipe
(for situations where one might want to run
several closely-spaced parallel pipelines)

Also fixed a bug where a pipe "entry panel" would
report full of water if a pipe next to it (but not
connecting) was also full of water

Only tested under "classic" flowing logic mode.
2017-11-03 23:02:36 -04:00
Vanessa Ezekowitz
e46e2f8c45 clean-up "loaded"/"empty" images
re-UV-map the pipes that use them
2017-11-03 22:46:53 -04:00
Vanessa Ezekowitz
67b777885b Fix bad rotation of highpoly "pipe 5"
(X/Z corner with -Y junction)
2017-11-03 22:14:07 -04:00
Vanessa Ezekowitz
a2f9be258e fix bad UV mapping on high poly entry panel 2017-10-28 11:26:17 -04:00
Vanessa Ezekowitz
d71e371d17 flip pump models around (light faced the wrong way) 2017-10-28 11:05:36 -04:00
Vanessa Ezekowitz
c2bd682388 add models and textures for pressure gauge
to be implemented later
2017-10-27 20:35:37 -04:00
Vanessa Ezekowitz
82524cb448 fix bad n-gon splitting in valve handle
(high-poly model only)
2017-10-27 19:39:47 -04:00
Vanessa Ezekowitz
8ffef8e43c treat unknown node obstructing chest lid as solid
fixes #207
2017-10-27 14:49:25 -04:00
Vanessa Ezekowitz
7b167224f4 Redrew all of the not-low-poly pipe-related models
to higher quality.  Way more polys than before, but
without a measurable drop in FPS.

Also tweaked the textures for the pump and flow
sensor, and tweaked the low-poly models for them,
so that low-poly models use a different part of
the texture for the "light" on the side (allows
the higher-poly models to just put a glow there
and use a raised dome for the actual light).

Also fixed a Z-fighting issue with the grating on
the bottom of the pump (both versions)
2017-10-27 00:30:26 -04:00
Vanessa Ezekowitz
8817918a53 add low-poly mode
to enable, set pipeworks_enable_lowpoly = true in minetest.conf
2017-10-26 04:11:30 -04:00