Commit Graph

16 Commits

Author SHA1 Message Date
Toastical
79b242c400 missing check (#28573)
Co-authored-by: Toastical <toast@toaster.com>
2025-03-08 18:35:16 +00:00
warriorstar-orion
6359d3f41b test suite: mob attack chain (#28440)
* test suite: mob attack chain

* 100% random zone probability in tests
2025-02-20 15:03:21 +00:00
CRUNCH
d05cc7c5cb Migrates /obj/item/melee/baton to the new Attack Chain, Adds Universal Poking (#28241)
* Update stunbaton.dm

* Update stunbaton.dm

* update

* Update stunbaton.dm

* Update code/game/objects/items/weapons/stunbaton.dm

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

* update based on review

* Create test_attack_chain_stunbaton.dm

* update

---------

Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>
Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
2025-02-18 11:11:13 +00:00
Charlie Nolan
9d227fe4aa Reduced dynamic budget at low player count (#28300)
* Reduced dynamic budget at low player count

* Tests

* One linty boy

* I was, uh, making sure the test worked. That definitely wasn't a typo. <.<
2025-02-16 08:02:22 +00:00
warriorstar-orion
8e4dc6165b Separate station/unit tests and disable lavaland procgen and ruin spawning in tests (for now). (#28106)
* Separate station/unit tests and disable lavaland.

* add CI/local test conflict check back
2025-02-08 17:09:00 +00:00
warriorstar-orion
4ec4e4128a fix reagent containers not transferring into protolathes or circuit imprinters (#28225) 2025-02-02 16:59:47 +00:00
Toastical
a959de564d Puppet test activate_self wrapper and negative any_chatlog check (#28209)
* activate_self wrapper for puppet and NOT check for any_chatlog

* fixed helper proc

---------

Co-authored-by: Toastical <toast@toaster.com>
Co-authored-by: Toastical <toastical@toaster.com>
2025-02-02 03:52:10 +00:00
warriorstar-orion
99ad70a5c0 minor test fixture improvements (#28207)
* minor test fixture improvements

* make return values sane
2025-01-31 23:10:03 +00:00
warriorstar-orion
f479ace54f Attack chain migration: /obj/machinery (#27784)
* one at a time let's go

* air alarm

* so many

* meh

* hell

* hell

* hmm

* Attack chain migration: /obj/machinery

* what the fuck?

* hell

* review fixes

* whoops

* fix build

* nuke fixes, more tests

* gland dispsenser and start of autolathe test

* var renames

* small fixes

* i tire of life

* more tests

* more tests

* more tests

* shrink map

* customize autolathe design disk load delay

* cell charger

* fire alarm frame installation test

* funny and burz reviews

* nuke fixes
2025-01-26 00:23:42 +00:00
warriorstar-orion
3db86c80ac Attack Chain Migration: /turf (#27530)
* Attack Chain Migration: /turf

* don't clobber component/signal vars when copying holodeck turfs

* Attack Chain Migration: /turf

* don't clobber component/signal vars when copying holodeck turfs

* Fixes from first round of testing

* rename signals, add afterattack skip

* Update code/game/turfs/simulated/minerals.dm

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

* Add some tests.

* Update code/game/turfs/simulated/minerals.dm

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

* fix TM issues

* make soap instantaneous and remove hardcoded sleep

* add sentinel value for obj placement direction choice

* fix tests

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2025-01-10 21:15:19 +00:00
warriorstar-orion
db5be68723 Add ability to check chatlog for test assertions. (#27727) 2025-01-08 20:53:51 +00:00
Charlie Nolan
ec84f16ee4 Fix testing and mapload MILLA issues (#27850) 2025-01-07 23:16:57 +00:00
warriorstar-orion
1277a01baa Respect return values of legacy attack in chain negotiation (#27724) 2025-01-06 17:35:20 +00:00
warriorstar-orion
2559287298 Create a map template for tests and use an empty space level for placing it. (#27728)
* Create a dedicated area on Z-1 for tests.

* Place landmarks in testing area, with a 1-tile margin against walls.

* Consolidate map testing behavior and use a clean z-level.

* lint map

* undo SDMM var sanitization on centcomm
2024-12-30 18:25:10 +00:00
warriorstar-orion
33eaf8ae42 Create interaction test harness. (#27643)
* Create interaction test harness.

* retrofit tests, add janicart attack chain tests

* extract puppeteer to separate file

* move puppeteer creation to constructor
2024-12-23 00:20:49 +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