summaryrefslogtreecommitdiff
path: root/warthog.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-12-30 14:58:13 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-12-30 14:58:13 +0000
commit202ecfccaddf1f115c19aec81d3cdbe59573e91e (patch)
tree88a2d3cc6ad69b596bbb285765e79f90826ae8ea /warthog.lua
parent0db8d4b2639ece8f913079cb6e5499354fb1a0a9 (diff)
lower stepheight to fix entity glitching through walls
Diffstat (limited to 'warthog.lua')
-rw-r--r--warthog.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/warthog.lua b/warthog.lua
index 0afcc52..2f69a5b 100644
--- a/warthog.lua
+++ b/warthog.lua
@@ -5,6 +5,7 @@ local S = mobs.intllib
-- Warthog by KrupnoPavel
mobs:register_mob("mobs_animal:pumba", {
+stepheight = 0.6,
type = "animal",
passive = false,
attack_type = "dogfight",
@@ -15,7 +16,7 @@ mobs:register_mob("mobs_animal:pumba", {
hp_min = 5,
hp_max = 15,
armor = 200,
- collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
+ collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4},
visual = "mesh",
mesh = "mobs_pumba.x",
textures = {