aboutsummaryrefslogtreecommitdiff
path: root/builtin/client
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2020-12-28 12:56:58 +0000
committerGitHub <noreply@github.com>2020-12-28 13:56:58 +0100
commit55dba1bc6d90c90ddd77d60f4760e34e28a6382f (patch)
tree4b2d7be34f9374e9d0c7be66baaa1724d6ac63c1 /builtin/client
parent8f72d4b2940f0bd5486e38bd58127d14a1762be8 (diff)
downloadminetest-55dba1bc6d90c90ddd77d60f4760e34e28a6382f.tar.gz
minetest-55dba1bc6d90c90ddd77d60f4760e34e28a6382f.tar.bz2
minetest-55dba1bc6d90c90ddd77d60f4760e34e28a6382f.zip
Display Minetest header when menu_last_game value isn't available anymore (#10751)
Diffstat (limited to 'builtin/client')
0 files changed, 0 insertions, 0 deletions
21' href='#n121'>121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
--couple.lua
--defines couple entities.

--advtrains:discouple
--set into existing trains to split them when punched.
--they are attached to the wagons.
--[[fields
wagon

wagons keep their couple entity minetest-internal id inside the field discouple_id. if it refers to nowhere, they will spawn a new one if player is near
]]
local print=function(t, ...) minetest.log("action", table.concat({t, ...}, " ")) minetest.chat_send_all(table.concat({t, ...}, " ")) end


minetest.register_entity("advtrains:discouple", {