Skip to content

Instantly share code, notes, and snippets.

///
/// Simple pooling for Unity.
/// Author: Martin "quill18" Glaude (quill18@quill18.com)
/// Latest Version: https://gist.github.com/quill18/5a7cfffae68892621267
/// License: CC0 (http://creativecommons.org/publicdomain/zero/1.0/)
/// UPDATES:
/// 2015-04-16: Changed Pool to use a Stack generic.
///
/// Usage:
///
# Quill18's Simple LootFilter
# Author: quill18@quill18.com
# youtube.com/quill18
#
# Get the latest version here: https://gist.github.com/quill18/d811f616d577bed035b4
#
# **Installation**
#
# Copy to: C:\Users\<USERNAME>\Documents\My Games\Path of Exile\
# NOTE: The file MUST have the ".filter" extension.
@quill18
quill18 / lander.ks
Last active February 7, 2024 01:37
// LANDER.KS -- An automated landing script.
//
// A script for the kOs mod for Kerbal Space Program
// by Quill18 (http://youtube.com/quill18)
//
// Get the latest version here: https://gist.github.com/quill18/bbddb8135cdd84479132
// PHASE 0: Variables and settings
// The altitude radar reading is from the center of mass (I think), and not
/*
!.gitignore
!README.md
!/Assets/
!/ProjectSettings/
*.blend1
*.blend2
@quill18
quill18 / reactor.ks
Last active February 22, 2017 20:18
// A Reactor Management Script by quill18 (http://quill18.com)
// Latest Version: https://gist.github.com/quill18/c4b71d81f9202db11455
//
//
// Developed for:
// Kerbal Space Program 1.04
// kOS 0.17.3
// Near Future Electrical 0.5.3
//
//
// RaiseTerrain.cs -- a simple script that raises (or lowers) Unity's built in terrain to be level
// with a GameObject's collider(s).
//
// AUTHOR: Martin "quill18" Glaude -- quill18@quill18.com
// LICENSE: CC0
//
// The latest version will always be available at: https://gist.github.com/quill18/9becf56f685e60109551e034385fd8f9
//
using UnityEngine;
@quill18
quill18 / HexEngine.cs
Last active March 28, 2024 22:23
Work in progress.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HexEngine : MonoBehaviour {
// http://www.redblobgames.com/grids/hexagons/
// Consider: StaticBatchingUtility.Combine
// https://docs.unity3d.com/ScriptReference/StaticBatchingUtility.Combine.html
"Quillian Bureaucracy"
={
key="Quillian Bureaucracy"
ship_prefix="ISS"
species={
class="HUM"
portrait="humanoid_04"
name="Quillian"
plural="Quillians"
adjective="Quillian"
GOAL: As with the classic "Nuzlocke" rules, this aims to make you be
more attached to your Pokemon, reduce excessive min/maxing, and also
add a bit more challenge to a game that is otherwise playable by kids.
Unfortunately, the fact that "Let's Go" requires you to catch Pokemon
to generate the vast bulk of your XP as well as the fact that all
Pokemon are world spawns instead of random encounters means that the
classic rules can't be used here.
I've chosen to use the Lure item as the prime way to limit your
Pokemon hunting: You can (mostly) only catch Pokemon while you have a
@quill18
quill18 / crawlrc
Last active December 18, 2023 16:32
# Crawl Init file
# See the README for further details:
# https://github.com/gammafunk/dcss-rc/blob/master/README.md
# NOTE: This RC has things enabled only for my username. If you're just
# including this RC file in your own with
#
# include = gammafunk.rc
#
# then you don't have to worry about these. However if you're copy all or parts