Commit Graph

15 Commits

Author SHA1 Message Date
Toastical
505faec726 Makes antidrop implant release its items regardless which slot theyre in (#29242)
* removed nodrop check, changed anti_drop implant

* anti_drop test

* some touches
2025-05-12 20:52:57 +00:00
warriorstar-orion
58967ee12e elementize pet collars (#29209) 2025-05-07 22:31:17 +00:00
warriorstar-orion
29935d7db9 Datumize job assignment. (#28521)
* Datumize job assignment.

* fix arg

* correct argument type passing

* lewc review 1

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* microptimizations for iterations

* shit, not this one

* make logging more consistent

* copy over head/antag roll logic

* okay we're done with dumb boutique logging sinks

* this is the same proc

* this is the same proc

* fix build

* more logging and check command position availability

* tighten up some logic

* mostly tiny tweaks

* tweak logs

* add step type for latejoin

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2025-05-04 18:23:46 +00:00
kyunkyunkyun
e48f4ddbf3 Make sinks/toilets/showers directional for mapping (#28940)
* update watercloset.dm (again)

* add missing returns and armor check

* updatepaths

* maybe now

* try this

* should be better

* paths

* sleep doesn't work

* is it better

* he slips xdd

* this

* come on

* ok i can't beat the grab
2025-04-26 18:06:38 +00:00
warriorstar-orion
efc8adb6dd Basic mobs targeting, attacks, and pig migration. (#28987)
* Basic mobs targeting, attacks, and pig migration.

* run updatepaths

* fix duplicate macro def

* Update code/datums/ai/basic_mobs/basic_ai_behaviors/basic_attacking.dm

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

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
2025-04-15 14:45:56 +00:00
CRUNCH
476c526c69 Atomized APC Construction Update (#28817)
* initial commit

* Update apc_construction.dm

* Apply suggestions from code review

Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>

* Split

* Update apc.dm

* Update apc.dm

* Update apc.dm

* Update apc.dm

* Update apc.dm

* Apply suggestions from code review

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

* Defines

* Now with 100 percent more tests

* this was not supposed to be here

Whoops!

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update test_apc_construction.dm

* Update apc.dm

* Update test_apc_construction.dm

---------

Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>
Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
2025-04-08 14:20:01 +00:00
warriorstar-orion
7eb404f562 attack chain migration: reagent containers (#28699)
* migrate reagent_containers.dm

* applicator migration + game test

* borg hypo migration

* condiment migration + game test

* fixed and expanded applicator game test, helper proc for puppet activate_self

* expanded condiment game test, added negative any_chatlog define

* drinks_base.dm migration

* bottle.dm migrated

* molotov migrated

* cans migrated

* drinking glass migrated

* shot glass migration

* bottles suck

* some fixes

* more bottle.dm

* bottles finally behave

* bottle fixed, shotglass fixed, everfull migrated

* bottle tests

* cyborg trashbag can crush autopickup is broken

* fixed cans insertion into backpacks

* added zone targeting to puppet

* more tests for drinks

* dropper migration

* dropper finished, removed a repeated proc

* smol tweak

* glass containers

* glass containers finished

* fixed can and bottle tests

* molotov test

* drinking glass and started shot glass

* fixed puppet activate_self + done with drinkingglass

* med containers, shuffle tests around a tiny bit

* fix autoinjectors

* remove return value from spawn block

* Apply suggestions from code review

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

---------

Signed-off-by: warriorstar-orion <orion@snowfrost.garden>
Co-authored-by: Toastical <toast@toaster.com>
Co-authored-by: Toastical <toastical@toaster.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
2025-03-21 20:42:24 +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
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
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