index
:
advtrains.git
atcjit
cesky-hvozd-new
doc
l10n
luaatcdebug
master
profiler
tracy
trainhud
trainhud-unifont
Advtrains mod for minetest.
orwell
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
advtrains
/
models
/
advtrains_signal_60.b3d
diff options
context:
1
2
3
4
5
6
7
8
9
10
15--digtron.lua
--make tracks placeable by digtrons by overriding the place function.
local
old_item_place
=
digtron
.
item_place_node digtron
.
item_place_node
=
function
(
itemstack
,
placer
,
place_to
,
param2
)
if
minetest
.
get_item_group
(
itemstack
:
get_name
(),
"advtrains_trackplacer"
)>
0
then
return
advtrains
.
pcall
(
function
()
local
def
=
minetest
.
registered_items
[
itemstack
: