105 Commits

Author SHA1 Message Date
spookerton 6385d90efc added sstyping 2022-10-02 16:15:56 +01:00
MistakeNot4892 2b48ef76c8 Ported the Nebula emote system. 2021-03-27 10:24:14 +11:00
Andromeda-K22 07e31e4d66 changes emotes to use a textbox (#7695) 2020-10-11 21:00:34 -07:00
ShadowLarkens 44f65e2602 TGUI Medical Conversion 2020-09-04 16:25:32 -07:00
Atermonera 021f874b12 Adds preference to control multilingual behaviour (#7064)
* Adds preference to control multilingual behaviour
Examine mode preference should persist across reconnections to a single round
Still looking into how to properly get these to go into the savefile

* typos
2020-05-07 20:41:19 -07:00
ShadowLarkens abfc89982d Fix HTML Injection bug in saycode 2020-04-24 16:17:51 -07:00
ShadowLarkens 54a8a5823d Saycode Overhaul -- Multilingualism (#6956)
* Port ParadiseSS13/Paradise#2100 - Saycode refactor

* Removed unused old carbon slimes code

* Port ParadiseSS13/Paradise#5099 - Saycode part 2

* Ported ParadiseSS13/Paradise#7170's /datum/browser Check Known Languages

* Port ParadiseSS13/Paradise#9240 - Get rid of alt_name in favor of GetAltName()

* Port ParadiseSS13/Paradise#10330 - You can now use multiple languages in one message

* Addressed Atermonera's review.

Translators now print the full message if they find any languages within the
message that the user doesn't understand, minus languages it cannot translate.

Additionally, the combine_message proc has been significantly simplified
by eliminating an ugly tree structure with the help of a little helper
proc.

The removal of the extra span inside each piece doesn't seem to have
visually changed the messages in any other way than changing where the
wordwrap happens, strangely enough. Must be something in IE's code being
picky about invisible elements. On the bright side, it splits *later*
than it did before, thus reducing the lines a message will take up by a
tiny amount.

Also, a bunch of things now have the 'filter_say' class from
PolarisSS13/Polaris#6998. Since span classes with no definition are
totally valid and just don't do anything, this PR does **not** depend on
that PR being merged first.

* Always gotta be one
2020-04-20 01:11:53 -07:00
Meghan-Rossi 6a40a19dd9 Makes language keys case-sensitive, resolves language conflicts 2020-03-09 17:26:43 +00:00
Arokha Sieyes 5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
Mechoid f37b9e592b Merge branch 'master' of https://github.com/PolarisSS13/Polaris into GlobSpecies
# Fix Conflicts:
#	code/modules/mob/living/simple_animal/animals/spiderbot.dm
#	code/modules/mob/living/simple_animal/simple_animal.dm
#	polaris.dme
2019-12-15 12:02:02 -08:00
Unknown 82ca0e2e5d Fixes say code bug with 513 2019-12-13 16:03:36 -05:00
Mechoid 58e2ce2fb4 Change various global species lists to GLOB versions. 2019-12-05 23:55:22 -08:00
Rykka 493b83d5a0 Update Chat System to use to_chat(src, "") instead of src << "" 2019-10-28 15:22:32 -06:00
Anewbe c6c105dc09 Adds Gibberish 2019-01-14 20:43:24 -06:00
Arokha Sieyes f75ea72480 POLARIS: Improve robot and typing overlays 2018-03-21 21:03:13 -04:00
Neerti 4bfcec55f2 work 2017-09-04 21:52:47 -04:00
Cameron653 e158fcd3cc Macro Replacements. (#3574)
* A preface to my madness

Travis failed one of my PR's because I copied old code
that used /red /blue /green.

Because of this, I am going to find and replace every
instance of it that I find.

Also this is a test commit to make sure I'm comitting
to the correct branch.

* /blue /green /red replacements

Dear god.

A slow and painful death from acid is more fun than this.

I wouldn't wish this torture on my worst enemy.
And this is only the beginning

* Replace part 2.

Time to fix the human error.

* Fixes mismatches

* Sets macro count to 220

One above the current number of macros in the code.

* Fixes last of the mismatches.

* Removes spaces, replaces \black

Removes spaces
Replaces \black in a few areas where seen
Replaces \bold with <B> </B> where seen

* Updating macro count again

* More fixes!

* Issues fixed! For real this time!

I swear!

* Fixing all the merge conflict files.
2017-07-19 12:47:23 -05:00
Neerti 11b1185005 Adds Two QOL Say/Emote Features 2017-03-12 09:30:48 -04:00
Arokha Sieyes 4588498486 Worked Whisper into Say
It was annoying. And hard. But it's done.

For the most part anyway.
2016-05-25 16:59:47 -04:00
Yoshax c1e69fd8a3 Adds a missing ! 2016-03-29 23:55:27 +01:00
Yoshax 5d9596a72d Makes it possible to have more than 16 preferences 2016-03-21 18:56:27 +00:00
PsiOmegaDelta 5962656c1e Languages now use alternative prefix keys.
Makes radio and language key overlaps possible.
It is possible to configure the default language keys server side.
Pending: The possibility for players to configure their own language keys.
2015-08-26 13:17:57 +02:00
volas f8822626bb sanitize() refactor: second pass(other sanitize functions) 2015-03-23 01:38:09 +03:00
Amunak 8fa2fdb51b Reverted "say" error helper
Commented out the "say error helper" before we have a better implementation or before it can at least be toggleable. Current state doesn't fit way too many edge casess.
2015-01-09 03:56:58 +01:00
Zuhayr 8978747e53 Moved several globals into the config controller, updated eample config appropriately. 2014-12-25 21:10:30 +10:30
GinjaNinja32 b6de85ec56 Fixes, better handling of things 2014-12-07 17:01:19 +00:00
GinjaNinja32 6a975a1e6a Noise emotes
Conflicts:
	code/modules/mob/living/carbon/brain/say.dm
2014-12-07 12:09:02 +00:00
Amunak 4da6eeb82b Dead chat now uses a single proc for broadcast. Improved dchat formatting, added chattags 2014-11-28 12:23:59 +01:00
Amunak b21067596c The say verb will try to detect some simple errors (say msay) and warn the sender.
The sender is allowed to just send, edit or cancel their message.
2014-11-28 10:22:40 +01:00
Amunak 9eccf15d00 Ghosts can now follow other ghosts
and playing admins can JMP to ghosts. Also did some minor refactoring of the dead saycode.
2014-11-26 22:52:26 +01:00
PsiOmega 7182ff9c3f /tg/ input stripping.
Borrows /tg/ html stripping code.
Ghosts are the first to be given this boon, they now have to deliberately emote things like "Spooky man and it#36&;s friends type crap".
2014-11-21 18:32:51 +01:00
Zuhayr 223bd86f18 Merge branch 'organremoval' of https://github.com/Zuhayr/Baystation12 into dev
First pass on major conversion of xenomorphs to a human subspecies. Additional condensing of various redundant mob verbs.
Converted larva and diona to their own class, collapsed the rest of xenomorphs into a human species, other stuff.
Completely removed attack_alien(). Still have to reimplement some of the lost behavior for human/alien.
Reapplies lost attack_alien() functionality other than tackling/caressing.
Further alien/humanoid cleanup and xenospawn fix-ups. Also uncommented caste verbs.
Removed half-finished abilities system since species.dm handles it.
All xenomorphs functionality should be working now, other than the HUD, tackling and the xenomorph balance issues.
Added icons for xenomorph castes, moved broadcast languages into datums, removed alien_talk and robot_talk vars.
Merged with organ removal code.
Reapplied verbs to simple_animals/slimes. Updated species definitions to have appropriate organs.
Readded tackle as a human verb.
Borer changes regarding brain removal.
Working on moving the human HUD to the species datum a bit. Mixed results.
Moved Cortical Link to a language, added borer husks.
Tidied up the HUD stuff. Still need to make it rebuild properly when species is changed, but this will do for no
Compile fix, forgot the DME.
Fixed up ventcrawl, added new organ mechanics for dionaea.
Fixed up some overlooked sections causing mobs without brains to die immediately.
Fixed up plasma generation for queens, bugs with organs, force_organ issues with set_species().
2014-09-29 06:19:26 +09:30
Chinsky 12364f0cd2 Adds typing indicator.
It's toggleable as client preference.
Displays dots(codersprite) near the mob when he starts typing a message.
Detects chatline me and say via checking contents.
Detects shortcut input me an say via hacky wrapper that's called now instead of direct say/me verbs.
2014-08-29 15:33:25 +04:00
Walter0o 5895a098fe fixes alien castes not understanding each other
only /mob/living/carbon/alien have this var set, so this will not touch anything else.
2014-08-01 22:34:28 +02:00
Ccomp5950 75803c5140 Positronic brains (and every other mob) using binary chat will no longer send their messages twice.
Fixes: #5444
2014-07-22 19:32:52 -05:00
Walter0o 7dff5f117e adds proper pAI language based translator,
reverts UNTRANSLATABLE
2014-07-20 09:05:44 +02:00
Zuhayr ccb95c996c Made Vox-Pidgin and Rootspeak untranslatable even by pAIs. 2014-07-15 15:57:28 +09:30
mwerezak ac0bf7b853 Improves the implementation of non-verbal languages
Cleans out the nonverbal language check from say_understands(), which
now is responsible for language only.
Nonverbal languages have a chance of causing an emote when used.
Adds sign languages, which have no verbal component.
2014-06-28 12:19:34 -04:00
Mloc-Argent 9896e44d8a Merge remote-tracking branch 'upstream/master' into dev
Conflicts:
	code/__HELPERS/unsorted.dm
2014-06-12 18:56:26 +01:00
Ccomp5950 77c733b17c Mentor permissions fixes and such.
Created a helper proc /proc/is_mentor(client) use this when determining if someone is a mentor and they aren't the usr of the proc (rights_check uses usr)

Mentors will no longer hear ghosts while playing
Mentors will no longer see orange text around names in check_player_age panel if they have special_roles
Mentors will no longer be able to tell players with special roles through the use of player_panel
Mentors will no longer be able to aghost, use antagHUD, then return to their bodies.
2014-06-10 19:48:41 -05:00
Zuhayr 1e135f91af Merge resolution with master. 2014-06-02 12:05:12 +09:30
Ccomp5950 b6b4d0826f Ghost dsay verbs.
Now a bit more accurate.
2014-05-31 02:33:51 -05:00
mwerezak 9a7c53d7d1 Fixed NONVERBAL check. 2014-05-17 15:43:10 -04:00
mwerezak 4e638ef92b Fixes being able to understand NONVERBAL...
...languages when blind.
2014-05-17 15:19:12 -04:00
mwerezak d8ca221c44 Adds Siik'tajr 2014-05-17 08:51:57 -04:00
mwerezak 7d1c5e7824 Adds non-verbal languages 2014-05-17 08:51:35 -04:00
mwerezak c643da6198 Silicon mob types can now speak languages 2014-05-17 08:39:40 -04:00
Mike e1d6f08902 say_understands() fixes and cleanup.
Whether or not someone can understand a language is now handled entirely
by the language check in mob/say_understands(). The way the old code was
written makes me think it came before languages were implemented.
2014-05-17 08:37:18 -04:00
Mike df78402da8 Simplifies radio and language code checking
Also moved the procs used to parse the codes into mob/say.dm to make it
easier for mobs that aren't carbon/humans to use language codes in the
future.
2014-05-16 13:33:19 -04:00
DJSnapshot 64e3c3d6b9 Admin requested addition of a global dsay toggle. 2014-01-20 18:27:12 -08:00