Commit Graph

33 Commits

Author SHA1 Message Date
4e9e6a8596 Toolranks support: minor changes
Reword documentation in README.md, fix a typo in init.lua and enable toolranks even if def.original_description exists---but do not overwrite it.
2020-04-02 15:22:21 +02:00
259386aa60 no_toolranks in defs in throwing.register_bow 2020-04-02 15:22:21 +02:00
52a03d22cf Change enable_toolranks to no_toolranks 2020-04-02 15:22:21 +02:00
5169baacf4 Add requested changes 2020-04-02 15:20:23 +02:00
1449f49af7 Move craft registration from throwing to throwing_arrows 2020-02-11 20:01:13 +01:00
cae8d38cfb Remove outdated information from README.lua, add mention of the Native-American-Village mod by Steamed-Punk 2019-09-23 17:39:47 +02:00
3758affc98 Update repo URLs in README.md 2018-08-20 10:08:14 +02:00
35442d8ac4 Revert "Merge throwing and throwing_arrows into a single modpack."
This reverts commit 8545ebb743.
2018-08-20 10:07:08 +02:00
c89fb00cb4 Revert "Add upstream repositories links in README.md"
This reverts commit b9f17b0bd6.
2018-08-20 10:06:57 +02:00
b9f17b0bd6 Add upstream repositories links in README.md 2018-08-19 11:17:30 +02:00
8545ebb743 Merge throwing and throwing_arrows into a single modpack. 2018-08-13 10:51:06 +02:00
154566bd72 Fix typos and update README
* Mynetest has been renamed Eurythmia,
* "Developed" contains only one P,
* Bugs using `throw_itself` are to be expected as this field is mostly untested,
* And the last paragraph is of questionable grammatical correctness.
2018-08-13 10:41:23 +02:00
3dc99c1fce Split this mod between the API and the bows/arrows
Fixes #13
2017-07-09 18:52:25 +02:00
e9acbfa6d1 Tell the allow_shot function if it is its last run 2017-07-09 11:12:04 +02:00
094613eb29 Add a sound a delay to the bow 2017-06-21 17:29:20 +02:00
000c16d292 Extend throwing.register_bow, change params order 2017-06-21 17:08:32 +02:00
d7fae754f9 Add a spawn_arrow_entity field to the register_bow definition table 2017-06-21 10:39:59 +02:00
1be6638b56 Add a cooldown 2017-06-20 20:19:27 +02:00
541f102b15 Add a "uses" field, add a gold bow 2017-06-20 17:32:00 +02:00
01c10dff75 Add a throw_itself field to throwing.register_bow definition table 2017-06-20 17:09:06 +02:00
d33a8b69ca Make the on_hit field optional 2017-06-20 16:42:35 +02:00
552b958dba Check for the presence of a throwing_entity field in item definition table 2017-06-20 16:39:03 +02:00
a45399bfea Allow external mod to choose the bow/arrow prefix 2017-06-20 16:29:36 +02:00
1778b89597 Add an allow_shot field to throwing.register_bow definition table
And make the throwing.throw_arrow function able to throw any item
2017-06-20 16:25:34 +02:00
4fe2a0c88c Add a allow_protected definition parameter 2017-03-05 15:30:02 +01:00
6de69cdf76 Remove setting check in README example 2017-02-02 20:34:13 +01:00
307b2d60e6 Improve API again 2017-01-17 19:03:53 +01:00
c3ac46697b Improve the API by using definition tables.
This commit totally breaks retro-compatibility.
2017-01-17 17:43:10 +01:00
ba3838842b Improve the API
This commit breaks retro-compatibility. (Although not too much)
2017-01-17 16:32:30 +01:00
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
e7ae9a01cf Fix arrow placing issues 2017-01-12 19:17:51 +01:00
318bf9e23c Add three settings
throwing.velocity_factor, throwing.horizontal_acceleration_factor, throwing.vertical_acceleration
2017-01-08 15:29:25 +01:00
1e1424ab34 First commit 2017-01-04 18:53:37 +01:00