Commit Graph

113 Commits

Author SHA1 Message Date
Cameron Lennox cbc4151bfb Radiation Refactor (#19270)
* Part 1

* WIP

* The rest of these

* More stuff

* Whoops, did that wrong

* typo

* gweeen

* This all works

* SHOWER

* Rads

* awa

* rad

* Update life.dm

* edits

* Makes lvl 3 rads give you a warning.

You should already know by this point, but this makes it EXTRA clear you're getting fucked

* Update vorestation.dme

* aaa

* propagate

* gwah

* more fixes

* AAA

* Update radiation.dm

* Update radiation.dm

* mobs rads

* rads

* fix this

* Update _reagents.dm

* these

* Get rid of these

* rad

* Update config.txt

* fixed

* Update radiation_effects.dm
2026-03-22 12:29:09 -04:00
Aura Dusklight c6f10bfeb3 Convert species, organ_data, and rlimb_data to TG (#19277)
* First test batch bulk change

* remove desync'd old file

* Small change
2026-03-21 04:06:36 -04:00
Aura Dusklight 0964962220 Convert gender and pronoun from bay to TG (#19170)
* Convert gender and pronoun from pay to TG

* Remove HERM from biological gender init_possible_values because it won't work

* fix runtime error

---------

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2026-02-25 00:00:04 +01:00
Kashargul de17517e42 bunch of global vars (#19091)
* bunch of global vars

* .
2026-01-25 13:18:03 -08:00
Will bba55977a1 Polaris Hook Removal Part 1 (#18672)
* starting cleanup

* thankyou vsc very cool

* resleeving mind signal

* id card modifier signals

* fix

* borgifying mob signal

* button and brain

* death

* explosions, mob init

* oooop

* semantic

* payment account revoke and status

* missed hook listener

* wip for now

* fixes

* round signals

* only remaining

* doppler arrays behave with z levels

* audible message it is

* wizard spells applied correctly to mind datum
2025-10-30 01:25:51 +01:00
Selis f4bf017921 Unit Test rework & Master/Ticker update (#17912)
* Unit Test rework & Master/Ticker update

* Fixes and working unit testing

* Fixes

* Test fixes and FA update

* Fixed runtimes

* Radio subsystem

* move that glob wherever later

* ident

* CIBUILDING compile option

* Fixed runtimes

* Some changes to the workflow

* CI Split

* More split

* Pathing

* Linters and Annotators

* ci dir fix

* Missing undef fixed

* Enable grep checks

* More test conversions

* More split

* Correct file

* Removes unneeded inputs

* oop

* More dependency changes

* More conversions

* Conversion fixes

* Fixes

* Some assert fixes

* Corrects start gate

* Converted some README.dms to README.mds

* Removes duplicate proc

* Removes unused defines

* Example configs

* fix dll access viol by double calling

* Post-rebase fixes

* Cleans up names global list

* Undef restart counter

* More code/game/ cleanup

* Statpanel update

* Skybox

* add

* Fix ticker

* Roundend fix

* Persistence dependency update

* Reordering

* Reordering

* Reordering

* Initstage fix

* .

* .

* Reorder

* Reorder

* Circle

* Mobs

* Air

* Test fix

* CI Script Fix

* Configs

* More ticker stuff

* This is now in 'reboot world'

* Restart world announcements

* no glob in PreInit

* to define

* Update

* Removed old include

* Make this file normal again

* moved

* test

* shared unit testing objects

* Updates batched_spritesheets and universal_icon

* .

* job data debug

* rm that

* init order

* show us

* .

* i wonder

* .

* .

* urg

* do we not have a job ID?

* .

* rm sleep for now

* updated rust-g linux binaries

* binaries update 2

* binaries update 3

* testing something

* change that

* test something

* .

* .

* .

* locavar

* test

* move that

* .

* debug

* don't run this test

* strack trace it

* cleaner

* .

* .

* cras again

* also comment this out

* return to official rust g

* Update robot_icons.dm

* monitor the generation

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-08-10 01:37:23 +02:00
Cameron Lennox 84dc5535dc var/global/list -> GLOB. conversion (#17928)
* These two are easy

* !!!runlevel_flags

the fact it was global.runlevel_flags.len has me a bit...iffy on this.

* !!!json_cache

Same as above. used global.

* player_list & observer_mob_list

* mechas_list

* this wasn't even used

* surgery_steps

* event_triggers

* landmarks_list

* dead_mob_list

* living_mob_list

* ai_list

* cable_list

* cleanbot_reserved_turfs

* listening_objects

* silicon_mob_list

* human_mob_list

* Update global_lists.dm

* joblist

* mob_list

* Update global_lists.dm

* holomap_markers

* mapping_units

* mapping_beacons

* hair_styles_list

* facial_hair_styles_list

* Update global_lists.dm

* facial_hair_styles_male_list

* facial_hair_styles_female_list

* body_marking_styles_list

* body_marking_nopersist_list

* ear_styles_list

* hair_styles_male_list

* tail_styles_list

* wing_styles_list

* escape_list & rune_list & endgame_exits

these were all really small

* endgame_safespawns

* stool_cache

* emotes_by_key

* random_maps & map_count

* item_tf_spawnpoints

* narsie_list

* active_radio_jammers

* unused

* paikeys

* pai_software_by_key & default_pai_software

* plant_seed_sprites

* magazine_icondata_keys  & magazine_icondata_states

* unused

* ashtray_cache

* light_type_cache

* HOLIDAY!!!

this one was annoying

* faction stuff (red?!)

* Update preferences_factions.dm

* vs edit removal

* backbaglist, pdachoicelist, exclude_jobs

* item_digestion_blacklist, edible_tech, blacklisted_artifact_effect, selectable_footstep, hexNums, syndicate_access

* string_slot_flags and hexdigits->hexNums

* possible_changeling_IDs

* vr_mob_tf_options

* vr_mob_spawner_options

* pipe_colors

* vr_mob_spawner_options

* common_tools

* newscaster_standard_feeds

* Update periodic_news.dm

* changeling_fabricated_clothing

* semirandom_mob_spawner_decisions

* id_card_states

* Update syndicate_ids.dm

* overlay_cache & gear_distributed_to

* more

* radio_channels_by_freq

* Update global_lists.dm

* proper

* default_medbay_channels & default_internal_channels

default_internal_channels is weird as it has a mapbased proc() but that proc is never called...

* valid_ringtones

* move this

* possible_plants

* more

* separate these

moves xeno2chemlist from a hook to a new global list.

* tube_dir_list

* valid_bloodreagents & monitor_states

* Junk

* valid_bloodtypes

* breach_burn_descriptors & burn

* more!!

appliance_available_recipes seems uber cursed, re-look at later

* Appliance code is cursed

* wide_chassis & flying_chassis

* allows_eye_color

* all_tooltip_styles

* direction_table

* gun_choices

* severity_to_string

* old event_viruses

* description_icons

* MOVE_KEY_MAPPINGS

* more more

* pai & robot modules

* Update global_lists.dm

* GEOSAMPLES

Also swaps a .len to LAZYLEN()

* shieldgens

* reagent recipies

* global ammo types

* rad collector

* old file and unused global

* nif_look_messages

* FESH

* nifsoft

* chamelion

* the death of sortAtom

* globulins

* lazylen that

* Update global_lists.dm

* LAZY

* Theese too

* quick fix

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-07-14 20:14:31 +02:00
Will 71cc89be87 Talk Sound Refactor (#17691)
* voices use a unified list

* Move that back

* unneeded file

* use subsystem

* old order

* matching

* matching again

* whitespace

* another whitespace line

* global that's never used

* more cleanup

* little better naming

* lets just use the vars

* oops needed that

* incorrect comment

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-05-15 00:30:52 -07: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
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
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 c30f2b9c49 next grep, no spaces (#17437)
* next grep, no spaces

* next few files

* fix that

* fix that
2025-03-28 21:25:08 +01:00
Cameron Lennox 636dd0a3a6 Motion tracker subsystem (#17215)
* Motion tracker basics

* force unsubscribe on destroy

* remove tracking on destroy too

* missing include

* use new art

* logging

* per client echos

* toggle verb

* vis things not needed, and reset vis option if resubbed

* blind and deaf should affect this

* feedback on toggle

* teshari gain vibration sense, lose listen in

* xenochi too

xenochi also get vibration sense

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
2025-02-26 18:37:18 -05:00
Kashargul e03fe8c077 reduce lobbxy music intensity (#16821) 2025-01-02 19:36:40 +01:00
Cameron Lennox 37e8ca6194 Turret & Sound Optimizations (#16754)
* Portable Turret Optimization

Optimizes portable turrets. Takes from Chomp PR here: https://github.com/CHOMPStation2/CHOMPStation2/pull/8088

Optimizes them further by changing mobs_in_xray_view to mobs_in_view.
Reason: mobs_in_xray_view was adding mobs that were out of sight (behind walls) to the target list and trying to do pathfinding to shoot them. If you had 20 mobs around a PoI with turrets, it'd use a LOT of CPU needlessly.

Also adds in Chomp's /mobs.dm helpers as they're helpful.

* Ports over Chompstation Sound Optimizations

- Replaces for( listeners) with a check that sees if a listener is ALSO a hearer

- Makes it so even if there is no vary, if someone has a frequency it uses the frequency for playsound_local

From https://github.com/CHOMPStation2/CHOMPStation2/pull/8088
2024-12-28 09:43:15 +10:00
Kashargul ead0180057 converts area vars to flags 2024-12-04 22:21:38 +01:00
Kashargul a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
ShadowLarkens e9ee57df18 Revert "Revert "/tg/ preference datums part 1: take two"" 2024-09-07 23:58:49 -07:00
ShadowLarkens 02410abcf3 Revert "/tg/ preference datums part 1: take two" 2024-09-07 23:17:16 -07:00
ShadowLarkens f9052dbb60 Revert "Merge pull request #16240 from ShadowLarkens/revert"
This reverts commit 885171f985, reversing
changes made to 3e314f8064.
2024-09-07 14:11:15 -07:00
ShadowLarkens 3c09f52c6a Revert "/tg/ pref datums (part 1) (#16219)"
This reverts commit faac97e352.
2024-08-31 12:04:15 -07:00
ShadowLarkens 53c34d8df3 Revert "Merge pull request #16236 from ShadowLarkens/fix_sound_pref"
This reverts commit 1601f3089f, reversing
changes made to 35ed3cd492.
2024-08-31 12:03:43 -07:00
ShadowLarkens 814eac89b0 Fix playsound_local runtiming on null sound preferences 2024-08-31 08:43:41 -07:00
ShadowLarkens faac97e352 /tg/ pref datums (part 1) (#16219)
* TG Prefs (Step 1: JSON savefiles)

* TG Prefs (Step 2: Preference Datum Code)

* TG Prefs (Step 3: Convert /datum/client_preferences)

* TG Prefs (Step 4: Clean up and finishing touches)

* Fix some weird compile errors from the rebase
2024-08-31 07:09:05 +10:00
Drathek 7c8bb85de3 Whitespace Standardization [MDB IGNORE] (#15748)
* Update settings

* Whitespace changes

* Comment out merger hooks in gitattributes

Corrupt maps would have to be resolved in repo before hooks could be updated

* Revert "Whitespace changes"

This reverts commit afbdd1d844.

* Whitespace again minus example

* Gitignore example changelog

* Restore changelog merge setting

* Keep older dmi hook attribute until hooks can be updated

* update vscode settings too

* Renormalize remaining

* Revert "Gitignore example changelog"

This reverts commit de22ad375d.

* Attempt to normalize example.yml (and another file I guess)

* Try again
2024-02-20 11:28:51 +01:00
Heroman c390aee586 Makes ignore_walls ignore only walls and not other things 2022-08-31 17:07:07 +10:00
VerySoft a38c607809 Voice types!
Ports voices from goon and makes them selectable in addition to the one I made!

Also renames the various verbs to `Sound Toggle:` followed by the type they do, so they'll be together in the preferences tab
2022-07-16 02:26:51 -04:00
VerySoft d2233448be Say Sounds!
Now people will make noise when they say/me/whisper/subtle, and everyone will be annoyed by it!
2022-07-15 18:27:14 -04:00
lm40 b514185519 adds audible belch emote 2021-09-18 12:48:06 -04:00
VerySoft 6d851e0974 OKAY! 2021-08-14 17:18:43 -04:00
Aronai Sieyes 5f982a3d44 Fix an annoying thing nobody else will 2021-08-04 17:15:17 -04:00
Aronai Sieyes 34982728cb Add 'as anything' to various for loops 2021-07-20 12:39:59 -04:00
Aronai Sieyes f4ee5be455 Merge pull request #10521 from VOREStation/Arokha/mediatracks
Media tracks subsystem, jukebox UI genres
2021-06-01 16:53:21 -04:00
Aronai Sieyes 7ccda9bae0 Media tracks subsystem, jukebox UI genres 2021-06-01 14:48:06 -04:00
Aronai Sieyes 5ac6bd48d9 Ports /tg/ instruments 2021-05-31 19:13:52 -04:00
Verkister 967226ef1c Fixes area soundproofing
Fixes possible massive runtime spam spike during new round inits before mapload.
2021-02-16 00:01:06 +02:00
Verkister 0bb7c6b046 Adds area soundproofing for dorms.
Areas can now be soundproofed to block sounds from other areas from entering or sounds within the area from leaving. Will send upstream tomorrow.
2021-02-14 00:51:17 +02:00
Novacat adde0eeac9 Update sound.dm 2020-09-21 13:38:41 -04:00
Cerebulon 95ff8c2080 Tweaks to pickup/equip sounds. 2020-09-20 06:57:07 -04:00
Rykka d2fb9a7691 Rebase onto Master for Volume Control Panel, Squash Commits 2020-08-27 19:47:38 -04:00
ShadowLarkens 7aaa40b62c Beginnings of a global volume control system 2020-08-21 04:42:47 -04:00
ShadowLarkens e9f082d228 TGUI Camera Console Part 2; Moved to tgui_module, pending modular computer port
# Conflicts:
#	code/game/sound.dm
#	tgui/packages/tgui/public/tgui.bundle.js
2020-07-16 16:18:43 -07:00
Aronai Sieyes a45bd334bf Update sound.dm 2020-05-10 18:55:29 -04:00
Rykka 88f59a7e9f Reduce maximum audible range of sounds [DNM]
This is a global change - this reduces sounds to being audible at a MAXIMUM of 14 tiles from their source, unless the var is changed later. (I think).

Discuss if this is needed or not, please, and give all feedback, marking DNM until staff can weigh in.
2020-05-09 13:38:22 -04:00
Novacat 4891272f82 Update sound.dm 2020-03-17 01:03:31 -04:00
Atermonera 101c9c33c5 QoL: Projectiles 2020-03-17 00:55:56 -04:00
Novacat 8e2e4c6a4a Update sound.dm 2020-03-15 14:44:33 -04:00
Atermonera 8d2b41ad2c Big Bastard Incidental Sound Port 2020-03-15 14:39:19 -04:00
Poojawa f718201974 Adds Sound Code and toggles 2019-10-13 02:05:16 -05:00
Anewbe 09b01407e3 Adds Various Sounds, Looping Sound System 2019-03-27 03:55:21 -04:00