Беспилотный интерфейс (Drone Interface) — как скрафтить в PneumaticCraft: Repressurized | Вики PiglinMine
Беспилотный интерфейс
Механизмы и устройства · PneumaticCraft: Repressurized

Беспилотный интерфейс

Drone Interface
СборкаРецепты ниже — для мода без изменений

Беспилотный интерфейс — механизм из мода PneumaticCraft: Repressurized.

Как работает #how

Из книги «PNC:R Руководство» — Drone Interface[1]

The Drone Interface is a ComputerCraft/OpenComputers peripheral/$ that's used to communicate with Drones/$. To do so, program a Drone/$ with a Computer Control puzzle piece/$.

When the Drone executes the Computer Control piece, it'll try to connect to an available/$ Drone Interface/$ located within the puzzle piece's area.

Once connected, the Drone will be controlled entirely by the interface; specifically, by Lua methods called on the interface by the controlling computer.

The Drone Interface exposes a long list of Lua methods, all of which are described in the following pages.

An example Lua program:
m = peripheral.wrap("right")
m.addArea(100, 64, 100, 120, 4, 120, "Filled")
m.setAction("dig")
while not m.isActionDone()
do
sleep(1)
end
m.clearArea()
m.addArea(80, 65, 80)
m.setAction("goto")
-- wait till done, as above
m.setAction("standby")

/$makes the drone dig out a large area - all blocks in the (100,64,100)->(120,4,120) range - and then return to (80, 65, 80) and go into standby.

Мод не переведён — текст книги на английском, как в игре.

Читать запись целиком

Получение #obtain

Делают по 1 рецепту: верстак.[2]

Источники

  1. Встроенная книга «PNC:R Руководство», запись «Drone Interface»
  2. Рецепты из jar модов без изменений сборок