mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
audio cue for gtg statue eyes
This commit is contained in:
parent
7f24e8285b
commit
c5f825b478
1 changed files with 8 additions and 0 deletions
|
@ -903,6 +903,14 @@ void ActorAccessibility_InitActors() {
|
|||
policy.distance = 300;
|
||||
ActorAccessibility_AddSupportedActor(ACTOR_BG_ICE_SHELTER, policy);
|
||||
|
||||
ActorAccessibility_InitPolicy(&policy, "Statue Eye", [](AccessibleActor* actor) {
|
||||
actor->policy.aimAssist.isProvider = ABS((s16)(actor->actor->yawTowardsPlayer - actor->actor->shape.rot.y)) < 0x2000;
|
||||
});
|
||||
policy.n = 1;
|
||||
policy.ydist = 500;
|
||||
policy.distance = 1000;
|
||||
ActorAccessibility_AddSupportedActor(ACTOR_BG_MENKURI_EYE, policy);
|
||||
|
||||
ActorAccessibility_InitPolicy(&policy, "uninteractable rocks in kokiri forest", [](AccessibleActor* actor) {
|
||||
if (actor->actor->params == 1) {
|
||||
ActorAccessibility_PlaySoundForActor(actor, 0, NA_SE_EN_OCTAROCK_ROCK, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue