1
0
鏡像自 https://codeberg.org/tenplus1/mob_horse.git 已同步 2025-09-18 05:15:27 +02:00

Merge branch 'master' into nalc-1.2

此提交包含在:
2019-05-10 00:44:45 +02:00
當前提交 6fb7f56af4
共有 2 個檔案被更改,包括 9 行新增1 行删除

查看文件

@@ -3,6 +3,14 @@
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP .. "/intllib.lua")
-- 0.4.17 or 5.0 check
local y_off = 20
if minetest.registered_nodes["default:permafrost"] then
y_off = 10
end
-- rideable horse
mobs:register_mob("mob_horse:horse", {
@@ -53,7 +61,7 @@ mobs:register_mob("mob_horse:horse", {
self.max_speed_reverse = 2
self.accel = 6
self.terrain_type = 3
self.driver_attach_at = {x = 0, y = 20, z = -2}
self.driver_attach_at = {x = 0, y = y_off, z = -2}
self.driver_eye_offset = {x = 0, y = 3, z = 0}
end

二進制
screenshot.png 一般檔案

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 8.4 KiB