mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-10-11 21:30:46 +00:00
Use an admonition instead
This commit is contained in:
parent
f5fb82cd7d
commit
c4024a4c4c
@ -28,9 +28,11 @@ Once you have the name of a peripheral, you can call functions on it using the
|
|||||||
@{peripheral.call} function. This takes the name of our peripheral, the name of
|
@{peripheral.call} function. This takes the name of our peripheral, the name of
|
||||||
the function we want to call, and then its arguments.
|
the function we want to call, and then its arguments.
|
||||||
|
|
||||||
> Some bits of the peripheral API call peripheral functions *methods* instead
|
:::info
|
||||||
> (for example, the @{peripheral.getMethods} function). Don't worry, they're the
|
Some bits of the peripheral API call peripheral functions *methods* instead
|
||||||
> same thing!
|
(for example, the @{peripheral.getMethods} function). Don't worry, they're the
|
||||||
|
same thing!
|
||||||
|
:::
|
||||||
|
|
||||||
Let's say we have a monitor above our computer (and so "top") and want to
|
Let's say we have a monitor above our computer (and so "top") and want to
|
||||||
@{monitor.write|write some text to it}. We'd write the following:
|
@{monitor.write|write some text to it}. We'd write the following:
|
||||||
|
Loading…
Reference in New Issue
Block a user