Commit Graph

9 Commits

Author SHA1 Message Date
upsilon
4fe2a0c88c
Add a allow_protected definition parameter 2017-03-05 15:30:02 +01:00
upsilon
6de69cdf76
Remove setting check in README example 2017-02-02 20:34:13 +01:00
upsilon
307b2d60e6 Improve API again 2017-01-17 19:03:53 +01:00
upsilon
c3ac46697b Improve the API by using definition tables.
This commit totally breaks retro-compatibility.
2017-01-17 17:43:10 +01:00
upsilon
ba3838842b Improve the API
This commit breaks retro-compatibility. (Although not too much)
2017-01-17 16:32:30 +01:00
upsilon
a6ce9315b0 Many things:
* Use global variable throwing.modname instead of local modname
* Use minetest.place_node instead of minetest.set_node for torch arrow and build arrow
* Add an error return value to the on_hit function
2017-01-12 20:49:42 +01:00
upsilon
e7ae9a01cf Fix arrow placing issues 2017-01-12 19:17:51 +01:00
upsilon
318bf9e23c Add three settings
throwing.velocity_factor, throwing.horizontal_acceleration_factor, throwing.vertical_acceleration
2017-01-08 15:29:25 +01:00
upsilon
1e1424ab34 First commit 2017-01-04 18:53:37 +01:00