Commit Graph

44 Commits

Author SHA1 Message Date
oranges
189479d766 Makes asay brighter orange (#39552) 2018-08-05 00:30:05 -04:00
oranges
2fc303ecfb All adminsay now uses the adminobserver colour (#39511)
This makes it more distinguishable for admins
2018-08-03 13:40:09 -04:00
Tad Hardesty
c4dbe0a619 Add DOM-based linkify to goonchat (no more URLs in IC) (#38693)
* Add DOM-based linkify to goonchat (no more URLs in IC)

* Add linkify spans to places where OOC messages appear

This includes:
- OOC
- Deadchat
- Admin chat
- Admin logs
- Admin PMs
- Prayers

* Limit fallback behavior to linkify spans
2018-06-26 14:44:34 +12:00
Tad Hardesty
5a79952716 Allow actually saving Goonchat logs 2018-06-23 11:25:19 -07:00
Tad Hardesty
ae5c744b54 Make chat squashing HTML-agnostic 2018-06-09 02:45:56 -07:00
Tad Hardesty
cf6f064e21 Use spritesheets to reduce time spent sending PNG assets by 90+% (#37399)
The total number of assets to be sent has been reduced from 1532 to 76, with time between first asset and last going from about 112s to about 7s (a 93% reduction) by my measure. The following assets have been coalesced:

    705 pipe images (used by RPD) -> 1 spritesheet + css
    595 research design icons (used by R&D console) -> 3 spritesheets + css
    116 OOC emoji + 15 language icons -> 1 spritesheet + css
    27 PDA icons -> 1 spritesheet + css
    11 paperwork stamps -> 1 spritesheet + css
2018-05-10 14:34:57 +12:00
JJRcop
a79c5a722d Fixes stopsounds properly (#36341)
* Revert "Merge pull request #36340 from vuonojenmustaturska/beelogreen"

This reverts commit 259838f38c, reversing
changes made to 111cd316a9.

* Fixes stopsounds properly

Also I forgot to actually block admins from bad protocols
it just showed them a message that it was blocked but didn't
block it
2018-03-12 19:26:20 -04:00
Qustinnus
5140cff38c [reviewpls] Adds moodlets to the game - [Please give suggestions for trait additions in comments] (#35475)
Floyd / Qustinnus (Sprites by Ausops, Some moodlets by Ike709)

add: Adds mood, which can be found by clicking on the face icon on your screen.
add: Adds various moodlets which affect your mood. Try eating your favourite food, playing an arcade game, reading a book, or petting a doggo to increase your moo. Also be sure to take care of your hunger on a regular basis, like always.
add: Adds config option to disable/enable mood.
add: Indoor area's now have a beauty var defined by the amount of cleanables in them, (We can later expand this to something like rimworld, where structures could make rooms more beautiful). These also affect mood. (Janitor now has gameplay purpose besides slipping and removing useless decals)
remove: Removes hunger slowdown, replacing it with slowdown by being depressed
imageadd: Icons for mood states and depression states


What this PR is

This PR adds a system that allows player to gain and lose moodlets based on events occuring to, and around them. These events then give the player a mood value based on what it is. For example a hug could give you +1 mood, while being stabbed in the eye with a screwdriver can give -5 mood. All these moodlets together determine the mood of your character which currently affects the following things:

    Movement speed - If you are very sad you move slower. Replacing movement slow from hunger. (hunger now instead affects mood)
    Screen blur - If you are sad you gain an overlay that slightly blurs the screen, increasing in severity as you get sadder.
    Interaction / do after speed - If you are sad or happy your interaction speed with things such as handcuffs is changed. with a 25% longer time if you are sad, or 10% shorter time if you are extremely happy.
    Hunger rate - You gain hunger slower if you are very happy.
2018-03-08 14:15:57 +13:00
AnturK
619b273ed3 html_interface removal and crew monitoring console refactor. (#35431)
Quick changes list:

    html_interface gone
    unused card interface gone
    minimap gone from crew console(subsystem not disabled in case something else wants to use it)
    ui_host() now takes user parameter
    Some assets moved around.

Fixes #22124
2018-02-16 09:31:21 +13:00
Robustin
418a8c0112 Cult Update (#33810)
* Cult overhaul
2018-01-30 21:59:03 +02:00
uraniummeltdown
35bc7d469c better chat squashing with a red animated badge
combined chat messages no longer increases font size
2018-01-28 18:42:46 +05:00
Jordan Brown
f616007e9d Revert "Removes duplicate goonchat font-awesome (#34400)" (#34640)
This reverts commit d013e207dc.
2018-01-19 16:29:25 +01:00
Jordan Brown
d013e207dc Removes duplicate goonchat font-awesome (#34400)
* Removes duplicate goonchat font-awesome

* Fix font awesome path
2018-01-19 16:28:41 +01:00
AnturK
d8e791bffc Makes default admin volume work again. (#33875) 2017-12-28 10:03:20 -05:00
uraniummeltdown
f047ca799c default body line-height 1.4 -> 1.2
added goonchat buttons to increase/decrease body line-height
2017-12-21 22:26:20 +05:00
XDTM
71f6ee67be [Ready] Adds abductor Mind Interface Devices, and a gland HUD (#33209)
* Adds abductor Mind Interface Devices, and a gland HUD

* .
2017-12-18 20:30:20 -06:00
AnturK
b06bd2c86f Adds repeated message squashing to chat. (#33605)
* Adds repeated message squashing to chat.

* Forgot to actually use the pref

* Drops some unnecessary css

* No trimming same thing three times

* Increases size of repeats up to 24px, fixes scrolling
2017-12-17 21:45:26 -05:00
ShizCalev
d79d92e1ae Standardizes deconversion message (#33547)
* Standardizes deconversion message

* More cleanup

* Reverted tooltips

* Standardized all flavour_texts

* Cleaned up redundant classes
2017-12-17 12:49:42 +13:00
MoreRobustThanYou
d3aacc2a54 [READY] Monkey mode overhaul (#32916)
* Monkey mode overhaul

* Fix some runtimes

* Clean up code a bit

* Woops!

* WOOPS #2

* Fix stuff.

* Antag datum!

* Fixes

* Fix a runtime

* Fix leaders not being monkeyfied

* ...

* Logging

* Monkey major/minor victory

* Ventcrawling, etc etc

* REEEE

* Forgot a "user".

* handle ninjanomnom's review

* .
2017-12-16 13:34:51 +13:00
Dax Dupont
80ec17243e Makes sillicon chat more visible (#33222)
Made it green on black

Forgot to remove it at the bold thingy
2017-12-06 07:20:06 -05:00
Vladimir Veysman
d5f42eafe5 Fixed TGchat (#32705) 2017-11-14 09:40:26 -02:00
JJRcop
ce3035289a Adds default volume to tgchat javascript as well 2017-11-10 13:14:20 -05:00
JJRcop
2ab85e231b Moved admin music volume slider to its own menu (#31277)
* Moved admin music volume slider to its own menu

* Minor fixes to goonchat
2017-10-05 20:58:49 +13:00
XDTM
152c8901db Adds action buttons for spiders, refactors action code, nurse spiders can set a hereditary directive for their children to follow (#30572)
* Nurse spiders can set a hereditary directive for their children to follow

* Action buttons!

* unstale

* Done

* worth it

* unused now

* a

* Integration with #30593

* ports #30996

* span

* antur

* Adds spider midwife emoji

* paneled

* a

* fixed panels
2017-09-28 23:01:41 +02:00
JJRcop
54f236073a Fixes admin volume not updating datum var 2017-09-12 09:48:13 -05:00
JJRcop
3259ac4c49 Adds Internet admin midi (#30457)
* Adds Internet admin midi

* Moves global regex into proc (shell_url_scrub)

* Moves shelleo to world
Adds quotes around the command in shelleo, to encapsulate it

* Admins can stop playing web sounds

* Revised internet midi extension order
Moved m4a to least preferred,
as it can potentially carry non-aac or non-mpeg-3 audio

* Kills \n in web sound

* play_web_sound availability based on config

* play web sound and shelleo tweaks

istypeless for in play web sound & readability parenthesis around binary AND
add return index defines for shelleo proc

* Security fix for play web sound
2017-09-08 10:31:33 -04:00
oranges
5b44f77b67 Remove some unused goonchat stuff
we don't have dectalk, so that can go

the command var is completely unused, seems legacy from the goon
implementation.

The chatmode stuff doesn't do anything at all that I can see and no
alternative spritesheets exist
2017-08-23 23:45:39 +00:00
Kyle Spier-Swenson
f2cf4c2f5c [ready]Makes bIcon better (#29690)
Goonchat will use the asset cache, you now have to specify who to send the icons too.

Goonchat will now load icons in the background, displaying them once they load. this prevents the message from being delayed while the icons are sent.

Icons that aren't preloaded using the asset cache system will not render on ie8 clients. This is because of a ie8 bug that prevents changes on runtime created images from rendering.
2017-08-14 10:40:50 +12:00
Kyle Spier-Swenson
23488b6b98 Fixes goonchat on ie8
ie8 doesn't define the console unless dev tools are open
2017-08-02 23:00:39 -07:00
kevinz000
14b85f2012 fixes goonchat css for some fonts not having proper sizes (#29336)
* Update browserOutput.css

* Update browserOutput.css
2017-07-19 11:24:03 -04:00
Jordan Brown
7324244459 Doubles goonchat scroll snap tolerance (#29056) 2017-07-06 20:19:34 -04:00
Jordan Brown
ef96559701 Removes cortical borers 2017-06-26 11:21:08 -04:00
Ashe Higgs
cbdcd08691 Malf AI module refactor and small additions (#28334)
* Refactors malf AI modules to modern standards

* Updates the goonchat stylesheet

* Moves air and fire alarm overrides

* squash commits!

* Fixes some things

* Review, fixes

* does the thing!

* Requested changes
2017-06-21 15:35:03 -04:00
Jordan Brown
64566c33cb Fix 2017-06-08 16:30:49 -04:00
Jordan Brown
e9b3a572be More remnants 2017-06-08 15:17:27 -04:00
Jordan Brown
7623aa8bea Bad comma 2017-06-08 15:11:26 -04:00
Jordan Brown
b6538c50e2 Fixes, css, removes changefont 2017-06-08 12:52:25 -04:00
Cyberboss
caeb8b5349 Fixes default font size 2017-05-28 12:38:30 -04:00
Cyberboss
42be7a34f9 Fix dept stylesheet 2017-05-26 16:16:41 -04:00
Cyberboss
4ad986bde8 @SpaiR's recommendation for log saving 2017-05-08 09:28:34 -04:00
Lzimann
13da512ea0 Actually adds the files 2017-05-03 14:06:34 -03:00
Lzimann
4c1ad2c91d Sweet javascript error handler 2017-05-03 13:50:15 -03:00
Lzimann
4ee094c93b A different approach for testing 2017-05-03 12:16:07 -03:00
Lzimann
5dc30c1984 Changes the directory to code/modules/goonchat 2017-05-01 14:19:22 -03:00