diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-01-18 21:46:10 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-01-18 21:46:10 +0100 |
commit | ea36ed50d886677c79ec7ddf056c9815f040835e (patch) | |
tree | cafde49546be123f3300acfce434c3571e9de22f /display_lib | |
parent | a71ae8e01314d0653f785a022a898636cdf54424 (diff) | |
download | display_modpack-ea36ed50d886677c79ec7ddf056c9815f040835e.tar.gz display_modpack-ea36ed50d886677c79ec7ddf056c9815f040835e.tar.bz2 display_modpack-ea36ed50d886677c79ec7ddf056c9815f040835e.zip |
Added display_lib.entity_spacing variable to centralize entity spacing.
Diffstat (limited to 'display_lib')
-rw-r--r-- | display_lib/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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 |