Files
BiancaWilkson d558a69583 Ports a character customization option: Quirks (#28388)
* Makes the datum

* Initial Commit

* Gets TGUI menu not crashing

* Autodoc

* quirk menu bugged

* oh.

* Working menu + buttons

* trait defintes pt 1/?

* Moves traits around

* ACTUALLY START ON THE QUIRKS THEMSELVES

* TGUI Bundle Rebuild

* TGUI properly saves now

* Removes allergies for scope reasons, make foreigner work properly

* TGUI tweaks

* Reworks TGUI Menu

* quirks store the mob, not mind

* Adds asthma and mute

* minor tweaks

* Cloning re-adds quirks

* Adds functionality to frail

* Adds crafty

* TGUI fix

* Fixes a frail bug

* Makes sure the list is in the correct format

* TGUI size change

* Makes skittish work

* Adds glutton, removes unused traits

* Changes description and adds function to glutton

* Freerunner functioning

* Crafty buff

* Clear quirk list when changing species

* Forgot to remove light step

* Delete

* Refactor item-giving

* TGUI Bundle Rebuild

* whoops

* Apply quirks when changing species

* Removes some unneeded defines/paths

* Replaces improved charging cord with a bad charger

* coment

* Guard clause

* Changes how quirks add and remove organs

* unused var

* adding organs works, removing them doesn't yet

* oh that fixed it

* Hopefully finally once and for all fix the json issues

* Buffs asthma

* switches the processor to ssobj since it's slower

* actually spawns the items whoops

* maybe actually fixes json issues I really hope this doesn't come up again?

* moves sql to the right directory

* CULPRIT FOUND, JSON ISSUES ACTUALLY SOLVED

* adds admin tooling for quirks

* Ups the cost of lungs

* Adds removal for the drinking ones

* Fixes some duplicate code

* Removing foreigner works

* wops

* bumps sql version to 65

* prettier

* semicolon

* Foreigners can understand galcomm but not speak it, as per headmin request

* Different solution was agreed upon

* CC announcements now get auto-translated

* Apply suggestions from code review

Lewc quick suggestions

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com>

* Move alcohol tolerance basetype

* accomodates for reset_styles

* Swap to species flags, and being dead is a universal process stopper

* adds a foreigner trait

* Xenos and the like can't understand CC's translated announcements

* TGUI Bundle Rebuild

* Lewc quick fixes

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com>

* i forgor

* i forgor pt 2

* process properly returns true

* TGUI Bundle Rebuild

* sql update for fixing merge conflicts

* bundle changes

* actual sql fix

* Not test tiny in prod

* sql fix?

* tgui update, first pass

* Adds schema changes to main quirk branch

* persistent data works now

* TGUI Bundle Rebuild

* Fixes conflict with job assignment datumization

* TGUI Bundle Rebuild

* Adds pacifism by request, -3 points

* gives skittish a small cd

* Makes the lunch randomizer  I was thinking about doing

* GC returns a qdel hint now

* Removes hard refs

* SQL save fix

* Fixes admin tools

* Fixes wizards getting quirked up

* ragin too

* Lightweight is more lightweight

* Adds admin logging for when someone makes a languagesless character

* TGUI Bundle Rebuild

* Adds colorblind, hungry, and buffs asthma

* fixed vv post-merge conflict

* behold, my monster

* rebuild and merge master

* Adds more positive quirks, and makes monochrome give more points

* adds nearsighted, and no whispering

* sorry linter

* Adds the cool quirk, thanks to pumpkin312

* Oh dear that signal gets sent to everyone every time someone spawns in

* i forgot that slimes dont have eyes

* tgui fix

* bundle rebuild probably

* prettier

* prettier

* Skittish package fix

* force add bundle

* Makes plasmemes be unable to take foreigner

* Makes advanced lungs respect the owner's species

* makes breaking open wrapped crates/lockers a do_after_once

* Makes plasmeme/vox advanced lungs actually help

* You get glasses anyway whoops

* bundle rebuild

---------

Signed-off-by: BiancaWilkson <42818125+BiancaWilkson@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
2025-11-04 00:18:52 +00:00

86 lines
2.8 KiB
Plaintext

#define VV_NUM "Number"
#define VV_TEXT "Text"
#define VV_MESSAGE "Mutiline Text"
#define VV_ICON "Icon"
#define VV_ATOM_REFERENCE "Atom Reference"
#define VV_DATUM_REFERENCE "Datum Reference"
#define VV_MOB_REFERENCE "Mob Reference"
#define VV_CLIENT "Client"
#define VV_ATOM_TYPE "Atom Typepath"
#define VV_DATUM_TYPE "Datum Typepath"
#define VV_TYPE "Custom Typepath"
#define VV_MATRIX "Matrix"
#define VV_FILE "File"
#define VV_LIST "List"
#define VV_NEW_ATOM "New Atom"
#define VV_NEW_DATUM "New Datum"
#define VV_NEW_TYPE "New Custom Typepath"
#define VV_NEW_LIST "New List"
#define VV_NULL "NULL"
#define VV_RESTORE_DEFAULT "Restore to Default"
#define VV_MARKED_DATUM "Marked Datum"
#define VV_BITFIELD "Bitfield"
#define VV_REGEX "Regex"
#define VV_VISIBLE_ATOM "Visible Atom"
#define VV_INSIDE_VISIBLE_ATOM "Inside a Visible Atom"
#define VV_VISIBLE_TURF "Visible Turf"
// VV href keys
#define VV_HK_TARGET "target"
// /datum
#define VV_HK_PROC_CALL "proc_call"
#define VV_HK_MARK_OBJECT "mark_object"
#define VV_HK_DELETE "delete"
#define VV_HK_MODIFY_TRAITS "traitmod"
#define VV_HK_JUMP_TO "jump_to"
#define VV_HK_TRAITMOD "traitmod"
#define VV_HK_ADDCOMPONENT "addcomponent"
#define VV_HK_REMOVECOMPONENT "removecomponent"
#define VV_HK_MASSREMOVECOMPONENT "massremovecomponent"
// /atom
#define VV_HK_MANIPULATE_COLOR_MATRIX "manipcolours"
#define VV_HK_ADDREAGENT "addreagent"
#define VV_HK_EDITREAGENTS "editreagents"
#define VV_HK_EXPLODE "explode"
#define VV_HK_EMP "emp"
#define VV_HK_DEBUG_AI_CONTROLLER "debug_ai_controller"
// /obj
#define VV_HK_DELALL "delall"
#define VV_HK_MAKESPEEDY "makespeedy"
#define VV_HK_MAKENORMALSPEED "makenormalspeed"
#define VV_HK_MODIFYARMOR "modifyarmor"
#define VV_HK_MODIFY_ACCESS "modify_access"
// /obj/item/card/id
#define VV_HK_MODIFY_ID_CARD "modify_id_card"
// /mob
#define VV_HK_MOB_PLAYER_PANEL "mob_player_panel"
#define VV_HK_GIVE_SPELL "give_spell"
#define VV_HK_GIVEMARTIALART "givemartialart"
#define VV_HK_GIVE_DISEASE "give_disease"
#define VV_HK_GODMODE "godmode"
#define VV_HK_BUILD_MODE "build_mode"
#define VV_HK_MAKE_SKELETON "make_skeleton"
#define VV_HK_HALLUCINATE "hallucinate"
#define VV_HK_DIRECT_CONTROL "direct_control"
#define VV_HK_OFFER_CONTROL "offer_control"
#define VV_HK_DROP_EVERYTHING "drop_everything"
#define VV_HK_REGENERATEICONS "regenerateicons"
#define VV_HK_ADDLANGUAGE "addlanguage"
#define VV_HK_REMLANGUAGE "remlanguage"
#define VV_HK_ADDORGAN "addorgan"
#define VV_HK_REMORGAN "remorgan"
#define VV_HK_ADDVERB "addverb"
#define VV_HK_REMVERB "remverb"
#define VV_HK_GIB "gib"
#define VV_HK_ADDQUIRK "addquirk"
#define VV_HK_REMQUIRK "remquirk"
#define GET_VV_TARGET locateUID(href_list[VV_HK_TARGET])
#define VV_DROPDOWN_OPTION(href_key, name) . += "<option value='byond://?_src_=vars;[href_key]=TRUE;[VV_HK_TARGET]=[src.UID()]'>[name]</option>"