Skip to content

Commit 7f83012

Browse files
TumeniNodesparamat
authored andcommittedAug 1, 2019
Various mods: Use " " instead of ' ' for item names
1 parent a5bde8e commit 7f83012

File tree

6 files changed

+30
-30
lines changed

6 files changed

+30
-30
lines changed
 

Diff for: ‎mods/bucket/init.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ minetest.register_alias("bucket_water", "bucket:bucket_water")
66
minetest.register_alias("bucket_lava", "bucket:bucket_lava")
77

88
minetest.register_craft({
9-
output = 'bucket:bucket_empty 1',
9+
output = "bucket:bucket_empty 1",
1010
recipe = {
11-
{'default:steel_ingot', '', 'default:steel_ingot'},
12-
{'', 'default:steel_ingot', ''},
11+
{"default:steel_ingot", "", "default:steel_ingot"},
12+
{"", "default:steel_ingot", ""},
1313
}
1414
})
1515

Diff for: ‎mods/doors/init.lua

+7-7
Original file line numberDiff line numberDiff line change
@@ -701,19 +701,19 @@ doors.register_trapdoor("doors:trapdoor_steel", {
701701
})
702702

703703
minetest.register_craft({
704-
output = 'doors:trapdoor 2',
704+
output = "doors:trapdoor 2",
705705
recipe = {
706-
{'group:wood', 'group:wood', 'group:wood'},
707-
{'group:wood', 'group:wood', 'group:wood'},
708-
{'', '', ''},
706+
{"group:wood", "group:wood", "group:wood"},
707+
{"group:wood", "group:wood", "group:wood"},
708+
{"", "", ""},
709709
}
710710
})
711711

712712
minetest.register_craft({
713-
output = 'doors:trapdoor_steel',
713+
output = "doors:trapdoor_steel",
714714
recipe = {
715-
{'default:steel_ingot', 'default:steel_ingot'},
716-
{'default:steel_ingot', 'default:steel_ingot'},
715+
{"default:steel_ingot", "default:steel_ingot"},
716+
{"default:steel_ingot", "default:steel_ingot"},
717717
}
718718
})
719719

