Added mod named "core"
included 3d player, creative, helper_functions, item_drop and seasons
This commit is contained in:
parent
f6203c0ec9
commit
7aa70d16c8
@ -1,4 +1,3 @@
|
||||
default
|
||||
metals
|
||||
helper_functions
|
||||
instruments
|
||||
|
@ -1,2 +1 @@
|
||||
default
|
||||
helper_functions
|
||||
|
@ -1,5 +1,5 @@
|
||||
table.contains = function(t, v)
|
||||
for _, i in ipairs(t) do
|
||||
function table:contains(v)
|
||||
for _, i in ipairs(self) do
|
||||
if i == v then
|
||||
return true
|
||||
end
|
7
mods/core/init.lua
Normal file
7
mods/core/init.lua
Normal file
@ -0,0 +1,7 @@
|
||||
realtest = {}
|
||||
|
||||
dofile(minetest.get_modpath("core").."/helper_functions.lua")
|
||||
dofile(minetest.get_modpath("core").."/drop.lua")
|
||||
dofile(minetest.get_modpath("core").."/seasons.lua")
|
||||
dofile(minetest.get_modpath("core").."/creative.lua")
|
||||
dofile(minetest.get_modpath("core").."/player.lua")
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
@ -1,22 +0,0 @@
|
||||
Minetest 0.4 mod: creative
|
||||
==========================
|
||||
|
||||
Implements creative mode.
|
||||
|
||||
Switch on by using the "creative_mode" setting.
|
||||
|
||||
Registered items that
|
||||
- have a description, and
|
||||
- do not have the group not_in_creative_inventory
|
||||
are added to the creative inventory.
|
||||
|
||||
License of source code and media files:
|
||||
---------------------------------------
|
||||
Copyright (C) 2012 Perttu Ahola (celeron55) <celeron55@gmail.com>
|
||||
|
||||
This program is free software. It comes without any warranty, to
|
||||
the extent permitted by applicable law. You can redistribute it
|
||||
and/or modify it under the terms of the Do What The Fuck You Want
|
||||
To Public License, Version 2, as published by Sam Hocevar. See
|
||||
http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
|
1
mods/default/depends.txt
Normal file
1
mods/default/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
core
|
@ -10,10 +10,8 @@ LIGHT_MAX = 14
|
||||
|
||||
-- Definitions made by this mod that other mods can use too
|
||||
default = {}
|
||||
realtest = {}
|
||||
|
||||
-- Load other files
|
||||
dofile(minetest.get_modpath("default").."/player.lua")
|
||||
dofile(minetest.get_modpath("default").."/mapgen.lua")
|
||||
|
||||
--
|
||||
|
@ -1,2 +1 @@
|
||||
default
|
||||
helper_functions
|
||||
default
|
@ -1,4 +1,3 @@
|
||||
default
|
||||
metals
|
||||
helper_functions
|
||||
trees
|
||||
|
@ -1 +0,0 @@
|
||||
default
|
@ -1,3 +1,2 @@
|
||||
default
|
||||
helper_functions
|
||||
metals
|
||||
|
Loading…
x
Reference in New Issue
Block a user