baeca50318
Add toolranks_extras support
...
This displays `bow level x` instead of `tool level x` when toolranks is
enabled, and display `Arrows thrown` instead of `Node dug`.
2020-08-11 16:08:46 +02:00
4c50e6baec
Fix crash when the bow becomes fully worn
...
The crash only happened if toolranks was enabled.
2020-05-10 16:36:22 +02:00
2d2368529f
Fix a typo causing a crash
...
Fixes #24
2020-04-27 10:49:00 +02:00
49f3f36bdf
Better documentation for new physics in README.md
2020-04-03 08:13:57 +02:00
0dd44bb30c
New physics
1.1
2020-04-02 17:17:31 +02:00
bd4d040c4e
Add toolrank optional support ( #21 )
...
* Add toolrank support
* Make bow shot able to level up the bow
* Add requested changes
* Change enable_toolranks to no_toolranks
* Remove the overwritting
* no_toolranks in defs in throwing.register_bow
* 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.
* Wait until the arrow hits its target before updating bow toolranks uses
* Add a throwing.toolranks settting to allow globally disabling toolranks
Co-authored-by: upsilon <upsilon@langg.net >
2020-04-02 16:11:42 +02:00
e2cb1286f1
Add throwing.make_arrow_def back for backwards compatibility, and make arrow_step public
2020-02-18 14:45:30 +01:00
edeba9de8b
Change default allow_shot function to allow items that throw itself to be thrown by default
...
This seems obvious, but wasn't the case
2020-02-16 18:38:49 +01:00
b9c78c92b2
Make the data table different for each arrow
...
I found myself discovering, while re-reading this code (and judging it not so readable, despite myself being its author), that data table of each arrow was in fact a single reference shared between all entities corresponding to an arrow of the same type.
I'm really sorry about this and the catastrophes it may have caused (e.g., it made it easy to duplicate an item using a drop arrow by throwing a random item, and then throwing the item to duplicate before the first arrow hit the ground: both arrows would then produce the stack that was thrown last). I hope no player discovered this on a server that used this mod.
(Also, I don't really see the point of the make_arrow_def function anymore, so I removed it. I wrote this too long ago to remember why I would write such code.)
2020-02-16 18:20:37 +01:00
1449f49af7
Move craft registration from throwing to throwing_arrows
2020-02-11 20:01:13 +01:00
af62c8f9b5
Add farming as an optional dependency
2020-02-10 20:55:24 +01:00
9fb53faeeb
Delete deprecated description.txt and depends.txt
...
'depends.txt' and 'description.txt' are replaced with 'mod.conf'.
2019-10-27 22:33:33 +01:00
ba63dea0b2
Replace deprecated functions with newer ones
2019-10-27 22:33:33 +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
5529307ca3
Write depends and description in mod.conf, remove unneeded dependency
2019-08-29 18:14:53 +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
d7a8eab2d6
Revert "Remove throwing and throwing_arrows to turn them into subrepos"
...
This reverts commit 4fd5687561
.
2018-08-20 10:07:04 +02:00
529f1b7ff2
Revert "git subrepo clone https://git.fwhost.eu/MT-Eurythmia/throwing.git throwing"
...
This reverts commit 9ae60be3c6
.
2018-08-20 10:07:03 +02:00
cfddd39738
Revert "git subrepo clone https://git.fwhost.eu/MT-Eurythmia/throwing_arrows.git throwing_arrows"
...
This reverts commit 8c8358718e
.
2018-08-20 10:07:02 +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
8c8358718e
git subrepo clone https://git.fwhost.eu/MT-Eurythmia/throwing_arrows.git throwing_arrows
...
subrepo:
subdir: "throwing_arrows"
merged: "5e9515b"
upstream:
origin: "https://git.fwhost.eu/MT-Eurythmia/throwing_arrows.git "
branch: "master"
commit: "5e9515b"
git-subrepo:
version: "0.3.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a7ee886"
2018-08-19 11:14:44 +02:00
9ae60be3c6
git subrepo clone https://git.fwhost.eu/MT-Eurythmia/throwing.git throwing
...
subrepo:
subdir: "throwing"
merged: "b57abd5"
upstream:
origin: "https://git.fwhost.eu/MT-Eurythmia/throwing.git "
branch: "master"
commit: "b57abd5"
git-subrepo:
version: "0.3.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a7ee886"
2018-08-19 11:14:33 +02:00
4fd5687561
Remove throwing and throwing_arrows to turn them into subrepos
2018-08-19 11:14:07 +02:00
8545ebb743
Merge throwing and throwing_arrows into a single modpack.
1.0
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
90b85cdb2e
support for wielded_light shining
...
supports also wielded_light.register_item_light("throwing:arrow", light_level) to set the light level
2018-05-09 06:47:31 +02:00
be9d9753c4
avoid loop in is_arrow() function
2018-05-09 06:47:31 +02:00
7104780868
check drawtype="airlike" instead of just "air"
2018-05-09 06:47:31 +02:00
042fe054e6
Fix operator precedence mistake
2018-01-05 18:46:59 +01:00
bad954bdd1
Add description.txt
2017-08-30 23:23:05 +02:00
125c0650cf
Create mod.conf
2017-08-11 14:07:09 +02:00
dc45bfd616
Fix typo
2017-08-01 11:40:42 +02:00
5542c62405
Bow crafting recipe: check for a name override
...
See #116
2017-08-01 11:15:56 +02:00
82c9932ed9
Move sounds and textures to throwing_arrows
2017-07-11 10:03:50 +02:00
b466dbfbb0
Fix incorrect dependencies after splitting
2017-07-10 10:00:37 +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
164bf6b5fc
Fix #11
2017-07-08 23:01:58 +02:00
b39b1b21c3
Prevent starting more than one bow delay at a time
2017-06-27 17:17:08 +02:00
3db25456f2
Fix issue #9
2017-06-27 17:09:51 +02:00
99e3ce6ed4
Call allow_shot twice
...
Once before the delay, and one after it
2017-06-25 09:59:35 +02:00
973b3430e8
Replace deprecated settings methods
2017-06-23 13:12:11 +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
4930d2f518
Allow the torch arrow to be placed on walls and on ceiling
...
Fixes #6
2017-06-21 11:32:48 +02:00
df73f47285
Automatically fill the "item" field of the arrow luaentity if not existing
2017-06-21 10:51:20 +02:00
d7fae754f9
Add a spawn_arrow_entity field to the register_bow definition table
2017-06-21 10:39:59 +02:00
ba249807f1
Avoid arrows shown as unknown item while in air
...
Fixes #5
2017-06-20 21:37:04 +02:00