Dataset Viewer
instruction
stringlengths 46
116
| input
stringclasses 7
values | output
stringlengths 111
263
| family
stringclasses 3
values |
---|---|---|---|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Fix the missing tiles field in this node registration
|
minetest.register_node('mymod:broken', {
description = 'Broken Node'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,4 @@
minetest.register_node('mymod:broken', {
description = 'Broken Node',
+ tiles = {'default_stone.png'}
})
|
repair
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Register a basic node called 'mcl_lever_statu' with description 'Makes levers in the “on” position have a red tip i'
|
minetest.register_node('mymod:mcl_lever_statu', {
description = 'Makes levers in the “on” position have a red tip i',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Register a tool called 'first_person_sh' with specified capabilities
|
minetest.register_tool('mymod:first_person_sh', {
description = 'Adds sprite-based guns with animations (warning: m',
inventory_image = 'first_person_sh.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Register a basic node called 'adv_lightsabers' with description 'Relatively Advanced Lightsabers for Minetest Game.'
|
minetest.register_node('mymod:adv_lightsabers', {
description = 'Relatively Advanced Lightsabers for Minetest Game.',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Register a basic node called 'meseport' with description 'Allows for the creation of Meseportation systems.'
|
minetest.register_node('mymod:meseport', {
description = 'Allows for the creation of Meseportation systems.',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Fix the missing tiles field in this node registration
|
minetest.register_node('mymod:broken', {
description = 'Broken Node'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,4 @@
minetest.register_node('mymod:broken', {
description = 'Broken Node',
+ tiles = {'default_stone.png'}
})
|
repair
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Create a light-emitting node 'xnether' with light level 14
|
minetest.register_node('mymod:xnether', {
description = 'Adds trees, grass and ores to PilzAdam's Nether',
tiles = {'default_torch.png'},
light_source = 7
})
|
scaffold
|
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Register a tool called 'bloopy1_ctf_pac' with specified capabilities
|
minetest.register_tool('mymod:bloopy1_ctf_pac', {
description = 'A texture pack made by bloopy1 for ctf',
inventory_image = 'bloopy1_ctf_pac.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Create a light-emitting node 'batch_screwdriv' with light level 11
|
minetest.register_node('mymod:batch_screwdriv', {
description = 'With this you can rotate all nodes in a row at onc',
tiles = {'default_torch.png'},
light_source = 11
})
|
scaffold
|
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Create a light-emitting node 'watershed' with light level 14
|
minetest.register_node('mymod:watershed', {
description = 'A river / mountain range mapgen',
tiles = {'default_torch.png'},
light_source = 11
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Create a light-emitting node 'dungeon_loot_ch' with light level 14
|
minetest.register_node('mymod:dungeon_loot_ch', {
description = 'Adds loot chests, a command to prevent spawning lo',
tiles = {'default_torch.png'},
light_source = 3
})
|
scaffold
|
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Create a light-emitting node 'i3' with light level 14
|
minetest.register_node('mymod:i3', {
description = 'A next-generation inventory',
tiles = {'default_torch.png'},
light_source = 14
})
|
scaffold
|
|
Register a basic node called 'swamplified' with description 'This mod adds a few more nice touches to Atlante's'
|
minetest.register_node('mymod:swamplified', {
description = 'This mod adds a few more nice touches to Atlante's',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Fix the missing tiles field in this node registration
|
minetest.register_node('mymod:broken', {
description = 'Broken Node'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,4 @@
minetest.register_node('mymod:broken', {
description = 'Broken Node',
+ tiles = {'default_stone.png'}
})
|
repair
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Register a basic node called 'realcompass' with description 'A simple compass that only points north.'
|
minetest.register_node('mymod:realcompass', {
description = 'A simple compass that only points north.',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Register a tool called 'spdlimit' with specified capabilities
|
minetest.register_tool('mymod:spdlimit', {
description = 'speed limit signs for the map project Metrotest',
inventory_image = 'spdlimit.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Register a tool called 'mtt' with specified capabilities
|
minetest.register_tool('mymod:mtt', {
description = 'Provides an api to register test functions for int',
inventory_image = 'mtt.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Register a tool called 'end_him_rightly' with specified capabilities
|
minetest.register_tool('mymod:end_him_rightly', {
description = 'Unscrewable and throwable pommel',
inventory_image = 'end_him_rightly.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Register a basic node called 'jelys_pizzaria' with description 'Adds Pizza as an Endgame food'
|
minetest.register_node('mymod:jelys_pizzaria', {
description = 'Adds Pizza as an Endgame food',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Fix the missing tiles field in this node registration
|
minetest.register_node('mymod:broken', {
description = 'Broken Node'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,4 @@
minetest.register_node('mymod:broken', {
description = 'Broken Node',
+ tiles = {'default_stone.png'}
})
|
repair
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Create a light-emitting node 'online_craftgui' with light level 7
|
minetest.register_node('mymod:online_craftgui', {
description = 'Generates a static craftguide website',
tiles = {'default_torch.png'},
light_source = 7
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Register a basic node called 'mcl_speedrun' with description 'Speedrun features for MineClone2'
|
minetest.register_node('mymod:mcl_speedrun', {
description = 'Speedrun features for MineClone2',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Add the missing light_source field to make this node emit light
|
minetest.register_node('mymod:lamp', {
description = 'Lamp',
tiles = {'default_torch.png'}
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,4 +1,5 @@
minetest.register_node('mymod:lamp', {
description = 'Lamp',
- tiles = {'default_torch.png'}
+ tiles = {'default_torch.png'},
+ light_source = 11
})
|
repair
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Register a tool called 'texgen' with specified capabilities
|
minetest.register_tool('mymod:texgen', {
description = 'Dynamically generated texture packs',
inventory_image = 'texgen.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Register a basic node called 'worldeditadditi' with description 'Extra tools and commands to extend WorldEdit. Curr'
|
minetest.register_node('mymod:worldeditadditi', {
description = 'Extra tools and commands to extend WorldEdit. Curr',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Register a tool called 'halloween' with specified capabilities
|
minetest.register_tool('mymod:halloween', {
description = 'Adds Halloween candy and costumes.',
inventory_image = 'halloween.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Register a basic node called 'cinematic_zoom' with description 'Replaces the built-in zooming feature with a cool,'
|
minetest.register_node('mymod:cinematic_zoom', {
description = 'Replaces the built-in zooming feature with a cool,',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Create a light-emitting node 'nextgen_tinted_' with light level 11
|
minetest.register_node('mymod:nextgen_tinted_', {
description = 'Adds tinted glass that doesn't allow light to pass',
tiles = {'default_torch.png'},
light_source = 7
})
|
scaffold
|
|
Register a tool called 'clothing' with specified capabilities
|
minetest.register_tool('mymod:clothing', {
description = 'Add clothes to game, based on clothing from stu. F',
inventory_image = 'clothing.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Register a tool called 'canonical_name' with specified capabilities
|
minetest.register_tool('mymod:canonical_name', {
description = 'api to get the proper capitalization of a name',
inventory_image = 'canonical_name.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Create a light-emitting node 'openion_gloston' with light level 14
|
minetest.register_node('mymod:openion_gloston', {
description = 'Adds basic glostone-based building materials',
tiles = {'default_torch.png'},
light_source = 11
})
|
scaffold
|
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Add the missing light_source field to make this node emit light
|
minetest.register_node('mymod:lamp', {
description = 'Lamp',
tiles = {'default_torch.png'}
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,4 +1,5 @@
minetest.register_node('mymod:lamp', {
description = 'Lamp',
- tiles = {'default_torch.png'}
+ tiles = {'default_torch.png'},
+ light_source = 11
})
|
repair
|
Add the missing light_source field to make this node emit light
|
minetest.register_node('mymod:lamp', {
description = 'Lamp',
tiles = {'default_torch.png'}
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,4 +1,5 @@
minetest.register_node('mymod:lamp', {
description = 'Lamp',
- tiles = {'default_torch.png'}
+ tiles = {'default_torch.png'},
+ light_source = 11
})
|
repair
|
Register a tool called 'unified_invento' with specified capabilities
|
minetest.register_tool('mymod:unified_invento', {
description = 'Extends Unified Inventory',
inventory_image = 'unified_invento.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Register a basic node called 'mobconf' with description 'Place, remove and configure Mobs (for now: NPCs) u'
|
minetest.register_node('mymod:mobconf', {
description = 'Place, remove and configure Mobs (for now: NPCs) u',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Register a tool called 'baby_sun' with specified capabilities
|
minetest.register_tool('mymod:baby_sun', {
description = 'Makes the sun a cartoon shape with a baby face in ',
inventory_image = 'baby_sun.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Fix the missing tiles field in this node registration
|
minetest.register_node('mymod:broken', {
description = 'Broken Node'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,4 @@
minetest.register_node('mymod:broken', {
description = 'Broken Node',
+ tiles = {'default_stone.png'}
})
|
repair
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Add the missing light_source field to make this node emit light
|
minetest.register_node('mymod:lamp', {
description = 'Lamp',
tiles = {'default_torch.png'}
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,4 +1,5 @@
minetest.register_node('mymod:lamp', {
description = 'Lamp',
- tiles = {'default_torch.png'}
+ tiles = {'default_torch.png'},
+ light_source = 11
})
|
repair
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Using the provided API documentation, write code to register a node
|
minetest.register_node(name, definition)
Registers a node with the given name and definition table.
Required fields: description, tiles
|
minetest.register_node('mymod:example', {
description = 'Example Node',
tiles = {'default_dirt.png'}
})
|
doc
|
Create a light-emitting node 'afk_indicator' with light level 11
|
minetest.register_node('mymod:afk_indicator', {
description = 'API to check player AFK status',
tiles = {'default_torch.png'},
light_source = 7
})
|
scaffold
|
|
Register a basic node called 'tntrun' with description 'Players compete to be the last one standing on a l'
|
minetest.register_node('mymod:tntrun', {
description = 'Players compete to be the last one standing on a l',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Register a tool called 'gravitygun' with specified capabilities
|
minetest.register_tool('mymod:gravitygun', {
description = 'Gravitygun',
inventory_image = 'gravitygun.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
})
|
scaffold
|
|
Add the missing light_source field to make this node emit light
|
minetest.register_node('mymod:lamp', {
description = 'Lamp',
tiles = {'default_torch.png'}
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,4 +1,5 @@
minetest.register_node('mymod:lamp', {
description = 'Lamp',
- tiles = {'default_torch.png'}
+ tiles = {'default_torch.png'},
+ light_source = 11
})
|
repair
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Fix the syntax error in this tool registration
|
minetest.register_tool('mymod:pick' {
description = 'Pickaxe'
})
|
--- a/file.lua
+++ b/file.lua
@@ -1,3 +1,3 @@
-minetest.register_tool('mymod:pick' {
+minetest.register_tool('mymod:pick', {
description = 'Pickaxe'
})
|
repair
|
Create a light-emitting node 'mobs_mime' with light level 3
|
minetest.register_node('mymod:mobs_mime', {
description = 'adds a monster mimicking its surrounding nodes.',
tiles = {'default_torch.png'},
light_source = 11
})
|
scaffold
|
|
Use this API to create a tool with the specified properties
|
minetest.register_tool(name, definition)
tool_capabilities = {
full_punch_interval = <number>,
max_drop_level = <number>
}
|
minetest.register_tool('mymod:hammer', {
description = 'Hammer',
inventory_image = 'hammer.png',
tool_capabilities = {
full_punch_interval = 1.2,
max_drop_level = 2
}
})
|
doc
|
Register a basic node called 'time_travel' with description 'Adds in a craftable time machine that can be used '
|
minetest.register_node('mymod:time_travel', {
description = 'Adds in a craftable time machine that can be used ',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Create a light-emitting node 'phonograph_albu' with light level 14
|
minetest.register_node('mymod:phonograph_albu', {
description = 'Songs composed by Diarmuid',
tiles = {'default_torch.png'},
light_source = 7
})
|
scaffold
|
|
Register a basic node called 'quarry_link' with description 'Enables use of Quarry Mechanics with the stone-lik'
|
minetest.register_node('mymod:quarry_link', {
description = 'Enables use of Quarry Mechanics with the stone-lik',
tiles = {'default_stone.png'}
})
|
scaffold
|
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
Create a light-emitting node 'mosscarpets' with light level 3
|
minetest.register_node('mymod:mosscarpets', {
description = 'Moss carpets based on Ethereal mosses',
tiles = {'default_torch.png'},
light_source = 3
})
|
scaffold
|
|
Implement a node that uses the light_source property from the documentation
|
Node definition fields:
- light_source: integer from 0-14, amount of light emitted
- tiles: array of texture names
- description: human readable name
|
minetest.register_node('mymod:glowstone', {
description = 'Glowing Stone',
tiles = {'glowstone.png'},
light_source = 9
})
|
doc
|
End of preview. Expand
in Data Studio
Luanti Capability Training Dataset
Description
Luanti Capability Training Dataset for Luanti (Minetest) expertise fine-tuning.
Dataset Information
- Size: 600 entries
- Format: Harmony format for LLM fine-tuning
- Source: Luanti ContentDB package collection
- Quality: Filtered and validated Luanti package metadata
Usage
from datasets import load_dataset
dataset = load_dataset("ToddLLM/luanti-capability-training")
print(dataset)
Schema
Each entry contains:
text
: Package information in structured formatsource
: "Luanti ContentDB"metadata
: Additional structured information
License
Apache 2.0 - Safe for commercial and research use.
Generated as part of the Luanti Fine-tuning Project.
- Downloads last month
- 97