instruction stringlengths 46 115 | input stringclasses 7 values | output stringlengths 107 263 | family stringclasses 3 values |
|---|---|---|---|
Register a basic node called 'goops_scraps' with description 'Allows to recycle metal tools' | minetest.register_node('mymod:goops_scraps', {
description = 'Allows to recycle metal tools',
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 |
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 'good_morning_cr' with light level 3 | minetest.register_node('mymod:good_morning_cr', {
description = 'A simple yet quirky texture pack by Louis Durrant',
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 |
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 |
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 |
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 basic node called 'make_sense' with description 'Adds missing crafting recipes that should exist' | minetest.register_node('mymod:make_sense', {
description = 'Adds missing crafting recipes that should exist',
tiles = {'default_stone.png'}
}) | scaffold | |
Register a tool called 'formspec_editor' with specified capabilities | minetest.register_tool('mymod:formspec_editor', {
description = 'A Realtime in-game formspec viewer/editor',
inventory_image = 'formspec_editor.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | scaffold | |
Register a basic node called 'axistools' with description 'All the functionality of tinkers construct, but al' | minetest.register_node('mymod:axistools', {
description = 'All the functionality of tinkers construct, but al',
tiles = {'default_stone.png'}
}) | scaffold | |
Register a basic node called 'more_up_packs' with description 'Upgrade your upgrade packs so you can have even hi' | minetest.register_node('mymod:more_up_packs', {
description = 'Upgrade your upgrade packs so you can have even hi',
tiles = {'default_stone.png'}
}) | scaffold | |
Register a basic node called 'hud_timers' with description 'A lightweight library for adding hud timers.' | minetest.register_node('mymod:hud_timers', {
description = 'A lightweight library for adding hud timers.',
tiles = {'default_stone.png'}
}) | scaffold | |
Register a basic node called 'railgun' with description ' Colorable railgun using raycast and particles ' | minetest.register_node('mymod:railgun', {
description = ' Colorable railgun using raycast and particles ',
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 |
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 |
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 |
Register a tool called 'an_televator' with specified capabilities | minetest.register_tool('mymod:an_televator', {
description = 'Simple lag-free teleporting elevators.',
inventory_image = 'an_televator.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | scaffold | |
Register a tool called 'craft_table' with specified capabilities | minetest.register_tool('mymod:craft_table', {
description = 'Add Craft Table',
inventory_image = 'craft_table.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | scaffold | |
Register a basic node called 'tidesandfloods' with description '[WIP] [Warning: read full description] Adds the /s' | minetest.register_node('mymod:tidesandfloods', {
description = '[WIP] [Warning: read full description] Adds the /s',
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 |
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 |
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 |
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 'simple_skins' with description 'Allows players to set their individual skins from ' | minetest.register_node('mymod:simple_skins', {
description = 'Allows players to set their individual skins from ',
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 |
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 'random_messages' with light level 3 | minetest.register_node('mymod:random_messages', {
description = 'Register random announcements',
tiles = {'default_torch.png'},
light_source = 3
}) | scaffold | |
Register a tool called 'weedstone' with specified capabilities | minetest.register_tool('mymod:weedstone', {
description = 'Originally meant to be a simple electronics type m',
inventory_image = 'weedstone.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | 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 |
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 'go' with description 'A game of Go' | minetest.register_node('mymod:go', {
description = 'A game of Go',
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 |
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 |
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 |
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 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 |
Register a tool called 'asrs' with specified capabilities | minetest.register_tool('mymod:asrs', {
description = 'Adds an automated storage and retrieval system to ',
inventory_image = 'asrs.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | scaffold | |
Register a tool called 'guns4dworkbench' with specified capabilities | minetest.register_tool('mymod:guns4dworkbench', {
description = 'Craft guns and their components with an added work',
inventory_image = 'guns4dworkbench.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | scaffold | |
Register a tool called 'stellua' with specified capabilities | minetest.register_tool('mymod:stellua', {
description = 'A sandbox game about exploring alien planets and b',
inventory_image = 'stellua.png',
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level = 1
}
}) | scaffold | |
Create a light-emitting node 'aephorus' with light level 7 | minetest.register_node('mymod:aephorus', {
description = 'Simple, pixelish, cartoonish and vibrant texture p',
tiles = {'default_torch.png'},
light_source = 7
}) | 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 |
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 |
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 |
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 'livingnether' with specified capabilities | minetest.register_tool('mymod:livingnether', {
description = 'Adds various creatures to your Nether.',
inventory_image = 'livingnether.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 |
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 |
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.