diff options
author | Christian Danscheid <Christian_D_97@gmx.de> | 2013-08-10 19:23:52 +0200 |
---|---|---|
committer | Christian Danscheid <Christian_D_97@gmx.de> | 2013-08-10 19:23:52 +0200 |
commit | 7bda846ea7f8c3ad127b167e6c7a797bfd46f73f (patch) | |
tree | 37c4d4cc80cb2b11452d24df057e485c54687eb4 /streetsmod | |
download | roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.gz roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.bz2 roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.tar.xz roads-7bda846ea7f8c3ad127b167e6c7a797bfd46f73f.zip |
Initial commit
Diffstat (limited to 'streetsmod')
-rw-r--r-- | streetsmod/depends.txt | 1 | ||||
-rw-r--r-- | streetsmod/init.lua | 47 | ||||
-rw-r--r-- | streetsmod/readme.txt | 1 |
3 files changed, 49 insertions, 0 deletions
diff --git a/streetsmod/depends.txt b/streetsmod/depends.txt new file mode 100644 index 0000000..331d858 --- /dev/null +++ b/streetsmod/depends.txt @@ -0,0 +1 @@ +default
\ No newline at end of file diff --git a/streetsmod/init.lua b/streetsmod/init.lua new file mode 100644 index 0000000..f5649bc --- /dev/null +++ b/streetsmod/init.lua @@ -0,0 +1,47 @@ +--[[ + StreetsMod 1.1 by webdesigner97: + License : CC-BY-NC (see license.txt) + Readme : see readme.txt + Forum : http://bit.ly/12cPMeo + Depends : default +]] +-- Create variables and tables + print("Streets: Creating variables and tables...") + streets = {} + streets.version = 1.3 + streets.modpath = minetest.get_modpath("streets") + streets.extendedBy = {} + +-- Check for mods which change this mod's beahaviour + print("Streets: Checking installed mods...") + if minetest.get_modpath("wool") then + print("'Wool' is installed \n\t => You can craft labels for your asphalt blocks") + streets.extendedBy.wool = true + else + print("'Wool' not installed \n\t => You can't craft any labels") + streets.extendedBy.wool = false + end + if minetest.get_modpath("technic") then + print("'Technic' is installed \n\t => You can use its concrete also in this mod") + streets.extendedBy.technic = true + else + print("'Technic' not installed \n\t => StreetsMod will register its own concrete block") + streets.extendedBy.technic = false + end + if minetest.get_modpath("stairs") then + print("'Stairs' is installed \n\t => There will be stairs and slabs'") + streets.extendedBy.stairs = true + else + print("'Stairs' not installed \n\t => There won't be stairs and slabs'") + streets.extendedBy.stairs = false + end + if minetest.get_modpath("bucket") then + print("'Bucket' is installed \n\t => All signs are available") + streets.extendedBy.bucket = true + else + print("'Bucket' not installed \n\t => No signs available") + streets.extendedBy.bucket = false + end + +-- Done + print("Streets: Setup completed, have fun with StreetsMod ".. streets.version .."!")
\ No newline at end of file diff --git a/streetsmod/readme.txt b/streetsmod/readme.txt new file mode 100644 index 0000000..a2c9172 --- /dev/null +++ b/streetsmod/readme.txt @@ -0,0 +1 @@ +This is the first loaded mod in this modpack which prepares tables, variables etc.
\ No newline at end of file |