Difference between revisions of "Games/Development Test"
m (Deleted extra newline) |
(→Food: minetest.* → core.*) |
||
(27 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Languages | + | {{Languages|nocat=1}} |
− | |||
{{Game Data | {{Game Data | ||
| image=Minimal_game_Icon.png | | image=Minimal_game_Icon.png | ||
− | | name= | + | | name=Development Test |
− | | type= | + | | type=Testing |
− | | author= | + | | author=Luanti Developers |
− | | version= | + | | version=''same as Luanti's version'' |
| forum=(None) | | forum=(None) | ||
− | | source= [https://github.com/minetest/minetest/tree/master/games/ | + | | source= [https://github.com/minetest/minetest/tree/master/games/devtest GitHub] |
− | | luaname= | + | | luaname=devtest |
}} | }} | ||
+ | The '''Development Test''' (or “'''DevTest'''” for short) is a test “[[games|game]]” for Luanti which is only intended to be used by developers. '''This is not a real playable game and not meant for players.''' It's meant for development (both core developers, and modders which want fast startup for testing mods). | ||
− | + | DevTest appears in your game list when you play the development version of Luanti. You can also manually install it from ContentDB. | |
− | + | [[File:Development Test.jpg|450px|thumb|Screenshot of Development Test]] | |
− | [[Category: | + | == Overview == |
+ | Development Test contains a very basic mapgen and numerous nodes, items, settings and commands primarily intended for testing Luanti. | ||
+ | |||
+ | == Scope/Purpose == | ||
+ | The primary purpose of Development Test is to help Luanti developers and testers to test Luanti, i.e. the node properties, item behavior, mapgen, and other stuff that you can influence with Lua code. | ||
+ | |||
+ | The secondary purpose is to aid with developing simple mods that have no dependencies. It's a good simple way to test if your mod still works in a different environment. | ||
+ | |||
+ | A cornerstone of Develpment Test is the Principle of Least Interference. This means that Development Test tries to screw as little as possible with the default Luanti behavior, unless the user explicitly enabled it. This should therefore make it a relatively safe environment to test your mods in. | ||
+ | |||
+ | Development Test is NOT meant as a template for new games. | ||
+ | |||
+ | == Usage == | ||
+ | Just create a world and start messing around! Put down the Chest of Everything and grab items for testing stuff. If you have no Chest of Everything, use the <code>/stuff</code> [[Server commands|command]] to get it (along with other initial items). | ||
+ | |||
+ | == Detailed help == | ||
+ | Detailed help can be found in the [https://github.com/minetest/minetest/blob/master/games/devtest/README.md README] files found in the Development Test game directory. The following sections only give an overview of the features. | ||
+ | |||
+ | == Features == | ||
+ | Developent Test includes a lot of things for testing. This includes items, commands and settings. This section gives only an overview, and is not a full description. | ||
+ | |||
+ | === Items === | ||
+ | There are many items. This section does not list all of them, but only the types of items. | ||
+ | |||
+ | * Bag/Chest of Everything | ||
+ | * Test tools | ||
+ | * Mining tools | ||
+ | * Test food | ||
+ | * Mapgen nodes | ||
+ | * Test nodes | ||
+ | * Dummy items and nodes | ||
+ | |||
+ | ==== Bag of Everything ==== | ||
+ | Item that contains every item. Punch to access. | ||
+ | |||
+ | ==== Chest of Everything ==== | ||
+ | Placable block that contains every item. Rightclick to access. | ||
+ | |||
+ | ==== Test tools ==== | ||
+ | Tools that allow you to test one particular feature. Examples are the Param2 Tool and the Object Property Editor. | ||
+ | |||
+ | The tools can be used with multiple keys and do different things, depending on which keys you press. These are the possible key combinations: | ||
+ | |||
+ | * Punch | ||
+ | * Place | ||
+ | * Sneak+Punch | ||
+ | * Sneak+Place | ||
+ | * Aux1+Sneak+Punch | ||
+ | * Aux1+Sneak+Place | ||
+ | |||
+ | Not all tools use all possible key combinations, most of them only use a few of them. | ||
+ | |||
+ | [https://github.com/minetest/minetest/tree/master/games/devtest/mods/testtools/README.md Read the Test Tools README!] | ||
+ | |||
+ | ==== Mining tools ==== | ||
+ | Tools made to test mining/digging blocks. Tool wear is activated. | ||
+ | |||
+ | ==== Food ==== | ||
+ | Items to test <code>core.item_eat</code>. Use punch key to eat. | ||
+ | |||
+ | ==== Mapgen nodes ==== | ||
+ | Nodes whose primary function is to be used by the mapgen to generate the world: Stone, water, dirt, sand, ... | ||
+ | |||
+ | ==== Test nodes ==== | ||
+ | Nodes that each test one particular feature from nodes, mainly the different drawtypes, rendering, but also gameplay features like damage. | ||
+ | |||
+ | Hint: Use the Param2 tool to change the param2 of nodes. This is relevant for many drawtype test nodes like Wallmounted Test Node. | ||
+ | |||
+ | ==== Dummy items and nodes ==== | ||
+ | A set of items that only exist as placeholder to test something different, for example formspecs or crafting. | ||
+ | |||
+ | === Commands === | ||
+ | For convenience, Development Test offers a few commands that add even more tests, but also simple convenience features. | ||
+ | |||
+ | The most useful command is “/stuff”, which gives you the Chest of Everything and other initial items (should you have lost them). | ||
+ | |||
+ | The most notable test is the formspec test, a command which opens a test formspec that allow you to test all those formspec elements. | ||
+ | |||
+ | Say “/help all” in chat to see the full list of commands, just like in any other game. | ||
+ | |||
+ | === Settings === | ||
+ | The settings allow you to set some usage details to make your life a little easier (or harder). | ||
+ | |||
+ | The settings allow you to turn on automated tests that run on each start. Apart from that, the settings also control some mapgen details, and some minor stuff. | ||
+ | |||
+ | Go into Luanti's “All Settings” menu in the main menu to access the settings. | ||
+ | |||
+ | [[Category:Games]] |
Latest revision as of 19:37, 28 October 2024
Language: | English |
---|
Development Test | |
---|---|
A game | |
Game Type | Testing |
Author | Luanti Developers |
Latest version | same as Luanti's version |
Forum topic | (None) |
Source code | GitHub |
The Development Test (or “DevTest” for short) is a test “game” for Luanti which is only intended to be used by developers. This is not a real playable game and not meant for players. It's meant for development (both core developers, and modders which want fast startup for testing mods).
DevTest appears in your game list when you play the development version of Luanti. You can also manually install it from ContentDB.
Overview
Development Test contains a very basic mapgen and numerous nodes, items, settings and commands primarily intended for testing Luanti.
Scope/Purpose
The primary purpose of Development Test is to help Luanti developers and testers to test Luanti, i.e. the node properties, item behavior, mapgen, and other stuff that you can influence with Lua code.
The secondary purpose is to aid with developing simple mods that have no dependencies. It's a good simple way to test if your mod still works in a different environment.
A cornerstone of Develpment Test is the Principle of Least Interference. This means that Development Test tries to screw as little as possible with the default Luanti behavior, unless the user explicitly enabled it. This should therefore make it a relatively safe environment to test your mods in.
Development Test is NOT meant as a template for new games.
Usage
Just create a world and start messing around! Put down the Chest of Everything and grab items for testing stuff. If you have no Chest of Everything, use the /stuff
command to get it (along with other initial items).
Detailed help
Detailed help can be found in the README files found in the Development Test game directory. The following sections only give an overview of the features.
Features
Developent Test includes a lot of things for testing. This includes items, commands and settings. This section gives only an overview, and is not a full description.
Items
There are many items. This section does not list all of them, but only the types of items.
- Bag/Chest of Everything
- Test tools
- Mining tools
- Test food
- Mapgen nodes
- Test nodes
- Dummy items and nodes
Bag of Everything
Item that contains every item. Punch to access.
Chest of Everything
Placable block that contains every item. Rightclick to access.
Test tools
Tools that allow you to test one particular feature. Examples are the Param2 Tool and the Object Property Editor.
The tools can be used with multiple keys and do different things, depending on which keys you press. These are the possible key combinations:
- Punch
- Place
- Sneak+Punch
- Sneak+Place
- Aux1+Sneak+Punch
- Aux1+Sneak+Place
Not all tools use all possible key combinations, most of them only use a few of them.
Mining tools
Tools made to test mining/digging blocks. Tool wear is activated.
Food
Items to test core.item_eat
. Use punch key to eat.
Mapgen nodes
Nodes whose primary function is to be used by the mapgen to generate the world: Stone, water, dirt, sand, ...
Test nodes
Nodes that each test one particular feature from nodes, mainly the different drawtypes, rendering, but also gameplay features like damage.
Hint: Use the Param2 tool to change the param2 of nodes. This is relevant for many drawtype test nodes like Wallmounted Test Node.
Dummy items and nodes
A set of items that only exist as placeholder to test something different, for example formspecs or crafting.
Commands
For convenience, Development Test offers a few commands that add even more tests, but also simple convenience features.
The most useful command is “/stuff”, which gives you the Chest of Everything and other initial items (should you have lost them).
The most notable test is the formspec test, a command which opens a test formspec that allow you to test all those formspec elements.
Say “/help all” in chat to see the full list of commands, just like in any other game.
Settings
The settings allow you to set some usage details to make your life a little easier (or harder).
The settings allow you to turn on automated tests that run on each start. Apart from that, the settings also control some mapgen details, and some minor stuff.
Go into Luanti's “All Settings” menu in the main menu to access the settings.