指南:電路

出自Terraria Wiki
跳到: 導覽搜尋
此頁面的(部分)內容需要被翻譯。
你可以幫助我們來翻譯此頁面

電路是在1.1更新後引入泰拉瑞亞的一個特性。電線沒有打開和關閉兩種狀態,而是遵循切換規則;打開一個開關將觸發所有經由電線連接到它的輸出。

基本[編輯 | 編輯原始碼]

一個基本的電路示例。

最基本的電路是很簡單的。一個電路的兩個主要組件是輸入和輸出。輸入是產生電流的東西,輸出是接受電流的東西。最重要的一點是要記住沒有東西可以產生一個持續電流。對於大多數輸入來說,沒有這樣的可以處在開或關兩種狀態的東西。當它們被激活時,它們將在同一時間內激活連接到它們的每一個輸出。這意味着你不能將開關連接在一個雕像上並且使它不斷產生物品;你必須反覆開關開關或者增加一個計時器

從版本1.3.1開始, 遊戲中有顏色不同的四種電線, 這四種電線可以用對應的四種扳手、五彩扳手或者精密線控儀來連接。所有的扳手使用同樣規格的電線,且在被放置的同時會被方便地漆上顏色。四種扳手在功能上是相通的, 但是不同顏色的電線不會相互連接,例如黃線不會與紅綠藍線中的任意一種項連; 這樣的四種電線讓玩家能夠建造更加緊湊複雜的電路。外加上分線盒的出現,允許同色電線交叉而不相連, 使得電線的排布可以千變萬化。

輸入[編輯 | 編輯原始碼]

開關及控制杆[編輯 | 編輯原始碼]

開關控制杆都是輸入。它們每次切換時都會發出一道電流。它們扳到哪個方向並不重要。 如果將火把連接到開關,在第一次扳開關時它將被關閉,在第二次扳開關時將打開,即使火把連接到開關上時它正處於關閉位置也是如此。

壓力板[編輯 | 編輯原始碼]

一個壓力板會在每次被踩踏時產生電流。踩上時激活它。探測敵人是壓力板最有效的使用方式,可以用來製作陷阱或是單純的提醒你做好準備。(注意:一些壓力板只能用來探測玩家。)不同顏色的壓力板會在不同情況下被激活使用。

感應器[編輯 | 編輯原始碼]

當滿足一定條件的時候,感應器就會產生電流。從1.3.1版本開始,你可以使用三種感應器。它們分別是邏輯感應器(夜), 邏輯感應器(晝)與邏輯感應器(玩家出入上方)。在夕陽西下時 (7:29 到 7:30) 邏輯感應器(夜)會產生一次電流。相對的邏輯感應器(晝)會在黎明破曉之際(4:29 到 4:30)產生一次電流。邏輯感應器(玩家出入上方)在玩家踏入和踏出其探測區域的時候產生一次電流。不過請注意邏輯感應器不會產生恆定電流,晝夜感應器都只會在特定時段產生一次電流,邏輯感應器(玩家出入上方)的探測區域也是如此。

輸出[編輯 | 編輯原始碼]

火把及其他照明物[編輯 | 編輯原始碼]

許多光源(但不是全部)可以被經由電線連接的輸入所操控。它們的狀態將會在收到一股電流後被切換。

[編輯 | 編輯原始碼]

門將在收到電流後切換其狀態。儘管門只算是一種轉軸機關, 你還是可以用電線連接打開的門並觸發電路去關閉它。當一扇大門緊閉時,它將無法接受電流並且不會因為電流而打開 。這個特性對於一道需要自動關閉的安全出口十分有用, 並且你還不用擔心因誤觸開關而導致門意外打開的窘境發生。請注意,站在門縫中間然後觸發電路關閉門的愚蠢行徑可能會使門連同其物品突然消失。

雕像[編輯 | 編輯原始碼]

雕像在收到由電線傳遞的一股電流後會激活一次, 不過一次雕像的激活必須上一次的激活之後過去足夠的時間。並非所有雕像都有功能,有功能的雕像則通常用於刷怪。 不過由雕像刷出的敵怪不會掉落金錢且掉落物的掉率通常會更低.。由雕像生成的小動物不能被捕捉。

制動器[編輯 | 編輯原始碼]

在接收到電流後,制動器將會改變其所在物塊的虛實狀態。你可以用它來建造一扇靠開關或者拉杆來開合的門來代替普通的門,這樣的門不會被敵怪攻破,也能在。它也可以用來創造陷阱門來在不需要的時候遮蓋熔岩或者其他的陷阱。在血月發生時,用制動器與方塊來阻擋門被攻破是一種明智的選擇。

飛鏢機關[編輯 | 編輯原始碼]

當電流到達飛鏢機關且飛鏢機關未進入冷卻時,飛鏢機關會射出一枚飛鏢。這些射出的飛鏢在製造輕微傷害的同時能夠讓被擊中的目標100%進入中毒狀態,還能清理雜草叢生的草地。這些飛鏢能夠到達很遠的距離,直到離機關1600x800的邊界處才會消失.

