Add a cooldown

This commit is contained in:
upsilon
2017-06-20 20:19:27 +02:00
parent 5f94a6b27d
commit 1be6638b56
2 changed files with 23 additions and 2 deletions

View File

@ -22,6 +22,8 @@ throwing.vertical_acceleration = -10
throwing.allow_arrow_placing = false
throwing.arrow_teleport_in_protected = true
throwing.bow_cooldown = 0.2
```
## API
@ -45,6 +47,7 @@ Definition: definition table, containing:
* throw_itself (optional): whether the bow should throw itself instead of the arrow next to it in the inventory.
If present, allow_shot is ignored.
Default is false.
* cooldown: bow cooldown. Default is setting throwing.bow_cooldown
]]
-- Example: