13 Commits

Author SHA1 Message Date
EdwardThorsten
b4a889be65
Fix undeclared variable access. Whitespace cleanup. (#4) 2020-02-02 13:51:58 +01:00
Aftermoth
10226ce3cd touch for timestamp 2016-05-29 20:20:59 +12:00
Aftermoth
68207fd0ee touch for timestamp 2016-05-29 20:20:32 +12:00
Aftermoth
d660177ee7 Update README.md 2016-05-29 20:19:16 +12:00
Aftermoth
f567deb992 Reflect changes and explain better. 2016-05-29 20:17:34 +12:00
Aftermoth
4c121b209f Major rewrite
- Making invoke safer, and incidentally more useful.
- Stronger insurance against multiple timers on the same object.
- Sync control for better integration with processes that may exploit it.
- Optional actions provided by invoke removed from main lift cycle to reduce footprint.
- Switched to os.time().
- Removed surplus vel/acc calls.
- Simpler and better escape calculation.
- Chunk/session reloading has been more thoroughly tested with no flaws apparent.
2016-05-29 20:16:26 +12:00
Aftermoth
684b0f2475 Update init.lua (#3)
* Update init.lua

Implements quick escape for newly buried drops.

* Update init.lua

Added param to distinguish resting and newly buried drops, restoring reload consistency. Pruned a pointless cond.

* Update init.lua (feature complete)

Added one public function for other mods to invoke mechanism in cases droplift ignores.
Restored fix for default sink-on-load behaviour of buried drops.

* More precise and specific information.

* Reduce MT-specific terminology
2016-04-19 04:29:33 +12:00
Aftermoth
d71b073c98 Update description.txt
Clearer for users.
2016-04-18 14:49:59 +12:00
Aftermoth
ebea20d3c0 Merge pull request #2 from minetest-mods/Aftermoth-patch-1
Update init.lua
2016-04-18 14:39:04 +12:00
Aftermoth
ca5d60db5f Update init.lua
Improved consistency across reload using staticdata. Specifically, drops at rest on irregular node boxes are not read as entombed.
Rearranged conditionals to simplify planned behaviour extension.
2016-04-17 23:32:56 +12:00
Aftermoth
e543e4af8a Update README.md
Removed reference to obsolete options and surplus elaboration.
2016-04-17 16:49:13 +12:00
Auke Kok
125e0974c2 Cleanups, standard mod files.
I've removed all tunables and reduced the code to it's effective
working code. Going forward, This means less confusion for others
to contribute and understand the concepts and less likely to
introduce new errors.
2016-04-15 22:29:01 -07:00
Zolan Davis
eed2a4bee2 Initial Commit.
Droplift lifts drops out of walkable nodes.  This mod adds no in-world
items or blocks, just additional physics.

Mod dependencies: none
Download: https://www.dropbox.com/s/w1ujrkh96zbtf8e/droplift.zip?dl=0
Licensing: - Code: LGPLv2.1 or LGPLv3
Target: Minetest 0.4.10

Optionally supports declaring some drop item types to be ignored
so they are not lifted.  Includes code for two timing mechanisms so
developers can easily choose which they prefer.

I've done a lot of testing with all the options, and can't find
anything I want to fix or change. It's exactly as I intended.

I'll be happy to consider any opinions about whether it should function
differently. And any criticism of my coding choices is welcome if
you know of a better way.
2016-04-15 22:27:43 -07:00