1
0
forked from MTSR/moreblocks

Fix several typos in comments

This commit is contained in:
Hugo Locurcio 2019-04-21 16:57:42 +02:00
parent c30366d2dc
commit e09d2fab01
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 4 additions and 4 deletions

View File

@ -152,7 +152,7 @@ function circular_saw:update_inventory(pos, amount)
amount = meta:get_int("anz") + amount
-- The material is recycled automaticly.
-- The material is recycled automatically.
inv:set_list("recycle", {})
if amount < 1 then -- If the last block is taken out.
@ -246,7 +246,7 @@ function circular_saw.allow_metadata_inventory_put(
local stackname = stack:get_name()
local count = stack:get_count()
-- Only alow those items that are offered in the output inventory to be recycled:
-- Only allow those items that are offered in the output inventory to be recycled:
if listname == "recycle" then
if not inv:contains_item("output", stackname) then
return 0
@ -345,7 +345,7 @@ function circular_saw.on_metadata_inventory_take(
end
-- If it is one of the offered stairs: find out how many
-- microblocks have to be substracted:
-- microblocks have to be subtracted:
if listname == "output" then
-- We do know how much each block at each position costs:
local cost = circular_saw.cost_in_microblocks[index]

View File

@ -6,7 +6,7 @@
This also registers the node with the circular saw.
Example:
```lua
stairsplus:register_all("moreblocks", "wood", "defaut:wood", {
stairsplus:register_all("moreblocks", "wood", "default:wood", {
description = "Wooden",
tiles = {"default_wood.png"},
groups = {oddly_breakabe_by_hand=1},