Commit Graph
81 Commits
Author SHA1 Message Date
kyunkyunkyunandGitHub b1709bb93b Fix improper skin tones and lots of DNA inconsistencies. Improve mob spawners by a little (#29271)
* sane appearance

* updatepaths

* flip-vitiligo

* equal color options

* ...

* Update golems.dm

* typo
2025-05-25 15:41:39 +00:00
KenionatusandGitHub 59377ad52d turn EncodeDNABlock proc into a define (#28186)
* turn EncodeDNABlock proc into a define

* changes spelling of EncodeDNABlock to all caps

This is to reflect it now being a define.
2025-02-09 09:22:38 +00:00
MiraandGitHub 89e32a5e0f Fix appearance changes from the mirror resetting on any UpdateAppearance() call (#28125)
* add APPEARANCE_UPDATE_DNA flag

* kind of fix
2025-02-04 08:14:50 +00:00
52327cea40 [TWEAK] Runechat Color Preference and Species Dependent Organ (runechat) Removal (#26018)
* Reopens runechat color tweak.

Fully changes how the runechat color works with human mobs.

- Ties Runechat color to DNA (unchangable via scramblers, or other methods like DNA modifying)
- Runechat color is now a preference based thing and can be changed at mirrors.

* Linter mint

* Comment for comment's sake + Rerun cerestation CI/UNIT test because mouse ate a cable.

* augh

* reverts toml

* Fixes a SQL query, good for final review.

---------

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
2024-08-06 13:15:47 +00:00
Spaghetti-bitandGitHub 3e46e525da Changelings now update their flavor text upon transforming. Updates DNA to include flavor text. (#26094)
* Fixes https://github.com/ParadiseSS13/Paradise/issues/3352

* bleugh
2024-07-03 03:55:13 +00:00
LucGitHubS34Ngithub-actions <41898282+github-actions[bot]@users.noreply.github.com>
f83ef617e9 Expands "genderless" to all species, adds body-type option, removes some gender checks (#23910)
* adds most body type support, removes some gender checks

* remove gender from species, accessories

* restore pick_list

* re-adds limitations on accessories

* Universal access to body hair

* remove unused var

* Update example config, some preference saving code

* updates tgui bundle

* oops

* Remove formatting

* hopefully undoes formatting changes

* dammit

* been meaning to fix this one for a while

* dgamer reviews

* move body_type into human_defines

* sql file changes

* update tgui

* Update db code

* bump versions

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-21 15:59:23 +00:00
bad8b31afa Changes all .len to length() where applicable (#25174)
* Globals work

* Double access works

* All other things

* Revert "All other things"

This reverts commit 6574442eb6.

* More changes that compile and work

* IT WORKS AAAAAA

* Changes even more .len to length()

* Apply suggestions from code review

* Update code/datums/mind.dm

* Update code/__HELPERS/sorts/InsertSort.dm

Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com>

* Update code/__HELPERS/sanitize_values.dm

Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com>

---------

Co-authored-by: FunnyMan3595 (Charlie Nolan) <funnyman@google.com>
Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com>
2024-04-19 17:32:09 +00:00
AffectedArc07andGitHub 3ab2a08d86 [TM prolly] Some init optimisationss (#23800)
* [TM prolly] Some init optimisationss

* Do this as well

* Sod it some runtime optimisations as well
2024-02-04 21:17:50 +00:00
ContrabangandGitHub c8dce33a8a Cleans up a lot of globals a few other vars (#23246)
* i hate globals i hate globals

* more fucking of these

* sirryan review
2023-12-06 15:30:41 +00:00
ContrabangandGitHub 2d7b28e50c wowee (#23228) 2023-11-12 19:42:37 +00:00
GDNandGitHub 955059e217 fixes default blocks not being carried over through Clone() (#20492) 2023-03-08 20:15:38 +01:00
LucandGitHub b0776d35ef Re-fixes limb regeneration, now with 100% fewer brain deletions (I hope) (#20157)
* Prevents clings from quick regenerating bodyparts

* Clarify a comment

* Reworks to work with monkeys and other sources as well

* qdel organ if it doesn't get inserted

* Use initial instead of creating and qdeling

* Revert unnecessary cast

* Ensure organs are inserted as they were before

* fix some warnings

* here be dragons
2023-02-15 21:16:00 +01:00
S34NandGitHub d1e30b9854 Revert "Prevents limb regeneration when changing species (#19945)" (#20102)
This reverts commit 4b255c16e4.
2023-01-06 21:23:09 +01:00
LucandGitHub 4b255c16e4 Prevents limb regeneration when changing species (#19945)
* Prevents clings from quick regenerating bodyparts

* Clarify a comment

* Reworks to work with monkeys and other sources as well

* qdel organ if it doesn't get inserted

* Use initial instead of creating and qdeling

* Revert unnecessary cast
2023-01-05 11:52:34 -06:00
warriorstar-orionandGitHub 7867c51b52 Replace /proc/num2hex with a much faster macro. (#19600) 2022-11-06 13:11:32 +00:00
a5bc67cd43 Invasion of the moffs (#17000)
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: mochi <1496804+dearmochi@users.noreply.github.com>
2022-02-23 20:37:37 +01:00
joep van der velden fb18393662 Add some documentation 2021-05-06 22:45:14 +02:00
Fox McCloudandGitHub 02b9445b9b Refactors DNA Mutations; Refactors Mutations to use Traits (#15483)
* Refactors Mutations

* traits

* more work

* styling fix

* yet even more work

* oh hush

* almost there

* it continues yet further

* and that's genetics done

* and that's it folks

* last bit and golem fixup

* oof

* oops

* tweaks and fixes

* styling
2021-02-21 21:25:19 +00:00
IrenandGitHub a3d01c18f7 PR - Gender Update (#14406)
* PR - Gender Update

Gives Gender three states instead of two. This allows clones of tri-gendered species to properly carry their genders over to new bodies (e.g. Greys, Drask, etc.).

Tristate Gender Set Proc
Tristate Gender Get Proc
Fixes where Binary State was needed.

* Update update_icons.dm

Yeah, let's _not_ have Genderless folks get inconsistently gendered body part sprites (e.g. head, groin, torso mismatch).

* Update dna2.dm

* Update dna2.dm

* Update organ_icon.dm

* Update update_icons.dm

* Update dna2_helpers.dm

* Update organ_icon.dm

Readability (spacing)

* Update dna_injector.dm

* Update dna2.dm

* Changes made per Affected's requests.

Changes made per Affected's feedback.

* Update dna2.dm

Got our heads too deep in using this just for DNA_UI_GENDERr - returning the Set and Get procs to 0, 1, 2 as per Affected's request.

While in there, noticed some housekeeping items:
- reorganized the ranges so they flow numerically now
- changed the ranges so they don't overlap (line 205 having been the worst)
- removed the "else" statement from line 222 since we're using ASSERTS. There shouldn't be a value outside the range of 0 to 2 for this.
2020-10-21 09:45:44 -04:00
Fox McCloudandGitHub 70b46d8aea Life refactor (#13471)
* Life Refactor WIP

* part 2

* part 3

* runtime fix

* newlines

* tweaks

* perspective checks

* fixes

* remote view tweaks

* more fixes

* robot fixes

* better updating

* cleaned up icon procs

* less proc call overhead

* performance gains

* more optimization

* shorter lists, removal of unecesary code

* gene OOP and dna styling cleanup

* oops

* axe disabilities

* typeless loop

* various tweaks and fixes

* brain checks

* runtime fixes

* cryo vision fixes
2020-06-03 19:43:30 -06:00
AffectedArc07andGitHub 210f8badf4 Makes all global variables handled by the GLOB controller (#13152)
* Handlers converted, now to fix 3532 compile errors

* 3532 compile fixes later, got runtimes on startup

* Well the server loads now atleast

* Take 2

* Oops
2020-03-20 21:56:37 -06:00
Fox McCloudandvariableundefined 93fa76bee0 Fixes Blood Types (#12520) 2019-10-07 23:15:54 -04:00
Mark van Alphen ba3f65049d Port over remaining Lavaland ruins 2019-06-07 01:19:55 +02:00
datlo e18eaf363d Refactor grey wingdings and add translator implant
also change mutadone not to remove roundstart genes
2019-01-01 15:20:46 +00:00
Desolate c974e29a3c global lists global defined 2018-10-02 15:52:46 -05:00
Fox McCloud ed1b1fda02 fix deserialization 2018-07-21 15:51:36 -04:00
Fox McCloud 7440dad57e further conversion 2018-07-18 01:13:24 -04:00
Fox McCloud 0a613a8f42 fixes 2018-07-17 18:18:16 -04:00
Fox McCloud aae5405d03 AGHHHHHHHHHHHHHHHHHHH WHATTT 2018-07-17 04:58:36 -04:00
Fox McCloud 9c3fcaa53c AGHHHHHHHHHHHHH 2018-07-17 02:13:52 -04:00
KasparoVy a6bb591b46 Converts Mob Colours to Hexadecimal
No front-end changes. This just means that mob colours now take up less columns in the database, incur less processing (reduced rgb() calls) and reduces the amount of code dedicated to them.
2017-07-22 19:59:58 -04:00
KasparoVy fa2d5fc3f3 Adds Secondary (Facial) Hair Colours to Genome 2017-04-13 23:09:09 -04:00
Fox McCloudandGitHub 5a9ff41464 Merge pull request #6591 from Crazylemon64/ipc_power_cord
Replaces the IPC APC grabbing thing with a power cord and lets IPCs be genderless
2017-03-07 22:25:11 -05:00
Crazylemon64 26bfc2c1b7 Removes IPC gender 2017-02-25 22:49:36 -08:00
Crazylemon64 2f8feff402 Refactors tcomms stuff a little 2017-02-24 18:10:08 -08:00
KasparoVy ab3f71b359 Conflict resolution again 2016-08-19 01:08:08 -04:00
TheDZD 31996e7842 Fixes gene de-activation not always working, removes deprecated genetics define. 2016-08-18 14:41:20 -04:00
KasparoVy 29a90bff9f Conflict resolution. 2016-08-18 03:28:03 -04:00
KasparoVy 4bd468b85e Defines and Morph Eye-colour Change Fix. 2016-08-14 06:21:26 -04:00
Crazylemon64 af8ebfc469 Adds a helper for saving a head's traits to DNA 2016-08-13 23:28:39 -07:00
Crazylemon64 3ca5a1f3f7 Removes eye color vars on the human, stores it on the eyes
Also adds a proc nifty for SDQL fans, which grants greater control over
spawning atoms.

Also fixes deserialization to make hair show up again
2016-08-13 23:05:32 -07:00
KasparoVy a5722fdfc4 Overhaul, adds color2R/G/B helper procs, adds marking/head accessory/body accessory (colours included) randomization in char prefs.
Color2R/G/B helper procs and PR overhaul suggested/co-authored by Krausus.
2016-08-12 22:37:40 -04:00
KasparoVy 3610cfd4ea Markings refactor, body/marking/head accessory/hair sprite darkening, adds tail markings, more hair styles...
Tajara ears are on their head now, fixes a crash bug with tail wagging
with body accessories that are split-rendered, adds secondary
hair/facial hair themes, fixes issues with human/skrell arm/lower body
sprites etc.
2016-08-09 22:01:45 -04:00
Fox McCloudandGitHub 607642d4ef Revert "Refactors Markings, Adds Tail (some body and head) markings, Adds Alt heads, Secondary (F)Hair Themes, Darkens Vulp/Taj + Unathi horns/frills, Sprite adjustments and more..." 2016-08-08 23:26:51 -04:00
Fox McCloudandGitHub 86d0c0b2b9 Merge pull request #5147 from KasparoVy/tail-markings
Refactors Markings, Adds Tail (some body and head) markings, Adds Alt heads, Secondary (F)Hair Themes, Darkens Vulp/Taj + Unathi horns/frills, Sprite adjustments and more...
2016-08-08 21:58:45 -04:00
Crazylemon64 471a5ecca1 First pass at a functioning map writer 2016-08-03 13:26:22 -07:00
Crazylemon64 cc784f338e Adds bare bones for a persistence system
Admins can toy around with converting a character to text, and
placing them back elsewhere, independent of the round.

It's got a kink, though: The text given to you directly needs to be
printed once to remove all the escapes - otherwise the thing will choke.
I'd like advice on resolving that
2016-07-27 13:31:19 -07:00
KasparoVy dc1733d976 Reverts Unnecessary Genetics Icon Skin-tone Foolery
Residual from another PR, forgot to gut it.
2016-07-21 14:16:20 -04:00
KasparoVy 766245091b Back up to date. 2016-07-15 13:00:35 -04:00
Tigercat2000 71e5344a98 Mass replace 2016-07-07 19:34:02 -07:00