Screwdriver: disallow rotation with `on_rotate = false`
authorTim <t4im@users.noreply.github.com>
Fri, 5 Aug 2016 10:14:33 +0000 (12:14 +0200)
committerrubenwardy <rubenwardy@gmail.com>
Fri, 5 Aug 2016 19:41:24 +0000 (20:41 +0100)
commit20fa037313d681e5986708b60c1143081aaad318
tree3640d8d40e4d739813d02d33bb432b68f926a72e
parent60cf3f85b6e661482ec2705cadbdc1b04e388d19
Screwdriver: disallow rotation with `on_rotate = false`

Other screwdriver mods, or mods that cause rotation, might operate without the screwdriver mod loaded and have `screwdriver.disallow` unavailable.
This allows nodes to default to full-disallow rather than full-rotation in such a situation.
game_api.txt
mods/screwdriver/init.lua