Commit Graph

86 Commits

Author SHA1 Message Date
Kashargul
fac274e5f9 sane stacks (#18342)
* sane stacks

* .

* .

* .

* -

* clean that up

* .

* .

* fix chat scaling

* readd cords

* .

* guh

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-08-30 00:57:26 +02:00
Cameron Lennox
b3fb00d70d Refactors do_after w/ TG's do_after (#18282)
* part1

* keeps range ability

* no cog vore
2025-08-22 00:21:14 +02:00
Kashargul
d9787e171e Fix multiple pref issues (#18083)
* fix tail alyering pref

* .

* .

* .

* .

* -

* return

* fix that

* write needs save after

* urg

* ban slot change mid round

* -

* .

* properly save

* .

* queue to ss

* read current

* performance

* .

* .

* bit better optimized

* no resetsploit

* this works at least but is it proper (#13)

* this works at least but is it proper

* Update changeling.dm

* this too...

* dont be private

* fix asset ss

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-08-09 22:13:15 -04:00
Cameron Lennox
b999aa0cbd Component safety (#18181)
* Locks component add/remove behind Debug

* SK Component fix
2025-08-06 15:12:05 +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
Kashargul
15fe00b6e1 missing VV options (#17968)
* missing VV options

* .

* .

* code cleanup

* more vv options

* .

* .

* we also should set that
2025-07-13 15:58:22 +02:00
Kashargul
2cf86233ca font awesome update (#17991)
* font awesome

* .

* .

* deps

* libcurl

* .

* fix color particle
2025-07-13 01:21:15 -07:00
Kashargul
1890a567f1 mass refactor of holder checks (#17967)
* mass refactor of holder checks

* don't touch them

* fix

* .
2025-07-08 00:52:50 +02:00
Selis
47564346fb View Variables Update (2) (#17946)
* Begin

* Begin 2

* move to tsx

* fix that UI

* fix gib

* bunch of fixes

* fix this one

* Nicer ahelp bot text formatting

* clean up all inputs

* .

* fix MC tab

* fix ore spawn

* with rare

* More filter stuff

* Cleaned up world

* Fix

* ummm

* .

* fix that

* .

* Begin

* Begin 2

* move to tsx

* fix that UI

* fix gib

* bunch of fixes

* fix this one

* clean up all inputs

* Nicer ahelp bot text formatting

* .

* fix MC tab

* fix ore spawn

* with rare

* More filter stuff

* Cleaned up world

* Fix

* Added missing props

* useContext fix

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-07-05 23:01:00 +02:00
Selis
8e7345eb2e More admin verb conversion & Secrets panel overhaul (#17893)
* More admin verb conversion & Secrets panel overhaul

* convert to tsx

* Rest of the secrets update

* Update secrets.dm

* ummm

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-06-28 22:10:16 +02:00
Selis
f2b86cb5e3 Ports ticket system overhaul from downstream (#17063)
* Ports ticket system overhaul from downstream

* Various fixes

* fixes

* Update tickets.dm

* Update tickets.dm

* Update ticket.dm

* Refactor

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-06-28 02:28:15 +02:00
ShadowLarkens
a332e3c554 View Variables Dark Mode (#17762)
* Move VV CSS to an asset

* vv: getFlatIcon and image preview support

* vv: Dark mode and prefs for using said mode and also gfi
2025-05-31 19:15:20 +02: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
d18cd11713 [TGUI v6] Migration to CSS Variables, styles refactor & React 19 (#17487)
* Initial Port of tg's tgui 2.0

* initial

* first UI fixes

* fix retro theme

* rd console

* wiki theme

* better tgui say handling

* Ui scaling port

* smaller gap

* guh

* reset subcats on main cat change

* blink a bit later

* tofixed

* fixed

* currently not fully supported

* increase that

* fix powermonitor chart

* typescript up

* tgui core up
2025-04-08 22:49:38 +02: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
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
Kashargul
cb56adaa37 more font tag replacements (#17123)
* more font tag replacements

* few more

* more span conversion (#9)

---------

Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
2025-03-01 11:58:58 -05:00
Drathek
d062ff9f49 Port OD Pragma Lints (#17171)
* Experimental: Port OD Pragma Lints

* first pass: Includes icon forge fixes/updates

* 2nd pass

* third pass

* debug_ai: This what you're unhappy with?

* Revert "debug_ai: This what you're unhappy with?"

This reverts commit bc178792e6.

* How about this

* Or is it the else?

* Pass summer

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-02-26 18:12:03 -05:00
Kashargul
59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Cameron Lennox
2528be8bce Vision bugfixes (#16771)
* Fixes see_invisible getting overridden

- Fixes see_invisible from being overwritten if your see_invisible_default is > SEE_INVISIBLE_LEVEL_ONE.

* Fixes ghost manifest() proc runtiming

- Fixes a runtime of when manifest() was called on a ghost with no user. Allows admins to call manifest() without it runtiming.

* Fixes the ghost 'Toggle Visibility' verb

- Due to it being a variable on the proc itself, it wouldn't properly call and store the time..

* Fixes feysight

- Feysight was trying to give vision into the 'see_invisible 60' layer but had forgotten to also give you the plane_holder for that layer.

* fix span

* More fixes

- Allows ghosts to ACTUALLY USE the ghost whisper and become visible proc if their is_manifest is enabled via admins.

- Allows admins to give any /mob verbs and procs instead of just  /mob/living via admin add_verb topic

* False
2024-12-28 20:33:47 +10:00
ShadowLarkens
5a47c9b8a1 Check for 516 byond:// hrefs (#16359)
* Add a lint to check for hrefs that don't start with byond://

* Regex convert href links

* Regex convert _src_ as well

* Clean up the last few

* Missed a few
2024-12-11 08:33:17 +10:00
Guti
9077c940c4 Better Viro (#16536)
* Better Viro

* Quarantine ship

* Lazy...

* Roanoake prep

* Roanoake

* Verbs

* Verbs + Logging

* Virus breath check
2024-11-05 12:40:02 +01:00
Kashargul
4879a52633 Server maint subsystem (#16518)
* upports server maint subsystem

* fix runtime in admin z narrate

* .

* sorts them verbs

* .

* .

* Update code/controllers/subsystems/statpanel.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/controllers/subsystems/server_maint.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2024-11-04 11:44:44 +01: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
ShadowLarkens
c07027136e Port tg statpanel (#16463)
* Port tg statpanel

* Add verb descriptions using the title attribute

* Fix a dreamchecker error

* Remove chomp edits

* Add mentor tickets to ticket panel

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2024-10-16 19:39:06 +02:00
Kashargul
a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Guti
409aaba802 Remove 2024-09-09 02:36:53 +02:00
Kashargul
2f19f66cc5 default tgui alert input handling (#16241)
* default handling

* do not push that

* fix

* .

* .
2024-09-02 04:27:26 +10:00
Kashargul
5cf2f911f3 Tgui ui fix (#15778)
* AccountsTerminal.jsx

* Autolathe.jsx

* ExosuitFrabicator.jsx

* Biogenerator.jsx

* AirAlarm.jsx and borg control fx

* SuitCycler.jsx

* small typo

* 3 more UIs

* MiningVendor.jsx

* CameraConsole.jsx

* MessageMonitor.jsx

* Nif.jsx

* localState deprecation

* ResearchConsole.jsx

* DNAModifier.jsx

* oups...

* remove vv rounding

* mob sapwner

* lineendings

* Communicator.tsx not nice to look at, but works

* adding bundle

* small chat dropdown patch

* Update tgui/packages/tgui/interfaces/AirAlarm.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/AirAlarm.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/Biogenerator.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/Biogenerator.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/Biogenerator.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/CasinoPrizeDispenser.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/CasinoPrizeDispenser.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/CasinoPrizeDispenser.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/MiningVendor.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/MiningVendor.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

* Update tgui/packages/tgui/interfaces/MiningVendor.jsx

Co-authored-by: Selis <sirlionfur@hotmail.de>

---------

Co-authored-by: Selis <sirlionfur@hotmail.de>
2024-02-23 21:09:18 +01: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
Kashargul
75555bd53f hotfixing VV edit (#15772) 2024-02-17 01:58:31 +01:00
Kashargul
59d751a9f9 Round value adjustments for react (#15764)
* input adjustments

* .

* .
2024-02-16 14:18:54 +01:00
Runa Dacino
e3f3e416b8 adds: gm tool for creating prop pdas convo for events
* Creates new proc in pda/messenger.dm to handle fake conversation creation
* Creates new eventkit datum and holder var on client for remembering identitities
* Creates new proc as eventkit R_FUN verb for managing prop identities
* Creates new proc on pda to create a fake event prop conversation in new eventkit
* Creates new topic in admin/view_variables/topic.dm and helper.dm to call new proc on pda
2024-02-08 16:08:18 +01:00
Repede
e27f8803fe oops 2024-01-07 20:28:44 -05:00
Repede
bcb4a9e91c Fixes GLOB Edit for global view variables so it does not crash the server instantly - Code by @Willburd 2024-01-07 20:25:23 -05:00
Runa Dacino
057077b443 adds: New Vvar button to inflict internal bleeding on human mobs
Adds a new button to the dropdown menu in VV that brings up a dialogue requesting bleeding severity and location before inflicting the requested wound.

In case of targetting a player mob, we notify them with a custom pain message and log it to prevent potential abuse.
2023-08-06 17:56:56 +02:00
Runa Dacino
5c02c5a60a Adds: New button in VV dropdown for adding/modifying mob ai
Adds a new button to the dropdown of "View Variables" for mobs that works for subtypes of mob/living.

This new button automates setting a new ai type for a mob, making sure it's properly garbage collected and then simplifies setting faction, intent and ensures carbon mobs wake up.
2023-07-28 21:30:01 +02:00
ItsSelis
779b4db5c0 Added missing href tokens 2022-12-14 21:08:49 +01:00
ItsSelis
cc3659c048 More conversions 2022-12-11 14:31:02 +01:00
ItsSelis
af64bcf406 More Input Conversion 2022-06-19 12:21:51 +02:00
ItsSelis
06c9b26252 Input Conversion Part 1 2022-06-19 03:05:03 +02:00
Atermonera
624e991802 ChangeTurf improvements. 2021-11-02 22:15:25 -04:00
Aronai Sieyes
34982728cb Add 'as anything' to various for loops 2021-07-20 12:39:59 -04:00
Aronai Sieyes
987359d4e2 Fix admin list VV problem, again 2021-07-12 19:06:46 -04:00
Aronai Sieyes
2a0ab817d4 Fix admin VV lists 2021-07-09 14:41:45 -04:00
Aronai Sieyes
4c12504e3b Replace list inputs with tgui_input_list 2021-06-26 10:39:56 -04:00
Aronai Sieyes
0da0c54388 Convert almost all alert() to tgui_alert() 2021-06-25 17:03:35 -04:00
Aronai Sieyes
70bff20384 Normalize alert() calls 2021-06-25 14:27:14 -04:00
Neerti
767e655310 Linter Introduction + Cleanup 2021-05-25 23:19:34 -04:00
Atermonera
3ac3b76143 Merge pull request #8046 from Atermonera/view_global_variables
Adds verb to VV global variables
2021-05-09 20:34:09 -04:00