Format chapter 4, linting

This commit is contained in:
PeridexisErrant 2015-09-30 22:04:35 +10:00
parent 47d299c474
commit 9db16450c1
3 changed files with 69 additions and 68 deletions

View file

@ -31,10 +31,10 @@ without traps, so this is the easiest way to keep it accessible.
Next time traders turn up, just remember to check out the tutorial Next time traders turn up, just remember to check out the tutorial
on :ref:`tutorial-trading` for a guide to the process. on :ref:`tutorial-trading` for a guide to the process.
First up, we need to move our booze production down stairs. I want to First up, we need to move our booze production downstairs.
set up a trade depot upstairs and Ive decided I dont want to leave I dont want to dig out any more of our top-floor space just now,
the depot outside, and I dont want to dig out any more of our limited and rock walls can be smoothed and engraved later - which keeps
top-floor space just now. Of course, we have many options for how we dwarves happy. Of course, we have many options for how we
expand the fortress, but well go for simple right now, so lets get expand the fortress, but well go for simple right now, so lets get
shifting stuff. shifting stuff.
@ -49,47 +49,42 @@ Heres how Ive plotted things out:
:align: center :align: center
Once that digging is done, set up the big food storage hall as a food Once that digging is done, set up the big food storage hall as a food
stockpile. Then build a still downstairs using “b”, “w”, “l”. This stockpile. Then build a still downstairs using :kbd:`b`, :kbd:`w`,
should be easy-peasy for you now! Your next job is go to upstairs and :kbd:`l`. This should be easy-peasy for you now! Your next job is go to
remove the food stockpile and the still. upstairs and remove the old food stockpile and still.
Look what the cat dragged in! Look what the cat dragged in!
============================= =============================
At some point youre going to get immigrants. I got some right now. At some point youre going to get immigrants. I got some right now.
.. image:: images/dftutorial52.png :guilabel:`Some migrants have arrived.`
:align: center
Soon after the message a stream of new loafers streak into the Soon after the message a stream of new loafers streak into the
fortress. And whats the first thing they do? Eat and drink! Slacker fortress. And whats the first thing they do? Eat and drink!
bastards! This has me a little concerned about our food stocks, and if This has me a little concerned about our food stocks, and if
this has happened to you, I suggest you do what I do and sort out some this has happened to you, I suggest you do what I do and sort out some
more booze and dig some more bedrooms downstairs and assign those new more booze and dig some more bedrooms downstairs and assign those new
dwarfs to it. Next tutorial were also going to have our first close dwarfs to it.
look at our dwarfs, but not until after we build ourselves a nice new
farm and ensure we are overflowing with food (and food goods to produce
booze out of).
Outdoor farming for fun and profit Outdoor farming for fun and profit
================================== ==================================
You know about farming inside, now how about farming outside? As you You know about farming inside, now how about farming outside? As you
may recall weve had some plant gathering going on outside. In may recall weve had some plant gathering going on outside. In
temperate climates that means were generally gathering strawberries. temperate climates that means were generally gathering berries.
And once weve eaten strawberries, what do we have? Well, if youre a And once weve eaten berries, what do we have? Well, if youre a
dwarf, you end up with strawberry seeds. And wouldnt it be great to dwarf, you end up with seeds. And wouldnt it be great to
plant them? Yes it would! Do we have some? I dont know yet! But I plant them? Yes it would!
think so!
Well cover looking at our stocks of goods later, by the way, so just Well cover looking at our stocks of goods later, by the way, so just
trust me for now. trust me for now.
But strawberries are going to require being planted outside, as they But berries are going to require being planted outside, as they
love the sun dont they? Of course, we dont want to go outside where love the sun dont they? Of course, we dont want to go outside where
it could be nasty and dangerous, so what do we do?. We cant really it could be nasty and dangerous, so what do we do?. We cant really
expect strawberries to grow in a dark cave, can we? So how about we expect strawberries to grow in a dark cave, can we? So how about we
compromise with these fruity demons. Well build an outdoor farm, but compromise with these fruity demons. Well build an outdoor farm, but
well lock it off from the world with a wall and an entrance only well lock it off from the world with a wall and an entrance only
available to us. Cant we all just be friends? available to us.
To achieve our goals we first need to dig some handy exit to the To achieve our goals we first need to dig some handy exit to the
outdoors. Perhaps near our existing farm. This is what I did: outdoors. Perhaps near our existing farm. This is what I did:
@ -102,14 +97,14 @@ to be dug. Once the space is dug youll notice that the slope icons
still exist around the exit. This could be a problem. If we built walls still exist around the exit. This could be a problem. If we built walls
around a nicely enclosed farm now enemies would still be able to get to around a nicely enclosed farm now enemies would still be able to get to
it from above, by walking down the slopes! So we need to remove the it from above, by walking down the slopes! So we need to remove the
slopes. To remove it, we hit “d” for “Designations” and then “z” for slopes. To remove it, we hit :kbd:`d` for :guilabel:`Designations`
“Remove Stairs/Ramps”. and then :kbd:`z` for :guilabel:`Remove Up Stairs/Ramps`.
Ive selected almost all of the slopes across the front of my fortress. Ive selected almost all of the slopes across the front of my fortress.
I dont want any surprises “dropping” in anywhere along our front. Here I dont want any surprises 'dropping' in anywhere along our front. Here
you can see my miners hard at work stripping away the outside ramps so you can see my miners hard at work stripping away the outside ramps so
theres essentially a sharp drop between the level above and this theres essentially a sharp drop between the level above and this
level. That will keep us safe from wandering critters. level.
.. image:: images/dftutorial54.png .. image:: images/dftutorial54.png
:align: center :align: center
@ -121,45 +116,52 @@ with digging and ramp removal. Heres my much tidier fortress entrance:
:align: center :align: center
Later on we might incorporate some complex defenses into this area. Later on we might incorporate some complex defenses into this area.
Perhaps later.
.. note::
Recent versions of Dwarf Fortress added the ability to climb,
so to be truly secure a wall must smoothed natural stone,
or built two levels high with an overhand at the top. Using
stone blocks also helps.
That's pretty tricky though, so for now we'll just hope the
goblins don't bother.
So, lets get on with this farm! We need to surround a nice large area So, lets get on with this farm! We need to surround a nice large area
with walls, right? Keep our dwarfs safe from wandering critters. To with walls, right? Keep our dwarfs safe from wandering critters. To
build walls we need to: build walls we need to:
* Hit “b”. * Hit :kbd:`b`
* Hit “C” (thats “shift+c”), or scroll through the list and look for * Hit :kbd:`C`, (thats :kbd:`Shift`-:kbd:`c`, remember the keys are
“Wall/Floor/Stairs” and hit enter. case-sensitive), or scroll through the list and look for
* “Wall” is selected by default, hit enter. :guilabel:`Wall/Floor/Stairs/Track` and hit :kbd:`Enter`.
* :guilabel:`Wall` is selected by default, hit :kbd:`Enter`.
* You now have a green X. Like the farm plot you can change the size * You now have a green X. Like the farm plot you can change the size
with “u”, “m”, “k” and “h”. with :kbd:`u`, :kbd:`m`, :kbd:`h` and :kbd:`k`.
* Hit “u” until youve got a max-height wall. * Hit :kbd:`u` until youve got a max-height wall.
* Place the wall right next to the entrance, hit enter (below you can * Place the wall right next to the entrance, hit :kbd:`Enter` (below you can
see how I placed mine). see how I placed mine).
* Scroll through the materials list using “alt”+”down arrow” and select * Select a material using :kbd:`=` and :kbd:`Enter`
limestone. * Hit :kbd:`Enter` until the list goes away and you see the wall outline.
* Hit enter until the list goes away and you see the wall outline. Youre selecting one item for each segment of the wall.
Youre selecting one limestone for each segment of the wall. * Hit :kbd:`Esc` until the game resumes.
* Hit “space” until the game resumes.
You will now have a wall under construction! Again, hit “q” and move it You will now have a wall under construction! Again, hit :kbd:`q` and move it
down your wall, youll see the construction status. Dont worry, your down your wall, youll see the construction status. Dont worry, your
dwarfs will get to the wall pretty quickly. dwarfs will get to the wall pretty quickly.
While youre waiting, clear all the trees and bushes from inside your While youre waiting, clear all the trees and bushes from inside your
soon-to-be farm space using “d”, “t” (cut down trees) and “d”, “p” soon-to-be farm space using :kbd:`d`, :kbd:`t` to :guilabel:`Chop Down
(harvest plants). Trees` and :kbd:`d`, :kbd:`p` to :guilabel:`Gather Plants`.
Once youve got this under way, build two lengths of wall across to the Once youve got this under way, build two lengths of wall across to the
right go down a length and a bit, and back to the cliff face. Of right go down a length and a bit, and back to the cliff face.
course, use stone for each piece of the wall, no need on wasting wood Heres how my outdoor farm plot looks so far:
weve worked hard to chop down. Heres how my outdoor farm plot looks
so far:
.. image:: images/dftutorial56.png .. image:: images/dftutorial56.png
:align: center :align: center
Isnt it coming along nicely? Yes it is! Soon well be able to hide Isn't it coming along nicely? Soon well be able to hide
inside and behind our walls and ignore the nasty outside world. Yay! inside and behind our walls and ignore the nasty outside world. Yay!
Once your walls are complete you could easily build two 6×6 farm plots Once your walls are complete you could easily build two 6×6 farm plots
@ -171,7 +173,7 @@ the problem will go away.
Oh, Ive just noticed. Our farm plots will have holes in them anyway, Oh, Ive just noticed. Our farm plots will have holes in them anyway,
there are white blobs on the ground which a farm square wont be built there are white blobs on the ground which a farm square wont be built
on. If you hit “k” and move the cursor around youll see that those on. If you hit :kbd:`k` and move the cursor around youll see that those
white spots are limestone. Clearly plants dont like clinging to rock white spots are limestone. Clearly plants dont like clinging to rock
so no plot will grow there. Never mind, a holey farm isnt really a big so no plot will grow there. Never mind, a holey farm isnt really a big
problem. problem.
@ -182,21 +184,23 @@ Heres my private outdoors farm yard with the farm plots built as well:
:align: center :align: center
There you go! Beautiful! Now, just like farms inside, you need to There you go! Beautiful! Now, just like farms inside, you need to
specify what the fields will build (“q”). On the first, Ive set specify what the fields will build (:kbd:`q`). On the first, Ive set
strawberries for every season (dont forget to cycle through the strawberries for every season (dont forget to cycle through the
seasons using “a”, “b”, “c”, “d”). When I tried to select strawberries seasons using :kbd:`a`, :kbd:`b` :kbd:`c`, :kbd:`d`).
When I tried to select strawberries
on the second field they were red, suggesting to me we wont have on the second field they were red, suggesting to me we wont have
enough seeds that this isnt the season for planting those items enough seeds that this isnt the season for planting those items
(thanks commenter Ookpik! See comments for more info). So instead, I So instead, I
selected some other random plant. Not sure weve got seeds for those, selected some other random plant. Not sure weve got seeds for those,
but well find out all about that later! And later on you can come back but well find out all about that later! And later on you can come back
and fix up some better planting instructions. Oh, dont select “Seas and fix up some better planting instructions. Oh, dont select
Fert” or “Fertilize”. We dont have any fertilizer yet. :guilabel:`Seas Fert` or :guilabel:`Fertilize`.
We dont have any fertilizer yet.
While I remember things, lets take a moment to build a wall along the While I remember things, lets take a moment to build a wall along the
top edge above our outside farm. We dont want any goblins walking up top edge above our outside farm. We dont want any goblins walking up
to the edge of the cliff, looking down, and shooting up our farmers to the edge of the cliff, looking down, and shooting up our farmers
with their crossbows! So go up a level, using good-old “shift”+”<” and with their crossbows! So go up a level, using good-old :kbd:`<` and
plan out your wall. Here Ive built a wall (after stripping trees, plan out your wall. Here Ive built a wall (after stripping trees,
which should once and for all block off any possible approach to my farm. which should once and for all block off any possible approach to my farm.
@ -205,7 +209,7 @@ which should once and for all block off any possible approach to my farm.
But whats this, we have a problem! Can you spot what it is? Yup, our But whats this, we have a problem! Can you spot what it is? Yup, our
stupid dwarf has gone and got himself stuck on the wrong side of the stupid dwarf has gone and got himself stuck on the wrong side of the
wall. He cant get out! Now, we could use the “b”, “C” menu to wall. He cant get out! Now, we could use the :kbd:`b`, :kbd:`C` menu to
construct some up stairs to him (and then down stairs to connect from construct some up stairs to him (and then down stairs to connect from
this level down to the upstairs), but how about I show you a handy trick… this level down to the upstairs), but how about I show you a handy trick…
@ -213,19 +217,19 @@ You see, dwarfs getting stuck will happen to you a lot unless you take
countermeasure. Heres how you fix our current problem, and how prevent countermeasure. Heres how you fix our current problem, and how prevent
it from happening again: it from happening again:
* Hit “d”. * Hit :kbd:`d`
* Hit “n” for “Remove construction”. * Hit :kbd:`n` for :guilabel:`Remove Building`.
* Select a single wall space and hit enter. * Select a single wall space and hit :kbd:`Enter`.
* Once the wall space is removed youll have a gap. On the inside of * Once the wall space is removed youll have a gap. On the inside of
the wall gap (where we dont want our dwarf to stand), set a wall to be the wall gap (where we dont want our dwarf to stand), set a wall to be
built that completely covers the gap. built that completely covers the gap.
* Resume the game and then immediately pause it. * Resume the game and then immediately pause it.
* Hit “q” and move down each piece of your fake-wall and hit “s” to * Hit :kbd:`q` and move down each piece of your fake-wall and hit :kbd:`s` to
“Suspend construction” of each segment. Dwarfs dont like standing :guilabel:`Suspend Construction` of each segment. Dwarfs dont like standing
where buildings are due to be placed, so this means when our dwarf where buildings are due to be placed, so this means when our dwarf
comes back to fill in the gap he wont lock himself in again. comes back to fill in the gap he wont lock himself in again.
Heres how my gap and “fake” wall look. You can see my X over a fake Heres how my gap and 'fake' wall look. You can see my X over a fake
wall segment, and on the right, the wall segment is suspended: wall segment, and on the right, the wall segment is suspended:
.. image:: images/dftutorial59.png .. image:: images/dftutorial59.png
@ -233,7 +237,7 @@ wall segment, and on the right, the wall segment is suspended:
You can now build a single wall space to close the gap and our dwarf You can now build a single wall space to close the gap and our dwarf
wont get trapped. Once youve done that, go back over each wall space wont get trapped. Once youve done that, go back over each wall space
with “q” and hit “x” to remove the suspended wall spaces. Look here, with :kbd:`q` and hit :kbd:`x` to remove the suspended wall spaces. Look here,
job done! Dwarfs safe! job done! Dwarfs safe!
.. image:: images/dftutorial60.png .. image:: images/dftutorial60.png
@ -242,9 +246,6 @@ job done! Dwarfs safe!
And when I go down and look at my fresh outside farm plot, something is And when I go down and look at my fresh outside farm plot, something is
being planted! Great! being planted! Great!
Thats all for now. Weve got traders in our trade depot and we need to I'll see you next time in, to look at expanding our industries to something
sort out all these scummy immigrants. That will take a while, so lets truly impressive!
leave all of that for Part 5.
Until then go make a bunch of crafts, get the booze flowing and wait on
my return!

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

View file

@ -122,7 +122,7 @@ Special text:
with the special style. Keys are case sensitive, so ``:kbd:`Shift``` with the special style. Keys are case sensitive, so ``:kbd:`Shift```
should never be used (unlike :kbd:`Esc`, :kbd:`Space`, etc.). should never be used (unlike :kbd:`Esc`, :kbd:`Space`, etc.).
* For in-game text, use the ``:guilabel:`In game text``` directive, which * For in-game text, use the ``:guilabel:`In game text``` directive, which
is rendered with the appropriate font and background. Ensure that the phrasing is rendered with the appropriate font and background. Ensure that phrasing
and capitalisation matches DF exactly (except ``'``, which renders as and capitalisation matches DF exactly (except ``'``, which renders as
:guilabel:`'` - leave it out). Don't use this style for ASCII art, only :guilabel:`'` - leave it out). Don't use this style for ASCII art, only
ingame menus which should be read as text. ingame menus which should be read as text.