Commit Graph

527 Commits

Author SHA1 Message Date
Farie82 98ce4aa1a5 Makes mindread not list non carbon mobs (#15193)
Co-authored-by: joep van der velden <15887760+farie82@users.noreply.github.com>
2020-12-28 09:37:28 +00:00
Sean Williams 5774092784 Rework of chav text replacement (#15058)
* Rework of chav disability text replacement

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull request process. -->

## What Does This PR Do
Replaces individual replacetext() calls with one regex function and a list.
Adds more chav terms, updates disused terms.
Stops replacetext() changing terms in the middle of other words, now only changes whole words.
<!-- Include a small to medium description of what your PR changes. Document every changes or this may delay review or even discourage maintainers from merging your PR! -->

## Why It's Good For The Game
Little things like this add immersion and variety, so having a few extra changes at minimal performance cost helps.

Matches found in the middle of words no longer get replaced, so you don't end up looking like a tool by saying "com**mate**d" instead of "com**man**d"

Tidying up old code to include regex also makes the code easier to maintain.

<!-- Please add a short description of why you think these changes would benefit the game. If you can't justify it in words, it might not be worth adding. -->

## Changelog
🆑
add: Added more chav words, innit.
del: Removed some old words.
tweak: Replaced many replacetext() calls with a single regex function, only changes whole words.
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put your name to the right of the first 🆑 if you want to overwrite your GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the icon ingame) and delete the unneeded ones. Despite some of the tags, changelogs should generally represent how a player might be affected by the changes rather than a summary of the PR's contents. -->

* Update goon_disabilities.dm

* Stopped chavlinks being global

Moved the chavlinks list into the chav disability datum

* ACTUALLY stopped chavlinks being global

* Tidying

Im a moron and forgot to move my comment with the lst

* Incorporated farie82's suggestion

changed rep_test to replace_speech

* Tweaks to replacement list

Removed dupes, added more -ed words, redone "you" and "your"
2020-12-14 11:37:44 +00:00
AffectedArc07 54dd2765b4 Converts all tgui_ to ui_ 2020-11-21 12:10:58 +00:00
joep van der velden b586a90257 Makes pods work with the force_eject_occupant proc 2020-10-29 00:08:52 +01:00
AffectedArc07 2c37ae8fd0 The road to Initialize() stability - Enforcing parent call on New(), Initialize() and Destroy() (#14719)
* The road to Initialize() stability

* Fixes sanity, for now
2020-10-28 12:35:36 -04:00
TDSSS 1133527469 hallucinations should now properly trigger (#14740) 2020-10-26 19:31:46 -04:00
Iren 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
farie82 2b638db8f4 Makes mindscan and remotetalk logged using SAY_LOG (#14617) 2020-10-17 13:19:08 -04:00
farie82 8e8ad65906 Makes most targeted spells select a target on click with a radius (#13220)
* Basis

* Make most targeted spells use a click with radius instead of a list

* Fixes

* Selection code

* return ..()

* Auto targeting

* Forgot a comment change

* Merge issue fix
2020-09-18 10:30:32 -04:00
farie82 67e6cf5079 Scan mind and Project mind now use vision to determine the naming in the target list (#12963)
* Scan mind and Project mind now use vision to determine the naming

* Copy pasta mistake fix

* logic fix with name dupe prevention

* Refactor ala review
2020-09-17 18:31:08 -04:00
mochi d8f949b434 Merge branch 'master' into tgui-medical 2020-09-15 12:46:30 +02:00
Kugamo b2239bb8fa implaments faster for loop logic 2020-09-02 10:22:45 -05:00
Kugamo 13d02fabb1 removes string2charlist(), fixes spacing 2020-09-02 10:10:32 -05:00
Kugamo c6b221d268 Fixes Wingdings 2020-09-02 09:51:27 -05:00
mochi c2a6934f1b TM polish pass 2 2020-09-01 12:30:15 +02:00
mochi 1ebb300071 Merge branch 'master' into tgui-medical 2020-08-18 09:29:47 +02:00
Kyep 13149fa93a Fixes runtimes from moving SSD/AFK people out of machines 2020-07-21 11:56:59 -07:00
dearmochi d88f5ca2c0 Merge branch 'master' into tgui-medical 2020-07-12 11:47:47 +02:00
mochi aaee6b039d First polish pass 2020-07-12 11:46:42 +02:00
AffectedArc07 650c638d41 Removes semicolons 2020-07-11 18:51:45 +01:00
dearmochi 19bf49394e Merge branch 'master' into tgui-medical 2020-07-10 21:20:00 +02:00
mochi 2c78bf0e8a TGUI Medical: DNA Modifier 2020-07-10 21:16:07 +02:00
Kyep 5393a840e0 Fox requests 2020-06-29 23:01:13 -07:00
Kyep 359b26a811 Fox request, pass in the usr as arg to go_out()/eject_occupant() 2020-06-29 20:05:20 -07:00
Kyep 29a16d3116 Fixes dnamodifier bugs 2020-06-29 18:14:19 -07:00
mochi a67d684b01 Fix entering pods and stuff while buckled
You already can't drag and drop buckled people
onto pods and stuff but they can still enter them
by themselves. This commit fixes that
2020-06-09 14:29:03 +02:00
Fox McCloud fad4b8aafb Fixes Epilepsy Having Epilepsy (#13563) 2020-06-07 16:57:11 -06:00
Fox McCloud 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
Fox McCloud 798cf7a8be Removes Fat Sprites (#13430)
* Removes Fat Sprites

* fat vs chubby

* edge case
2020-05-23 03:10:39 -06:00
AffectedArc07 928a8f0e04 Makes the code pass dreamchecker (#13161)
* Initial Commit - Trying to add DC to Travis

* Forgot to chmod

* This took too long

* Farie Fixes

* Fixes new code

* Job factions are fucking smelly

* Loadouts work again

* Runtime fixes
2020-04-11 15:59:16 -06:00
farie82 5728c43e8e Makes the cloning scanner eject upon being destroyed (#13258)
* Makes the cloning scanner eject upon being destroyed

* Update dna_modifier.dm
2020-04-09 23:25:53 -06:00
AffectedArc07 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
AffectedArc07 04ba5c1cc9 File standardisation (#13131)
* Adds the check components

* Adds in trailing newlines

* Converts all CRLF to LF

* Post merge EOF

* Post merge line endings

* Final commit
2020-03-17 18:08:51 -04:00
Citinited fddff1049b [Testmerge ready] Ports tool behaviours; refactors all tools; adds functionality for self-filling reagent containers (#11700)
* Adds support for self-filling reagent containers

* Sets tool_behaviour on the default set of tools

* Fixing merge conflicts

* Refactors welder to use tool behaviour

* The refactor: part I

* The refactor: part II

* Tool Refactor Part III: Revenge of the Maint

* Tool Refactor Part IV: A New Hope

* Tool Refactor Part V: The Oldcoder Strikes Back

* Tool Refactor Part VI: Return of the Coder

* VII

* Holy shit, it compiles?!

* Nannek I completed your TODO, you owe me ice cream

* Tool helpers; telepad is compliant

* Bugtest, Round 1: Fight

Fuck refactoring disposals

* Buggfixing, Round 2: Electric Boogaloo

* Personal crafting uses tool behaviours now

* Construction datums use new tool behaviours; better way of handling fueltank refuelling; more bugfixing

* multitool_check_buffer change; removes some useless things in tool_helpers

* proc name change

* TRUE/FALSE changes

* Bugfixing, Round 3: A Good Day To Bugfix Hard

Fixes multiple issues raised by the testmerge

* Minor style changes
2020-02-15 13:31:08 -07:00
Fox McCloud 386e270122 DNA Vault Rework (#12455) 2019-10-08 21:33:43 -04:00
Fox McCloud 5194094d3a Refactors Zone Selection (#12523) 2019-10-08 21:11:09 -04:00
Fox McCloud affa319fab Removes Console Screens (#12512) 2019-10-08 21:07:50 -04:00
Fox McCloud 93fa76bee0 Fixes Blood Types (#12520) 2019-10-07 23:15:54 -04:00
Fox McCloud 67dc33ac3f for-the-strength-from-which-he-gives-is-unerring 2019-10-05 02:08:11 -04:00
Fox McCloud d29be05f74 the-figment-that-was-is-now-gone 2019-10-01 19:08:15 -04:00
Fox McCloud 9097dfcacf Merge remote-tracking branch 'upstream/master' into universal-damage
# Conflicts:
#	code/game/machinery/machinery.dm
#	code/game/objects/items.dm
#	code/game/objects/structures.dm
#	code/game/objects/structures/inflatable.dm
#	code/game/objects/structures/mirror.dm
#	code/modules/clothing/spacesuits/hardsuit.dm
#	code/modules/clothing/suits/wiz_robe.dm
#	code/modules/mob/living/carbon/alien/alien_defense.dm
#	code/modules/mob/living/carbon/slime/slime.dm
#	code/modules/mob/living/simple_animal/friendly/slime.dm
2019-09-28 00:16:11 -04:00
Fox McCloud cb8529cdb8 Makes Xenobiology Simpler. Removes Slimes (#12398) 2019-09-24 16:17:33 -07:00
Fox McCloud 238ea19d09 Merge remote-tracking branch 'upstream/master' into universal-damage
# Conflicts:
#	code/modules/clothing/suits/labcoat.dm
#	code/modules/clothing/under/miscellaneous.dm
#	code/modules/mob/living/carbon/human/species/golem.dm
#	code/modules/mob/living/simple_animal/bot/ed209bot.dm
2019-09-21 12:40:07 -04:00
Fox McCloud d5759a0db5 Rebalances Golems, Refactors Species Based Equipping (#12358) 2019-09-21 06:10:37 -07:00
Fox McCloud aa49033844 nor-shall-our-souls-falter 2019-09-17 16:06:09 -04:00
Mark van Alphen ba3f65049d Port over remaining Lavaland ruins 2019-06-07 01:19:55 +02:00
Fel 2ed9e5d3d7 Sensation: *fades* 2019-05-09 15:32:57 -04:00
Fel 2a1f26ff8c You should've gone for the \ref
*snap
2019-05-09 15:19:05 -04:00
Fel 345664fafc Breakfast 2019-05-08 05:07:12 -04:00
Fel 5049c66af0 When you imply, you make an imp out of l and y.
That doesn't make any sense.
2019-05-07 21:31:04 -04:00