These ideas probably will require quite a rewrite of the current battle system. It'll probably be left for last. Weapons will need several notetags I guess:
- weapon:melee
- weapon:ranged
- weapon:rangedmelee (spear)
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# | |
# A WeeChat script to parse Anope's BotServ BOTLIST into a sorted list, | |
# so you can more easily find unassigned BotServ bots. | |
# | |
# Code by Unknown Entity (aka o_o aka Flaming Nutmeg) and Filip H.F. "FiXato" Slagter | |
# Based on the code by Unknown Entity | |
# | |
# Type /parsebotlist and go get some noms depending on bot list length while it collects info. |
#! /usr/bin/env ruby | |
# encoding: utf-8 | |
# | |
# Script to export the scripts inside the Scripts.rvdata2 data file to Data/exported_scripts as plain text Ruby files. | |
# If you run this script from inside RPG Maker VX Ace, I would suggest creating the Data/exported_scripts folder yourself | |
# as RGSS3 doesn't seem to support requiring FileUtils. | |
# Based on HIRATA Yasuyuki / 平田 泰行's rvdata2_dump.rb script: https://gist.github.com/hirataya/1853033 | |
begin | |
require 'fileutils' | |
rescue LoadError |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# MathText | |
#Inspired by fliptext.rb (https://gist.github.com/FiXato/525297) and Sai's post on G+ https://plus.google.com/u/0/103112149634414554669/posts/V7zxyRYg2EB which mentioned Fraktur symbols in Unicode. | |
begin | |
# Hack to prevent useless iconv warning from showing up in 1.9 | |
oldverb = $VERBOSE; $VERBOSE = nil | |
require 'iconv' | |
$VERBOSE = oldverb |
0,10,1511,11█████████████1,1████████████████████11,11██████████████0,1 | |
0,10,1512,12██████████1,1███8,8████████████████████1,1████12,12██████████0,1 | |
0,10,1511,11████████1,1██8,8███████████████████████████1,1██11,11████████0,1 | |
0,10,1512,12███████1,1█8,8███████████████████████████████1,1█12,12███████0,1 | |
0,10,1511,11██████1,1█8,8██1,1████████8,8█████████1,1████████8,8██████1,1█11,11██████0,1 | |
0,10,1512,12██████1,1█8,8█1,1█0,0█████1,1████8,8███████1,1█0,0█████1,1████8,8█████1,1█12,12██████0,1 | |
0,10,1511,11█████1,1█8,8██1,1█0,0█████1,1█████8,8█████1,1█0,0██████1,1█████8,8█████1,1█11,11█████0,1 | |
0,10,1512,12█████1,1█8,8██1,1█0,0█████████1,1█8,8█████1,1█0,0██████████1,1█8,8█████1,1█12,12█████0,1 | |
0,10,1511,11████1,1█8,8████1,1█████████8,8███████1,1██████████8,8███████1,1█11,11████0,1 | |
0,10,1512,12████1,1█8,8█████████████████████████████████████1,1█12,12████0,1 |
/* Put the href of all anchors after each link. Useful for print stylesheets. */ | |
a:after {content: attr(href);} | |
/* Get a scrollbar on the left side */ | |
#nav {max-height:150px; width: 100%; overflow: auto; direction: rtl;} | |
#nav * {direction: ltr} | |
/* Nicer looking blockquotes */ | |
blockquote {margin-left: 1em;margin-bottom: 1em; border: 1px solid #666; max-width: 800px;} | |
/* Including nicer quotation marks */ |
#!/usr/bin/env ruby | |
#encoding: utf-8 | |
msgs = [ | |
"[1-7] Porto Mojada: Foxtrot Tango [Work your alphabets]", | |
"[SOLVED: TATTOO] [1-9] Topless Beach: Boxstep [Gathering Data. Keyword: Boxing]", | |
"[SOLVED: SYLVESTER] [2-2] Video Store: Harold's Puzzle" | |
] | |
regexp = /(\[SOLVED: (?<solution>.+?)\] )?\[(?<num1>\d+)(-(?<num2>\d+))?\] (?<title>.+?)( \[(?<hint>.+?)\])?\z/ | |
msgs.each{|msg| puts msg.match(regexp).inspect} |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Based on the 'colors' zsh script I found online somewhere years ago. | |
# It looks like it is based on works posted at http://crunchbanglinux.org/forums/topic/13645/ansi-colorschemes-scripts/page/2/ | |
# I've basically just edited it a bit to work with IRC control codes as well. | |
# ~~Filip H.F. "FiXato" Slagter, 2012 | |
abort("You need at least Ruby 1.9 to run this script due to encoding issues") if RUBY_VERSION < '1.9' | |
class String | |
def center(str_length) | |
delta = str_length - self.length |
sudo apt-get install subversion | |
sudo apt-get build-dep openmsx | |
mkdir ~/bin | |
echo '#!/bin/bash' > ~/bin/update_openmsx | |
echo '[ ! -d ~/openmsx ] && cd ~/ && svn co https://openmsx.svn.sourceforge.net/svnroot/openmsx/openmsx/trunk openMSX' >> ~/bin/update_openmsx | |
echo "cd ~/openMSX && svn up && ./configure && make && sudo make install" >> ~/bin/update_openmsx && chmod +x ~/bin/update_openmsx | |
~/bin/update_openmsx |
colours-all-1 = "/input insert ,00 [ ] 00 00 (white) ,01 [ ] 01 01 (black) ,02 [ ] 02 02 (navyblue) ,03 [ ] 03 03 (green)" | |
colours-all-2 = "/input insert ,04 [ ] 04 04 (red) ,05 [ ] 05 05 (maroonbrown) ,06 [ ] 06 06 (purple) ,07 [ ] 07 07 (oliveorange)" | |
colours-all-3 = "/input insert ,08 [ ] 08 08 (yellow) ,09 [ ] 09 09 (limegreen) ,10 [ ] 10 10 (teal/greenbluecyan) ,11 [ ] 11 11 (lightcyan/aqua)" | |
colours-all-4 = "/input insert ,12 [ ] 12 12 (royal/lightblue) ,13 [ ] 13 13 (fuchsia) ,14 [ ] 14 14 (grey) ,15 [ ] 15 15 (lightgrey/silver)" |