Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
mobs_monster
Commits
57f40cf4
Commit
57f40cf4
authored
Mar 01, 2021
by
tenplus1
Browse files
make cave spider tiny
parent
22308b4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
spider.lua
View file @
57f40cf4
...
...
@@ -30,7 +30,8 @@ local spider_types = {
{
nodes
=
{
"default:stone"
,
"default:gravel"
},
skins
=
{
"mobs_spider_grey.png"
},
docile
=
nil
,
drops
=
nil
drops
=
nil
,
small
=
true
},
{
nodes
=
{
"default:mese"
,
"default:stone_with_mese"
},
...
...
@@ -134,6 +135,13 @@ mobs:register_mob("mobs_monster:spider", {
self
.
shoot_offset
=
2
end
if
tmp
.
small
then
self
.
object
:
set_properties
({
collisionbox
=
{
-
0
.
2
,
-
0
.
2
,
-
0
.
2
,
0
.
2
,
0
,
0
.
2
},
visual_size
=
{
x
=
0
.
25
,
y
=
0
.
25
}
})
end
return
true
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment