Skip to content

Instantly share code, notes, and snippets.

@plexsoup
plexsoup / NPCWingman.gd
Created Apr 9, 2019
Flocking NPC Wingman for Godot. Work in Progress.
View NPCWingman.gd
"""
NPC starts locked in a cage, then flocks to the player when released.
It'll shoot toward the mouse cursor when the player shoots.
It should seek a new position if it's shot is blocked by the player,
but that's not 100% solved yet.
"""
@plexsoup
plexsoup / psIsoFacing.js
Last active Jun 3, 2019
Roll20 Script to flipH side-view tokens automatically. Also provides a directional flashlight for isometric tokens.
View psIsoFacing.js
// psIsoFacingAndView
// Purpose: provide a directional flashlight which rotates independently of the parent token.
// Also: flip the parent token on the horizontal axis because players can't fliph themselves.
// Designed for side-view tokens on isometric or 8bit maps, but should work for top-down as well.
// Once installed, turn on the yellow status marker for your token to turn on the flashlight.
// turn on the boot (tread) status marker to turn on auto-facing.
// For menu: type !psIsoFacing in chat.
View psTileResizer.js
var psTileResizer = psTileResizer || (function psMarketplaceResizer() {
"use strict";
var info = {
version: 0.2,
authorName: "plexsoup"
};
var config = {
debugDEFCON: 5,
@plexsoup
plexsoup / LightCrumb.js
Last active Feb 7, 2017
LightCrumb - based on "Mark" by the Aaron. For lighting your trail on maps with dynamic lighting.
View LightCrumb.js
// Gist: https://gist.github.com/plexsoup/64852540504101b520b25f7c3fa84e5f
// By: Plexsoup - copied from Mark by The Aaron. With help from Scott C, Stephen L and Tritlo
// Thanks: Testers and Feedback: al e., DM Robzer, Vince, Pat S, Gold, Anthony, Kryx, Sudain
// Contact: https://app.roll20.net/users/258125/plexsoup
// Roll20 API Script to leave a breadcrumb trail of torches. Based on "Mark" from The Aaron //
/*
View Fate-ME.css
/* === GENERAL === */
.charsheet {
min-width: 800px;
}
.sheet-header {
margin-bottom: 4px;
padding: 2px 4px;
background: black;
color: white;
font-weight: bold;
View Fate-ME.html
<div class="sheet-section-basic sheet-section">
<img class="sheet-logo" src="http://criticalthreat.gooberfodder.net/smf/fatelogo.png" alt="FATE CORE" />
<table>
<tr>
<td>
<label>ID</label>
<input type="text" name="attr_ID" />
</td>
<td>
<label>Refresh</label>
You can’t perform that action at this time.