Commit Graph

249 Commits

Author SHA1 Message Date
Kashargul 9685826f7f some more grep checks (#18249)
* some more grep checks

* .

* dependency up

* fix dels

* clean up qdel macros
2025-08-14 14:24:49 +02:00
Will 5358c8808f Resleeving console uses weakrefs, and synthfab fix (#18094)
* sleeving console uses weakrefs

* synth printer uses weakrefs

* clear rec

* Synthfab fix
2025-07-29 07:46:25 +02:00
SatinIsle 9eb95ff4bc Transformation fixes (#17953)
* Transformation fixes

Fixes #17943
Fixes #17942

Removed copying of bloodtype from vanity TF procs, as if the user actually has blood it will cause organ failure.
Added secondary ears to copy form ability.

* Makes hanner not get outed by medical scanners

* Preserves bloodtype for resleeving but fixes it for TF
2025-07-14 23:58:26 +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
Cameron Lennox 3c622885c8 Changing changeling (Refactor) (#17749)
* Begin antag component

* Initial changeling move

* Slow...And...Steady...

* Initial

* remove  toworld testing

* More adjustments

* Update absorb.dm

Changelings get a genetic point per person absorbed

* Fixes losing your markings

* wa

* Update modularchangling.dm

* BETTER LING

WITH TGUI

* Gives all stings a global 1 second cd

Need to come up with a better way for this.

* snake_case

* Update epinephrine_overdose.dm

* Update changeling.dm

* Absorption/digestion absorbs people

Also disabled death sting because gtfo with that, it's unfun for everyone involved.

* prey ling

also DELETES death sting...It didn't even KILL properly

* fixes EMP shriek

* Update vorestation.dme

* Ling

* Unfat sting lowers nutrition more

* Update visible_camouflage.dm

* Update visible_camouflage.dm

* Changeling blades NOT embed

* Armblade fix

* Changeling spacesuit free

* Updates the armor

* Updates

* awa

* More

* Update blind_sting.dm

* Update blind_sting.dm

* Update boost_range.dm

* More adjustments

* Update _reagents.dm

* Update bioelectrogenesis.dm

* more

* all done

* awa

* shhh

* Update visible_camouflage.dm

* Update visible_camouflage.dm

* Update visible_camouflage.dm

* decon

* gets rid of AB+ blood

* Blood rejection and better checks

* changeling holder

* proper del

* Changeling lock

* Stops bodytheft

* yeah

* its reviving time

* Lets them shapeshift

* ah

* check

* Update negative.dm

* Update examine.dm
2025-07-04 21:08:03 +02:00
Will 466e4a8e12 block injectors only show a single block on scanner (#17921)
* block injectors only show a single block on scanner

* these are meant to be radiation safe
2025-06-27 17:55:30 +02:00
Will cbd3f1ea2b Dna, Bodyrecord, Xenochi Revive Refactor (#17732)
* changeling fix

* Move body spawning into BR

* small fix, organization

* replace xeno regen

* Body descriptor system removed

* Revert "Body descriptor system removed"

This reverts commit 04a0aa3ac8.

* massive bodyrecord copy refactor

* this too

* dna copying is now sane

* make a merge easier

* better file for this

* may we ensure peace everlasting

* linter

* oops, missed the test

* fixed up

* furthering the test

* different way to check

* looking promising

* required exclusions

* more test

* another tweak

* setup better

* globin

* test name change

* really mess up that monkey

* gradient style to UI entry

* scramble ignore

* illegal species

* scramble fix

* grad fix, more test fixes

* doing that right

* need these too

* missed defferal

* missed pathing

* documentation wall

* blood color needs a safety

* promethean prep

* this early set isn't needed

* some protections

* fixed waddler nulltest

* failure test

* intensify scan

* second fail test

* noticing

* dna test case

* other dna test case

* Test is bunk

* huge dna cleanup, better signal

* don't edit these

* documentation

* Do not use loc = src.loc

* oops

* Use weakrefs in pods

* remaining weakrefs

* reduce changes in pr

* cloning computer does not rotate itself when used

* moved body design to new BR code, and fixed screen size

* badlinting

* updated

* No instakilling teshari

* jiggles you

* TGUI

* move along

* m ove it

* Update AppearanceChangerMisc.tsx

* this too

* gender is race whoops

* Allow old clonepods too

* xc

* further encapsulation and some fixes

* oops

* misc not race

* separated that

* custom footsteps exchanged

* Custom speech bubble and xenochi stuff

* Update xenochimera.dm

* remove digileg snowflake

* try this

* Update xenochimera.dm

* proper close

* Always update our DNA

* awa

* extremely laggy check removed, actually useless

* explaining

* lower delay time

* slower jigglin

* Revert "slower jigglin"

This reverts commit c801f7d7f5.

* disable appearance editor due to various issues

* Promie love

* xenochi vanity test

* lmao

* earwings

* wording and slot revival

* mobvar?

* Phasing out specific shapeshifter appearances

If you have access to changing your icon, you can change whatever you want.

* saveslot loading

* more

* synth

* Shoot out limbs

* almost ready

* nullcheck

* xenochi revive handles size and weight correctly

* weaver cocoon updated xenochi internal record after tf

* cannot remove from lost limbs

* limbs properly respawn on slot revive

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-06-09 08:20:42 -07:00
Kashargul 5a5d8117ae no infinite materials (#17814)
* no infinite materials

* cleanup

* RMS and some other stuff

* fix name

* shock fix

* .

* .name

* Update RMS.dm

* names

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-06-07 10:08:18 -04: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
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
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
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
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
Kashargul d3b7ba8b43 next new to init (#17400)
* next new to init

* .

* this needs thorough testing

* .

* needs an istype

* also vnotice

* mvoe to defines
2025-03-24 06:18:39 -04:00
Kashargul 2556102719 only tab indentation (#17408)
* only tab indentation

* .
2025-03-23 15:28:15 +01:00
Kashargul 4d36cfdaeb Finish Machinery new to init (#17334)
* Finish Machinery new to init

* fix that

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-03-16 03:57:48 -04:00
Cameron Lennox f48f89f1db Split NO_SCAN into two flags (#17226)
* Split NO_SCAN into two flags

* traits

* species flags applied correctly by traits

* fixed species flag toggling for traits

* bold of you

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
2025-03-14 22:34:03 +01:00
Kashargul 1def015bad end of file Fix (#17308)
* end of file Fix

* fix those lints too
2025-03-10 16:15:35 -04:00
Kashargul 46bea7cfa2 Initialize fixing (#17279)
* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
2025-03-08 13:59:29 -05:00
tacoguy7765093 edf257468d removes synth damage on resleeve (#17284) 2025-03-08 13:56:01 -05:00
Selis 7a7ae89713 [MAJOR CHANGE] Admin rank datum (#17133)
* Admin ranks update

* Permissions fix

* One missing thing

* Further rework to make database also fully work

* Adds admin rank bitflag calculator to tools

* ZA WARUDO

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-03-06 01:38:19 +01:00
Cameron Lennox 96381f94f1 Better Block Injectors (#17128)
* Better Block Injectors

* makes it pass

* .

* Update human_organs.dm

* fixes blood v2

* save

* gwah

* update appearance

* resolve

* Update computers.dm
2025-02-13 06:27:14 -05:00
Cameron Lennox cdafe425a5 Adds Trait Genetics (#16921)
* Adds Trait Genetics from Outpost21

Adds trait genetics from Outpost 21
- Tried to update each file it touched to be equivalent to their Chomp specific variants in order to maintain functionality and make sure no oddities would happen due to code differences. (Some things like the eardeaf loop were left there but commented out)

* Morph trait

* Fixes a server crashing bug with flip

aa

* flip

* Makes morph superpower better

- Makes it use the appearance_changer instead of 1000 different  procs

- Makes cocoon weaver able to change eye and skin color.

I did NOT select you. BAD

* begone

* fix dna modifier

* Fixes massive memory leak

* Brain Runtime Fix

* There was no reason for this to be a spawn(0)

And no I didn't spawn with no blood - https://i.imgur.com/vPizqCD.png

* revert

revert the dna changes there

* Deconf

* gets rid of unused proc vars that did nothing

* expects enough free slots

* glob

* fixed and added two other tests

* another few tests

* this is a list

* fixed bad injector

* lets wrap these for sanity

* better feedback

* wrong name

* don't allow multiple occupants into the dna pod

* future traits will have activation levels instead of binary on/off

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
2025-02-11 02:01:27 -05:00
Kashargul d1b65c3635 fix a mistake (#17098) 2025-02-08 18:17:09 -05:00
Kashargul adcd25a00f forward refs in usr dialog (#17090)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-02-08 14:11:16 -05:00
Cameron Lennox eeefd4ef3f Fixes the body designer [WIP] (#17062)
* designer

* finished off remaining body designer stuff, name etc

* merged _vr file, added note to use this

* harddel fix

* this one too

* unifies subtabs, adds search and improves layout

* fixes a longstanding issue with marking color appearance changer

It was feeding a /list (The object) to the color picker and the color picker just rolled with it and said 'sure'.

Now with actual sanity TGUI color picker freaks out and goes 'wtf'

This makes it actually feed a color input into the color picker.

* quick push

* adds hair grad to body designer

* push

* color works again

* hair gradient for body designer

* deconf

* Gets rid of duplicate datum

* no test tonight

* spotty fat

* Condenses hair_extras. Fixes a few missing.

Also adds a new cosmetics_tests unit test.

* fixes the rest of the sprites

* lets try this test

* why did that test compile

* another test ENHANCEMENT(fix)

* More aggressive unittest

* fixie

* invisible tail has snowflake handling

* fix for invis check

* oops

* validate existence of icon in unit test

* unittest checks marking and hair icons properly

* fixing bad unit testing again

* fixed marking icon check

* get rid of unused datum, markings show

* fixes things

* you too

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-02-07 20:57:25 -05:00
Cameron Lennox 3ac6fb4edf Revert "new to init (the rest of them) part 1 (#17052)" (#17084)
This reverts commit d02c67d6de.
2025-02-07 11:09:08 -05:00
Cameron Lennox d02c67d6de new to init (the rest of them) part 1 (#17052) 2025-02-05 14:05:41 -05:00
Cameron Lennox 2e4f1ce642 (Partially) Fixes Out Of Memory crashes (#17043)
* Fixes massive memory leak

* Brain Runtime Fix

* There was no reason for this to be a spawn(0)

And no I didn't spawn with no blood - https://i.imgur.com/vPizqCD.png

* Fixes deadringer not properly deathgasping the right entity

* Wounds properly get delted off destroyed limbs

* Update vorestation.dme

* Runtime fix & DNA lock fix

* More qdels

* qdel

* comment out
2025-02-05 14:02:17 -05:00
Kashargul 59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Selis ee8fe38a8a Enables SHOULD_CALL_PARENT for datum Destroy proc (#16828) 2025-01-05 00:28:58 +01:00
Kashargul e6ef8b0f2c resize limits and designer / dna update (#16807)
* resize limits and designer / dna update

* .

* genes to mobs

* .

* Update designer.dm

* Update designer.dm

* species cleanup
2025-01-01 18:23:20 +10:00
Kashargul 8d6bf161a8 cleanup the last 2024-12-08 20:54:28 +01:00
Kashargul 99f21e40a3 . 2024-12-08 18:13:14 +01:00
Kashargul a88c58dde7 Merge branch 'master' into reagentToDefines 2024-12-08 15:41:21 +01:00
Kashargul 1d8d5b34b5 medicine.dm 2024-12-07 02:10:10 +01:00
Kashargul 80edcd2c3d Converts gas, mat and reagent strings to defines 2024-12-06 17:26:00 +01:00
Killian e9aafd2826 Merge remote-tracking branch 'upstream/master' into kk-spacetraffic 2024-12-02 06:08:55 +00:00
Killian 9d3a7986d8 traffic update
more khi cleanup
2024-12-01 18:37:08 +00:00
Kashargul 32c9f971bc tgui usr to ui.user 2024-11-13 00:49:17 +01:00
Killian 5d854f0c76 traffic update 2024-11-11 20:41:43 +00:00
silicons b36015d52a Adds a second ear slot. (#16513)
* misery

* sigh.

* last piece?

* fix

* Fix

* dna

* forgot commas there

* fix style; also that should work as a key

* fix style
2024-10-27 14:33:11 +01:00
Selis 242fa3a66b Ports over configuration controller (#16484)
* Ports over configuration controller

* Fixes

* Manual path fix

* patch (#16490)

* patch

* .

* SQL Fix

* Post-rebase fix

* Added missing examples

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2024-10-22 19:26:44 +02:00
Kashargul b594520a74 next set of spans (#16434)
* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
2024-10-16 23:37:27 +02:00
Kashargul f0a8d083d8 Merge branch 'master' into span_rework 2024-10-03 23:19:42 +02:00
Kashargul a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
ShadowLarkens 14621b5cb1 Give the resleeving console a nice little facelift 2024-10-02 05:00:34 -07:00
Kashargul e0d694e8ac rid of old span macros 2024-10-01 23:51:48 +02:00
Guti dc7ad02813 Deconf 2024-09-22 15:01:10 +02:00