This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private struct LifeLikeRule | |
{ | |
ubyte notZero; | |
bool zero; | |
this(ushort initializer) | |
{ | |
notZero=cast(ubyte)(initializer>>1); | |
zero=initializer&1; | |
} | |
pure ushort fullRule() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std.stdio; | |
import std.traits : isOrderingComparable; | |
import std.range; | |
import std.algorithm.sorting; | |
import std.algorithm.mutation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gd_scene load_steps=2 format=2] | |
[sub_resource type="GDScript" id=1] | |
script/source = "extends PopupPanel | |
\"\"\" | |
The run function expects an array, containing a series of strings or modifiers. | |
A string will be displayed one letter at a time, with the current delay, | |
using the current talk sound. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
utils = require('utils') | |
local validArgs = utils.invert({ | |
'printAll', | |
'bucketSize' | |
}) | |
local args = utils.processArgs({...}, validArgs) | |
local bucketSize = args.bucketSize or 0.125 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Gives statistical info on the prevalence of homosexual relationships | |
local help = [====[ | |
gaystats | |
====== | |
Shows the sexual orientation of all historical figures, as well as whether they took lovers of the same or opposite sex. | |
Options: | |
:-allowAllRaces: Checks races with modded orientations, too (by default, it only checks races with default orientation) |
OlderNewer