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

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 17: Line 17:
<syntaxhighlight lang="JavaScript" line>
<syntaxhighlight lang="JavaScript" line>
token.document.update({
token.document.update({
  sight: {
sight: {
    color: "#CC6600",
color: "#CC6600",
    range: (rating / 2 + 1) ** 2,  
    range: (rating / 2 + 1) ** 2,  
    angle: 360
    angle: 360
  }
}
});
});
</syntaxhighlight>
</syntaxhighlight>
Line 27: Line 27:
<syntaxhighlight lang="JavaScript" line>
<syntaxhighlight lang="JavaScript" line>
token.document.update({
token.document.update({
  sight: {
sight: {
    color: "#002244",
color: "#002244",
    range: (rating / 2 + 2) ** 2,  
    range: (rating / 2 + 2) ** 2,  
    angle: 360
    angle: 360
  }
}
});
});
</syntaxhighlight>
</syntaxhighlight>
Line 39: Line 39:
<syntaxhighlight lang="JavaScript" line>
<syntaxhighlight lang="JavaScript" line>
token.document.update({
token.document.update({
  sight: {
sight: {
    color: null,
    color: null,
    range: 0,
        range: 0,
    angle: 360
        angle: 360
  }
}
});
});
</syntaxhighlight>
</syntaxhighlight>

Revision as of 15:46, 20 March 2023


For items that can accept vision modifications (like helmets and ballistic masks) but don't have a rating, treat as Rating 2 instead.

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

Apply Vision

let rating = origin.system.technology.rating; /* For most technological sources. */
let rating = actor.system.attributes.magic.value; /* For adept and critter powers. */
let rating = 6; /* You can also set a static value, for natural senses or special cases. */

Combine one of the above with one of the below. Change the angle to 30 for handheld items (scopes, cameras, etc).

Thermographic Vision

token.document.update({
	sight: {
		color: "#CC6600",
    	range: (rating / 2 + 1) ** 2, 
    	angle: 360
	}
});

Low-Light Vision

token.document.update({
	sight: {
		color: "#002244",
    	range: (rating / 2 + 2) ** 2, 
    	angle: 360
	}
});

Remove Vision

Use this to remove the vision adjustments.

token.document.update({
	sight: {
    	color: null,
        range: 0,
        angle: 360
	}
});