Commit Graph

143 Commits

Author SHA1 Message Date
klorpa f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
ShadowLarkens 01cb75ffe8 Datum Component System (/tg/ port) 2020-10-18 12:08:38 -07:00
kevinz000 c06a1eb504 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-16 08:19:12 -08:00
kevinz000 46c79c7d3e [READY]Makes a bunch of processes subsystems instead (#5814
* Converts various New() definitions to Initialization()
* Adds absolute pathing
2019-01-15 22:58:06 -08:00
kevinz000 a9aa4110a3 Puts is helpers into their own file 2019-01-12 05:48:05 -08:00
kevinz000 f3da68481a Ticks stuff, MOVES WORLD DOWN TO CODE/GAME/world.dm, so __defines islist() can work and because it literally would not work on my computer without doing this! 2019-01-10 10:37:51 -08:00
kevinz000 ae64d73972 Upgrades SDQL2 and refactors it to a datum (#5793)
* SDQL2
2019-01-09 18:12:12 -08:00
Neerti 5a983ef9f5 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into looping_sounds 2018-12-19 18:31:56 -05:00
Neerti e8a94d915e Does more work, particularly on zlevel stuff. 2018-12-19 18:31:41 -05:00
Neerti 60115154f7 Stops initialization from grinding to a halt when loading maps. 2018-12-12 20:10:23 -05:00
kevinz000 aa6f232b87 Adds logging to special world reboots, admins with debug access can now reboot while world is OOM'd (#5737)
* Update world.dm
2018-11-30 21:30:00 -08:00
Poojawa 08294afbf8 handle issue, GLOB staffwho 2018-09-30 11:46:04 -05:00
Poojawa 685010c866 admin helps, but working this time. 2018-09-30 11:17:12 -05:00
Neerti be73b8c36a for(var/bad_code in world)
Removes a very large amount of world loops.
Adds a macro to painlessly generate a global list, and the needed code to modify the list when an object is made or deleted automatically.
Cleans up some commented out code.
2018-04-29 17:55:04 -04:00
Arokha Sieyes ee53848b4f POLARIS: Move Topic() log to debug_log 2018-03-13 18:57:38 -04:00
Arokha Sieyes 7f93f3cca7 POLARIS: Moves daily logs into being folders rather than files 2018-03-13 18:20:59 -04:00
Nerezza c7fdd099b6 Flooring fixes
Firstly it fixes a long-standing bugs with constructable flooring not actually populating on server startup, but instead through a proc that's only called on existing floor tiles.

Second it changes sif wood tiles into a child of wood tiles now that the reason for carpet colors not working is known & fixed.
2018-02-24 15:31:10 -06:00
Leshana a33792e5e5 Make scheduler and Master init order predictable and make unit tests wait until init is done before starting. 2018-02-05 15:50:13 -05:00
Leshana 44dc4b7286 Implement SSatoms
* Moves proc/initialize() from being on /atom/movable, /are and /turf/simulated to being on /atom - Now turfs can initialize too
* Added the SSatoms subsystem which controls initialization of atoms at roundstart and during normal conditions.
* Disabled the old auto_init = 0 behavior, ALL atoms should get initialized() called on them now.
* Refactored the way initialize() is called during /New() to utilize SSatoms instead of SScreation
* Removed SScreation, as it was only a stop-gap until SSatoms could be ported.
* Updated the maploader to inform SSatoms when it is loading maps instead of SScreation.
* Updated the template map loader to use SSatoms to perform initTemplateBounds
* Renamed 'initialized' var in seed_storage to deconflict.
* Removed usage of auto_init = 0, replaced with a no-op initialize() proc for atoms that don't need initialization.
2018-02-05 15:50:06 -05:00
Neerti 7f54bf2945 Tweaks cache_lifespan
Changes the world var from 0 to 7, as it is what /tg/ uses and it might help reduce the amount of data one needs to download when connecting. Not sure if it will but it can't hurt.
2017-12-31 05:49:32 -05:00
Anewbe 4459d7087a Revert "Does more prep for the Event Manager role" 2017-10-04 18:33:34 -05:00
Anewbe c2c6b5949a Does more prep for the Event Manager role 2017-10-02 21:51:48 -05:00
Anewbe 6ffebcef6e Merge pull request #3775 from Neerti/9/8/2017_tg_maploader_port
Port's TG's Maploader
2017-09-11 17:17:23 -04:00
Neerti 1bc28c07c0 Port's TG's Maploader 2017-09-08 12:49:26 -04:00
Neerti 4bfcec55f2 work 2017-09-04 21:52:47 -04:00
Leshana 82e6049821 Actually hooks up the StonedMC to run its subsystems in Polaris
* Hooks up informing Master the gameticker actually starts and stops the round subsystems will actually fire! What ho!
* We should convert the gameticker as an MC subsystem someday, and probably completely rewrite it while we are at it becuase it is crazy.  But this should bridge the gap until then.
2017-06-10 19:01:58 -04:00
Leshana e48b548f2b More and more Destroy() cleanups all across the board - Return qdel hints. 2017-06-05 23:01:41 -04:00
Leshana b17fb86721 Tweaks Statpanel and System Initialization 2017-06-01 21:42:08 -04:00
Neerti 12abb2d6f2 Ports a large chunk of the map datum system that europa/bay uses.
Links many map-specific details such as the station name, z-level information, and allowed jobs from global vars to map datum vars, which should help us maintain multiple maps at once in the future, which will be needed for the future Southern Cross.
Note that a config change will be needed to change GENERATE_ASTEROID to GENERATE_MAP, otherwise no changes should be required to continue normal map usage.
To change to a different map, it's suggested to tick the file that ticks all the other needed files, which for the Northern Star is called northern_star.dm.
2017-02-27 07:36:41 -05:00
Neerti cefd8029f7 Makes Circuits Make Their Own Research Designs
Circuits generate a research design datum when the game starts up instead of me having to manually define them every time I make a new circuit.  Hopefully this reduces missing circuits due to mistakes.  The circuit box also spawns specific circuits using a similar method for similar reasons.

Other things this does:
Splits the reagent related manipulation circuits to their own category, which cleans up a few repeated New()s.
2016-12-30 02:41:11 -05:00
Leshana 24ce98c89c Fix world/Topic()'s manifest to include synthetics like datacore.dm
* The world/Topic() bot integration API's manifest output uses the same logic as datacore's get_manifest(), except it omits the part that includes synthetics.  The `set_names` variable clearly shows bots are intended to be included, they are just arent.
* Copying the logic from datacore.dm ensures a consistent view of bots and AI.
2016-11-08 16:59:52 -05:00
SinTwo fa92cdeeda Merge branch 'master' of https://github.com/PolarisSS13/Polaris into framecleanup2 2016-08-23 18:33:51 -04:00
SinTwo 045c393683 Revert "Revert "Frame Cleanup""
This reverts commit 82722ba42f.
2016-08-13 19:55:57 -04:00
Yoshax 82722ba42f Revert "Frame Cleanup" 2016-08-06 00:27:03 +01:00
Yoshax afa7878abb Merge pull request #2263 from SinTwo/frame_cleanup
Frame Cleanup
2016-08-05 21:14:35 +01:00
SinTwo 4f7ea573c1 world time fix 2016-07-30 03:19:47 -04:00
Yoshax 7e453226dc Rehauls some autolathe code 2016-07-24 22:02:58 +01:00
SinTwo eb120319eb Frame code cleanup 2016-07-23 13:31:30 -04:00
Datraen 40e1c11ee6 Fixes #1915
Psi gave a solution (this one) to the issue on the issue itself.
2016-06-29 18:24:30 -04:00
Yoshax f75d509e7f Ports event system from Bay 2016-06-01 22:05:04 +01:00
Datraen 9e09720be5 Final Initial Implementation of Xenobio2 System.
Kinks worked out, everything is functioning as it should.
2016-05-25 14:11:37 -04:00
Arokha Sieyes 6c9346d0c4 Prevent Unexpected SQL Errors (#1628)
* Don't nag me, game.

* Added disabled message, made config consistent

* Missed adding 'else'
2016-05-14 21:09:21 -04:00
Yoshax 26192e2b32 Fixes an error 2016-04-20 15:36:13 +01:00
PsiOmegaDelta a3f8bc815e Round start timer now remains at 0 until the round actually starts. 2016-04-20 15:27:59 +01:00
Kelenius c8b510b415 Adds unit tests
Port of https://github.com/Baystation12/Baystation12/pull/11808 and
several others
Fixes three overlapping cables ([192 / 158 / 1], [214 / 161 / 1], [122 /
197 / 1])
Fixes drill and mech drill having the same ID.
2016-03-29 17:42:22 +03:00
Yoshax 8be10d96dd Ports Byond 510 preperations from Bay
Updates comment

Updates supply file
2016-03-14 18:21:44 +00:00
GinjaNinja32 5008120f11 add revision topic call 2016-01-09 18:12:13 +00:00
GinjaNinja32 fa115aaaae info topic improvements 2016-01-09 18:12:05 +00:00
Zuhayr f2cc74d588 # This is a combination of 2 commits.
# The first commit's message is:

Rewriting the mining turfs to reduce worldstart lag.

# This is the 2nd commit message:

Map cleanup.
2015-12-16 15:26:38 +10:30
PsiOmegaDelta 43ab44ad62 Adds the missing cargo department to the world Topic() manifest request. 2015-12-11 21:17:27 +01:00