From dc68615bb3d9ec5dc431d6998b5452f803a9083d Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Fri, 20 Mar 2015 14:12:56 -0700 Subject: [PATCH] Add tutorials to sitemap & prerender --- scripts/sitemap | 7 ++ .../gates_wires_and_chips/index.html | 106 ++++++++++++++++++ static/sitemap.txt | 1 + 3 files changed, 114 insertions(+) create mode 100644 static/browse/buildcraft/tutorials/gates_wires_and_chips/index.html diff --git a/scripts/sitemap b/scripts/sitemap index 5986ae28e..6a7760f3b 100755 --- a/scripts/sitemap +++ b/scripts/sitemap @@ -16,6 +16,7 @@ fs = require 'fs' modSlugs = {} itemSlugs = {} +tutorialSlugs = [] base = 'http://crafting-guide.com' @@ -41,9 +42,15 @@ for modSlug, modData of DefaultMods modVersion.eachItem (item)-> itemSlugs[item.slug] = item.slug + for tutorial in mod.tutorials + tutorialSlugs.push mod:mod.slug, tutorial:tutorial.slug + for modSlug in _.values(modSlugs).sort() urls.push base + "/browse/#{modSlug}/" +for tutorialSlug in tutorialSlugs + urls.push base + "/browse/#{tutorialSlug.mod}/tutorials/#{tutorialSlug.tutorial}/" + for key in _.keys(itemSlugs).sort() itemSlug = itemSlugs[key] urls.push base + "/browse/#{itemSlug.mod}/#{itemSlug.item}/" diff --git a/static/browse/buildcraft/tutorials/gates_wires_and_chips/index.html b/static/browse/buildcraft/tutorials/gates_wires_and_chips/index.html new file mode 100644 index 000000000..39ae3e2d9 --- /dev/null +++ b/static/browse/buildcraft/tutorials/gates_wires_and_chips/index.html @@ -0,0 +1,106 @@ + + The Ultimate Minecraft Crafting Guide + + + + + + +

Sending failed. Please try again later.

Feedback

+
+
+
+

+

Crafting Guide for Minecraft

+

+
+
+ +
+

Gates, Wires, and Chips

What do gates do?

BuildCraft gates are devices which can be attached to a pipe to detect and interact with objects nearby. Gates +can read a wide variety of conditions: that a nearby chest is full, or that a Combustion +Engine is about to overheat. In reaction to these conditions, gates can +emit various kinds of signals (including redstone signals) to control other gates and/or machines.

An Example: Controlling Engines

Before diving into all the details, let's look at a realistic example of what you might do with gates. This is a +small power plant driving a quarry.

+ +

+ +

Here are the important pieces of the build:

+ +
  1. The on/off switch for the entire operation. Flipping the switch creates a redstone signal.
  2. A Basic Gate attached to a Structure Pipe reads the redstone signal and generates a red pipe wire signal.
  3. Red Pipe Wire follows the Cobblestone Kinesis Pipe, transmitting the signal throughout the rest of the build.
  4. Another Basic Gate receives the red pipe wire signal and converts it back to a redstone signal, thus turning +the Combustion Engines on.
  5. The red pipe wire signal is also received by Basic Gates next to the [Redstone +Engine(/browse/buildcraft/redstone_engine)s, turning them on as well, and causing both fuel and water to +flow into the engines.
  6. Finally, the power generated by the Combusion Engines flows into the Quarry.

Video

Buildcraft Gates Tutorial, Part 1

+ +
+ + + + + + + + + + + + diff --git a/static/sitemap.txt b/static/sitemap.txt index 3141359f7..33282ca8d 100644 --- a/static/sitemap.txt +++ b/static/sitemap.txt @@ -12,6 +12,7 @@ http://crafting-guide.com/browse/industrial_craft_2/ http://crafting-guide.com/browse/minecraft/ http://crafting-guide.com/browse/railcraft/ http://crafting-guide.com/browse/thermal_expansion/ +http://crafting-guide.com/browse/buildcraft/tutorials/gates_wires_and_chips/ http://crafting-guide.com/browse/applied_energistics_2/128_spatial_component/ http://crafting-guide.com/browse/applied_energistics_2/128_spatial_storage_cell/ http://crafting-guide.com/browse/applied_energistics_2/16_spatial_component/