Stormworks: Build and Rescue

Stormworks: Build and Rescue

98 ψήφοι
Weather Screen 1x1 (with icons)
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Vehicles: Air, Sea, Land
Ετικέτες: v0.10.33
Μέγεθος αρχείου
Αναρτήθηκε
116.221 KB
1 Αυγ 2020, 3:59
1 σημείωση αλλαγών ( προβολή )

Συνδρομή για λήψη
Weather Screen 1x1 (with icons)

ΣΕ 1 ΣΥΛΛΟΓΗ ΑΠΟ Mr Lennyn
Best Of Workshop Lua!
262 αντικείμενα
ΠΕΡΙΓΡΑΦΗ
Weather Screen 1x1
----------------------------------------------------------------------------------------------
-Weather (Rain sensor)
-Temperature
-Time
----------------------------------------------------------------------------------------------
- Over 8 different icons drawn in Lua.
- 8+ different states for precipitation

-Clear Day
-Clear Night
-Sun/Moon while raining
-Rain
-Thunderstorm
-Sun/Moon while light snow
-Snow
-Heavy Snow
-----------------------------------------------------------------------------------------------

Thanks! Let me know if you find any bugs.
please, credit if used
49 σχόλια
greatpsychocz 2 Μαϊ 2023, 19:42 
Very nice man, thanks a lot! I found a little mistake in your code tho, time is running little faster then stormworks clock, and it doesnt show zeros as typical clock. I changed it for myself, in case you want to update your script, here is the new part:
--time
sc(0,9,9)
s.drawTextBox(4, 18, 24, 13, string.format("%02d", math.floor(timeh24)), -1, 0)
s.drawTextBox(4, 18, 24, 13, ":", 0, 0)
s.drawTextBox(3, 18, 24, 13, string.format("%02d", math.floor(min)), 1, 0)
But Hull 24 Φεβ 2023, 9:47 
Thanks for letting me know
Mr Lennyn  [Δημιουργός] 24 Φεβ 2023, 9:43 
Looks like it broke a while ago. You can use this other screen I made that works much better, but doesn't have the icons :( https://steamcommunity.com/sharedfiles/filedetails/?id=2779621423
But Hull 24 Φεβ 2023, 9:38 
Very nice
Silver 20 Ιαν 2023, 18:22 
it shows on the screenshot there is just sun and moon when no weather but when i hook it up and there is no weather its just empty instead of a sun/moon
Mr Lennyn  [Δημιουργός] 18 Νοε 2022, 11:38 
Thanks gladyon! I've made another weather screen (1x2), but a fully featured 1x1 screen sounds good too.
Gladyon 17 Νοε 2022, 10:43 
Thank you for these icons, they are very useful.
For informaiton, if you use 3x5 characters, and if you pack the data a bit, you can have all the data on the top half.
And then you can place the wind direction (small compass) and wind power (bar graph) in the bottom part, so you have a full weather station in a 1x1 monitor.
Saltani 29 Ιουλ 2022, 8:31 
oooh, got it, thx
Mr Lennyn  [Δημιουργός] 29 Ιουλ 2022, 6:22 
Read the nodes. Some go to a screen, some to the weather sensors
Saltani 28 Ιουλ 2022, 14:07 
im stupid and dont know where to connect the green dots to, do i attach it to the seat? a Lever?
hjelp