Fix typos
This commit is contained in:
parent
49e529a96e
commit
1997fcde9a
4
API.md
4
API.md
@ -5,7 +5,7 @@ depositing machines.
|
|||||||
## How it works
|
## How it works
|
||||||
|
|
||||||
* Add `easyvend` as optional dependency
|
* Add `easyvend` as optional dependency
|
||||||
* Check for existance of `easyvend` mod in code
|
* Check for existence of `easyvend` mod in code
|
||||||
* Call `easyvend.register_chest` for all containers you want to be compatible
|
* Call `easyvend.register_chest` for all containers you want to be compatible
|
||||||
|
|
||||||
## `easyvend.register_chest = function(node_name, inv_list, meta_owner)`
|
## `easyvend.register_chest = function(node_name, inv_list, meta_owner)`
|
||||||
@ -33,5 +33,5 @@ if minetest.get_modpath("easyvend") then
|
|||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
The `if` check is a common trick to check for the existance of the `easyvend`
|
The `if` check is a common trick to check for the existence of the `easyvend`
|
||||||
and allows you to make the dependency optional.
|
and allows you to make the dependency optional.
|
||||||
|
@ -26,7 +26,7 @@ Vending machines TAKE currency (gold ingots by default) and GIVE items
|
|||||||
of the owner's choice.
|
of the owner's choice.
|
||||||
Depositing machines GIVE currency and TAKE items of the owner's choice.
|
Depositing machines GIVE currency and TAKE items of the owner's choice.
|
||||||
|
|
||||||
To operatre your own machine, place a locked chest above or below and fill
|
To operate your own machine, place a locked chest above or below and fill
|
||||||
it with items to exchange. If the green status LED (the upper one) lights
|
it with items to exchange. If the green status LED (the upper one) lights
|
||||||
up, the machine is operational. You can stack these locked chests for
|
up, the machine is operational. You can stack these locked chests for
|
||||||
extended storage.
|
extended storage.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user