added initial game files
29
README.md
|
@ -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
|
After Width: | Height: | Size: 2.9 KiB |
|
@ -0,0 +1 @@
|
|||
edot_nodes
|
|
@ -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")
|
|
@ -0,0 +1,9 @@
|
|||
-------------------------------
|
||||
-- edot mapgen init
|
||||
|
||||
-- License: MIT
|
||||
-- Credits: xeranas
|
||||
-------------------------------
|
||||
|
||||
local modpath = minetest.get_modpath("edot_mapgen");
|
||||
dofile(modpath.."/edot_mapgen.lua")
|
|
@ -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",
|
||||
}
|
||||
})
|
|
@ -0,0 +1,9 @@
|
|||
-------------------------------
|
||||
-- edot nodes init
|
||||
|
||||
-- License: MIT
|
||||
-- Credits: xeranas
|
||||
-------------------------------
|
||||
|
||||
local modpath = minetest.get_modpath("edot_nodes");
|
||||
dofile(modpath.."/edot_nodes.lua")
|
|
@ -0,0 +1 @@
|
|||
name = edot_nodes
|
After Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 134 B |
|
@ -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},
|
||||
}
|
||||
}
|
||||
})
|
|
@ -0,0 +1,9 @@
|
|||
-------------------------------
|
||||
-- edot player init
|
||||
|
||||
-- License: MIT
|
||||
-- Credits: xeranas
|
||||
-------------------------------
|
||||
|
||||
local modpath = minetest.get_modpath("edot_player");
|
||||
dofile(modpath.."/edot_player.lua")
|
After Width: | Height: | Size: 459 B |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 142 B |
After Width: | Height: | Size: 140 B |
After Width: | Height: | Size: 129 B |