From f0df596ea109f9664326f532915fc8e53889ca3c Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 24 Apr 2024 17:27:13 +0200 Subject: [PATCH] better lights at pizzeria and bus stations --- src/commands.rs | 2 +- src/data/defs.txt | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/commands.rs b/src/commands.rs index a24873e..4762a8d 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -633,7 +633,7 @@ fn spawn_entities( PointLight { intensity: state.light_brightness, color, - range: 100.0, + range: 2000.0, ..default() }, bevy::pbr::CubemapVisibleEntities::default(), diff --git a/src/data/defs.txt b/src/data/defs.txt index 4cc4ca2..87646fd 100644 --- a/src/data/defs.txt +++ b/src/data/defs.txt @@ -335,7 +335,7 @@ actor -3300 10 0 pizzeria density 500 angularmomentum 0 0 0.2 pointofinterest yes - actor -100 63 -13 pizzasign + actor -30 100 -23 pizzasign name "Pizzeria Sign" relativeto pizzeria scale 20 @@ -343,16 +343,17 @@ actor -3300 10 0 pizzeria density 200 rotationy 0.45 angularmomentum 0 0 0 + light "FF00B3" 30000000 actor -52 -10 0 lightorb name "Light Orb" relativeto pizzeria scale 0.25 - light FF8F4A 1000000 + light FF8F4A 5000000 actor -50 -3 -2 lightorb name "Light Orb" relativeto pizzeria scale 0.25 - light FF8F4A 1000000 + light FF8F4A 5000000 actor -33 0 4 clippy name "Clippy™ Convenience Companion" relativeto pizzeria @@ -417,6 +418,7 @@ actor 100 -18000 2000 "orb_busstop" pointofinterest yes wants maxrotation 0 wants maxvelocity 0 + light "47FF00" 1000000000000 actor 120 864 150 clippy relativeto "busstop" id "busstopclippy" @@ -465,6 +467,7 @@ actor -184971e3 149410e3 -134273e3 "orb_busstop" pointofinterest yes wants maxrotation 0 wants maxvelocity 0 + light "47FF00" 1000000000000 actor 120 864 150 clippy relativeto "busstop2" id "busstopclippy2" @@ -503,6 +506,7 @@ actor 27643e3 -44e3 -124434e3 "orb_busstop" pointofinterest yes wants maxrotation 0 wants maxvelocity 0 + light "47FF00" 1000000000000 actor 120 864 150 clippy relativeto "busstop3" id "busstopclippy3"