Files
VOREStation/code/modules/vchat
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
..
2025-02-11 02:01:27 -05:00
2023-12-08 17:26:05 +01:00
2023-12-10 00:27:29 +01:00
2025-01-06 02:29:25 +01:00
2023-12-08 17:26:05 +01:00

VChat

(Please add to this file as you learn how this thing works. Thank you!)

Development

To implement changes to VChat, one must modify either vchat.js or vchat_client, where vchat.js corresponds to what actually appears to the user. Not all of the logic is isolated within vchat_client, vchat.js handles a significant amount of processing as well.

vchat.js

vchat.js is a development file - it is not actually included in the actual game code. Instead, what the game expects is the minified version "vchat.min.js"

Therefore, to have your changes in "vchat.js" apply to the game for either PR or testing - you must first minify your script. If you are unfamiliar how to, simply you copy the file contants in vchat.js, paste them into https://codebeautify.org/minify-js or any similar tool and paste its output into vchat.min.js .

As of 2023/08/05, no tool is provided by the codebase to handle minification for the developer.

ss13styles.css

Handles chat colours, background colours, filtering.

Please keep this file synchronized with code\stylesheet.dm where possible (filters, lightmode colours).