Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d151ba7ec9 | ||
|
b93bc0673a | ||
|
19c120b5b7 |
1
api.lua
1
api.lua
@@ -54,6 +54,7 @@ function player_api.set_model(player, model_name)
|
|||||||
player:set_properties({
|
player:set_properties({
|
||||||
textures = {"player.png", "player_back.png"},
|
textures = {"player.png", "player_back.png"},
|
||||||
visual = "upright_sprite",
|
visual = "upright_sprite",
|
||||||
|
visual_size = {x = 1, y = 2},
|
||||||
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.75, 0.3},
|
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.75, 0.3},
|
||||||
stepheight = 0.6,
|
stepheight = 0.6,
|
||||||
eye_height = 1.625,
|
eye_height = 1.625,
|
||||||
|
2
init.lua
2
init.lua
@@ -1,3 +1,5 @@
|
|||||||
|
-- player/init.lua
|
||||||
|
|
||||||
dofile(minetest.get_modpath("player_api") .. "/api.lua")
|
dofile(minetest.get_modpath("player_api") .. "/api.lua")
|
||||||
|
|
||||||
-- Default player appearance
|
-- Default player appearance
|
||||||
|
Reference in New Issue
Block a user