Commit Graph
95 Commits
Author SHA1 Message Date
WildkinsandGitHub e1770df81e Lag War Day 4: Under Pressure, High Voltage (#21878)
Replace /datum/gas_mixture/proc/return_pressure with XGM_PRESSURE(xgm)
macro. Having such a relatively simple statement contributing proc
overhead to procs called millions of times is ridiculous

Rename /datum/gas_mixture/proc/zburn to react, deleting the old react
which was just an alias for it. Free proc overhead

Turn check_combustibility into a macro CHECK_COMBUSTIBLE(is_cmb, xgm).
also rewrite it slightly so that it only needs to do one pass. Its a bit
nasty so I apologize for that, but speeeeed.

Delete most powernet and obj/machinery/power procs for handling power,
replacing them with macros. The fact that we were unironically calling a
draw_power() on APCs to call draw_power() on their terminals to call
draw_power() on their powernet every single process tick was insane.

Turn `between` into a macro alias for clamp() since the param order is
different

turn `Percent` into a macro AS_PCT

Rewrite significant chunks of update_canmove so its not quite as
horrifying of a proc and hopefully doesn't eat the entire mob subsystem
every movement now
2026-02-27 00:35:41 +00:00
KanoandGitHub 7486b7c63f Fixes non-human mobs not displaying their name in chat (#21617)
Assigns speakers name to the speaker_name var, previously this was only
assigned for human types

Fixes #21585
2025-12-02 10:53:50 +00:00
BatrachophrenoandGitHub af0312c7d4 Bugfix batch (Pesticide Edition) (#21556)
Fixes https://github.com/Aurorastation/Aurora.3/issues/18504
Fixes https://github.com/Aurorastation/Aurora.3/issues/21064
Fixes https://github.com/Aurorastation/Aurora.3/issues/21267
Fixes https://github.com/Aurorastation/Aurora.3/issues/21455
Fixes https://github.com/Aurorastation/Aurora.3/issues/21535

Miscellaneous bugfixes, code cleanup, etc. Smaller batches this time.

changes:
  - spellcheck: "Renames 'gibber' to 'autobutcher'."
  - code_imp: "Cleans up a lot of old autobutcher code."
- code_imp: "Simplifies and unifies a lot of circuit board naming code."
  - code_imp: "Updates various code comments to DMDocs format."
- balance: "Slightly increased damage of beating someone with a ladder."
- bugfix: "Fixes foreign speech displaying the translated versions in
langchat for non-fluent listeners."
- bugfix: "Fixes whispered speech langchat; whispers are now correctly
italicized."
- bugfix: "Fixes shouted speech langchat; shouts are now correctly
biggified."
  - bugfix: "Adds missing Omni Gas Mixer, Gas Meter options from RFD-P."
- bugfix: "Adds missing circuit boards for bioballistic delivery system,
lysis-isolation centrifuge, and autobutcher to allow for construction
and deconstruction."
- bugfix: "Fixes empty algae chips bag having description set for its
name."
- bugfix: "Adds fallback_specific_heat values to several reagents that
were missing them."
- bugfix: "Fixes antimateriel projectiles being erroneously
damage-capped when hitting walls."
- bugfix: "Fixes laser beam effects not using the base colors of their
beam VFX."
- qol: "Added helpful feedback hint to move closer when someone speaks
aloud within 4 tiles while you're in vacuum (as features go, this one
felt more like a bug to experience)."
  - qol: "Updated various examine hints."

---------

Signed-off-by: Batrachophreno <Batrochophreno@gmail.com>
2025-11-11 10:56:12 +00:00
1da20ad33f Adds the Odyssey gamemode. (#18972)
https://forums.aurorastation.org/topic/20198-mission-briefing-auroras-gamemode-revolution

To-do:

- [x] Finish storyteller verbs.
- [x] Storyteller landmarks.
- [x] Proper storyteller spawning. Right now the gamemode system is
happy with just picking one storyteller and no actors.
- [x] Antagonist whitelists code.
- [x] Adding the Storyteller whitelist.
- [x] Mission map loading code.
- [x] Map in a bunch of missions.
- [ ] Storyteller adminhelps.

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: DreamySkrell <>
2024-11-26 20:18:43 +00:00
FluffyandGitHub 0ae0b10764 Refactored all the backslash ref and ref() calls to use REF() instead (#19847)
Refactored all the backslash ref and ref() calls to use REF() instead.
Added a linting for raw ref proc calls.
2024-09-13 10:17:32 +00:00
FluffyandGitHub 3dc4cce9c2 Minor span refactoring (#19177)
Minor span refactoring
2024-05-19 16:37:29 +00:00
AlaunusLuxandGitHub 859c412d4b Fix messages not being bolded for nearby ghosts if the speaker is inside a location (held pAIs, inside exosuits, etc) (#18848)
Title. Performance concerns here, since this is called for each observer
each time a message is sent. Not sure if get_area or get_turf is more
performant.

May not be worth it if it effects performance.
2024-04-05 22:33:14 +00:00
FluffyandGitHub 1b40dbce82 Updated the sound system (#18724)
* sdaf

* sdaf

* sdfa

* sadf

* sfda

* gfd

* reduce thrusters volume

* sdafsadsdaf

* sdfa

* Reduced some sound ranges and made some/more not ignore walls for loops

* health analyzers too

* ivdrip adjustment

* most tools now use play_tool_sound to have the sound played, reduced range for it
2024-03-25 20:40:36 +00:00
cadd19beac Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update

* fix that verb

* cl

* fix that

* toworld

* this is pointless

* update info

* siiiiick..

* vv edit update

* fix that

* fix editing vars

* fix VV

* Port the /TG/ globals controller.

* part 1

* part 2

* oops

* part 3

* Hollow Purple

* sadas

* bsbsdb

* muda na agaki ta

* ids 1-15

* 16-31

* 41-75

* bring me back to how things used to be before i lost it all

* the strength of mayhem

* final touches

* cl

* protect some vars

* update sdql2 to use glob

* stuff?

* forgot that is not defined there

* whoops

* observ

* but it never gets better

* a

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2023-12-26 01:16:02 +00:00
DoxxmedearlyandGitHub b79d4ace32 Ghosts can now hear whispers (#16878) 2023-07-25 19:16:20 +00:00
GeevesandGitHub 9a32c83183 Battle Bots (#15540) 2023-01-14 13:07:35 +01:00
WildkinsandGitHub 7cf187cb38 Fix mapped-in objects being deaf, destroy virtual mobs (#15343) 2022-12-17 23:27:00 +01:00
WildkinsandGitHub 2fcfa8adb7 Ports /tg/ spatial grid system, refactors telecomms, destroys lag (#15140) 2022-12-09 12:35:33 +01:00
Matt AtlasandGitHub d7074a64f0 Adds an accent tag for Srom speakers. (#14095) 2022-05-30 16:42:49 +02:00
Matt AtlasandGitHub 869e2cb5e7 Fixes accent icon text tags not showing up on the radio. (#13861) 2022-05-10 22:57:08 +02:00
Sierra BrownandGitHub b32e9fc896 Don't display hear_sleep to deaf people (#13366) 2022-03-13 21:00:21 +01:00
GeevesandGitHub 217f9f9f3d Random AI Stuff (#12985) 2022-03-01 17:09:52 +01:00
GeevesandGitHub cc65070441 Drone Speech Refactor and Tweak (#12308) 2021-09-13 14:54:41 +02:00
e808f12c95 Makes nal'rasan more different from sign (#12081)
* Allows unique ending adverbs when hearing sign language without understanding

* fixes changelog mistake

Co-authored-by: TheGreyWolf <mc-casper@hotmail.dk>
2021-06-25 18:59:29 -03:00
GeevesandGitHub a19e92a61c Remote Listening Stuff (#11667) 2021-05-08 12:09:04 +02:00
GeevesandGitHub a52f554c77 Mecha Speakers (#11268) 2021-03-10 20:18:09 +01:00
GeevesandGitHub a564c565f8 Diona Listening (#11286) 2021-03-01 16:41:04 +01:00
Matt AtlasandGitHub d4666caaac Ports Goonchat from Baystation. (#9635)
changes:

    rscadd: "Ported a new chat system, Goonchat, that allows for cool things like changing font style, size, spacing, highlighting up to 5 strings in the chat, and DARK MODE."
    rscadd: "Repeated chat messages can now get compacted. You can disable this in goonchat settings."
    rscadd: "You can change icon style to any font on your system."
    tweak: "The game window has been altered a bit to adjust for this."
    rscdel: "Removed skin style prefs as they are no longer used."
2020-09-24 23:06:04 +03:00
MarinaGryphonandGitHub 87e071fce5 Replaces \gender to fix metagaming issues. (#9745) 2020-08-25 11:46:34 +02:00
GeevesandGitHub 01d45ca2e1 Silicon Accents (#9429)
Stationbounds now have accents, starting off with Text-to-Speech, and can choose to mimic any accent.
    The bots that robotics can produce now also have TTS accents.
    IPCs can choose to use the TTS accent if they wish.
2020-07-30 20:49:09 +03:00
mikomyazakiandGitHub 3ac9bd5849 Simplifies hearing into handle_hearing() (#9443)
Currently, hearing related stuff is handled in at least three places throughout Life(), and whether a mob is deaf or not is complicated - Handled by an sdisabilities flag, has_hearing_aid() and ear_deaf.

This change consolidates everything into handle_hearing(); whether a mob is deaf or not can be determined just by the value of ear_deaf using isdeaf()

Fixes #9310
Fixes #8490
2020-07-24 15:04:08 +03:00
GeevesandGitHub 65901d9b63 Changeling Accent Mimicry (#9315) 2020-07-15 11:10:52 +02:00
AlberykandGitHub 7fbdeb2a02 Adds an accent system (#9196) 2020-07-03 21:36:08 +03:00
GeevesandGitHub 3ce3f2005c AI Mech Fix (#8997) 2020-05-31 17:58:51 -03:00
GeevesandGitHub 19b1ddb869 Remote Mech Revision (#8903)
The AI can now remotely control mechs in its network. It has one mapped in near its core.
    Messages received by your old body will now reach your VR body (does not affect Skrell Srom).
    Exosuit pilots can now interact with elevator panels without having to get out.
    Robotics and RnD can now create remote controlled mechs. The control centre is in the protolathe, while the exosuit upgrade is in the circuit imprinter.
    Mechs can no longer be dismantled if it has a pilot in it.
    Dismantling a mech now takes a while.
2020-05-30 16:20:16 +03:00
Matt AtlasandGitHub 4b97822bb4 Bump dreamchecker version to 1.4 (#8711) 2020-04-28 15:41:32 +02:00
Matt AtlasandGitHub de84ad0b31 Fixes ghost follow links (#8759) 2020-04-25 22:45:18 +03:00
GeevesandGitHub 01c26be826 Floating Messages (#8724)
What's the worst that could happen?
2020-04-25 16:13:24 +02:00
Matt AtlasandGitHub 77d8844eb2 Ghosts can now jump to emotes, better follow links, ghosts can now see where someone ghosted. (#8677) 2020-04-25 16:00:56 +02:00
GeevesandGitHub b84e22bbbf Non-verbal Ghost Hearing Fix (#8570)
Ghosts can now hear non-verbal speaking from afar without stars appearing.

Fixes #7749
2020-03-31 17:50:24 +03:00
GeevesandGitHub bd2506d8a0 Hearing Aids (#8138) 2020-02-08 15:31:11 +01:00
Matt AtlasandWerner decc0b14a7 Preparation for 513 (#7677)
* Preparation for 513

* lentext replacement
2019-12-18 08:10:16 +01:00
WernerandGitHub af16a489a6 Removes Weapons (#7415)
* Adds icon and hitsound where needed.

* Moves alt_attack to /obj/item and deletes weapons.dm

* Replaced /obj/item/weapon with /obj/item

* Fixes merge issues.

* Fix merge issues.
2019-11-16 18:36:13 +01:00
ErkiandGitHub 514e1f2aa4 Makes sounds with a low enough volume only audible within line of sight (#6515)
It has been posited that it doesn't make sense to hear certain sounds through walls. So, I proceeded to go and change that.

All sounds with a volume of 50 or less will now be played only to the "hearers" list. This is basically people within line of sight. I also rewrote the lower levels of the sound API with this. The code is now more modular, while retaining the same main API entry point playsound.

This needs a test merge to see how badly I broke shit.
2019-07-13 17:50:01 +03:00
Mykhailo BykhovtsevandWerner e393aab90a Rework blindness, UTs for speech. (#5549) 2019-06-18 23:34:40 +02:00
fernerrandErki 94a77c5e21 Disables radio sounds. (#6522)
Disables the radio sounds, which was an undocumented, unintended change.
2019-06-02 20:13:34 +03:00
alsoandanswerandErki 0ba36f1828 Refactors objects.dmi and items.dmi, and a few more little things (#6487)
Refactors objects.dmi and items.dmi

Adds some more uses to glass jar - now you can use it as a tip jar AND a reagent container!
you can also see reagents inside like a beaker

also improves sprites for wrapping paper and the pocketwatch

This basically makes it easier for future sprite improvements
2019-06-02 19:12:54 +03:00
AlberykandWerner df81303d44 Removes the radio sound and reverts the annoucement sound (#6387) 2019-05-06 01:45:38 +02:00
alsoandanswerandWerner 1bab746d17 adds new sounds (the not stupid version) (#6307) 2019-05-05 23:51:08 +02:00
William LemonandErki 4e365c0eaf NTSL2+ (#6256)
Warning! Big Scary Change!
NTSL2+ is a re-work of NTSL.
The goals of this rework are to remove worries regarding server load, and make it impossible for a malicious program to crash the server.
The result is an asynchronous daemon based interpreted language, called NTSL2+.

The Daemon in question can be found Here

Features:

Programming Language worth considering a programming language
Limit-able execution - Unable to hold the server up
Runs on Modular Computers
Shitty in-game networking.
Players can finally write their own laptop programs I cannot stress that enough.
2019-04-20 18:24:04 +03:00
LordFowlandErki 8d436c4a03 Converts all necessary << outputs into the to_chat() macro. (#6076)
This PR will lead us towards the Promised Day, for in its wake there shall be much celebration and ecstasy as this world becomes a world suitable for developer hegemony. The first strike is thusly;

All << is converted into to_chat().
2019-03-10 23:39:03 +02:00
AlberykandErki b9f6deb229 Adds the ability to partially understand other languages and a bit more (#4625)
Ports the feature added in Baystation12/Baystation12#19868, it allows people that knows a certain language to understand some words from another language, without needing to have it. It is used in all tajaran and unathi languages for now, Already consulted the lore team and it seems this is all they want so far.

Also, it adds Delvahhi, a zhan language.
2018-05-01 23:27:55 +03:00
LohikarandWerner 0abc1d2a65 Repath a bunch of things to /mob/abstract childtypes (#4111)
* Repaths eyes, observers, dview, and new_players to /mob/abstract subtypes.

* Adds /mob/abstract, a base type for 'abstract' mobs that aren't meant to be directly affected by the game world.
2018-01-24 11:27:14 +01:00
skull132andGitHub c95cca4cd8 /tg/ style observer follow links (#2534)
Adopts the /tg/ style of ghost follow links. This is to make clicking them a less of a PITA when you're a ghost. All links tested as functional and properly formatted.
2017-05-29 23:03:19 +03:00
Ronandskull132 1804e18655 Fixes hear_say (#2465)
Prevents hear_say from runtiming if speaker is null.
2017-05-27 12:43:22 +03:00