1
0
forked from MTSR/jail

Изменить позицию спавна при посадке в тюрьму

This commit is contained in:
Shepel Pavel 2024-12-12 17:28:56 +03:00
parent 8814c417af
commit f4914fc516
2 changed files with 4 additions and 4 deletions

View File

@ -3,9 +3,9 @@ local S = minetest.get_translator("jail")
jail = {} jail = {}
jail.forced_labor = {y = tonumber(minetest.settings:get("jail_upper_limit_underground_y")) or -14848} jail.forced_labor = {y = tonumber(minetest.settings:get("jail_upper_limit_underground_y")) or -14848}
jail.jailpos = { jail.jailpos = {
x = tonumber(minetest.settings:get("jail_prison_spawn_point_x")) or 690, x = tonumber(minetest.settings:get("jail_prison_spawn_point_x")) or 666,
y = tonumber(minetest.settings:get("jail_prison_spawn_point_y")) or 5, y = tonumber(minetest.settings:get("jail_prison_spawn_point_y")) or 5,
z = tonumber(minetest.settings:get("jail_prison_spawn_point_z")) or -7 z = tonumber(minetest.settings:get("jail_prison_spawn_point_z")) or 2
} }
jail.escape_boundary = tonumber(minetest.settings:get("jail_wrap_radius")) or 50 jail.escape_boundary = tonumber(minetest.settings:get("jail_wrap_radius")) or 50
local releasepos = { local releasepos = {

View File

@ -1,7 +1,7 @@
[Prison spawn point] [Prison spawn point]
jail_prison_spawn_point_x (Position X) int 690 jail_prison_spawn_point_x (Position X) int 666
jail_prison_spawn_point_y (Position Y) int 5 jail_prison_spawn_point_y (Position Y) int 5
jail_prison_spawn_point_z (Position z) int -7 jail_prison_spawn_point_z (Position z) int 2
[End of the border] [End of the border]
jail_wrap_radius (Wrap radius) int 50 jail_wrap_radius (Wrap radius) int 50