mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +01:00
Rename to Minetest Game
Rename in game.conf and documentation Update game_api.txt documentation for bucket API and tree functions Fix tab, space and comment formatting in game_api.txt Rename in mod READMEs
This commit is contained in:
parent
93a2c40ebc
commit
8e51f318b3
21
README.txt
21
README.txt
@ -1,22 +1,23 @@
|
|||||||
The main game for the Minetest game engine [minetest_game]
|
Minetest Game [minetest_game]
|
||||||
==========================================================
|
=============================
|
||||||
|
The main subgame for the Minetest engine
|
||||||
|
========================================
|
||||||
|
|
||||||
To use this game with Minetest, insert this repository as
|
To use this subgame with the Minetest engine, insert this repository as
|
||||||
/games/minetest_game
|
/games/minetest_game
|
||||||
in the Minetest Engine.
|
|
||||||
|
|
||||||
The Minetest Engine can be found in:
|
The Minetest engine can be found in:
|
||||||
https://github.com/minetest/minetest/
|
https://github.com/minetest/minetest/
|
||||||
|
|
||||||
Compatibility
|
Compatibility
|
||||||
--------------
|
--------------
|
||||||
The minetest_game github master HEAD is generally compatible with the github
|
The Minetest Game github master HEAD is generally compatible with the github
|
||||||
master HEAD of minetest.
|
master HEAD of the Minetest engine.
|
||||||
|
|
||||||
Additionally, when the minetest engine is tagged to be a certain version (eg.
|
Additionally, when the Minetest engine is tagged to be a certain version (eg.
|
||||||
0.4.10), minetest_game is tagged with the version too.
|
0.4.10), Minetest Game is tagged with the version too.
|
||||||
|
|
||||||
When stable releases are made, minetest_game is packaged and made available in
|
When stable releases are made, Minetest Game is packaged and made available in
|
||||||
http://minetest.net/download
|
http://minetest.net/download
|
||||||
and in case the repository has grown too much, it may be reset. In that sense,
|
and in case the repository has grown too much, it may be reset. In that sense,
|
||||||
this is not a "real" git repository. (Package maintainers please note!)
|
this is not a "real" git repository. (Package maintainers please note!)
|
||||||
|
47
game_api.txt
47
game_api.txt
@ -1,11 +1,11 @@
|
|||||||
minetest_game API
|
Minetest Game API
|
||||||
======================
|
=================
|
||||||
GitHub Repo: https://github.com/minetest/minetest_game
|
GitHub Repo: https://github.com/minetest/minetest_game
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
The minetest_game gamemode offers multiple new possibilities in addition to Minetest's built-in API, allowing you to
|
The Minetest Game subgame offers multiple new possibilities in addition to the Minetest engine's built-in API,
|
||||||
add new plants to farming mod, buckets for new liquids, new stairs and custom panes.
|
allowing you to add new plants to farming mod, buckets for new liquids, new stairs and custom panes.
|
||||||
For information on the Minetest API, visit https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
|
For information on the Minetest API, visit https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
|
||||||
Please note:
|
Please note:
|
||||||
[XYZ] refers to a section the Minetest API
|
[XYZ] refers to a section the Minetest API
|
||||||
@ -17,11 +17,12 @@ Bucket API
|
|||||||
The bucket API allows registering new types of buckets for non-default liquids.
|
The bucket API allows registering new types of buckets for non-default liquids.
|
||||||
|
|
||||||
bucket.register_liquid(
|
bucket.register_liquid(
|
||||||
"default:lava_source", -- Source node name
|
"default:lava_source", -- name of the source node
|
||||||
"default:lava_flowing", -- Flowing node name
|
"default:lava_flowing", -- name of the flowing node
|
||||||
"bucket:bucket_lava", -- Name to be used for bucket
|
"bucket:bucket_lava", -- name of the new bucket item (or nil if liquid is not takeable)
|
||||||
"bucket_lava.png", -- Bucket texture (for wielditem and inventory_image)
|
"bucket_lava.png", -- texture of the new bucket item (ignored if itemname == nil)
|
||||||
"Lava Bucket" -- Bucket description
|
"Lava Bucket", -- text description of the bucket item
|
||||||
|
{lava_bucket = 1} -- groups of the bucket item, OPTIONAL
|
||||||
)
|
)
|
||||||
|
|
||||||
Beds API
|
Beds API
|
||||||
@ -216,7 +217,7 @@ raillike nodes within this group and the same group value.
|
|||||||
Use `minetest.raillike_group(<Name>)` to get the group value.
|
Use `minetest.raillike_group(<Name>)` to get the group value.
|
||||||
|
|
||||||
| Node type | Raillike group name
|
| Node type | Raillike group name
|
||||||
+-----------------------+----------------------------------
|
+-----------------------+--------------------
|
||||||
| default:rail | "rail"
|
| default:rail | "rail"
|
||||||
| tnt:gunpowder | "gunpowder"
|
| tnt:gunpowder | "gunpowder"
|
||||||
| tnt:gunpowder_burning | "gunpowder"
|
| tnt:gunpowder_burning | "gunpowder"
|
||||||
@ -283,11 +284,11 @@ Model Definition
|
|||||||
{
|
{
|
||||||
animation_speed = 30, -- Default animation speed, in FPS.
|
animation_speed = 30, -- Default animation speed, in FPS.
|
||||||
textures = {"character.png", }, -- Default array of textures.
|
textures = {"character.png", }, -- Default array of textures.
|
||||||
visual_size = {x=1, y=1,}, -- Used to scale the model.
|
visual_size = {x = 1, y = 1}, -- Used to scale the model.
|
||||||
animations = {
|
animations = {
|
||||||
-- <anim_name> = { x=<start_frame>, y=<end_frame>, },
|
-- <anim_name> = {x = <start_frame>, y = <end_frame>},
|
||||||
foo = { x= 0, y=19, },
|
foo = {x = 0, y = 19},
|
||||||
bar = { x=20, y=39, },
|
bar = {x = 20, y = 39},
|
||||||
-- ...
|
-- ...
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -375,10 +376,22 @@ dye.excolors
|
|||||||
Trees
|
Trees
|
||||||
-----
|
-----
|
||||||
default.grow_tree(pos, is_apple_tree)
|
default.grow_tree(pos, is_apple_tree)
|
||||||
^ Grows a tree or apple tree at pos
|
^ Grows a mgv6 tree or apple tree at pos
|
||||||
|
|
||||||
default.grow_jungle_tree(pos)
|
default.grow_jungle_tree(pos)
|
||||||
^ Grows a jungletree at pos
|
^ Grows a mgv6 jungletree at pos
|
||||||
|
|
||||||
default.grow_pine_tree(pos)
|
default.grow_pine_tree(pos)
|
||||||
^ Grows a pinetree at pos
|
^ Grows a mgv6 pinetree at pos
|
||||||
|
|
||||||
|
default.grow_new_apple_tree(pos)
|
||||||
|
^ Grows a new design apple tree at pos
|
||||||
|
|
||||||
|
default.grow_new_jungle_tree(pos)
|
||||||
|
^ Grows a new design jungle tree at pos
|
||||||
|
|
||||||
|
default.grow_new_pine_tree(pos)
|
||||||
|
^ Grows a new design pine tree at pos
|
||||||
|
|
||||||
|
default.grow_new_acacia_tree(pos)
|
||||||
|
^ Grows a new design acacia tree at pos
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
# This file contains settings of minetest_game that can be changed in
|
# This file contains settings of Minetest Game that can be changed in minetest.conf
|
||||||
# minetest.conf
|
|
||||||
#
|
|
||||||
# By default, all the settings are commented and not functional.
|
# By default, all the settings are commented and not functional.
|
||||||
# Uncomment settings by removing the preceding #.
|
# Uncomment settings by removing the preceding #.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest mod "Beds"
|
Minetest Game mod: beds
|
||||||
===================
|
=======================
|
||||||
by BlockMen (c) 2014-2015
|
by BlockMen (c) 2014-2015
|
||||||
|
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Minetest 0.4 mod: boats
|
Minetest Game mod: boats
|
||||||
=======================
|
========================
|
||||||
by PilzAdam, slightly modified for NeXt
|
by PilzAdam
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: bones
|
Minetest Game mod: bones
|
||||||
=======================
|
========================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Minetest 0.4 mod: bucket
|
Minetest Game mod: bucket
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: creative
|
Minetest Game mod: creative
|
||||||
==========================
|
===========================
|
||||||
|
|
||||||
Implements creative mode.
|
Implements creative mode.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Minetest 0.4 mod: default
|
Minetest Game mod: default
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: doors
|
Minetest Game mod: doors
|
||||||
=======================
|
========================
|
||||||
version: 1.3
|
version: 1.3
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Minetest 0.4 mod: dye
|
Minetest Game mod: dye
|
||||||
======================
|
======================
|
||||||
|
|
||||||
See init.lua for documentation.
|
See init.lua for documentation.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: farming
|
Minetest Game mod: farming
|
||||||
=========================
|
==========================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: fire
|
Minetest Game mod: fire
|
||||||
======================
|
=======================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: flowers
|
Minetest Game mod: flowers
|
||||||
=========================
|
==========================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest mod: screwdriver
|
Minetest Game mod: screwdriver
|
||||||
=========================
|
==============================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Minetest 0.4 mod: stairs
|
Minetest Game mod: stairs
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
License of source code:
|
License of source code:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
=== TNT mod for Minetest ===
|
Minetest Game mod: tnt
|
||||||
|
======================
|
||||||
by PilzAdam and ShadowNinja
|
by PilzAdam and ShadowNinja
|
||||||
|
|
||||||
Introduction:
|
Introduction:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Minetest 0.4 mod: vessels
|
Minetest Game mod: vessels
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
Crafts
|
Crafts
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4 mod: wool
|
Minetest Game mod: wool
|
||||||
======================
|
=======================
|
||||||
|
|
||||||
Mostly backward-compatible with jordach's 16-color wool mod.
|
Mostly backward-compatible with jordach's 16-color wool mod.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Minetest 0.4.x mod: xpanes
|
Minetest Game mod: xpanes
|
||||||
==========================
|
=========================
|
||||||
|
|
||||||
License:
|
License:
|
||||||
--------
|
--------
|
||||||
|
Loading…
Reference in New Issue
Block a user