Add a spawn_arrow_entity field to the register_bow definition table

This commit is contained in:
upsilon
2017-06-21 10:39:59 +02:00
parent ba249807f1
commit d7fae754f9
2 changed files with 16 additions and 12 deletions

View File

@ -48,6 +48,7 @@ Definition: definition table, containing:
If present, allow_shot is ignored.
Default is false.
* cooldown: bow cooldown. Default is setting throwing.bow_cooldown
* function spawn_arrow_entity(position, arrow, player): defaults to throwing.spawn_arrow_entity
]]
-- Example: