Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Vision: Difference between revisions

Line 9: Line 9:


==Apply Vision==
==Apply Vision==
Changing the token's vision properties based on vision mode uses  the [https://foundryvtt.com/packages/effectmacro Effect Macro] module. Each item that applies a vision mode should have a {{Code|On Effect Toggle (on)}} option set to:
<syntaxhighlight lang="JavaScript">
<syntaxhighlight lang="JavaScript">
/* For most technological sources. */
await game.macros.getName("Thermographic Vision").execute({
let rating = item.system.technology.rating;
  token: token,
/* For adept and critter powers. */
  rating: item.system.technology.rating,
let rating = actor.system.attributes.magic.value;
  cone: 360
/* You can also set a static value for natural senses or special cases. */
});
let rating = 6;
</syntaxhighlight>
</syntaxhighlight>


Combine one of the above with one of the below. Change the angle to 30 for handheld items (scopes, cameras, etc).  
Valid options for {{code|getName()}} are {{code|Astral Perception}}, {{code|Low-Light Vision}}, or {{code|Thermographic Vision}}.
 
If the source of the effect is an adept or critter power, replace the {{code|rating}} value above with {{code|actor.system.attributes.magic.value}}. For other situations, it can be a static integer value.
 
Change {{code|cone}} to {{code|30}} for handheld items (scopes, cameras, etc).  


===Thermographic Vision===
===Thermographic Vision===

Revision as of 14:16, 7 February 2024

While the Shadowrun Fifth Edition Core Rulebook rules don't use range for all vision types like some other games do, the Foundry vision functions are all ranged based. Using the built-in systems available in Foundry keep things simple and clean — if a player can see a token in Foundry, they can take actions on that token.

The effective vision range is based on the Rating of whatever provides that vision, most commonly an optical and vision device[1]. For items that can accept vision modifications (like helmets and ballistic masks), but don't have a Rating, use the Rating of the appropriate Sensor Housing[2] — Rating 2 for helmets, Rating 5 for full body suits.

If the vision is granted by an Adept or Critter Power that does not have an inherent Rating, use the character's Magic Rating.

For Imaging Scopes and natural senses not granted via Awakening, treat as if Rating 6.

Apply Vision

Changing the token's vision properties based on vision mode uses the Effect Macro module. Each item that applies a vision mode should have a On Effect Toggle (on) option set to:

await game.macros.getName("Thermographic Vision").execute({
  token: token,
  rating: item.system.technology.rating,
  cone: 360
});

Valid options for getName() are Astral Perception, Low-Light Vision, or Thermographic Vision.

If the source of the effect is an adept or critter power, replace the rating value above with actor.system.attributes.magic.value. For other situations, it can be a static integer value.

Change cone to 30 for handheld items (scopes, cameras, etc).

Thermographic Vision

await game.macros.getName("Thermographic Vision").execute({
  token: token,
  rating: item.system.technology.rating,
  cone: 360
});

Low-Light Vision

await game.macros.getName("Low-Light Vision").execute({
  token: token,
  rating: item.system.technology.rating,
  cone: 360
});

Remove Vision

Use this to remove the vision adjustments.

await game.macros.getName("Clear Vision").execute();

References