From 6aa3c80f4874db70c1005b8b59917448bb3580c0 Mon Sep 17 00:00:00 2001 From: Eric Johnson Date: Tue, 9 Jun 2015 08:50:48 -0400 Subject: [PATCH] Fixed some formatting and spelling mistakes in the English manual. --- .../assets/opencomputers/doc/en_US/block/capacitor.md | 2 +- .../resources/assets/opencomputers/doc/en_US/general/lua.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/assets/opencomputers/doc/en_US/block/capacitor.md b/src/main/resources/assets/opencomputers/doc/en_US/block/capacitor.md index 1d8faf904..5714f1483 100644 --- a/src/main/resources/assets/opencomputers/doc/en_US/block/capacitor.md +++ b/src/main/resources/assets/opencomputers/doc/en_US/block/capacitor.md @@ -2,7 +2,7 @@ ![It's over 9000.](oredict:oc:capacitor) -The capacitor stores energy to be used by the network, acting as an energy buffer when needed. Unlike conversion from other mod's energy to OpenComputers' internal energy type (using a [power converter](powerConverter.md) for example), transferring energy inside a single subnetwork is instantaneous. Having an internal energy bugger will be useful for tasks that require a lot of energy, such as [assembling](assembler.md) and/or [charging](charger.md) devices such as [robots](robot.md) or [drones](../item/drone.md). +The capacitor stores energy to be used by the network, acting as an energy buffer when needed. Unlike conversion from other mod's energy to OpenComputers' internal energy type (using a [power converter](powerConverter.md) for example), transferring energy inside a single subnetwork is instantaneous. Having an internal energy buffer will be useful for tasks that require a lot of energy, such as [assembling](assembler.md) and/or [charging](charger.md) devices such as [robots](robot.md) or [drones](../item/drone.md). The storage efficiency of capacitors increases with the number of capacitors in direct contact or in the vicinity. For example, two capacitors directly next to each other will have a higher storage capacity than the sum of two separated capacitors. This adjacency bonus applies for capacitors up to two blocks away, and is reduced as the distance between capacitors increases. diff --git a/src/main/resources/assets/opencomputers/doc/en_US/general/lua.md b/src/main/resources/assets/opencomputers/doc/en_US/general/lua.md index e9fbb87c6..0566ab3c9 100644 --- a/src/main/resources/assets/opencomputers/doc/en_US/general/lua.md +++ b/src/main/resources/assets/opencomputers/doc/en_US/general/lua.md @@ -2,7 +2,8 @@ The Lua [reference manual](http://www.lua.org/manual/5.2/manual.html) and the [Programming in Lua](http://www.lua.org/pil/) books (first edition is available for free online) are a good place to get started with the basics of Lua and becoming familiar with the basic syntax and standard libraries. [OpenOS](openOS.md) strives to emulate the standard libraries very closely, with a few deviations, such as the mostly missing debug library (for sandboxing reasons). These differences are [documented on the wiki](http://ocdoc.cil.li/api:non-standard-lua-libs). -Non-standard libraries will need to be `require`d in order to use them in a script. For example: +Non-standard libraries will need to be +`require`d in order to use them in a script. For example: `local component = require("component")` `local rs = component.redstone`