|
@@ -10,6 +10,7 @@ minetest.register_craftitem("tmw_slimes:live_nucleus", {
|
|
|
|
|
|
tmw_slimes.add_slime = function(string, aquatic)
|
|
|
local proper_name = string.upper(string.sub(string,1,1))..string.sub(string,2,-1)
|
|
|
+ local goo = "tmw_slimes:"..string.."_goo"
|
|
|
minetest.register_craftitem("tmw_slimes:"..string.."_goo", {
|
|
|
inventory_image = "tmw_slime_goo.png^[colorize:"..tmw_slimes.colors[string],
|
|
|
description = proper_name.." Goo",
|
|
@@ -21,9 +22,14 @@ tmw_slimes.add_slime = function(string, aquatic)
|
|
|
drawtype = "allfaces_optional",
|
|
|
use_texture_alpha = true,
|
|
|
groups = {slippery = 2, crumbly=3, oddly_breakable_by_hand = 1},
|
|
|
- sounds = default.node_sound_snow_defaults(),
|
|
|
+ drop = "tmw_slimes:"..string.."_goo 9",
|
|
|
+ sounds = {footstep = {name="steps_in_the_mud_shorter", gain = 1.0},
|
|
|
+ dig = {name = "water_splash_dig_short", gain = 0.25},
|
|
|
+ dug = {name = "water_splash_dug_shorter", gain = 1.0},
|
|
|
+ place = {name = "water_splash_dig_short", gain = 1.0}},
|
|
|
+ --water sounds from bigsoundbank.com
|
|
|
+ --default.node_sound_snow_defaults(),
|
|
|
})
|
|
|
- local goo = "tmw_slimes:"..string.."_goo"
|
|
|
minetest.register_craft({
|
|
|
output = "tmw_slimes:"..string.."_goo_block",
|
|
|
recipe = {
|
|
@@ -47,10 +53,11 @@ tmw_slimes.add_slime = function(string, aquatic)
|
|
|
})
|
|
|
|
|
|
end
|
|
|
-tmw_slimes.weak_dmg = 1
|
|
|
-tmw_slimes.medium_dmg = 5
|
|
|
-tmw_slimes.strong_dmg = 10
|
|
|
-tmw_slimes.deadly_dmg = 50
|
|
|
+tmw_slimes.weak_dmg = 1
|
|
|
+tmw_slimes.medium_dmg = 5
|
|
|
+tmw_slimes.strong_dmg = 10
|
|
|
+tmw_slimes.stronger_dmg = 25
|
|
|
+tmw_slimes.deadly_dmg = 50
|
|
|
|
|
|
tmw_slimes.pervasive = 5000
|
|
|
tmw_slimes.common = 10000
|