From 432e196794e713421b0980f6fa07c6b7cb5a0ed3 Mon Sep 17 00:00:00 2001 From: TheOnlyJoeEnderman Date: Sun, 6 Nov 2022 02:05:14 +0000 Subject: [PATCH] code cleaning fixed some messy tabs/spaces, removed old comments. --- mods/ENTITIES/mobs_mc/axolotl.lua | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/axolotl.lua b/mods/ENTITIES/mobs_mc/axolotl.lua index 39498f5b3..5ac443abb 100644 --- a/mods/ENTITIES/mobs_mc/axolotl.lua +++ b/mods/ENTITIES/mobs_mc/axolotl.lua @@ -40,12 +40,12 @@ local axolotl = { xp_max = 7, -- Random look at player works, but it looks away instead of towards. - head_swivel = "head.control", - bone_eye_height = -1, - head_eye_height = -0.5, - horrizonatal_head_height = 0, - curiosity = 10, - head_yaw="z", + head_swivel = "head.control", + bone_eye_height = -1, + head_eye_height = -0.5, + horrizonatal_head_height = 0, + curiosity = 10, + head_yaw="z", armor = 100, spawn_in_group_min = 1, @@ -74,9 +74,6 @@ local axolotl = { run_start = 61, run_end = 81, run_speed = 20, }, - -- Somewhere in here is where hostility toward aquatic creatures should go. - -- There is no flag for that yet though. - -- This should should make axolotls breedable, but it doesn't. follow = { "mcl_fishing:clownfish_raw" @@ -97,12 +94,14 @@ local axolotl = { breathes_in_water = true, jump = true, attack_animals = true, - specific_attack = { "extra_mobs_cod", -"mobs_mc:sheep", -"extra_mobs_glow_squid", -"extra_mobs_salmon", -"extra_mobs_tropical_fish", -"mobs_mc_squid" }, + specific_attack = { + "extra_mobs_cod", + "mobs_mc:sheep", + "extra_mobs_glow_squid", + "extra_mobs_salmon", + "extra_mobs_tropical_fish", + "mobs_mc_squid" + }, runaway = true, do_custom = function(self) --[[ this is supposed to make them jump out the water but doesn't appear to work very well