projects
/
smartshop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e970a96
)
forgot to switch back
author
Gabriel Pérez-Cerezo
<gabriel@gpcf.eu>
Sat, 18 Nov 2017 22:40:06 +0000
(23:40 +0100)
committer
Gabriel Pérez-Cerezo
<gabriel@gpcf.eu>
Sat, 18 Nov 2017 22:40:06 +0000
(23:40 +0100)
init.lua
patch
|
blob
|
history
diff --git
a/init.lua
b/init.lua
index
5415438
..
dd71375
100644
(file)
--- a/
init.lua
+++ b/
init.lua
@@
-390,7
+390,7
@@
on_construct = function(pos)
meta:get_inventory():set_size("pay3", 1)
\r
meta:get_inventory():set_size("give4", 1)
\r
meta:get_inventory():set_size("pay4", 1)
\r
- meta:set_int("ghost",
0
)
\r
+ meta:set_int("ghost",
1
)
\r
end,
\r
on_rightclick = function(pos, node, player, itemstack, pointed_thing)
\r
smartshop.showform(pos,player)
\r