Commit Graph

243 Commits

Author SHA1 Message Date
Kashargul
9899a1d2e7 centers any kind of nanomap (#17794)
* centers any kind of nanomap

* delay that

* Make nanomaps work properly with mouse zooming

* Update NanoMap.tsx

---------

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
2025-06-04 22:04:39 +02:00
ShadowLarkens
376bfc04f4 Update tgui-core and some backend tgui stuff (#17778)
* Update tgui-core and some backend tgui stuff

* Fix digitigrade not showing in char menu
2025-06-01 21:22:44 +02:00
ShadowLarkens
54e4fa3d6b Piggyback on holomaps to generate runtime maps (#17731) 2025-05-29 13:03:16 +02:00
Cameron Lennox
9ca2eec5dd fixes null.close (#17755) 2025-05-28 12:56:04 +02:00
ShadowLarkens
31e8e009db Character Setup Rework (#17576)
* Character Setup Rework

Little tweaks

Species selection done~

Merk randomize body button

Body color and eye color

Merk more replaced code

Convert robolimbs to tgui

Add a warning if flavor text/ooc notes are too short

Custom preview icons for species selector!

A sidequest that only took 8
hours. Also add digitigrade and blood type.

Remove unused body_descriptor system completely

Finish the general tab~

Reorganization to prepare for loadout page creation

* Start of work on the loadout screen

* Only send the data that's actually selected

* Get rid of these ugly ../../../..

* Retype this to avoid conflicts

* Holy shit why did this work this way

* Finish loadout screen

* Add copy loadout function

* Finish occupation page

* Move Special Roles into general tab

* Fix path conflict

* Move size prefs to general tab

* Convert jukebox and volume settings to datum/preference

* Fix a little mergery fuckery in loadout

* Migrate jukebox to new range

* Fix TabbedMenu tabs

* Fix wordwrap for loadout screen

* Kill the vore tab, just traits left to convert

* Convert custom messages

* Convert custom species name

* Convert blood color and reagents

* Move icobase to tgui

* Finished

* This can fuck off too

* Fix a few bugs

* Update index.tsx

* initial for emote sound mode switch

* Make show_roles actually work, hide fluff items

* Fix not being able to select species

* Add emote_sound_mode to body tab

* Fix runtime when no active gear list is present

* Add a save notification to character setup

* Switch to floating

* Add more search bars

* Whoops forgot to add this

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-05-25 03:20:51 +02:00
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
f0444ef8d8 Fix a handful of bugs introduced in VOREStation/VOREStation#17515 (#17669)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-05-05 22:28:57 -04:00
ShadowLarkens
69d7513d47 Fix ttf files giving rspack trouble (#17646) 2025-05-01 01:28:25 +02:00
Kashargul
07747a6f46 fix those (#17616) 2025-04-27 20:41:22 +02:00
Kashargul
f6a99359a9 move invisibility to defines (#17612)
* move Invisibility to defines

* .

* .
2025-04-27 16:47:53 +02:00
ShadowLarkens
e627fb8d1d CMSS Lobby Screen (#17581)
* Establish base working new_player tgui

* Tweak to fit virgo

* .

* fix that

* split that

* no as import

* clean up old code

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-26 23:52:01 +02: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
ShadowLarkens
0c975c510a Port all of /tg/'s fonts and switch maptext to Grand9K (#17589)
* Port all of /tg/'s fonts and switch maptext to Grand9K

* Allow TGUI to use the new fonts

* Remove SpessFont to be safe
2025-04-26 02:06:47 +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
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
a85aee55a4 fix pref input clearing (#17567) 2025-04-21 05:19:21 +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
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
ce01da8684 RS pack port and tgui core 3.0.4 (#17520)
* RS pack initial

* fix RPD

* urg wrong tgui folder

* tgui core 3.0.4

* update tgui say

* push that

* .
2025-04-13 03:23:59 +02:00
Kashargul
a97ded5b3b fix runechat offset (#17510)
* don't double this

* .

* urg

* always use if defined

* eh

* tgui window from tg

* skip on char select

* rh

* .

* move to config
2025-04-11 17:10:37 +02: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
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
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
c42610c5ae Have you bingled that (#17407)
* Initial wiki system

* wiki organization and spoilers

* hide belly chems

* move ads to tgui

* add search

* .

* load screen

* error screen

* 8

* center

* .

* .

* make this more realistic

* tgui errro col

* move search to top

* .

* non NT theme

* logo to common

* base custom theme

* .

* wip refactor

* almost halfway

* reworked wiki data

* easy fix

* get data fix

* Material Page in tgui

* catch null supply points

* .

* forward crash

* reset pages

* .

* canvas prep

* fix icon stacking

* .

* colored outlined images

* fix sm datum

* fix material names

* subType prep

* only on crash

* fix null crash

* .

* fix solgov

* clean hiding

* .

* implement catalog page

* .

* particle smasher page

* I'm lazy

* unfuck some sins

* ore page

* botany page

* allergen list

* allergen returns null too

* slime injection var

* slime core data

* fixed warning

* wip

* proper data list for chems

* pass is_slime as null

* chems

* split that

* .

* .

* .

* .

* donation for bingle, some cleanup

* return types

* partially colord icons for chemistry

* .

* more sillies

* donation page

* thaler

* needs some variation

* .

* this will crash until implemented

* handle it

* fix that

* dismiss donation banner button

* .

* fix that

* donating procs

* donation stuff for comp

* -

* drink glass for drinks

* illegal iconstate pass

* fixes

* .

* nuke drink fix

* .

* .

* .

* Drink reagent fix

* more cleanup

* adjust

* .

* simple food

* .

* food list

* sending nulls, removed flavor from recipes

* .

* .

* get_donation_current added

* .

* missing key

* .

* duped recipes fixed

* .

* .

* wiki food reagent recipes

* double list add

* properly forbid remaining bad reagent

* hide this too

* stacky

* enable eslint const

* fix typing

* update that

* use proper donation proc

* printing fixes

* grinding

* .

* beaker fill volume

* plant ore and mat grinding results

* duped recipes fixed, unit test tweak

* yes this is terrible

* .

* .

* .

* chem analyzer tgui mode, some subsystem changes to support it

* redoce

* .

* ,

* .

* small fixes, missing reagent volume

* push

* sort

* catalog entries unlocked by explo

* new chem stuff

* .

* fix byond code

* fix scroll tracking

* comment

* alphabetical

* also this

* .

* fallback icon

* .

* ...

* rel path

* that too

* to defines

* organ to define

* .

* .

* .

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-28 19:00:50 +01:00
eghughguhhhhhh
516a07d609 Allow Transparency for Wings, Tails, and Ears (#17283)
* Automatic changelog compile [ci skip]

* Initial work to allow wings to be transparent.

* Revert "Automatic changelog compile [ci skip]"

This reverts commit 8cb19dcdcf.

* * Add ears and tail support

Secondary ears/horns isn't supported atm because it's set up differently and I'd need more than 10% brain power to figure that out

* Add ears/tail alpha support to the appearance changer GUI

* Convert junky button popup to number slider.

Possibly a performance issue to be had here but I'm not really worried about it.

* Add : and " " before previews

* pretty pretty

* fsdfsd

* Secondary Ears. Fsdfsdfsd.

* Yes, Wing Alpha still applies.
Adds caps to species_shapeshift_vr alpha selections, add second ear alpha selection

---------

Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
2025-03-15 14:54:42 +01:00
Cameron Lennox
b431c4efb2 ATC Refactor (#17237)
* Bazinga

* moved to global var

* moved to subsystem

* susbsys fixes

* invoke async

* stable but fighting optimization

* missed delay

* makes this a subsystem

* Makes a base announce_atc proc.

* mob_announce_cooldown

* defs

* rocks

---------

Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
2025-03-14 23:00:24 +01:00
Kashargul
c8aff28c5b space cleanup (#17300)
* space cleanup

* this

* this too

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-03-14 06:37:13 -04: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
5d1a3923aa tgui say update (#17273)
* tgui say update

* .

* also fix the tgui say limit

* handle batching

* max chunks

* enable~
2025-03-06 22:47:56 +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
Cameron Lennox
83831f2555 Makes the game no longer try to see if your heart is vital before letting you rip it out of yourself (and a few others) (#17159)
* Update human_modular_limbs.dm

* More fixes

* Update update_icons.dm

* fixes tcrystals

* more tcrystal fixes
2025-03-01 12:03:59 -05: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
Kashargul
542b35e56f tgui 516 (#16990)
* tgui 516

* nuking

* .

* .

* redux test

* this

* no longer in use

* removes debugs for now until someone ports the macro handling

* import types

* .

* maxWidth

* temp fix

* fix type import

* fix that

* also that

* version up

* also push this while on it

* rid of that

* dependency up

* allow mark up inputs

* update

* mb to search

* add scroll to nanoMap

* type fixing

* Update ExportTab.tsx

* Update index.tsx

* Update XenoarchReplicator.tsx

* Update XenoarchReplicator_clothing_vr.tsx

* Update XenoarchReplicator_clothing_vr.tsx

* Update XenoarchReplicator.tsx

* crew monitor improvements

* types
2025-02-13 18:30:38 +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
Guti
a081d48590 DCS Update + Footstep element (#17076)
* DCS Update + Footstep element

* Steppy

* Revert "Steppy"

This reverts commit fab0590fb7.

* Reapply "Steppy"

This reverts commit 1f7ad8f8f7.

* Ough

* Oops! Wrong map.

* lil stuff

* Update

* Only loud

* Missed one

* NO MORE SILENT

* ...parenthesis.
2025-02-08 18:19:59 -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
Kashargul
bbed406b2e remove old inputs (#17008) 2025-02-01 14:23:25 -05:00
Kashargul
a9a045a741 Moves UIs to TGUI core (#16940)
* up to modify robot

* also version up here

* Switch tgui-dev-server to edge mode

* Folders through Sleeper

* finish the folders

* move all uis, some will likely have errors

* Remove size={} on table cells

* Change a bunch of <Flex>

* chat to tgui core and typescript

* chat Flex to Stack

* Update APC.tsx

* Update APC.tsx

* Make ICAssembly wires all work

* More Flex to Stack

* some html

* this half was easy...

* some more

* some more

* fix those up

* few more

* few more

* this should be fine

* convert those, mark the anys to be reaplced

* Down to 118 Flex results

* Down to 104

* Down to 75

* bunch of fixes

* few more

* all except power monitor

* push for now, tgui core issue

* component props

* 32 only

* grow

* those need a param now

* function imports

* dependencies up

* finish those

* finish up

* this

* also those for now

* typescript up

* proper typing

* convert all chat files

* keys

* oups

* Update package.json

* massively improve color picker perf

* this needs to update

* Tgui core

* add those to the panel jsut in case

* dependencies up

* Rename colorpicker.tsx to colorpicker.ts

---------

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
2025-01-28 15:23:29 +01:00
Kashargul
c0e339b1ea ports tgui color input from bubbers (#16934)
* ports tgui color input from monkeystation

* .

* push that real quick

* .

* .

* cleanup

* fix for 516

* port bubbers pre set selection

* also this

* allow 20 saved states

* oups

* regex replace

* urg

* use the update by type

* .

* .

* highlight?

* larger?

* fix those

* keep anyone below 516 on old style
2025-01-21 18:27:45 -05:00
Kashargul
7266c4c5dc more missing tags (#16937)
* more missing tags

* only some books have...

* .

* some more

* Update admin.dm

* finish it up
2025-01-21 18:27:01 -05:00
ShadowLarkens
42b7bd89f0 Fix synth_color not working (#16866)
* Fix synth_color not working

* Fix spawnpoint pref

* living

* oups

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-01-08 16:03:20 +01:00
ShadowLarkens
b57023cd11 Convert preferences to /tg/ preferences (#16449)
* Convert all preferences to /tg/ preferences

* Move obfuscate key/job to game options

* Add abstract_type to each of the new subtypes

* Convert ignored players to tg prefs

* Yet another global category list removed

* Fix error, convert client FPS

* Convert UI_style, UI_alpha, and UI_color to tg prefs

* Clean up a little, convert tooltipstyle

* Convert ambience to tg prefs

* Remove chat_timestamp, tgchat can do this internally and gives localized results

* Convert admin ooc color to pref, merk 01_ui.dm

* Convert uplinklocation to a tg pref

* Fixup byond:// links

* Convert name_is_always_random

* Convert spawnpoint

* v16 savefile migration in prep for converting 03_body.dm

* Convert all colors to tg prefs

* Finish converting ooc notes
2025-01-05 13:39:18 +01:00
Selis
ee8fe38a8a Enables SHOULD_CALL_PARENT for datum Destroy proc (#16828) 2025-01-05 00:28:58 +01:00
ShadowLarkens
6ab8ea768d Ports Iconforge, uses for kitchen recipes (#16747)
* Port iconforge

* Convert kitchen_icons for the microwave to iconforge

* Fix to pass lint

* brings thsoe back

* Re-enable cross round caching for normal spritesheets

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2024-12-29 14:39:40 +01:00
ShadowLarkens
e58978225e Experimental: Compile TGUI for Edge and IE separately (#16741) 2024-12-22 14:26:47 +01: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
Kashargul
3073c62ecc fix that 2024-12-08 13:37:39 +01:00
Kashargul
939fcbb488 Merge branch 'master' into reagentToDefines 2024-12-06 21:57:14 +01:00
Heroman3003
9941ffa8dc Merge branch 'master' into areaStuff 2024-12-07 05:14:52 +10:00