This is actually pretty straightforward: it's just very spread out and there's a lot of boilerplate directing everything you type to the conversation system, so it's easy to miss the important parts.
:: Some Passage | |
This will show at the start. | |
@@.hide;This will show after you click or press space/enter.@@ | |
@@.hide;.nocontinue;This will show after you advance again, but will <em>not</em> have the continue marker.@@ | |
<span class="hide">HTML tags work fine too, but the other notation is shorter.</span> | |
{ | |
"origin":["#noggin##slog#"], | |
"noggin":["head","beezer","noggin","skull","scalp","pate","poll","noodle","block","noddle","mazard","occiput","dome","nut","helm","brain","mind","cerebrum","psyche","mind","bean","conk"], | |
"slog":["heck","slog","bleh","bleck","eep","geez","gah","derp","tosh","feh","ack","bah","rat","nuts","crud","rust","rant","twit","herd","goof","gape","flout","foist","flop","lord","load","fake","sack","zooks","knocker","zoinks","wit","tastic","end","botch","chump","scut","dish","plod","drudge","grub","moil"] | |
} |
// --------------------------------------------------------------------- | |
// N: (Node) Add attributes, properties, and children to a DOM node | |
// (possibly creating it first). | |
// args: | |
// target: an Element or a tag name (e.g. "div") | |
// then optional in any order (type determines function) | |
// Element: child | |
// string: text node child | |
// array: values are treated as args | |
// null/undefined: ignored |
To download and run this script in a single command, cut and paste this in Terminal:
curl https://gist.githubusercontent.com/JoshuaGrams/845eb0e0cd8e8fb42668028792b37ce7/raw/f7de596a50eff8734483c560560ef441a9f26c33/tweego.sh | bash
Do you have reading recommendations about the science and ecology of farming? Where can a beginner explore these interdependencies you've mentioned?
For vegetable gardening, Eliot Coleman's [New Organic Grower][] is a classic talking about how to design and run a small vegetable operation. He's insatiably curious and he's trying to give you the tools you need to make your own decisions for your own situation rather than giving you a concrete recipe that may quickly become outdated.
This is sort of a blend between Ted Morin's excellent cross platform movement dictionary and codepoke's single stroke commands dictionary.
I've been using it intermittently for a couple weeks and I'm happy with it. I'm still slow because I haven't practiced it and don't actually use it much, but I've found it easy to remember what the strokes are, and most of the modifier combos are pretty comfortable for me.
It uses STK
to indicate a navigation command on the right, and then P/W/H/R are Super, Control, Alt, and Shift, respectively. You can use these by themselves to press and release the bare modifier (e.g. Super to open the Windows menu, Alt to toggle application menus).
This is mirrored on the right by -LGT, and P/B/F/R are Super/Control/Alt/Shift. Combine this with a fingerspelt letter for key combos. I did not define these alone: they
{ | |
"SWRAOER": "0", | |
"WUPB": "1", | |
"TWO": "2", | |
"THRAOE": "3", | |
"TPOUR": "4", | |
"TPAOEUFB": "5", | |
"SEUBGS": "6", | |
"SAEFB": "7", | |
"AEUGT": "8", |
Put into your source directory. Run with node bundle-scripts.js
on the command line. You can probably put the command into a .bat
file (Windows) or .sh
file (Mac OSX, Linux) so you can just double-click it to build?
(function(storyContent) { | |
var story = new inkjs.Story(storyContent); | |
var storyContainer = document.querySelectorAll('#story')[0]; | |
function showAfter(delay, el) { | |
setTimeout(function() { el.classList.add("show") }, delay); | |
} |