Skip to content

Instantly share code, notes, and snippets.

// The shape of the big saucer in Asteroids
beginShape(LINES);
// Saucer centered around body
vertex(-3, -12);
vertex(3, -12);
vertex(3, -12);
vertex(7, -6);
vertex(7, -6);
vertex(13, 0);
vertex(13, 0);
@Limeliz
Limeliz / sync.sh
Created November 20, 2015 00:52
Edited version of sync.sh for gdrive on MotionPieOS
#!/bin/bash
# sync.sh written by Claude Pageau for pi-timolo, his excellent video processing application.
# re-purposed and mangled by Malcolm Taylor for use with MotionPie
# edited by Emil Janesten to stop duplicate running instances and duplicate files and folders in Google Drive.
# folder where motion files are located
SYNC_DIR=output
# Get current folder where this script is located
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@Limeliz
Limeliz / talisman.dm
Last active December 30, 2015 00:39
Would this code work? I'm trying to minimize the amount of copypasta in cult-files. For example here (line 91-127): https://github.com/tgstation/-tg-station/blob/master/code/game/gamemodes/cult/talisman.dm#L91
switch(href_list["rune"])
if("newtome", "emp", "conceal", "communicate", runestun", "armor", "teleport")
var/obj/item/weapon/paper/talisman/T = new /obj/item/weapon/paper/talisman(usr)
usr.put_in_hands(T)
T.imbue = href_list["rune"]
if(href_list["rune"] == "teleport")
T.imbue = "[pick("ire", "ego", "nahlizet", "certum", "veri", "jatkaa", "balaq", "mgar", "karazet", "geeri", "orkan", "allaq")]"
T.info = "[T.imbue]"
if("soulstone")
var/obj/item/device/soulstone/T = new /obj/item/device/soulstone(usr)