Diff for: ‎mods/dye/init.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ local dye_recipes = {
9494
for _, mix in pairs(dye_recipes) do
9595
minetest.register_craft({
9696
type = "shapeless",
97-
output = 'dye:' .. mix[3] .. ' 2',
98-
recipe = {'dye:' .. mix[1], 'dye:' .. mix[2]},
97+
output = "dye:" .. mix[3] .. " 2",
98+
recipe = {"dye:" .. mix[1], "dye:" .. mix[2]},
9999
})
100100
end

Diff for: ‎mods/farming/nodes.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,16 @@ for i = 1, 5 do
217217
minetest.override_item("default:grass_"..i, {drop = {
218218
max_items = 1,
219219
items = {
220-
{items = {'farming:seed_wheat'},rarity = 5},
221-
{items = {'default:grass_1'}},
220+
{items = {"farming:seed_wheat"},rarity = 5},
221+
{items = {"default:grass_1"}},
222222
}
223223
}})
224224
end
225225

226226
minetest.override_item("default:junglegrass", {drop = {
227227
max_items = 1,
228228
items = {
229-
{items = {'farming:seed_cotton'},rarity = 8},
230-
{items = {'default:junglegrass'}},
229+
{items = {"farming:seed_cotton"},rarity = 8},
230+
{items = {"default:junglegrass"}},
231231
}
232232
}})

Diff for: ‎mods/stairs/init.lua

+13-13
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
109109
if recipeitem then
110110
-- Recipe matches appearence in inventory
111111
minetest.register_craft({
112-
output = 'stairs:stair_' .. subname .. ' 8',
112+
output = "stairs:stair_" .. subname .. " 8",
113113
recipe = {
114114
{"", "", recipeitem},
115115
{"", recipeitem, recipeitem},
@@ -119,10 +119,10 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
119119

120120
-- Use stairs to craft full blocks again (1:1)
121121
minetest.register_craft({
122-
output = recipeitem .. ' 3',
122+
output = recipeitem .. " 3",
123123
recipe = {
124-
{'stairs:stair_' .. subname, 'stairs:stair_' .. subname},
125-
{'stairs:stair_' .. subname, 'stairs:stair_' .. subname},
124+
{"stairs:stair_" .. subname, "stairs:stair_" .. subname},
125+
{"stairs:stair_" .. subname, "stairs:stair_" .. subname},
126126
},
127127
})
128128

@@ -135,7 +135,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description,
135135
if baseburntime > 0 then
136136
minetest.register_craft({
137137
type = "fuel",
138-
recipe = 'stairs:stair_' .. subname,
138+
recipe = "stairs:stair_" .. subname,
139139
burntime = math.floor(baseburntime * 0.75),
140140
})
141141
end
@@ -224,7 +224,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
224224

225225
if recipeitem then
226226
minetest.register_craft({
227-
output = 'stairs:slab_' .. subname .. ' 6',
227+
output = "stairs:slab_" .. subname .. " 6",
228228
recipe = {
229229
{recipeitem, recipeitem, recipeitem},
230230
},
@@ -234,8 +234,8 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
234234
minetest.register_craft({
235235
output = recipeitem,
236236
recipe = {
237-
{'stairs:slab_' .. subname},
238-
{'stairs:slab_' .. subname},
237+
{"stairs:slab_" .. subname},
238+
{"stairs:slab_" .. subname},
239239
},
240240
})
241241

@@ -248,7 +248,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
248248
if baseburntime > 0 then
249249
minetest.register_craft({
250250
type = "fuel",
251-
recipe = 'stairs:slab_' .. subname,
251+
recipe = "stairs:slab_" .. subname,
252252
burntime = math.floor(baseburntime * 0.5),
253253
})
254254
end
@@ -335,7 +335,7 @@ function stairs.register_stair_inner(subname, recipeitem, groups, images,
335335

336336
if recipeitem then
337337
minetest.register_craft({
338-
output = 'stairs:stair_inner_' .. subname .. ' 7',
338+
output = "stairs:stair_inner_" .. subname .. " 7",
339339
recipe = {
340340
{"", recipeitem, ""},
341341
{recipeitem, "", recipeitem},
@@ -352,7 +352,7 @@ function stairs.register_stair_inner(subname, recipeitem, groups, images,
352352
if baseburntime > 0 then
353353
minetest.register_craft({
354354
type = "fuel",
355-
recipe = 'stairs:stair_inner_' .. subname,
355+
recipe = "stairs:stair_inner_" .. subname,
356356
burntime = math.floor(baseburntime * 0.875),
357357
})
358358
end
@@ -415,7 +415,7 @@ function stairs.register_stair_outer(subname, recipeitem, groups, images,
415415

416416
if recipeitem then
417417
minetest.register_craft({
418-
output = 'stairs:stair_outer_' .. subname .. ' 6',
418+
output = "stairs:stair_outer_" .. subname .. " 6",
419419
recipe = {
420420
{"", recipeitem, ""},
421421
{recipeitem, recipeitem, recipeitem},
@@ -431,7 +431,7 @@ function stairs.register_stair_outer(subname, recipeitem, groups, images,
431431
if baseburntime > 0 then
432432
minetest.register_craft({
433433
type = "fuel",
434-
recipe = 'stairs:stair_outer_' .. subname,
434+
recipe = "stairs:stair_outer_" .. subname,
435435
burntime = math.floor(baseburntime * 0.625),
436436
})
437437
end

Diff for: ‎mods/walls/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ walls.register = function(wall_name, wall_desc, wall_texture_table, wall_mat, wa
3131
minetest.register_craft({
3232
output = wall_name .. " 6",
3333
recipe = {
34-
{ '', '', '' },
34+
{ "", "", "" },
3535
{ wall_mat, wall_mat, wall_mat},
3636
{ wall_mat, wall_mat, wall_mat},
3737
}

0 commit comments

Comments
 (0)
Please sign in to comment.