This list is;
- Non-aesthetic items only
- No stock items
- Unique sets (e.g. Frying Pan == Holy Mackerel)
- All items are craft, unless otherwise labeled
- COMPLETE
#!/usr/bin/php | |
<?php | |
$start = $argv[1]; | |
$stop = $argv[2]; | |
for($i=$start; $i<=$stop; $i++){ | |
$exe = "convert $i.png -rotate 270 $i.png"; | |
echo "$exe\n"; | |
`$exe`; | |
// Left page |
<?php | |
class database_abstraction_layer { | |
// Store the entire db in memory, but make sure it's inaccesable to the user. | |
private $db; | |
// This is the file that this DAL will operate on. In MySQL, this will be configs. | |
private $file; | |
// This is the construct function that is called when the dal object is created. | |
public function __construct($file){ |
require('settings') | |
saveme = {} | |
saveme.colors = {} | |
saveme.colors.red = {255,0,0} | |
saveme.colors.green = {0,255,0} | |
saveme.colors.blue = {0,0,255} | |
saveme.recors = { | |
{name = "Seppi", "value" = 2}, |
function openURL(url) | |
if love._os == 'OS X' then | |
os.execute('open "' .. url .. '"') | |
elseif love._os == 'Windows' then | |
os.execute('start "' .. url .. '"') | |
elseif love._os == 'Linux' then | |
os.execute('xdg-open "' .. url .. '" &') | |
end | |
end |
local function print_r (t, indent) -- alt version, abuse to http://richard.warburton.it | |
local indent=indent or '' | |
for key,value in pairs(t) do | |
io.write(indent,'[',tostring(key),']') | |
if type(value)=="table" then io.write(':\n') print_r(value,indent..'\t') | |
else io.write(' = ',tostring(value),'\n') end | |
end | |
end | |
local function isReserved(fname) |
require 'slam' -- https://raw.github.com/vrld/slam/master/slam.lua | |
local sound = love.audio.newSource('sound.ogg') | |
function love.update() | |
love.audio.stop(sound) | |
love.audio.play(sound) | |
end |
local _channels = { } | |
local _sounds = { } | |
_sounds.sound1 = love.audio.newSoundData ( "sound1.ogg" ) | |
_sounds.sound2 = love.audio.newSoundData ( "sound2.ogg" ) | |
-- etc. | |
function playSound ( sound ) | |
if not _channels[ sound ] then _channels[ sound ] = { } end | |
local chan = _channels[ sound ] | |
--Mike | |
-- Raspberry Pi GPIO module. | |
-- Written by Mike Pall. Public domain. | |
local setmt = setmetatable | |
local bit = require("bit") | |
local band, bor, shl, shr = bit.band, bit.bor, bit.lshift, bit.rshift | |
local ffi = require("ffi") | |
local C = ffi.C |
local dipswitch = {} | |
dipswitch.theme = {} | |
dipswitch.theme.default = {} | |
dipswitch.theme.default.dip = {} | |
dipswitch.theme.default.dip.padding = 8 | |
dipswitch.theme.default.dip.color = {2,105,223} | |
dipswitch.theme.default.switch = {} | |
dipswitch.theme.default.switch.x = 16 | |
dipswitch.theme.default.switch.y = 32 |