Commit Graph

43 Commits

Author SHA1 Message Date
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org cb3e7757fc
Mineclone dig times balanced (#84)
* mineclone dig times balanced

* fix pickaxey dupe
2023-09-01 15:00:50 +02:00
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org 7f93e8aa0a
MineClone formspec compat (#82)
* MineClone list backgrounds compat

* mineclone get inv func
2023-08-24 20:50:49 -04:00
Buckaroo Banzai ebe2331619
remove facedir debugging logs (#73)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2023-06-21 21:22:36 +02:00
unknown 855937aec3 make all nodes diggable in mcl* survival mode 2022-12-02 15:54:21 -05:00
fluxionary e45eca76e1
check if machine is protected before trying to break/place a node (#43)
* check if target is protected before trying to break/place a node, so as not to trigger protection violations

* check whether the machine is protected, not the target
2022-09-17 19:03:55 -04:00
fluxionary 65cea1e33c
check if target is protected before trying to break/place a node, so as not to trigger protection violations (#42) 2022-09-16 19:16:58 -04:00
OgelGames 90425fde95 fix broken shift-clicking in wielder formspec
fixes #34
2022-05-23 02:28:21 +10:00
unknown 3b31b6f9c0 fix https://github.com/mt-mods/pipeworks/issues/31 2022-05-13 22:10:40 -04:00
wsor4035 37eef73695
add I3 support + update to formspecs v2 (#22)
* add fs helper inv function

* add fs helper prepends function

* add trash can, vacuum tube, teleport tube. wielders, autocrafter, mesetube, injectors

* fixed missed texture to make game agnostic

* fix luacheck
2022-04-16 14:51:59 -04:00
wsor4035 5aa0501872
make pipeworks Game agnostic (#16)
* make it boot in non mtg

* make water flow

* fix water texture warnings

* fix missing steel texture issues

* remove depreciated/unnessary default function calls

* make sounds work

* fix default formspec crashes

* fix wierd tab spacing

* additionally game dig group support

* move crafts to crafts.lua

* make crafts support various games
2022-03-14 21:39:58 -04:00
luk3yx c7d44272e6 Remove deprecated invsize 2021-04-06 21:07:35 +12:00
Vanessa Dannenberg fc6efb450c add support for Unified Inventory categories 2021-04-02 15:48:28 -04:00
HybridDog b2d2ccbcba Remove or comment unused code and declare some variables local 2021-02-03 18:08:50 +01:00
VanessaE 065c953eba use the right gear item in node breaker 2020-10-28 12:30:48 -04: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
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
12Me21 9725fa2f28 Add on-rotate to chests, furnaces, filter-injector, dispenser, deployer, and node breaker 2018-09-17 11:44:15 -04: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 92a55c3985 Replace deprecated Lua function calls 2018-07-03 22:30:44 +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
thetaepsilon-gamedev cd9102cef1 wielder.lua: add LBM to refund mese picks for pre-transition node breakers 2017-10-14 20:00:46 +01:00
thetaepsilon-gamedev eefcbc1e86 wielder.lua: can_tool_dig_node(): try falling back to hand if inserted tool can't break node 2017-10-14 19:29:33 +01:00
thetaepsilon-gamedev 47ba123113 wielder.lua: change node breaker recipe to use gear items 2017-10-14 19:17:03 +01:00
thetaepsilon-gamedev 4915b2564f wielder.lua: properly implement can_tool_dig_node() 2017-10-14 19:04:51 +01:00
thetaepsilon-gamedev f8cb55a60e wielder.lua: set default ghost tool for node breaker to the hand, add stub implementation of can_tool_dig_node() to check if set tool can dig node 2017-10-14 18:51:57 +01:00
Thomas--S cf93eca017 Replace old nodeupdate() with new minetest.check_for_falling() (#200)
Otherwise pipeworks crashes on 0.5.0-dev.

This is not tested, but should work.
2017-09-25 23:55:11 -04:00
Tim 4fdf73fbcd add list rings to pipework inventories 2016-08-29 18:28:43 +02:00
Thomas--S af2c3778fe removed hud_change from TODO 2015-09-26 09:18:42 +02:00
Thomas--S 7e61d38ef5 Fixed typo
Changed hud_channge to hud_change
2015-09-26 09:02:41 +02:00
est31 bb4a1756ff "Implement" two further functions for fake player
Implement two functions for fake player used by the hunger mod.
Also, add a list of functions to be implemented for an overview.
2015-09-25 03:27:57 +02:00
Vanessa Ezekowitz 5822f60ba9 fix deprecated time_images use 2015-04-26 18:46:00 -04:00
Tim d167aacf4d add ownership/protection handling for device configuration
take any available ownership into account before deciding on area protection
2015-03-11 19:36:41 +01:00
Tim e8ab36a2c9 document wielder pointed_thing problems and revert "fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds"
This reverts commit 6e2f1fcd635398387a49911a996ccaba65bffdd3.
2015-03-04 22:17:36 -05:00
Tim ac4f761919 fix wielder mixing up above and under, which had for example an effect on the deployer trying to place seeds 2015-03-04 22:17:36 -05:00
Tim efe2af2d20 let the requested wielditem be the actual current wielditem and not just the initialized one
clean up some code to make a few lesser calls to it
2015-02-04 13:01:55 +01:00
Zefram 7915e7f51e Rename tube_item() to tube_inject_item()
The new function has no API compatibility with the old one, so give it
a different name to avoid confusion among caller mods, which need to
change their usage.  Have a function under the old name that outputs a
helpful error message.
2014-08-15 13:24:52 +02:00
Novatux 8cc2ecb55f Fix wielder 2014-08-14 22:10:39 +02:00
Zefram a9866aa5d5 Node breaker fixup for ones lacking pick slot
This has been seen on Vanessa's server, and caused the wielding code
to crash.
2014-08-09 10:57:43 -04:00
Zefram 7cf5e3cfb9 Refactor node breaker
Merge node breaker into the generic wielder mechanism.  Center the wield
inventory in all wielders' formspecs.  Implement full auto-upgrade of
legacy node breakers, occurring upon use or punching of the node breaker.
Make node breaker respect on_dig hooks.
2014-07-23 09:50:50 -04:00
Zefram 46d44eebcf Refactor deployer and dispenser
Merge implementations into a single "wielder" mechanism.  Clean up the
code a bit.  Fix get_player_control_bits for the dispenser (it wasn't
indicating the sneak setting).  Fix drops for dispenser (dispenser_on was
dropping as itself).  Show item image, as well as name, at head of form.
2014-07-23 09:50:50 -04:00