其他機關[編輯 | 編輯原始碼]

收到電流之後,這些機關將會被啟動,然後從中伸出長矛或者是噴出火舌。一定要提防附近可能出現的機關,因為它們會對遊戲早期玩家是極其致命的,這些機關每一下都能對有20點防禦的玩家造成大約70點的傷害。

炸藥[編輯 | 編輯原始碼]

Explosives detonate when a current is received. The explosion they cause is slightly stronger than that of a Dynamite. They can be placed tactically and detonated from a safe distance, making them a more accurate, yet not as simple to set up solution than other block-damaging explosives.

[編輯 | 編輯原始碼]

There are two kinds of pumps that can be crafted to move large quantities of Water, Lava, or Honey. the Inlet Pump sucks in a liquid (as long as it is touching the liquid), and the Outlet Pump sends it out (until the pump is completely submerged). The two pumps need to be connected with a wire which acts like a "pipe". Each time either pump is activated, the Inlet Pump will transfer up to four tiles of liquid to the Outlet Pump. For continuous automated pumping, a Timer must be connected to the wire. This method may also be used in a trap manner in defending your crafted home if used correctly. It should be noted that over time, the amount of liquid pumped out will be greater than the amount of liquid pumped in. (See: Guide:Making liquid.)

計時器[編輯 | 編輯原始碼]

There are three types of timers: one second, three second, and five second. Timers are both an input and an output, making them uniquely capable of sending close to a constant current. If a timer is active, it will send a current every 1, 3 or 5 seconds, depending on which type is used. If a timer receives a current, it will change its state. Timers can be used with statues to activate them as often as possible. Unfortunately, timers can't be placed sequentially to create longer intervals between activations unless you use a special technique. Two one second timers will not add up to two seconds. However, if you link timers together with different colored wire, it will make a cascade that will make a custom length of time kind of timer. See https://www.youtube.com/watch?v=KhVgnlOidpY for how to build it. A current will be sent at the interval of the shortest timer on the circuit. A simple use for timers would be making a disco room or mob area.

引擎[編輯 | 編輯原始碼]

開關、拉杆和計時器不是保持農場、燈光及一系列陷阱運作唯一的方式。只需Crab Statue或是Bird Statue以及壓力版,就可以簡單地製作出一個引擎,可以比一秒timer更頻繁地激活。原理是先生成和捕獲螃蟹或鳥,再讓它踩壓力版。引擎因此成為hooksgelbanner農場的理想選擇。

建造引擎有多種方法。The Bird Engine with multiple pressure plates is more efficient to use and is much more compact compared to the Crab Engine, which requires a path for crabs to walk to the pressure plates.

There is a guide in the forums that advanced players may find helpful An Introduction to Hoiktronics "Hoiktronic is intended to communicate the key use of the 'hoik' glitch (with sloped blocks) to control the movement of NPCs so rapidly and precisely that they become somewhat like big, fat electrons, facilitating rapid digital mechanisms." Another useful guide is Fastest Engines, which includes: Hoiktronic Counter (Video), Crab Engine (Compact), Hoik Engines, House Hoik Engine, Teleporter Engines (Standard, Hoik Hybrid (Guide Engine, Hoik Hybrid (Ultimate, 1 Step)), Minecart Engines, Bird Engines, Rainstick Engines (Video included) (Stumps, Repeater, Spear Trap Batteries, Continuous Drop), 1.3 Update Notes (Including 'Ghost Dummy' Engines).

其他[編輯 | 編輯原始碼]

引爆器[編輯 | 編輯原始碼]

Detonators are special wiring objects added in version 1.3.0.1. They are different from most other wiring devices due to being both an input and output (timers being the only other device like it). They are also a combination of pre-existing inputs, namely the Switch and Pressure Plate. They are a 2x2 object that, when stepped on by the player (but not other entities) produces current, and can also be right-clicked to do the same. When a current runs through a Detonator, it switches states, and also is unable to be right-clicked to switch states until a second current is received by it.

二極管[編輯 | 編輯原始碼]

Timers often "backfire" onto a mechanism, but with the Teal Pressure Pad and a Dart Trap it is possible to create a "diode," a wiring function which only works in one direction. Wire the source up to the Dart Trap, place the Teal Pressure Pad directly in line (you may need to do some hammering of the trap or plate to make sure the dart will hit), and wire the output up to the Pressure Pad. This means that when the source is activated, the Dart Trap fires, causing the Teal Pressure Pad to register a hit. However, because there is no continuous wire then whatever is rigged up to the Teal Pressure Pad will not re-activate the source.

A simpler form of diode can be constructed out of most Logic Gates (except XOR) with a single Lamp on top. Wire the source to the lamp and the sink to the gate.

計數器[編輯 | 編輯原始碼]

It is possible to construct a mechanism out of a series of Logic Gates whose output signal will be triggered on every other input signal. Such mechanisms can be concatenated to produce a machine with the ability to count the number of inputs signals it receives. This may be used, for example, to count the number of days by attaching such a machine to a Logic Sensor (Day).