Commit Graph

24 Commits

Author SHA1 Message Date
upsilon
b9f17b0bd6
Add upstream repositories links in README.md 2018-08-19 11:17:30 +02:00
upsilon
8545ebb743
Merge throwing and throwing_arrows into a single modpack. 2018-08-13 10:51:06 +02:00
upsilon
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
upsilon
3dc99c1fce
Split this mod between the API and the bows/arrows
Fixes #13
2017-07-09 18:52:25 +02:00
upsilon
e9acbfa6d1
Tell the allow_shot function if it is its last run 2017-07-09 11:12:04 +02:00
upsilon
094613eb29
Add a sound a delay to the bow 2017-06-21 17:29:20 +02:00
upsilon
000c16d292
Extend throwing.register_bow, change params order 2017-06-21 17:08:32 +02:00
upsilon
d7fae754f9
Add a spawn_arrow_entity field to the register_bow definition table 2017-06-21 10:39:59 +02:00
upsilon
1be6638b56
Add a cooldown 2017-06-20 20:19:27 +02:00
upsilon
541f102b15
Add a "uses" field, add a gold bow 2017-06-20 17:32:00 +02:00
upsilon
01c10dff75 Add a throw_itself field to throwing.register_bow definition table 2017-06-20 17:09:06 +02:00
upsilon
d33a8b69ca
Make the on_hit field optional 2017-06-20 16:42:35 +02:00
upsilon
552b958dba
Check for the presence of a throwing_entity field in item definition table 2017-06-20 16:39:03 +02:00
upsilon
a45399bfea
Allow external mod to choose the bow/arrow prefix 2017-06-20 16:29:36 +02:00
upsilon
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
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