Commit Graph

51 Commits

Author SHA1 Message Date
Kashargul 72628d226c More globals (#19247)
* More globals

* planets

* .

* .

* Update jukebox.dm

* Fix timer callback syntax in jukebox.dm

* .
2026-03-15 02:54:17 -04:00
Reo Lozzot ceb33e3e7d Soakn't (#18647)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-10-27 02:58:37 -04:00
Selis 28e969778c code/global.dm => code/_global_vars/ (#17244)
* 1

* Full conversion

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 05:55:25 -04:00
Kashargul aad224fafe Reworks weather effects to no longer hurt phased entities (#17469)
* Reworks weather effects to no longer hurt phased entities

* no tracy ...

* .

* return

* fix planetary weather

* clearr that

* mob spawners

* fix simple mob sloshes

* fix those

* fix examines

* revert that

* convert to Z

* effect all mobs type
2025-04-06 18:09:33 +02:00
Kashargul 69858552ca Up ports the dynamic light system (#17102)
* Up ports the dynamic light system

* missed comment

* fix light intensity... 0 to 100 percent

* Crash on insane bounds
2025-02-12 07:48:27 -05:00
Kashargul a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Guti 409aaba802 Remove 2024-09-09 02:36:53 +02:00
Heroman3003 f11f77702c Update sif.dm 2023-03-15 07:17:30 +10:00
Atermonera 79f787d22f Adds fog as a weather. It's cold. 2023-02-19 00:13:56 -05:00
Atermonera d950e35905 Greenjoe12345/xmas2022 2022-12-13 22:02:58 -05:00
Heroman e9ccfcd6ea Fixes blood moon transition breaking weather system 2022-07-02 06:02:24 +10:00
Atermonera 3e2313765b Merge pull request #8369 from Cerebulon/indoorrain
Adds a roof to indoor rain sounds
2022-01-18 21:10:19 -05:00
Atermonera 9d84e7881c Fixes Indoor Rain 2021-08-01 11:27:30 -04:00
Novacat 56a2160924 Update sif.dm 2021-08-01 11:27:30 -04:00
Neerti 78f31a9b2d Adds optional area-based definition for outdoors-ness 2021-08-01 11:27:28 -04:00
Aronai Sieyes 34982728cb Add 'as anything' to various for loops 2021-07-20 12:39:59 -04:00
Aronai Sieyes 0d7f95bf25 Probably fixes problems with darksight outdoors 2021-06-24 17:39:40 -04:00
Aronai Sieyes 1696db4842 Move most/all overlay use to SSoverlays
Except for the ones I'm about to change in the
lighting commits!
2021-06-17 00:11:13 -04:00
Atermonera 0ea62fe2f1 Merge pull request #8056 from Greenjoe12345/weather-sounds
weather sounds adjustments
2021-05-02 23:55:50 -04:00
Atermonera beca886b2a Optimizes SSplanets initialization 2021-04-10 03:45:58 -04:00
Unknown dade2aa80b Conflict Resolution 2019-10-06 13:12:11 -04:00
Atermonera 89aad128cf Blind port of Bay Radiation Subsystem 2019-10-06 03:30:36 -04:00
Atermonera 9ea820fd7f Merge pull request #6058 from Neerti/permastuns_are_bad
Removes umbrella permastuns. Adds wind mechanics.
2019-04-26 19:32:29 -04:00
Unknown 7c7dc0da33 Ports Weather Improvements 2019-03-29 16:32:07 -04:00
Unknown 4e67e1b9ab Conflict Resolution 2019-03-27 04:11:30 -04:00
Anewbe 09b01407e3 Adds Various Sounds, Looping Sound System 2019-03-27 03:55:21 -04:00
Spades 6e2172a5ae Merge branch 'master' into upstream-merge-5654 2019-03-01 05:42:07 -05:00
kevinz000 fc178c1e04 Makes math helpers defines for performance 2018-12-06 16:15:00 -05:00
Atermonera 2df5e9fe0e Merges AI Branch into Master 2018-12-01 00:06:38 -05:00
Anewbe 87e428d29e Merge pull request #5706 from VOREStation/aro-hail
Hail tweaks
2018-11-09 22:03:21 -05:00
Atermonera b07144a7c8 Merge pull request #5587 from Anewbe/wind
Wind in storms slightly nerfed
2018-09-22 12:10:33 -07:00
Neerti 3b5874d3f1 Weather refactor. 2018-08-11 18:42:36 -04:00
Anewbe 99bc87e829 Wind in storms slightly nerfed 2018-08-10 22:20:13 -05:00
Neerti 6bdf355e6d Finishes thunderstorms. 2018-07-31 14:45:26 -04:00
Neerti 8639d49c34 Begins work on lightning. 2018-07-28 11:08:30 -04:00
Anewbe 1c0867d95f Reworks weather to fit the faster weather ticker 2018-06-15 18:47:19 -05:00
Arokha Sieyes 462effc1d2 Creates SSplanets subsystem
For SPEEDYNESS

It probably works. I mean it's hard to sit there for 8 hours and test it. But it seems to work okay. At worst if it doesn't you'll have weather that doesn't make sense. ;v
2018-06-02 19:09:35 -04:00
Anewbe 3c4996b475 Hail is less omnicidal 2018-02-28 14:45:10 -06:00
Anewbe 33766df3d4 Fixes a runtime in hail code (#4973) 2018-02-27 17:46:08 -08:00
atermonera 4197a0c117 Adds umbrellas sprites courtesy of schnayy 2018-02-17 13:30:50 -08:00
Atermonera d5a7075d72 Typo, oversight in weather datums (#4777)
* Update sif.dm

* Typo here too

* Missed a spot

* Return->Continue
2018-02-10 21:15:03 -06:00
Neerti 6226d3d15c POI Tweaks (#4645)
* WOrk

* Changes more PoI stuff.
2018-01-29 23:42:57 -06:00
Anewbe ab574554d5 Makes blizzards less cold 2017-11-26 16:34:28 -06:00
Neerti 7225ea2b66 Read github PR for details. 2017-10-10 00:48:27 -04:00
Anewbe d3f3e48897 Adjusts the values of Sif's weather. 2017-09-28 00:08:37 -05:00
Anewbe 1a9458fe13 Fixes the Gravity Failure Event 2017-09-24 14:03:43 -05:00
Arokha Sieyes d00c5941ca Controllerized Planets
Controller with deferrals and SCHECKs to be specific. Won't lag while updating the sun, weather, or temperature.

Also moved some vars around. Namely the planet walls are stored on the planet, not in the weather_holder.

Planets now have their own turfs, the controller 'gives' them to the planets each cycle if there are any unallocated turfs in the global lists, to avoid iterating over other planets' turfs if you have more than one, then cuts the lists if you were crazy and some turf added some invalid type. This saves us type-checking in the for() loops later to make them crunch faster. The former operation should only happen once at the start of the game (and maybe very rarely when turfs are added/removed from a map during the game).

With regards to the temperature updates, rebuilding the zone entirely is an intensive operation. Instead we can use this new cheaty proc to do it from over here. ZAS code outside ZAS oh noooo. Well, the option is to snowflake this case into ZAS which is maybe worse?

Only downside to all this is that if you manually set weather and time it might take between 1-60 seconds for the controller to get around to checking if you wanted to update it. That's not that big a deal. If you really want you can now debug that controller and call doWork on it.
2017-04-18 20:08:22 -04:00
Arokha Sieyes aaeae6695a Make planets more generic
So that Sif doesn't have to be the only one!
2017-04-14 21:36:48 -04:00
Neerti b571ed9c66 Continues work on the surface map 2017-03-21 16:11:13 -04:00
Neerti 836d8dfa3f More stuff, finalizes it I hope. 2017-02-20 18:28:31 -05:00