Commit Graph

53 Commits

Author SHA1 Message Date
MistakeNot4892 658e19e734 Porting flying robots from Bay. [IDB IGNORE] (#8885)
* Semiport of Allow_Spacemove from Bay.

* Porting flying robots from Bay.

* Converting platforms to an alt title of Robot.

* Converting existing modules to new proc flow.

* Cleaning up jetpack code for robots.

* Making flyers and platforms buildable.

* Debugging/refining robots port.

* Reverting some unneeded spacemove changes.

* Refining/debugging bots.

* Removing Bay subtypes, adding flying subtypes of existing modules.

* Icon rework for flying robots.

* Working commit for flying borgs PR.
2023-07-31 22:22:12 -08:00
klorpa f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
spookerton 4557f8573c atom_flags tests snafu corrections 2022-10-18 09:36:41 +01:00
spookerton 3abdbbaa1c replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
2022-10-18 09:36:36 +01:00
Spookerton 3793cc764e Merge pull request #8757 from Spookerton/spkrtn/sys/ssatoms-massage
ssatoms stuff
2022-10-16 20:03:46 +01:00
spookerton 32d32f6646 jiggle SSatoms gently 2022-10-16 12:56:07 +01:00
spookerton cb483875cd null guard qdel, better log_info_line behavior
gentle qdel refactor for readability
adds ref_name and ref_type to weakref
improves /proc/weakref initial test
corrects weakref GC hint
2022-10-15 15:06:00 +01:00
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
spookerton 556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +01:00
atermonera 9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
Atermonera ff93a129ea Merge pull request #8418 from Spookerton/spkrtn/fix/resolve-dmmsuite-switch-warnings
resolves sdmm-suite switch warnings
2022-03-12 19:47:40 -08:00
Cerebulon 474a8c43cf Decl Music and Ported Music + Licenses (#8221)
* Decl music + ported music

* Bugfixes and not

* unit test

* debug shit + some fixes

* More Changes

* Removes some unused/extra songs in case it was a file size issue

* Nuke crash-prone songs

* Add cynosure defines

* It Just Works Now + Finished Headphone code/sprites

* requested tweaks/debug removal

* recheck dme
2022-03-12 19:45:36 -08:00
spookerton e5023f92aa resolved sdmm-suite switch warnings 2022-03-04 19:30:36 +00:00
MistakeNot4892 618082f500 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2022-01-04 18:47:57 -08:00
Neerti a660aae770 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into woodrat_map 2021-06-27 14:01:01 -04:00
Neerti b496255399 Makes unit test exempt list use inheritence. 2021-06-16 00:27:00 -04:00
Atermonera f65c46bb32 Merge pull request #8126 from MistakeNot4892/chirp
Added unit test to ensure emote key uniqueness.
2021-06-14 00:29:07 -07:00
MistakeNot4892 14c125f41d Added unit test to ensure emote key uniqueness. 2021-06-07 00:16:58 +10:00
MarinaGryphon 5dc47dd3ed Adds unit test for invalid recipes (#8119)
* Adds invalid recipe unit test

Checks for:
- Missing result type
- Result type is not /atom/movable (mob or obj)
- Result quantity unset
- Quantity less than or equal to zero
- Quantity is not an integer

* Update recipe_tests.dm

* adds tests to dme

* dont code at night (remix)

* Update recipe_tests.dm
2021-06-06 00:36:52 -09:00
MistakeNot4892 cccb2a159f Ported updated decls repository from Neb. 2021-03-26 10:44:30 +11:00
MistakeNot4892 b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
ShadowLarkens 927c41c7a3 Convert /material to it's correct absolute path /datum/material (#7637) 2020-09-20 02:00:09 -07:00
Neerti b13a1371e0 Adds Modifier Armor (#7416) 2020-08-06 21:24:10 -07:00
Leshana 2c13bee848 Replace global all_areas list with world.
It ends up having similar performance, so might as well not bother with all_areas.
2020-04-10 14:58:59 -04:00
Atermonera 40d5484dda Merge pull request #6808 from Neerti/travis_runtime_checker
Makes Travis fail PRs that runtime during init/unit testing.
2020-03-24 14:28:19 -07:00
Neerti 73261cfbc6 Makes Travis fail PRs that runtime during init/unit testing. 2020-03-09 11:34:14 -04:00
Meghan-Rossi 24d17bea9c Language tests
Add unit tests to detect two languages having the same key or name.
2020-03-08 16:35:51 +00:00
Neerti 00b24d93c8 Hopefully finalizes code work. 2020-02-20 21:48:58 -05:00
Neerti 54a75927ff Commiting my work before I do a stupid thing, just in case. 2020-02-20 21:21:38 -05: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
Arokha Sieyes c31ac4866d Active edge canary PR
Plus free unit test upgrade
2018-05-26 12:03:35 -04:00
Neerti 62ce4196e5 Bonus: Make Travis Show the Active Edges 2018-04-29 18:43:02 -04: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
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
Arokha Sieyes ed0a97fa13 POLARIS: Allow testing more than just z1 2018-01-24 13:51:41 -05:00
Neerti 495f985022 Travis Appeasement Mark II (#4485)
* Tries to Please Travis
Should remove all active edge problems.
Moves map-specific unit tests to the map define file.
Enhances some PoIs in terms of adding /ignore_mapgen to the ground.
Fixes incorrect loot pile in one PoI.

* Conflicts are fun.

* Might fix unit test.
2018-01-01 22:26:31 -05:00
Neerti 73cb87c3a5 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into 11/19/2017_submap_validation
# Conflicts resolved:
#	code/unit_tests/map_tests.dm
2017-11-19 06:09:01 -05:00
Neerti 396f55fb17 Allows Travis to Validate PoI Maps
Tweaks Travis to compile all PoI maps in order to allow the compiler to find certain problems such as missing paths. This is needed because PoIs are loaded at runtime as opposed to being compiled like traditional maps, making them a bit prone to problems. Travis should help find those problems before they reach the live server by failing PRs which add a broken PoI map or break any existing PoI maps.
For regular use, the PoIs will not be compiled unless done so manually by the developer.
2017-11-19 06:07:41 -05:00
Neerti 2567e4e3d1 Adds ability to exempt areas from unit tests on a per-map basis 2017-11-18 02:38:58 -05:00
Neerti 36b0f5fa99 Even More Circuit Changes
See PR for changes.
2017-08-01 16:13:27 -04:00
LorenLuke cfb233aa1b Fixes travis. 2017-07-16 12:19:35 -07:00
LorenLuke 14ad0d70e3 See changelog. 2017-07-16 02:58:52 -07: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
Arokha Sieyes 1300ef333d Dynamic Shuttles - Code and Icon Changes 2017-03-25 21:00:08 -04:00
Neerti b6c170eadd Does tons of stuff, see PR for details. 2017-01-25 19:31:21 -05:00
Neerti 97ebf0924d Permanent Revolution Update 2017-01-04 04:41:30 -05:00
Anewbe 67532eef54 Unit test fix 2016-11-18 23:41:38 -06:00
Spades 9c78d6a2a1 Naming inconsistencies fixed
The short naming of central command has been really inconsistent across
the game's files. This has always annoyed the shit out of me.

CentComm and Centcomm and Centcom are now all CentCom, specifically with
that capitalization. Why one M instead of two M's? Because Comm with two
'M's = Communications. Hence, Telecomms, NOT Telecoms. Telecoms is
incorrect. CentCom was also chosen because CentCom with one M and this
casing is most found throughout the game's files.

Speaking of Telecomms, I corrected one instance in the game where it's
Telecom. Like I said, this is not correct. There was only one
inconsistency.

Likewise, Nanotrasen has been changed to NanoTrasen. Nanotrasen only
appears 20 times, where NanoTrasen appears 62. NanoTrasen is clearly the
preferred, correct naming.
2016-09-13 16:36:43 -04:00
SinTwo a17d42a84c mode name and ert sechud fix 2016-08-05 16:27:07 -04:00
Leshana d002e5a3e7 Add a unit test which verifies all research designs' materials lists and chemicals lists contain only valid materials and reagents. 2016-06-02 18:37:37 -04:00