From feacdc4bffed6984e2e95a9214946cf6b0b52181 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 6 Mar 2015 12:07:48 +0100 Subject: [PATCH] Add connect_to_raillike info into game_api.txt --- game_api.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/game_api.txt b/game_api.txt index 4d4b579b..dd4b8f23 100644 --- a/game_api.txt +++ b/game_api.txt @@ -157,6 +157,25 @@ xpanes.register_pane(subname, def) ^ Recipe field only } +Raillike definitions +-------------------- +The following nodes use the group `connect_to_raillike` and will only connect to +raillike nodes within this group and the same group value: + +| Node type | Group value ++-----------------------+------------ +| default:rail | 2 + +This is an overview of currently used groups: +| Group value | Description ++---------------+------------ +| 2 | Rails + +Example: +If you want to add a new rail type and want it to connect with default:rail, +add `connect_to_raillike=2` into the `groups` table of your node. + + Default sounds -------------- Sounds inside the default table can be used within the sounds field of node definitions.