From ea36ed50d886677c79ec7ddf056c9815f040835e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Thu, 18 Jan 2018 21:46:10 +0100 Subject: Added display_lib.entity_spacing variable to centralize entity spacing. --- display_lib/init.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'display_lib') diff --git a/display_lib/init.lua b/display_lib/init.lua index 210aac9..59a8529 100644 --- a/display_lib/init.lua +++ b/display_lib/init.lua @@ -19,6 +19,11 @@ display_lib = {} +-- Prefered gap between node and entity +-- Entity positionment is up to mods but it is a good practice to use this +-- variable as spacing between entity and node +display_lib.entity_spacing = 0.002 + -- Miscelaneous values depending on wallmounted param2 local wallmounted_values = { [0]={dx=0, dz=0, rx=0, rz=0, yaw=0, rotate=0}, -- Should never be used -- cgit v1.2.3