text/html; charset=UTF-8 Last-Modified: Sun, 29 Nov 2026 19:07:20 GMT Expires: Wed, 26 Nov 2036 19:07:20 GMT Merge branch 'master' of https://github.com/orwell96/advtrains - advtrains.git - Advtrains mod for minetest.
aboutsummaryrefslogtreecommitdiff
path: root/advtrains_itrainmap/textures
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-06-19 10:40:41 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-06-19 10:40:41 +0200
commit85b22333c5fd2b1105434d3c9aee98eabffee906 (patch)
tree404caebea6fdad4878d8cdcf5b3b01a1ca2e7bf9 /advtrains_itrainmap/textures
parent816d97e1a6c9b7823ce5bb955f9c62e8627cd098 (diff)
parenta5942bdf465eb24f460f192e9097d67f24c0ced2 (diff)
Merge branch 'master' of https://github.com/orwell96/advtrains
Diffstat (limited to 'advtrains_itrainmap/textures')
0 files changed, 0 insertions, 0 deletions
al artificial = minetest.get_artificial_light(node.param1) local message = ("pos=%s | param1=0x%02x | " .. "sunlight=%d | artificial=%d | timeofday=%.5f" ) :format(pstr, node.param1, sunlight, artificial, time) minetest.chat_send_player(user:get_player_name(), message) end end minetest.register_tool("testtools:lighttool", { description = S("Light Tool") .. "\n" .. S("Show light values of node") .. "\n" .. S("Punch: Light of node above touched node") .. "\n" .. S("Place: Light of touched node itself"), inventory_image = "testtools_lighttool.png", groups = { testtool = 1, disable_repair = 1 }, on_use = get_func(false), on_place = get_func(true), })