Commit Graph

125 Commits

Author SHA1 Message Date
Contrabang
47b54e251e ANY error causes check_legacy_attack_chain.py to fail (#30172) 2025-08-19 12:33:45 +00:00
Charlie Nolan
c0acf193a0 Make hotspots go out easier. (#29805)
* Make hotspots go out easier.

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-08-10 16:45:24 +00:00
Contrabang
a57a8b8c40 Adds CI to error on unnecessary variable modification (#29861)
* begin the burndown? (y/n)

* okay update requirements?

* change the error name

* there we go

* tweak

* first bit of the burndown

* more

* burndown complete

* return the exit code!

* review

* Revert "first bit of the burndown"

This reverts commit 34155bd991.

* fix

* fixes

* last fix

* remove deprecated avulto stuff
2025-07-27 22:26:13 +00:00
AffectedArc07
99d2f550b9 Rustlibs git commands (#29560)
* Rustlibs git commands

* Review tweaks

* Build Rust library

* Build Rust library

* I am my own build daemon

* Build Rust library

* Build Rust library

* CI bug????????????

* You wanna work now?????

* Funny tweaks

* Build Rust library

* For gods sake

* gix breaks us, use git2 instead

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
Co-authored-by: FunnyMan3595 (Charlie Nolan) <funnyman3595@gmail.com>
2025-07-25 22:08:58 +00:00
warriorstar-orion
b2c88e7d4e adds mapmanip: mazegen (#29522)
* adds mapmanip: mazegen

* newtype map tile values, better documenting

* build libs

* remove obsolete binaries

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-07-23 21:25:00 +00:00
warriorstar-orion
b9ead6bd80 fix dvorak remote ai upload not working (#29786) 2025-07-20 19:37:48 +00:00
chuga-git
4882ffe053 Ports rust-g -> rustlibs: toast (#29379)
* moves rustg_toast to rustlibs_toast

* Build Rust library

* Build Rust library

* Update rust/Cargo.toml

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>

* Build Rust library

* throw out old binaries

---------

Signed-off-by: chuga-git <98280110+chuga-git@users.noreply.github.com>
Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2025-07-19 14:56:22 +00:00
warriorstar-orion
9025177c60 clean rebuild all rustlibs (#29765) 2025-07-14 07:02:35 +01:00
AffectedArc07
6051b161be Bins off 515 (#29756)
* Bins off 515

* Please work?

* Remove all beta as well

* Hmmmm

* CURL 4

* AAAAAAAAAAAAAAAAAAAAAAAAAAA

* SDMM PLEASEEEEEEEEEEEEEEEEEEE

* GAH

* I am so rusty - thats not a pun

* Build Rust library

* guh

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-07-13 19:09:12 +00:00
warriorstar-orion
0adc3913d1 prohibit prefabs in spawner loot lists (#29556)
* prohibit prefabs in spawner loot lists

* fix copy paste
2025-06-11 17:12:47 +00:00
AffectedArc07
11d527c819 READY - Rust HTTP Stuff (#28997)
* WIP AND BROKEN - Rust HTTP Stuff

* this mostly works

* TM ready???

* Build Rust library

* handle failed requests properly

* Build Rust library

* Build Rust library

* Remove TM stuff

---------

Co-authored-by: Chuga <98280110+chuga-git@users.noreply.github.com>
Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-06-06 16:51:05 +00:00
warriorstar-orion
7faed06981 Adds dynamic airlocks, a flexible mapping tool (#28852)
* move airlock controller defines to the right place

* goddamnit

* Adds dynamic airlocks, a flexible mapping tool

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: warriorstar-orion <orion@snowfrost.garden>

* final as anythings

* break some long comment lines

* rebuild rust just in case

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2025-05-19 21:40:52 +00:00
warriorstar-orion
d53038e275 integrate tg's restore_or_install_byond github action (#29283)
* integrate tg's restore_or_install_byond github action

* rage unending

* make sure we have a fallback here

* i guess this was like this before?
2025-05-10 18:57:11 +00:00
warriorstar-orion
091b648cd0 use ~ instead of shellenv HOME for CI cache paths (#29282)
* use ~ instead of shellenv HOME for CI cache paths

* i am going to be insanely pissed if this works

* at least filter cache into stable and beta
2025-05-10 17:37:16 +00:00
warriorstar-orion
a126858e60 fix all mapmanip rust linting warnings and tests (#28874)
* fix all mapmanip rust linting warnings and tests

* Build Rust library

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-04-30 14:51:49 +00:00
chuga-git
1e1de1059f Fixes rustlibs dmi module (#28984)
* Correctly ports rust-g dmi_strip_metadata

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-04-13 12:36:04 +00:00
chuga-git
5c8ba2ee4e Ports rust_g -> rustlibs: logging, toml, dmi, json, and noisegen (#28858)
* Rustlibs logging, toml, dmi, and dbpnoise

* missed one

* Hopefully fix logging utf-8 decode errors

* Fuck

* Build Rust library

* ports rust_g json validator

* rustlibs_file clippy lint

* Build Rust library

* fix merge conflict

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-04-11 17:45:45 +00:00
warriorstar-orion
9d27575a7e add dormant CI check for wallbump collisions (#28727) 2025-04-05 11:36:18 +00:00
Migratingcocofruit
e261e35907 Fixes some burn reactions deleting energy (#28659)
* makes energy production make sense

* Build Rust library

* Build Rust library

* Build Rust library

* Build Rust library

* Build Rust library

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-03-30 21:42:18 +00:00
ike709
cbd53f936a Fixes OpenDream not compiling outside of CI (#28837)
Signed-off-by: ike709 <ike709@users.noreply.github.com>
2025-03-30 18:49:42 +00:00
AffectedArc07
21d4a58dd1 [READY] Moves Redis to rustlibs (#28676)
* [WIP] Moves Redis to rustlibs

* Build Rust library

* Make it use BAPI lists

* Build Rust library

* sob

* Build Rust library

* Aggressive warnings

* Strip out the aggro warnings

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-03-30 15:03:23 +00:00
warriorstar-orion
0fd4698646 refactor map size CI (#28728)
* refactor map size CI

* get a count of maps
2025-03-27 22:17:18 +00:00
warriorstar-orion
0031225055 New mapmanip function: map orientation. (#28559)
* New mapmanip function: map orientation.

* Build Rust library

* rotate, don't flip

* Build Rust library

* Build Rust library

* remove from maps with airlock placers

* update mapmanip ps1 dll location

* attempt rebuild locally

* better error message and proper string conversion

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-03-20 15:06:25 +00:00
warriorstar-orion
7b8926697e submap feature: singletons (#28620)
* submap feature: singletons

* Build Rust library

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-03-20 14:23:25 +00:00
AffectedArc07
7b40fe651b [READY] The most unholy solution to 515 and 516 rustlibs (#28590)
* What in the heck is this

* Tweaks I should have made before opening the PR

* gah

* Fix if () spacing issue

* Use the proper package
2025-03-13 16:14:31 +00:00
chuga-git
c550db4e65 Merges check_icon_dupenames.py and check_icon_conflicts.py (#28587)
* merges check_icon_conflicts and check_icon_dupenames into check_icons.py

* oopsies

* god damn it
2025-03-05 21:15:15 +00:00
chuga-git
86dd0ce791 Make rust panic handler log panic payload (#28527)
* make rust panic handler actually show payload

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-03-03 20:58:56 +00:00
chuga-git
49472259b1 refactors check_grep2.py to use ProcessPoolExecutor (#28574) 2025-03-02 23:50:34 +00:00
Contrabang
3e373d24ec more ci wooo (#28530) 2025-02-26 22:27:37 +00:00
chuga-git
38642d5888 CI lint for UID() misuse (#28465)
* Adds CI check for UID() being passed parameters.

* Fixes cases of UID() being passed parameters.
2025-02-21 19:35:02 +00:00
Contrabang
5237a148cc Readds Atmos freezing to loading maps (#28111)
* Adds Z-level freezing to MILLA

spacing fix

lets try that again

Build Rust library

update

* Build Rust library

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-02-08 17:07:28 +00:00
Charlie Nolan
9be5e7d206 Slower plasma fire and temperature decay (#28171)
* Slower plasma fire and temperature decay

* Build Rust library

* Build Rust library

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-02-07 11:52:51 +00:00
AffectedArc07
f5e51835c8 New CPU target for prod libs V2 (#28191)
* New CPU target for prod libs V2

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-01-30 22:50:15 +00:00
Charlie Nolan
879fafd788 Stop MILLA lag (#27965)
* Remove obscure reference.

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-01-13 21:58:33 +00:00
Charlie Nolan
24f6787b91 Initialize Atmospherics much faster (#27862)
* Read atmos from MILLA instead.

* Runtime fix

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2025-01-07 00:55:02 +00:00
warriorstar-orion
8aaad571f5 fix return value of check_datum_loop CI check (#27798) 2025-01-02 07:10:52 +00:00
Charlie Nolan
e6f99049f6 MILLA phase 2 (#27659)
* MILLA phase 2

* Lint.

* Build Rust library

* Assorted bugfixes and tweaks

* Simplify fire mechanics and make hotspot sending to DM more reliable.

* Assorted tweaks, fixed an issue in the core engine and removed the softcap it made necesary.

* SM fixes, slower plasmafire, less overpowered pyro anomalies, and air alarm improvements.

* Review fixes.

* Build Rust library

* Unbalanced icon.

* Rebalance immovable rods.

* Unbalanced has alerts, can fight airflow (but get slowed)

* Build Rust library

* Stronger space cooling, slower temperature flow, faster burns, burnt floors, and a hotspot display fix.

* Build Rust library

* Tweaks to avoid merge conflict

* Oops.

* Build Rust library

* Rebalance wind.

* Rebalance temperature flow and space cooling.

* Fix gas flamethrower.

* Build Rust library

* Make air push slowdown directional, so you don't get slowed while moving with the air.

* Variable name cleanup.

* Reduce the speed of wind pushes.

* Prevent wind pushes from breaking your pull.

* Prevent swaps during wind push.

* Made supermatter crytals reliably run last in atmos machinery.

* Sped up plasmafire burning, but dropped the minimum burn amount.

* Rebalanced SM heat output.

* Rebalanced pyro anomaly.

* Build Rust library

* Lint

* Build Rust library

* Uncap fuel burnt readout.

* Added Custom air alarm mode, dropped Refill cap to ONE_ATMOSPHERE.

* Updated air alarm modes to use pressure settings instead of ONE_ATMOSPHERE

* Added a list of areas not in Filtering to atmos alert computer.

* Increase pressure gradient and vent output, especially at low distro pressure.

* Changed Immovable Rod from Moderate to Major.

* Lint

* Build Rust library

* More lint!

* Build Rust library

* Magboots, scaled slowdown, and nukie borg immunity

* Wind image

* Wind v2

* Wind v3

* pngcrush

* pngcrush again

* Moved hotspot removal into SSair, add wind effect.

* Lint

* Build Rust library

* Fix hotspots.

* Hotspot visual based on gas burnt

* Build Rust library

* Scaled wind to gas amount, stopped first wind push while moving.

* Made Rust panic logging safer.

* Made MILLA full tick and sleep timers more honest.

* Pressure overlay, ghost mode, atmos goggles.

* Build Rust library

* Lint

* Build Rust library

* More lint-y stuff.

* Build Rust library

* Repair pressure overlay if it loses its loc.

* Bind pressure overlays to their tile better.

* Build Rust library

* Make the pressure overlay work on z=1 and not proliferate effects.

* Don't block the supply shuttle.

* Don't fine for special effects.

* Maybe don't fine for ghosts, either.

* Build Rust library

* Make pressure overlay play nice with shuttles.

* Build Rust library

* Pressure scanning for borgs.

* Build Rust library

* Lint

* Build Rust library

* Made explosions not generate so much wind.

* Removed an old and non-functional proc.

* Clientless mobs can get pushed again.

* Build Rust library

* cargo fmt

* Build Rust library

* Don't divide by zero.

* Plasmafire generator for the Shadow

* Update shadow to use plasmafire generators

* Fix shadow's plasmafire generators going out on depart.

* Prevent heat2color from runtiming at absolute zero.

* Better nanofrost

* Build Rust library

* Singularity immunity

* Build Rust library

* Add back meson mode to atmospheric scanner goggles, so they don't stare deeply into the SM

* Build Rust library

* Dump panic outputs into data/ instead.

* Build Rust library

* Apply suggestions from code review

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Signed-off-by: Charlie Nolan <funnyman3595@gmail.com>

* Saner handling of MILLA crash.

* Build Rust library

---------

Signed-off-by: Charlie Nolan <funnyman3595@gmail.com>
Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
2025-01-01 20:12:05 +00:00
warriorstar-orion
cc9b5fbb03 Improve CI output for legacy attack chain check (#27587) 2024-12-24 21:31:36 +00:00
warriorstar-orion
bb60a027bf unit->game tests, /tg/ assertions and allocations (#27646)
* unit->game tests, /tg/ assertions and allocations

* whoopsies

* fix lint
2024-12-21 21:19:33 +00:00
warriorstar-orion
d23c808e47 Fixes several attack chain call sites (#27553) 2024-12-06 22:20:12 +00:00
warriorstar-orion
525c68d617 Attack chain, initial setup. (pull *immediately* for *any* TM issues) (#26834)
* refactor: Attack chain, initial setup.

* migrate curtain to make dreamchecker happy

* update thurible

* don't call attacked_by separately for legacy attack chain

* remove duplicate proc

* condense similar code, put allowances for legacy code in new procs

* update docs, include diagram source

* add comment on how to update diagram

* fix admonition

* mindflayer updates

* remove commented out code

* clarify all steps

* after_attack should be overridable

* whoops

* retrofit recent changes

* duh, can't restrict this yet because of tool_acts

* i hate ore bags with the fire of a thousand suns

* return correct value for object attack logic

* Various cleanups.

We don't want to attempt to pull stuff out of `/obj/item/attackby`,
because those pieces are part of the related objects' migrations, not
`/obj/item` itself. Attempting to do this causes knockon effects where
things expected to call e.g. `/obj/item/storage/attackby` in the call
chain were not ferried over to the new item interaction code, because
the related objects hadn't actually been migrated over yet.

I've used refactoring /obj/vehicle as the example for migrating
`attackby` methods instead.

* simplify some argument names

* fuck it

* make it do the thing

* Rename CI module call

* Prove that CI works

* improve test output

* aaand fix it again

* fix curtain tool interactions

* fix compile error

* fix compile error

* Better docs, introduce migration plan tool.
2024-12-02 23:36:36 +00:00
warriorstar-orion
0ffa8303a7 Rename all non-snake_case types. (#27268)
* refactor: Rename all non-snake_case types (not procs or vars (yet)).

* completely dynamic update script

* might help to include the data

* update aa's scuffed python

* oh

* set script PR number

* run updatepaths again

* Add other table updates with JSON columns

* bump SQL version

* just fucking end my life

* move JSON data
2024-11-30 19:08:45 +00:00
AffectedArc07
e1544141dd [DNM] Some absolute insanity performance hacks (#27204)
* Some absolute insanity performance hacks

* Ok NOW its getting weird

* Adds a way of verifying if this is working

* Lets see how this goes

* Build Rust library

---------

Co-authored-by: paradisess13[bot] <165046124+paradisess13[bot]@users.noreply.github.com>
2024-11-14 17:45:29 +00:00
AffectedArc07
1a2c836073 [READY] RustG update (#27264)
* [TM ONLY] RustG update

* Certified Balls Moment

* NO HALF SENDS

* oogabooga

* AAAAAAAAAAAAAAAAAAAAAAAA

* Please work I am losing it I am losing it I am losi

* AAAAAAAAAAAAAAAAAAAAAAAAAAA

* Final changes
2024-11-09 20:58:14 +00:00
Contrabang
0f717d660a Adds CI to forbid some istype(src) checks. (#26980)
* first set of changes

* the last checks

* actually builds

* Update code/modules/surgery/organs/subtypes/standard_organs.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Update tools/ci/check_grep2.py

Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* 1 fix (cigarettes) and better encapsulation in files

* yeeep

---------

Signed-off-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2024-11-06 12:56:36 +00:00
warriorstar-orion
9465b565b8 refactor/ci: enforce mapload in Initialize args (#26878)
* refactor/ci: enforce mapload in Initialize args

* add new missing mapload arg

* add yet another missing mapload arg

* Update code/modules/power/engines/singularity/particle_accelerator/particle.dm

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
2024-10-23 19:07:46 +00:00
Contrabang
e3c0198737 Adds CI to prevent manual calls of update_icon_state, update_overlay, etc. (#27010)
* CI something something

* last fix
2024-10-22 12:46:00 +00:00
warriorstar-orion
b066c95bfc port: Aurora mapmanip library for map templates, and documentation. (#26803)
* refactor: wrap MILLA in general Rust library

* port: Aurora mapmanip library and documentation.

* update CI libs and TGS build rule

* pass filename properly, raise map helper layer

* Update rust/src/mapmanip/core/mod.rs

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: warriorstar-orion <orion@snowfrost.garden>

* add a bit more documentation

* make doc more para-centric

* these don't need to be images at all

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2024-10-22 12:09:13 +00:00
warriorstar-orion
5f814597a7 lint: forbid whitespace in empty list decls (#26972)
* lint: forbid whitespace in empty list decls

* Update tools/ci/check_grep2.py

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Signed-off-by: warriorstar-orion <orion@snowfrost.garden>

* close enough to grab a bunch

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
2024-10-21 19:28:21 +00:00
Contrabang
900271af91 Updates OD lints (#26729)
* yea

* update lints

* lint changes and code fixes

* i hate old code

* dont make this an error
2024-09-27 17:02:16 +00:00