aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-11-05 21:20:39 +0100
committerorwell96 <orwell@bleipb.de>2018-11-05 21:20:39 +0100
commit88aee2aecb3cf070f601b3e046e66eea48f0def0 (patch)
tree6a138e572e4d1f236ebab7ff53f361056892f132
parent63eedd09471461d48c4e10c81747dbd4ef46d71e (diff)
downloadadvtrains-88aee2aecb3cf070f601b3e046e66eea48f0def0.tar.gz
advtrains-88aee2aecb3cf070f601b3e046e66eea48f0def0.tar.bz2
advtrains-88aee2aecb3cf070f601b3e046e66eea48f0def0.zip
Ks signals emit some light
Else you can't see them in the dark...
-rw-r--r--advtrains_signals_ks/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua
index cbe3943..e6ee9ae 100644
--- a/advtrains_signals_ks/init.lua
+++ b/advtrains_signals_ks/init.lua
@@ -67,6 +67,11 @@ for _, rtab in ipairs({
drawtype = "mesh",
mesh = "advtrains_signals_ks_main_smr"..rot..".obj",
tiles = {"advtrains_signals_ks_mast.png", "advtrains_signals_ks_head.png", "advtrains_signals_ks_head.png", "advtrains_signals_ks_ltm_"..typ..".png"},
+
+ paramtype="light",
+ sunlight_propagates=true,
+ light_source = 4,
+
paramtype2 = "facedir",
selection_box = {
type = "fixed",
@@ -103,6 +108,11 @@ for _, rtab in ipairs({
drawtype = "mesh",
mesh = "advtrains_signals_ks_mast_smr"..rot..".obj",
tiles = {"advtrains_signals_ks_mast.png"},
+
+ paramtype="light",
+ sunlight_propagates=true,
+ --light_source = 4,
+
paramtype2 = "facedir",
selection_box = {
type = "fixed",