added initial game files

master
Arturas Norkus 2017-06-04 15:03:28 +03:00
parent 318fb1e381
commit b787b2f611
25 changed files with 137 additions and 1 deletions

View File

@ -1 +1,28 @@
# edot
# edot
Minimal Minetest subgame. Useful as test envinronment or sample for new subgame creators.
## License
MIT
## Media files
Files from Minetest Game (some renamed)
* edot_nodes_dummyblock_dig.ogg
* edot_nodes_dummyblock_dug_node.1.ogg
* edot_nodes_dummyblock_dug_node.2.ogg
* edot_nodes_dummyblock_footstep.1.ogg
* edot_nodes_dummyblock_footstep.2.ogg
* edot_nodes_dummyblock_place_node.ogg
* crack_anylength.png
* bubble.png
* heart.png
* player.png
* player_back.png
* wieldhand.png
Files based on Minetest Game but modified / remixed
* icon.png
Files created by xeranas
* edot_nodes_dummyblock.png

1
game.conf Normal file
View File

@ -0,0 +1 @@
name = edot

BIN
menu/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

0
minetest.conf Normal file
View File

View File

@ -0,0 +1 @@
edot_nodes

View File

@ -0,0 +1,36 @@
-------------------------------
-- edot mapgen
-- License: MIT
-- Credits: xeranas
-------------------------------
minetest.register_alias("mapgen_stone", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_dirt", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_dirt_with_grass", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_dirt_with_snow", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_sand", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_water_source", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_river_water_source", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_lava_source", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_gravel", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_desert_stone", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_desert_sand", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_snowblock", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_ice", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_sandstone", "edot_nodes:dummyblock")
minetest.register_alias("mapgen_snow", "air")
minetest.register_alias("mapgen_tree", "air")
minetest.register_alias("mapgen_leaves", "air")
minetest.register_alias("mapgen_apple", "air")
minetest.register_alias("mapgen_jungletree", "air")
minetest.register_alias("mapgen_jungleleaves", "air")
minetest.register_alias("mapgen_junglegrass", "air")
minetest.register_alias("mapgen_pine_tree", "air")
minetest.register_alias("mapgen_pine_needles", "air")
minetest.register_alias("mapgen_cobble", "air")
minetest.register_alias("mapgen_stair_cobble", "air")
minetest.register_alias("mapgen_mossycobble", "air")
minetest.register_alias("mapgen_sandstonebrick", "air")
minetest.register_alias("mapgen_stair_sandstonebrick", "air")

View File

@ -0,0 +1,9 @@
-------------------------------
-- edot mapgen init
-- License: MIT
-- Credits: xeranas
-------------------------------
local modpath = minetest.get_modpath("edot_mapgen");
dofile(modpath.."/edot_mapgen.lua")

View File

@ -0,0 +1,24 @@
-------------------------------
-- edot: edot nodes
-- License: MIT
-- Credits: xeranas
-------------------------------
minetest.register_node("edot_nodes:dummyblock", {
description = "Dummy Block",
tiles = {"edot_nodes_dummyblock.png"},
groups = {crumbly = 3},
sounds = {
footstep = {
name = "edot_nodes_dummyblock_footstep", gain = 0.5
},
dig = {
name = "edot_nodes_dummyblock_dig", gain = 0.4
},
dug = {
name = "edot_nodes_dummyblock_dug_node", gain = 0.25
},
place = "edot_nodes_dummyblock_place_node",
}
})

9
mods/edot_nodes/init.lua Normal file
View File

@ -0,0 +1,9 @@
-------------------------------
-- edot nodes init
-- License: MIT
-- Credits: xeranas
-------------------------------
local modpath = minetest.get_modpath("edot_nodes");
dofile(modpath.."/edot_nodes.lua")

1
mods/edot_nodes/mod.conf Normal file
View File

@ -0,0 +1 @@
name = edot_nodes

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

View File

@ -0,0 +1,19 @@
-------------------------------
-- edot player
-- License: MIT
-- Credits: xeranas
-------------------------------
minetest.register_item(":", {
type = "none",
wield_image = "wieldhand.png",
wield_scale = {x=1, y=1, z=2.5},
tool_capabilities = {
full_punch_interval = 0.1,
max_drop_level = 0,
groupcaps = {
crumbly = {times={[3]=0.1}, uses=0, maxlevel=1},
}
}
})

View File

@ -0,0 +1,9 @@
-------------------------------
-- edot player init
-- License: MIT
-- Credits: xeranas
-------------------------------
local modpath = minetest.get_modpath("edot_player");
dofile(modpath.."/edot_player.lua")

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 B