index
:
minetest.git
gpcf
lifo-fixes
release
modified minetest for gpcfs purposes
gpcf
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
content_cso.cpp
diff options
context:
1
2
3
4
5
6
local modpath
=
minetest
.
get_modpath
(
"currency"
)
-- internationalization boilerplate
local
S
,
NS
=
dofile
(
modpath
..
"/intllib.lua"
)
minetest
.
log
(
"info"
,
S
(
"Currency mod loading..."
))
dofile
(
modpath
..
"/craftitems.lua"
)
minetest
.
log
(
(
modpath
..
"/shop.lua"
)
minetest
.
log
(
"info"
,
S
(
"[Currency] Shop Loaded!"
))
dofile
(
modpath
..
"/barter.lua"
)
minetest
.
log
(
"info"
,
S
(
"[Currency] Barter Loaded!"
))
dofile
(
modpath
..
"/safe.lua"
)
minetest
.
log
(
"info"
,
S
(
"[Currency] Safe Loaded!"
))
dofile
(
modpath
..
"/crafting.lua"
)
minetest
.
log
(
"info"
,
S
(
"[Currency] Crafting Loaded!"
))
if
minetest
.
setting_getbool
(
"creative_mode"
)
then
minetest
.
log
(
"info"
,
S
(
"[Currency] Creative mode in use, skipping basic income."
))
else
dofile
(
modpath
..
"/income.lua"
)
minetest
.
log
(
"info"
,
S
(
"[Currency] Income Loaded!"
))
end