keeperfx
keeperfx copied to clipboard
Don't show 'Hand' cursor when player has no POWER_HAND
Originally reported on Google Code with ID 409
In r1440 it is no possible to disable picking up creatures and gold by disabling POWER_HAND:
(MAGIC_AVAILABLE(PLAYER),POWER_HAND,0,0)
However, when hovering over a creature you cannot pickup, the moving-hand cursus still
appears, indicating pickup is available.
It would be better to show the arrow cursor instead, when you cannot use pickup.
Reported by Loobinex
on 2014-10-30 12:17:40
The hand can be used to either pick or slap, and also to use specials.
What spell POWER_HAND gives is only the ability to pick up creatures, chickens and
gold. Lack of it shouldn't disable the cursor.
Reported by mefistotelis
on 2014-10-31 18:24:39
The new powerhands.toml configuration file can allow this.
Maybe we can add some defaut hand on this configuration file to solve the initial request?
[hand0]
Name = "Default"
HoldAnim = 784
HoldSpeed = 256
HoldGoldAnim = 781
HoldGoldSpeed = 256
HoverAnim = 782
HoverSpeed = 256
PickupAnim = 783
PickupSpeed = 256
SideHoverAnim = 785
SideHoverSpeed = 256
SideSlapAnim = 787
SideSlapSpeed = 256
SlapAnim = 786
SlapSpeed = 256
You can for example have one hand with the slap animation but no pickup/hold/hover/side animation?
Then the mapmaker if they disable the hand they can use the script command to set a different hand.