7 İşlemeler 1eb6a83b4f ... d00680718f

Yazar SHA1 Mesaj Tarih
  Dirkfried d00680718f sounds for the normal cube slimes 3 yıl önce
  Dirkfried 8d6bec5c33 dark slime: less damage 3 yıl önce
  Dirkfried 51bc214e08 alien: higher hp, dark: no spawning in light, cloud: comment 3 yıl önce
  Dirkfried e19f70e12b fix typo 3 yıl önce
  Dirkfried 114105c557 implement sounds 3 yıl önce
  Dirkfried 92be85b447 sound suggestion for digging a goo block 3 yıl önce
  Dirkfried 5e54a0874e slime blocks drop 9 goos 3 yıl önce

+ 13 - 6
init.lua

@@ -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

+ 2 - 2
slimes/alien.lua

@@ -8,8 +8,8 @@ mobs:register_mob("tmw_slimes:alien_slime", {
 	attack_type = "dogfight",
 	reach = 2,
 	damage = tmw_slimes.deadly_dmg,
-	hp_min = 20,
-	hp_max = 40,
+	hp_min = 40,
+	hp_max = 80,
 	armor = 180,
 	collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.4, 0.2},
 	visual_size = {x = 2, y = 2},

+ 1 - 1
slimes/cloud.lua

@@ -66,6 +66,6 @@ mobs:spawn({
 	max_light = 16,
 	chance = tmw_slimes.common,
 	active_object_count = tmw_slimes.uncommon_max,
-	min_height = 1000, --for cloudlands
+	min_height = 1000, --for high cloudlands
 	max_height = 31000,
 })

+ 3 - 2
slimes/dark.lua

@@ -7,7 +7,8 @@ mobs:register_mob("tmw_slimes:dark_slime", {
 	attack_monsters = false,
 	attack_type = "dogfight",
 	reach = 2,
-	damage = tmw_slimes.deadly_dmg,
+	sounds = {random = "steps_in_the_mud_shorter",},
+	damage = tmw_slimes.stronger_dmg,
 	hp_min = 20,
 	hp_max = 40,
 	armor = 180,
@@ -80,7 +81,7 @@ mobs:spawn({
 		"default:stone"
 	},
 	min_light = 0,
-	max_light = 16,
+	max_light = 7,
 	chance = tmw_slimes.rare,
 	active_object_count = tmw_slimes.rare_max,
 	min_height = -31000,

+ 1 - 0
slimes/icy.lua

@@ -7,6 +7,7 @@ mobs:register_mob("tmw_slimes:icy_slime", {
 	attack_monsters = false,
 	attack_type = "dogfight",
 	reach = 2,
+	sounds = {random = "steps_in_the_mud_shorter",},
 	damage = tmw_slimes.strong_dmg,
 	hp_min = 20,
 	hp_max = 40,

+ 1 - 0
slimes/jungle.lua

@@ -6,6 +6,7 @@ mobs:register_mob("tmw_slimes:jungle_slime", {
 	attack_npcs = false,
 	attack_monsters = false,
 	attack_type = "dogfight",
+	sounds = {random = "steps_in_the_mud_shorter",},
 	reach = 2,
 	damage = tmw_slimes.medium_dmg,
 	hp_min = 20,

+ 1 - 0
slimes/mineral.lua

@@ -7,6 +7,7 @@ mobs:register_mob("tmw_slimes:mineral_slime", {
 	attack_monsters = false,
 	attack_type = "dogfight",
 	reach = 2,
+	sounds = {random = "steps_in_the_mud_shorter",},
 	damage = tmw_slimes.medium_dmg,
 	hp_min = 20,
 	hp_max = 40,

+ 1 - 0
slimes/poisonous.lua

@@ -7,6 +7,7 @@ mobs:register_mob("tmw_slimes:poisonous_slime", {
 	attack_monsters = false,
 	attack_type = "dogfight",
 	reach = 2,
+	sounds = {random = "steps_in_the_mud_shorter",},
 	damage = tmw_slimes.medium_dmg,
 	hp_min = 20,
 	hp_max = 40,

+ 1 - 0
slimes/savannah.lua

@@ -7,6 +7,7 @@ mobs:register_mob("tmw_slimes:savannah_slime", {
 	attack_monsters = false,
 	attack_type = "dogfight",
 	reach = 2,
+	sounds = {random = "steps_in_the_mud_shorter",},
 	damage = tmw_slimes.strong_dmg,
 	hp_min = 20,
 	hp_max = 40,

+ 0 - 0
sounds/steps_in_the_mud_shorter.ogg


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor