Add a cooldown

此提交包含在:
upsilon
2017-06-20 20:19:27 +02:00
父節點 5f94a6b27d
當前提交 1be6638b56
共有 2 個檔案被更改,包括 23 行新增2 行删除

查看文件

@@ -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: