Commit Graph

10661 Commits

Author SHA1 Message Date
Will
969c1caa39 Signal Handler Preperation (#17681)
* FIrst pass

* signal handler only on base proc

* missing signal_handlers

* windoor to timers

* Testing a really dumb fix
2025-05-17 06:44:56 -07:00
ShadowLarkens
70fbea5d4c Reduce Lists Memory usage, update CI (#17706)
* Convert alerts to a lazylist

* Convert fullscreens to lazylist

* Convert ckeys_allowed_itemspawn to a lazylist

* Convert camera lists to lazylists

* Get rid of an old unused footstep_sounds list

* Make flooring_cache a lazy list

* Fix flooring_blacklist, convert a bunch more flooring lists to lazylists

* Improve ci byond caching
2025-05-16 22:07:33 +02:00
Cameron Lennox
86a21e9578 Properly paths sound files and folders (#17604)
* bye

* hello

* hi

* hi

* bye

* hi

* bye

* hi

* Replace em

* bye

* hi

* bye

* Hi

* bye

* hi

* bye

* hi

* bye

* hi

* bye

* hi

* bye

* hi

* bye

* hi

* bye

* hi

* hi

* hi

* hi

* hi

* gwah
2025-05-15 20:14:50 -07:00
Cameron Lennox
f40bf1f7e4 Vendor and Phasegun adjustments (#17647)
* part 1

* Cleanup

* text

* webbing

* Eh these values seem fine

* Bonus damage to mobs

* if we have a mind, dont take bonus damage

* Less VR overrides

* vendr
2025-05-15 20:14:05 -07:00
Will
05e75a2614 Modular Code Compatible Posters (#17703)
* poster modularity

* access control, documentation

* properly exclude lewd

* unittest too

* fix

* poster test fix
2025-05-15 13:20:20 -07:00
Will
c213dbcd21 Reagent Addictions (#17498)
* Addictions

* improvements to addiction code

* some small revamps

* some polishing to reagent code

* some more fixes

* wiki updated for addiction

* proper addiction sync on respawn

* final cleanup, config

* coffee handle addiction proc

* fixed global var

* Addictions and

Gives alcohol special effects
Disables the harder addictions
Gives nicotine an a special effect

* remove >0

* safety

* Update medicine.dm

* Update medicine.dm

* Update food_drinks.dm

* update lazydefines

* disable alcohol addiction on virgo

* use lazylen, proper addiction end messages

* cure message bugfix

* use right args

* proper macro

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-05-15 10:57:41 -07:00
Cameron Lennox
40861f50e0 Proper MaxHealth checks and Crit Point (#17704)
* Fixes maxhealth checks not including modifiers and mxHP

Death at:
W/ 100max hp: https://i.imgur.com/nR8DtzG.png
W/ 125max hp: https://i.imgur.com/87eD2hW.png
W/ 25max hp: https://i.imgur.com/SP6rPWc.png

* Crit Point

* small xenochimera fix

* Update game_options.txt
2025-05-15 00:25:30 -07:00
Will
709e9d130c Hallucination Refactor (#17661)
* begone accursed beast

* cleanup and notes

* screen object fix

* varset clear

* don't raw send sounds, spark on door sound, pain hallucination

* lengthen this a bit

* more pain messages, become jittery

* note

* lets clean that up to

* Revert "lets clean that up to"

This reverts commit 2409e41870.

* cleanup and define

* use accessors

* death isn't working so have toxins instead, it's scarier

* don't actually clean these up, because of how xenochi works

* additional protection

* hunger joke

* Use get_component instead of a cache

* empty scope removed

* Updated xenochi code to use hallu component

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-05-15 00:17:39 -07:00
Kashargul
f84536fc3a some small things (#17693)
* some small things

* .

* clean this up

* potentially fix nulls in player list

* .

* Fixes

* Update machine_stacking.dm

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-05-15 00:56:26 -04:00
Cameron Lennox
2b0853887b Shadekin and Xenochimera variable refactor (#17651)
* gets rid of xenochimera brain var

* whoops

* shadekin too

ye https://i.imgur.com/lNI2AiG.png

* organize

* simplekin too

* yuh

* Refactors xenochimera

progress:
https://i.imgur.com/ssQbRKS.png
https://i.imgur.com/ySBxm0M.png
https://i.imgur.com/3FWPVuP.png

* Update xenochimera.dm

* Update examine_vr.dm

* Update xenochimera.dm

* Update xenochimera.dm
2025-05-12 21:44:25 +02:00
ShadowLarkens
becee29587 Fix a bunch of oversights in the kitchen sink PRs (#17690)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-05-12 21:41:49 +02:00
Guti
78c71907e9 Balloon Alerts (#17540)
* balloon alerts

* Take that one out

* fixes

* fixes 2

* Missing one

* That goes there

* ough

* ,

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-05-08 22:00:54 +02:00
Kashargul
65fefbf5de check cuffing target (#17639) 2025-04-30 08:11:23 +02:00
Kashargul
550f36fad7 Somemissingthings (#17615)
* cleans up some comments

* ...

* .

* somemissing things

* that too

* make this nicer

* .

* .
2025-04-27 21:19:59 +02:00
Kashargul
f6a99359a9 move invisibility to defines (#17612)
* move Invisibility to defines

* .

* .
2025-04-27 16:47:53 +02:00
Cameron Lennox
a0e9785d0d Kitchen Sink P2 TGUI Prefs (#17579)
* Kitchen Sink V2

* tsx

* Update vorestation.dme

* Update 01_basic.dm

* Update 01_basic.dm

* Deletes the character  directory

* F & M tags

* Flexible

* Update misc.dm

* ICP

* more fixes

* missing sounds
2025-04-26 16:08:58 -04:00
SatinIsle
152118c1d4 adds missing SIGNAL_HANDLERs (#17585)
* adds missing SIGNAL_HANDLERs

Added missing SIGNAL_HANDLER lines to many RegisterSignal() proc refs.

* Oopsies
2025-04-26 21:50:50 +02:00
Guti
369c46830e stuff (#17605) 2025-04-26 21:45:01 +02:00
Kashargul
4d6ea5d336 up port those (#17599) 2025-04-26 19:22:22 +02:00
Cameron Lennox
d0787362cd Kitchen Sink PR (#17515)
* insanity

- Crawling
- Recursive Listeners
- Global Conversion to GLOB.
- Sound channels (and sound (but not looping sound yet))
- Species and gender specific sounds
- Admin proc to enable vore antag on a target
- Dying by being crushed inside of shoes now enables your vore_death flag
- *pain emote
- RNG Spaceslipping removed
- Selecting the groin with help intent will do a bellyrub on the target
- Xenochimera get lick wounds
- Wolves now get stomachs (and stomach overlays)
- Proper vantag handling
- Staff exiting will now notify staff
- Modular computers get a power on sound now

GET IN THERE

* whoops forgot to give it to mobs

* Bellyrubbing is now an emote

* Update vorestation.dme

* some small edits

actually gives voice freq a valid starting selection
makes the default voice less jarring

* Update atoms_movable.dm

* Update atoms_movable.dm
2025-04-25 16:21:35 -04:00
Guti
0daf3f0500 Disables old vomit virus spread (#17573)
* kill

* Update

* Update extrapolator.dm

* cure
2025-04-24 08:56:18 -04:00
Kashargul
e5d5b3769a ss atoms update (#17529)
* draft ss atoms update

* .

* .

* .

* low wall

* do that when not asleep

* late init handling

* .

* smes

* try this
2025-04-24 00:00:57 +02:00
Cameron Lennox
9e728a6099 Removes more sleeps in the code (#17572)
* Removes more (potential) sleeps

* Update slime_replicator.dm

* UNGLOBs communicators
2025-04-22 12:12:35 +02:00
Cameron Lennox
b549f48a9f Removing the last sleeps in Init (#17550)
* Should not Sleep

* roughdraft that works for POI loader

needs the bells and whistles

* better queue

* Moved the procs to the subsystem itself

* Update pois.dm

* empty list

* Update pois.dm

* do it during init
2025-04-21 20:29:40 -04:00
Cameron Lennox
f1f51a597c More PSG changes (#17503)
* Berserker PSG

* Makes PSGs more acquirable.

- Makes PSGs more acquirable
- Standardizes the PSG names (PSG Variant-XXX)
- Adds the PSG-BIO to the CMO's locker and CMO supply crate(Just reduces toxin/oxygen/clone attack damage taken)
- Adds the PSG-Melee to the Pathfinder locker
- Adds the PSG-BIO to the Pathfinder Medic locker
- Adds the PSG-S to HoS locker (and HoS supply pack)
- Makes it so the Exploration shield pack has a melee and upgraded mining (mob combat) PSG
2025-04-21 18:25:05 -04:00
Cameron Lennox
9b0bb5f814 Makes FBP not go blind from welders (#17493)
* Makes FBP not go blind from welders

Also makes it so the eye color verb is actually attached to the eyes.

* Different way

* gwah
2025-04-21 18:24:28 -04:00
Cameron Lennox
b820b71b07 Makes bodyscanners show missing internal organs (#17456)
* Makes bodyscanners show missing internal organs

* Adds species check

Adds custom species check AND adds the missing organs to the printout

* Why could this not be put on there

* undef handling

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 18:24:09 -04:00
Cameron Lennox
bf52fdd23d RMS Adjustments (#17490)
* RMS Adjustments

Makes the RMS more useful

Including MATH this time!

* Update RMS.dm
2025-04-21 17:20:31 -04:00
tacoguy7765093
bffd33d57b gives surgery tools attack sounds (#17555) 2025-04-21 20:06:51 +02:00
Guti
640cab345e Virology Update #3 (#17227)
* Base stuff

* Thresholds

* Cockroaches, adjustments

* Extrapolator + TGUI Update

* Adjustments

* Updoot

* Revert "Updoot"

This reverts commit 8c27a2525e.

* Gwuh

* test

* heals

* Genetic

* Holder and vomit

* Indents

* Compilable :)

* Various fixes

* Updates Symptoms

* Genevirus

* Neutered Symptoms

* Adjustments

* rads

* Extra symptoms

* Extra extra symptoms

* Adjustments, fixes, more symptoms

* Powder that makes the linter green

* Finishing touches?

* Fixup maps in TGM format

5041170ae1: maps/expedition_vr/beach/submaps/quarantineshuttle.dmm

Automatically commited by: tools\mapmerge2\fixup.py

* Last bits

* Defines

* Oxy heal

* I crave the green check

* fix

* Maps

* Macrophages to turf

* Fimxes

* Fixes :)

* Vomit

* Preset

* Fire desc

* SPELLING MISTAKE

* Extra stuffs

* types

Allows infecting children of a type

* feet

paws?

* fix

* Fixes

* Update

* Flags

* Update _disease.dm

* Infinite blood glitch (100% real)

* virus data properly carries over

* GODSPEED, KELENIUS

YOUR 10 YEAR TODO IS FINALLY DONE

* define

* U2

* Implicit

* Damn it Fleming

* oops

linter is kill

* Update _reagents.dm

* Extra check

* .

* ough

* fixes

* Small changes

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-04-21 06:12:15 -04:00
Selis
28e969778c code/global.dm => code/_global_vars/ (#17244)
* 1

* Full conversion

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 05:55:25 -04:00
Cameron Lennox
de68694e8c Projectile fix (#17558)
* Turret fix

* gets rid of hardcode

* Fixes fragmine miss chance

Makes it actually work with the new projectile system.
Makes it not have a 100% dodge chance if you step onto it

* do the shuffle
2025-04-21 05:19:48 +02:00
Kashargul
db423858d6 fix a bunch of runtimes (#17557)
* fix a bunch of runtimes

* can be null

* ..

* human

* .
2025-04-21 05:18:45 +02:00
SatinIsle
a05bcda725 Flying/hover/floating doesn't get blood on your shoes. (#17562)
Changed blood splatters and subtypes such as oil to no longer interact with someone flying, hovering or floating over them.
2025-04-21 05:18:28 +02:00
Selis
21dcf0555b Conversion many Globals to Managed Globals (Part 1) (#17121)
* Conversion of some Globals to Managed Globals

* Fix

* for later

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-17 14:16:53 -04:00
Kashargul
f5b5727dcf oups forgot to delete the old code (#17534) 2025-04-14 15:54:23 +02:00
Kashargul
cdfa1c853f New to init final (#17512)
* Initial

* some more

* next few

* only light left

* fix things up

* some rmore fixes

* guh

* Update ai_vr.dm

* comment

* lets try something

* .

* hmm

* .

* .

* hmm

* push that here

* fix layout

* grrr
2025-04-14 00:07:35 +02:00
Kashargul
734a07a9aa some robot file splitting (#17525)
* some robot file splitting

* .

* ..

* .

* fix modal inputs

* urg
2025-04-13 15:50:32 +02:00
Cameron Lennox
d3a9fdbb35 Fixes stumble & flight vore (#17492)
* part 1

* damn

* part 2

* instant

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-13 04:42:34 +02:00
SatinIsle
94e61bdfc0 Fixes some bad Destroy()s (#17511)
* Fixes some bad Destroy()s

Fixes some bad destroys on request of Kash, will need checking over that I've not misunderstood the instructions! This is all I had time to look through for now. Checked around 200-ish files.

* The rest of them

Found a quick way to look through them all

* Update chicken.dm

* fix that

* don't abuse destroy

* .

* move this up

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-12 00:15:42 +02:00
SatinIsle
dd1df5eaaf Makes IDs trash eater-able (#17516)
Added IDs to the list of edible trash eater items. Just like PDA's they require the owner to be watching when they're eaten.

Fixed PDA eating warning messages not being visible.
2025-04-12 00:15:09 +02:00
Cameron Lennox
5285483c1e Heater Buff & Craftable Heaters (#17494)
Heater Buff & Craftable Heaters

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-10 11:23:10 +02:00
Guti
2d0b1cbb3a fimx (#17495) 2025-04-09 09:38:49 +02:00
Guti
356e3228ad Adds an animation when placing objects on tables (#17443)
* Animation

* .
2025-04-09 09:26:48 +02:00
Cameron Lennox
2e38926234 Removes sleeping from the code in more places (#17418)
* Axes unused 'paused' variable from projectile code

* Remove TGUI in scrubber init

Moves it to only happen when a user interacts with it.

* Ghostpod tgui input from init -> LateInit

Ghost query REQUIRES a tgui input. It can't be fixed on that level.
Ghost pods however created a ghost query when spawned if they are NOT mapspawn. This means it can only be moved to lateinit, as far as I can see

* Moves borer ghost query from init to lateinit

* Better mob chasing. Gets rid of sleep in mob chasing

Moves Noodle's and Ian's snack tracking var to base /simple_mob
Moves Noodle's and Ian's tracking process from a individual proc of each to /simple_mob
Moves the sleeps out from the tracking proc and makes it a repeating timer.
Noodle now gets nutrition when you feed him.

* Moves blob query to lateinit

Once again, blob HAS to do a ghost query when it's created.
Ghost query will ALWAYS make a tgui window.

* No sleep in cyborg code

Moves pick_module() from /init on robot_module to /LateInit on /robot
photo showing it popped up the module select when I spawned in as a borg: https://i.imgur.com/5rGbqIR.png

* Moves AI controlled human's 'death' proc to LateInitialize

* Moves Corpse's processing from Init to LateInit

death() has a LOT that happens inside of it.

* Let's actually make it lateload on the human itself

* In case we don't want to auto kill ai controlled mobs

* Fixes death() some more

- Protean blobs will ALWAYS have a humanform, so that segment of code was unused.
- Makes the bulk of the exit VR section in a new perform_exit() proc
- Gets rid of the WIP proof of concept hack in there.

* whoops duplicate

* We will ALWAYS have a humanform. ALWAYS.

The server will CRASH if we do not.

* get rid of this...

* Makes corpsespawn work better

* more VR stuff

* No suspending the whole machines subsystem

* avatar

* as anything

* u2

* nolist

* forgot this one

* fix

* VR fix

Fixes an oversight with VR sleepers

* player initiated

* OVERSIGHT

* Update borer.dm

OF course WE DON'T have a mind, we're a GHOST.
Fixes borer spawning

* this was unused

no
2025-04-07 17:16:07 -04:00
Cameron Lennox
d4e4c8268c Medical Adjustments (#17455)
* Defib and tank

* Defib, CPR, and stabilizer changes

qol: Defib now informs you WHY it's failing, so you can properly fix the problem.
balance: CPR can now REVIVE people if their HP is below a threshold with a 10% chance per CPR usage.
balance: CPR will cause the recipient to metabolize reagents.
balance: CPR now has a small chance of causing brute damage and rib fractures to the chest.
balance: Patient Stabilizer will cause the patient to metabolize reagents if dead.

* Broken bone fix

A fracture has a random chance of shifting around inside the first time you break it.

* shadekin runtime fix

* tgui

Adds two new TGUI states - living and living_adjacent
Fixes tram to allow mobs (and robots)

* Vital Organ chance fix

* flip flop
2025-04-07 04:58:56 -04:00
Kashargul
aad224fafe Reworks weather effects to no longer hurt phased entities (#17469)
* Reworks weather effects to no longer hurt phased entities

* no tracy ...

* .

* return

* fix planetary weather

* clearr that

* mob spawners

* fix simple mob sloshes

* fix those

* fix examines

* revert that

* convert to Z

* effect all mobs type
2025-04-06 18:09:33 +02:00
Kashargul
cc02a1a056 split tgui html (#17476)
* Repackage yarn sdks

* oups forgot that

* update dompurify

* fix mantraps

* .

* fix weakrefs

* rm

* porting the HTML split

* minify

* ut that back

* bye poly

* .

* re minify

* ..

* prettier

* fix that
2025-04-06 18:08:14 +02:00
Guti
b5fc516468 Mail update (#17477) 2025-04-06 16:11:59 +02:00
Cameron Lennox
1aa1388fc8 Various fixes & tweaks (#17439)
* More tweaks

Moves it up to use diamond and phoron like bluespare crystals use.

* .

* sass update

* Watch fixes

* no

* .

* eaeryl

* fixes that properly

* ...

* .

* No deleting mannequins

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-02 21:40:40 +02:00