diff --git a/README.TXT b/README.TXT index 4014848..80278b7 100644 --- a/README.TXT +++ b/README.TXT @@ -1,4 +1,36 @@ -Coconut Collection - 12/22/2021 Alpha1 +Coconut Collection - 12/22/2021 Alpha5 + +A game heavily inspired by "Coconut Hut" for the Ouya, it's a competetive 2-player game where you collect coconuts and sell them in order to gain cash. + +How to play: +mine coconuts w/ your pickaxe, you can click with coconuts on payphones to sell them and get a better pickaxe, you have to take the handset off +the hook first by left clicking. + + + +Prices: +8 coconuts = steel pickaxe +20 coconuts = pickaxe tier2 +99 coconuts = coconut drill + + + +Note: still WIP + +Licenses: mixed (MIT and GPL 2.0) + +Includes the following mods: + +main - made specifically for this game, MIT + +coconut - also made for this game, MIT + +telephone - a heavily modified version of my telephone mod that I wrote a couple of months ago, MIT + +indsutrial_decor - a small mod that I wrote back in 2018, adds a few decor blocks; nothing special, MIT + +skybox - mod by sofar, GPL 2.0 + TODO: diff --git a/mods/main/textures/main_drill.png b/mods/main/textures/main_drill.png new file mode 100644 index 0000000..d2521f9 Binary files /dev/null and b/mods/main/textures/main_drill.png differ diff --git a/mods/main/textures/main_pickaxe_stone.png b/mods/main/textures/main_pickaxe_stone.png new file mode 100644 index 0000000..7e0a561 Binary files /dev/null and b/mods/main/textures/main_pickaxe_stone.png differ diff --git a/mods/main/textures/main_pickaxe_tier2.png b/mods/main/textures/main_pickaxe_tier2.png new file mode 100644 index 0000000..a257d6c Binary files /dev/null and b/mods/main/textures/main_pickaxe_tier2.png differ diff --git a/mods/main/tools.lua b/mods/main/tools.lua index 8400424..e0801a7 100644 --- a/mods/main/tools.lua +++ b/mods/main/tools.lua @@ -18,6 +18,42 @@ minetest.register_item(":", } }) +minetest.register_item("main:drill", +{ + type = "none", + wield_image = "main_drill.png", + inventory_image = "main_drill.png", + tool_capabilities = + { + max_drop_level = 1, + full_punch_interval = 0.8, + + groupcaps = + { + cracky = {times={[1]=2, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1}, + }, + damage_groups = {cracky = 8}, + } +}) + +minetest.register_item("main:pickaxe_tier2", +{ + type = "none", + wield_image = "main_pickaxe_tier2.png", + inventory_image = "main_pickaxe_tier2.png", + tool_capabilities = + { + max_drop_level = 1, + full_punch_interval = 0.8, + + groupcaps = + { + cracky = {times={[1]=4, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1}, + }, + damage_groups = {cracky = 8}, + } +}) + minetest.register_item("main:pickaxe_steel", { type = "none", @@ -30,10 +66,9 @@ minetest.register_item("main:pickaxe_steel", groupcaps = { - cracky = {times={[1]=6, [2]=1.00,[3]=0.50}, uses=0, maxlevel=1}, - crumbly = {times={[2]=2.50, [3]=0.80}, uses=0, maxlevel=1}, + cracky = {times={[1]=6, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1}, }, - damage_groups = {fleshy = 5, cracky = 8}, + damage_groups = {cracky = 8}, } }) @@ -41,6 +76,7 @@ minetest.register_item("main:pickaxe_stone", { type = "none", wield_image = "main_pickaxe_stone.png", + inventory_image = "main_pickaxe_stone.png", tool_capabilities = { max_drop_level = 1, @@ -48,27 +84,9 @@ minetest.register_item("main:pickaxe_stone", groupcaps = { - cracky = {times={[1]=3.80, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1}, - crumbly = {times={[2]=3.50, [3]=1.80}, uses=0, maxlevel=1}, + cracky = {times={[1]=8, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1}, }, - damage_groups = {fleshy = 4, cracky = 5}, + damage_groups = {cracky = 5}, } }) -minetest.register_item("main:ax_steel", -{ - type = "none", - wield_image = "main_pickaxe_stone.png", - tool_capabilities = - { - max_drop_level = 1, - full_punch_interval = 0.4, - - groupcaps = - { - choppy = {times={[1]=3.80, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1}, - crumbly = {times={[2]=3.50, [3]=1.80}, uses=0, maxlevel=1}, - }, - damage_groups = {fleshy = 4, cracky = 8}, - } -})