Commit Graph

32192 Commits

Author SHA1 Message Date
SkyratBot
d9053be65e [MIRROR] Monkey powder now respects the monkey cap config (#421)
* Monkey powder now respects the monkey cap config (#53024)

* Monkey powder now respects the monkey cap config

Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com>
2020-08-19 20:09:12 -04:00
SkyratBot
d174cbd436 [MIRROR] species now correctly do not include organs they do not use (#420)
* species now correctly do not include organs they do not use (#53030)

* species now correctly do not include organs they do not use

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-08-19 20:08:50 -04:00
SkyratBot
1eecada7ab [MIRROR] Adds Hypernoblium interactions with Plasmamans to stop self combustion. (#416)
* Adds Hypernoblium interactions with Plasmamans to stop self combustion. (#52942)

Plasmamen won't interact with O2 if there is also Hypernoblium in the air and if already on fire, will get extinguished.
Adds Hypernoblium as a reagent when inhaled, having Hypernoblium in your system as a Plasmamen will also stop combustion.

* Adds Hypernoblium interactions with Plasmamans to stop self combustion.

Co-authored-by: GuillaumePrata <55374212+GuillaumePrata@users.noreply.github.com>
2020-08-19 19:57:57 -04:00
SkyratBot
c023ec87e9 [MIRROR] New breathtaking medical stack: the mourning poultice! (#415)
* New breathtaking medical stack: the mourning poultice! (#52968)

New type of medical stack, obtainable from botany: the mourning poultice.

These poultices convert 10 brute and 10 burn into oxy per application, and can be used on corpses as well as the living.

It takes 20u bungotoxin, 20u aloe juice and 20u cellulose to create one stack.

I have split all the existing medical stacks into their own dmi, stacks_medical.dmi.

* New breathtaking medical stack: the mourning poultice!

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2020-08-19 19:57:28 -04:00
SkyratBot
1ec8cd6a2d [MIRROR] Plants now show their maximum reagent capacity on plant analyzer examine with reagent mode on. (#414)
* Bam ath happy (#53039)

* Plants now show their maximum reagent capacity on plant analyzer examine with reagent mode on.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-08-19 19:56:31 -04:00
SkyratBot
05f58509c0 [MIRROR] Chemistry machines drop beakers on floor if you are not beside them (#413)
* Chemistry machines drop beakers on floor if you are not beside them (#52922)

When ejecting a beaker it would teleport to your hand.
This checks that you are in range, if not the beaker drops at the machine.

Fixes #52882

* Chemistry machines drop beakers on floor if you are not beside them

Co-authored-by: NightRed <nightred@gmail.com>
2020-08-19 19:56:07 -04:00
SkyratBot
8efc495dee [MIRROR] tgui: Yarn Berry (#410)
* tgui: Yarn Berry (#53026)

This pull request upgrades Yarn to version 2 (also known as Yarn Berry).
* Update build validator

* Provide inferno in the root level package

* Remove type module from package.json

* Powershell build script

* tgui: Yarn Berry

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-08-19 18:18:24 +02:00
SkyratBot
035aebc2a2 [MIRROR] Diagonal macro thingu (#407)
* Diagonal macro thingu (#52927)

* Diagonal macro thingu

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-08-19 04:53:44 +02:00
SkyratBot
42da7ac369 [MIRROR] Reworks the Hierophant Club as a general utility item and removes attacks. (#409)
* Reworks the Hierophant Club as a general utility item and removes attacks. (#52880)

This PR reworks the Hierophant Club into a utility item. Mining? Gone. Attacks? Gone.

In their place? 5-tile range point-and-click instant teleport similar to the ninja. Max charge is 1. Recharge time is 15 seconds.

With the removal of this bloat, the item is now small enough to fit in the average backpack.

The hiero club establishes itself as the entry-level megafauna drop from the entry-level megafauna.

* Reworks the Hierophant Club as a general utility item and removes attacks.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-08-19 04:53:26 +02:00
SkyratBot
15b881799f [MIRROR] General nanite nerfs. (#406)
* General nanite nerfs. (#52937)

Nanites have recieved a general nerf, mostly in the healing department. This is probably not enough nerfs, actually.

* General nanite nerfs.

Co-authored-by: CRITAWAKETS <sebastienracicot@hotmail.com>
2020-08-19 04:49:32 +02:00
SkyratBot
72c69368b6 [MIRROR] Opacity refactor (#405)
* Opacity refactor (#52881)

    Moves all opacity var manipulation to a proc which sends a signal.
    light_blocker element for movable opaque atoms made, which tracks its movement and updates the affected turfs for proper lighting updates.
    has_opaque_atom boolean replaced by the opacity_sources lazylist to keep track of the sources, and a directional_opacity which serves a similar function but also allows for future expansion with on-border opaque objects (not yet implemented).
    Some opacity-related sight procs optimized as a result of this.
    Some variables moved to the object's definition.
    A define or two added into the mix for clarity.
    Some code cleaning, like turning booleans into their defines.
    One file renamed for clarity.

Changelog

cl
balance: Mechs no longer block sight. It's a non-trivial cost for the lighting system with little to no gain.
/cl

* Opacity refactor

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-08-19 04:48:14 +02:00
SkyratBot
a2fdb31307 [MIRROR] Adds reminders as to which cult structures make which cult items (#404)
* Adds reminders as to which cult structures make which cult items (#52637)

Said reminders are present in both the descriptions of those cult structures and in the stack recipe menu for runed metal.

* Adds reminders as to which cult structures make which cult items

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2020-08-19 04:47:42 +02:00
SkyratBot
f424b7853e [MIRROR] cleanup the corpse file, cleanup stationstuck component, adds stationstuck to the reanimated skeleton (and zombie, why not) (#403)
* cleanup the corpse file, cleanup stationstuck component, adds stationstuck to the reanimated skeleton (and zombie, why not) (#52940)

all living spawners in corpse.dm are now in ghost_role_spawners. I hate having to search two different files to HOPEFULLY find which ghost role I need to edit.

Added a disclaimer about giving guidance or at least stationstuck component to stuff so this doesn't happen again

Cleaned up stationstuck. Man, I know I made this, but damn I did kind of a shit job

* cleanup the corpse file, cleanup stationstuck component, adds stationstuck to the reanimated skeleton (and zombie, why not)

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-08-19 04:46:47 +02:00
SkyratBot
d8f5dc18d4 [MIRROR] Cleaning machines and the cleanbot now scrubs instead of washes, wiping forensics (#402)
* Cleaning machines and the cleanbot now scrubs instead of washes, wiping forensics (#52983)

* Cleaning machines and the cleanbot now scrubs instead of washes, wiping forensics

Co-authored-by: Donkie <daniel.cf.hultgren@gmail.com>
2020-08-19 04:42:48 +02:00
SkyratBot
10eba0fc9f [MIRROR] Fix new player panel not showing if the DB is misconfigured (#400)
* Fix the poll menu from breaking the join menu when the DB is misconfigured (#52949)

The returns if the DB is connected but the query errors mean the new player panel is never shown. This is a problem.

* Fix new player panel not showing if the DB is misconfigured

Co-authored-by: Tad Hardesty <tad@platymuus.com>
2020-08-19 04:11:55 +02:00
SkyratBot
e06d6f577a [MIRROR] Adds an admin force wardec button to the antag panel. (#398)
* Adds an admin force wardec button to the antag panel. (#52967)

If nukies have spawned, the war button exists and war has not been declared, the check antag panel now has a button to force war. This bypasses the crew and time limit. Made by admin request.

* Adds an admin force wardec button to the antag panel.

Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
2020-08-19 03:30:30 +02:00
SkyratBot
6408bc13f5 [MIRROR] Fixes eye damage overlay (#396)
* Fixes eye damage overlay (#52980)

* Fixes eye damage overlay

Co-authored-by: WarlockD <warlockd@gmail.com>
2020-08-19 03:17:58 +02:00
SkyratBot
fdfa5ee253 [MIRROR] Update stat panel to give round time days. (#395)
* Update stat panel to give round time days. (#52986)

* Update stat panel to give round time days.

Co-authored-by: WarlockD <warlockd@gmail.com>
2020-08-19 03:15:19 +02:00
SkyratBot
8c01fcc4bf [MIRROR] New Event: Shuttle Catastrophe (#392)
* New Event: Shuttle Catastrophe (#53003)

The shuttle runs into some kind of horrible event, and is no longer servicable. The station is given a new one!

* New Event: Shuttle Catastrophe

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-08-19 03:13:03 +02:00
SkyratBot
db565f37ef The holodeck will no longer spawn invisible tables, and WILL spawn floor decals. (#52924) (#378)
* Fixes holodeck making invisible tables.

* Removes comment.

* Remove extra space.

* Just gets rid of overlays from forbidden vars list.

* Small map fixes for the lounge sim.

Co-authored-by: uomo <51800976+uomo91@users.noreply.github.com>
2020-08-19 03:06:45 +02:00
SkyratBot
2f7873cc2a [MIRROR] Clown's Tears take one bananium sheet instead of one bananium ore (#390)
* Clown's Tears take one bananium sheet instead of one bananium ore (#53004)

* Clown's Tears take one bananium sheet instead of one bananium ore

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-08-19 02:25:50 +02:00
SkyratBot
6a298f0b87 [MIRROR] Fixes a runtime caused by examining a modular computer with no primary ID slot (#389)
* Fixes a runtime caused by examining a modular computer with no primary ID slot (#53009)

* Fixes a runtime caused by examining a modular computer with no primary ID slot

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
2020-08-19 02:24:26 +02:00
SkyratBot
5c74f43106 [MIRROR] Flyperson organs are all completely unidentifiable (#388)
* Flyperson organs are all completely unidentifiable (#53008)

All flyperson organs have the same, generic name and description, and their icon is picked from a pool of gross, blackened organ sprites.

There's also a new organ they have that just does completely nothing. It is also disguised and looks the same as all the other organs.

* Flyperson organs are all completely unidentifiable

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-08-19 02:24:01 +02:00
SkyratBot
2f7e5b762a [MIRROR] refactors resist act to be on atom level (#384)
* refactors resist act to be on atom level (#53016)

* refactors resist act to be on atom level

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-08-19 02:09:09 +02:00
SkyratBot
48968981df [MIRROR] Patches a shuttle curse orb exploit, increases the amount of uses from 2 to 3 (#382)
* Patches a shuttle curse orb exploit, increases the amount of uses from 2 to 3 (#52635)

* curse you, perry the emergency escape shuttle!

* Update code/modules/antagonists/cult/cult_items.dm

Co-authored-by: Rob Bailey <actioninja@gmail.com>

Co-authored-by: Rob Bailey <actioninja@gmail.com>

* Patches a shuttle curse orb exploit, increases the amount of uses from 2 to 3

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: Rob Bailey <actioninja@gmail.com>
2020-08-19 02:08:03 +02:00
SkyratBot
a74d629af5 [MIRROR] Removes organ accidental consumption (#381)
* Removes organ accidental consumption  (#52411)

* i dedicate this one to goof

* snip

* how'd this get past

* Removes organ accidental consumption

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2020-08-19 02:07:20 +02:00
SkyratBot
3c0a18e167 [MIRROR] Removes Corporate Species (#379)
* Removes Corporate Species (#53018)

* sike! i removed corporate!

* b'gone sprites

* Removes Corporate Species

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2020-08-19 02:06:29 +02:00
SkyratBot
5246c4cd65 [MIRROR] Messages sent by yourself no longer highlight (#377)
* Messages sent by yourself no longer highlight (#52991)

* Messages sent by yourself no longer highlight

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-08-18 15:47:11 +01:00
SkyratBot
2e5de54f90 [MIRROR] Deconstruct ore silo (#375)
* deconstruct silo (#52923)

* Deconstruct ore silo

Co-authored-by: NightRed <nightred@gmail.com>
2020-08-17 23:32:48 +02:00
SkyratBot
f088ef3ce4 [MIRROR] Fixes an embed runtime (#373)
* embed runtime (#52912)

* Fixes an embed runtime

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-08-17 23:32:27 +02:00
SkyratBot
c0847d7efb [MIRROR] tgchat: Fix asay (#371)
* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay

tgchat: Fix asay

* tgchat: Fix asay

Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
2020-08-17 23:31:43 +02:00
SkyratBot
9e10d3de16 [MIRROR] Fixes clown car runtime (#370)
* Merge pull request #52911 from Rohesie/clowncar

Fixes clown car runtime

* Fixes clown car runtime

Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
2020-08-17 14:51:34 +02:00
SkyratBot
47192ec2f5 [MIRROR] [s] Fix XSS in Skull Echo (#365)
* Fix XSS in skull echo (#52993)

About The Pull Request

Closes #52992
Changelog

cl
fix: Skull Echo now correctly encodes its speech.
/cl

* [s] Fix XSS in Skull Echo

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-08-17 14:49:08 +02:00
SkyratBot
971b0ba1de [MIRROR] tgchat: Hotfixes, Message Annotations (#364)
* tgchat: Hotfixes, Message Annotations (#52947)

This PR changes the message pipeline a little bit to support list-based messages, which can be annotated with custom data. Function signature of to_chat was slightly changed as well:

// Plain text message
to_chat(client,
  type = MESSAGE_TYPE_INFO,
  text = "foo")

// HTML message
to_chat(client,
  type = MESSAGE_TYPE_INFO,
  html = "<span class='notice'>foo</span>")

Old to_chat format is still supported, but handle_whitespace, trailing_newline and confidential flags have no effect. confidential flag could still be revived though, if there is enough merit in it, for example to filter out confidential messages when saving a chat log.

The reason for using /list and not /datum, is because lists are plain faster, and there are minimal data transformations - these lists are fed directly to json_encode and sent to tgchat.

Plain text messages do not need to be HTML-escaped, which makes them safer and more performant than HTML messages. Plain text messages can be made interactive (or formatted with CSS) by custom-handling them in javscript based on message type and annotations.

It would be impossible to annotate every single message in the game (at the moment of writing, there are 9447 to_chat calls in the code), but it could be done selectively, for only those messages that are hard to classify by span classes (and there are still A LOT of them).
Please annotate more messages. Thank you.

    Fixes #52943
    Fixes #52908
    Fixes #52816

Changelog

cl
add: tgchat: Unread message count is now smarter and won't increase on other tabs if you have already read the same message in the active tab.
add: tgchat: Admin PMs are now properly annotated and can be filtered into separate tabs.
fix: tgchat: Fix: Highlighted message overlay no longer blocks clicks. Clicking a highlighted (F) link should work as it should.
fix: tgui: Fixed NTOS bluescreen due to calling .includes() on a stylesheet href which could be null on certain browsers.
code: tgchat: Chat schema bumped to version 5. All chat-related settings were reset to avoid breakage.
/cl

* tgchat: Hotfixes, Message Annotations

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-08-17 14:48:28 +02:00
SkyratBot
6bb3b6b10b [MIRROR] AI core is now Abductor-proof. (#360)
* AI core is now Abductor-proof. (#52718)

* 1

* 2

* 3

* 4

* AI core is now Abductor-proof.

Co-authored-by: Winterous <38158801+Winterous@users.noreply.github.com>
2020-08-16 15:43:17 +02:00
SkyratBot
8cb835a982 [MIRROR] Organs will now show where to put them in the examine description (#356)
* Add organ zone to examine description (#52904)

* Organs will now show where to put them in the examine description

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-08-15 23:05:18 +02:00
SkyratBot
8c22e73567 [MIRROR] Adds an admin-only version of the chef's hat that allows mice inside of the hat to have a 100% chance to relay their movements to the person wearing the hat (#354)
* Adds an admin-only version of the chef's hat that allows mice inside of the hat to have a 100% chance to relay their movements to the person wearing the hat (#52641)

* muahahahahahahahahaaaaa

* snake case

* shivcalev's suggestions

* Adds an admin-only version of the chef's hat that allows mice inside of the hat to have a 100% chance to relay their movements to the person wearing the hat

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2020-08-15 23:04:58 +02:00
SkyratBot
cbbbc0d5d3 [MIRROR] Small TGUI tweaks and fixes (#353)
* Small TGUI tweaks and fixes (#52955)

* LaborClaimConsole cleanup

* UI tweaks

* Small TGUI tweaks and fixes

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
2020-08-15 23:04:33 +02:00
SkyratBot
fd122ddb5a [MIRROR] adds ascension achievement (#352)
* adds ascension achievement (#52757)

adds ascension achievement

* adds ascension achievement

Co-authored-by: Fikou <piotrbryla@onet.pl>
2020-08-15 23:04:23 +02:00
SkyratBot
8c41a7cce6 [MIRROR] Baystruments - I had two tgstation forks for some reason and had to delete one and that nuked the last PR (#350)
* Baystruments - I had two tgstation forks for some reason and had to delete one and that nuked the last PR (#51459)

Instruments and sound channels refactor.

* Baystruments - I had two tgstation forks for some reason and had to delete one and that nuked the last PR

* Fixes dme dupe

* Fixes dme dupe (#52954)

Co-authored-by: silicons <2003111+silicons@users.noreply.github.com>
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2020-08-15 23:04:03 +02:00
SkyratBot
e5bc194942 [MIRROR] Fixes Swarmer Teleport and Swarmer Typo (#348)
* Merge pull request #52945 from IndieanaJones/swarmerbugfix

Fixes Swarmer Teleport and Swarmer Typo

* Fixes Swarmer Teleport and Swarmer Typo

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-08-15 20:26:08 +02:00
SkyratBot
b649a2e931 [MIRROR] Fixes Virology Civilian Bounties. (#347)
* Fixes Virology Civilian Bounties. (#52905)

* Fixes Virology Civilain Bounties.

* Don't you hate when you're like 30 commits deep into another branch but there;s no quick alternative to get back onto your old branch because you've been debugging a single issue for the past 3 days and you WANT to work on something else but if you just commit what you got now it'll be a waste and you'll forget what and why you made those choices? Wow same, relatable

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>

* Fixes Virology Civilian Bounties.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Rohesie <rohesie@gmail.com>
2020-08-15 20:25:54 +02:00
SkyratBot
4a8bf70af3 [MIRROR] Removes singularity, tesla, TEG and Mrs. Pacman. Changes supermatter overcharge delam. (#345)
* Removes singularity, tesla, TEG and Mrs. Pacman. Changes supermatter overcharge delam. (#52873)


About The Pull Request

This PR removes the tesla and Mrs. Pacman from the game. The title is actually misleading, the TEG and singularity are still in the game but inaccessible and the singularity no longer has its generator.

Field generators and tesla coils have been kept because shocking your fellow man is the greatest sensation of power in the world.

The overcharging delamination for the supermatter has been replaced by the release of 2500 mols of tritium at 500,000 kelvin. An engineer who's really hateful of the station can use this for fusion, if they desire. Otherwise, its a tritium fire in engineering alongside the explosion. This will probably be changed in the future to be more potent since the explosion will pretty much just space all the tritium away.

Singularities no longer produce radiation. Now, keeping one is less about making power and more about making a statement, especially since you need to delaminate an SM shard for it.
Why It's Good For The Game

Having power optimized for one generator (SM+Turbine) will allow balancing to be feasible, also oranges wanted this. The other generators may later return but with tweaked values and different roles.
Changelog

🆑
del: Nanotrasen has removed their outdated teslas, singularities, TEGs and Mrs. Pacman generators from their servers and warehouse.
/🆑

* Removes singularity, tesla, TEG and Mrs. Pacman. Changes supermatter overcharge delam.

Co-authored-by: CRITAWAKETS <sebastienracicot@hotmail.com>
2020-08-15 00:53:05 +02:00
SkyratBot
a8ec5f995e [MIRROR] ACTUALLY fixes circuits disappearing when disassembling machines (#344)
* Actually fix machine disassembly (#52871)

* ACTUALLY fixes circuits disappearing when disassembling machines

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-08-15 00:52:40 +02:00
SkyratBot
669a33cc1f [MIRROR] fixes arnold pizza not checking for TRAIT_NODISMEMBER (#343)
* fixes arnold pizza not checking for TRAIT_NODISMEMBER (#52771)

Fixed Arnold pizza not checking for TRAIT_NODISMEMBER, resulting in a message being sent to the user even if they were fine after eating it.

* fixes arnold pizza not checking for TRAIT_NODISMEMBER

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-08-14 23:30:45 +02:00
SkyratBot
d9b246cca9 [MIRROR] tgchat (#342)
* tgchat (#52426)

Replaces goonchat with a tgui based chat panel

    Fixes #52898
    Fixes #52663

It is as fast as goonchat was (if not faster in certain circumstances), and is very extensible. It has all the necessary code for sorting messages into categories, which means that one of the next features will be multiple tab support.

Additional features that you will get with tgchat right now:
    Massively faster server-side performance compared to goonchat, especially if batching multiple messages to one client.
    Message persistence across rounds and reconnects. (All messages are stored client-side in IndexedDB)
    More robust scroll tracking. If you scroll up, it will not change the scroll position on new messages like goonchat did.
    Multiple message combining. (Currently set to combine up to 5 messages over last 5 seconds).
    If using the highlighting feature, it highlights the whole message as well as the matching word.
    "Now playing" widget, with preview of the song title, a knob for adjusting the volume and a stop button.

Architecture is as following:
```
to_chat() -+
           |
        SSchat
   (queue, batching)
           |
  window.send_message()
           |
           v
+-------------+
| tgui-panel  |
|+-----------+|
|| tgchat    ||
|+-----------+|
+-------------+
```

Subsystem is basically goonchat, but without all the garbage that slows the servers down (string concatenation, double urlencoding, sanitizing, etc). Now, instead of all that, it's being slowed down by json_encode in /datum/tgui_window/proc/send_message, which IMO is completely worth it, and allows sending various templates and widgets to tgchat.

/datum/tgui_window abstracts the whole window away from you, establishes a nice message-passing interface between DM and JS, with two message queues on each side, automatically loads js/css assets for you, basically does everything. You as a developer only have to worry about sending/receiving messages and write javascript.

tgui-panel is a slimmed down version of tgui, and functions as a container for various widgets, and tgchat is one of them. It of course can be expanded with more stuff.

It's also a separate entry point and a JS bundle, so it's not bloating the main tgui bundle, and is currently sitting at about 230kB.

* tgchat

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-08-14 23:30:16 +02:00
SkyratBot
49f7becb88 [MIRROR] Personalized combat messages part 2 (#334)
* Personalized combat messages part 2 (#52890)

Adds more "personalized" combat messages for all participants in a fight: the attacker, the victim and the spectators

* Personalized combat messages part 2

* Update misc.dm

Co-authored-by: kingofkosmos <riki.sundberg@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2020-08-14 23:29:15 +02:00
SkyratBot
d48dc39507 [MIRROR] TGUI Photocopier (#341)
* TGUI Photocopier (#52831)

Converts photocopier UI to TGUI.

Initially I tried to make it so you could select to make a color or greyscale copy of paper's but I couldn't really figure it out, so I decided to hide those two buttons if the inserted item isn't a photo.

Something not shown in the pictures below is that if you don't have a toner cartridge or the cartridge doesn't have enough charge, the "Copy" button is greyed out, likewise for the AI's print button.


cl
refactor: Photocopiers now use TGUI
tweak: You can insert any type of toner cartridge into photocopiers, and regardless of the currently inserted toner's charge level.
tweak: Toner cartridges can be ejected from photocopiers at any time
/cl

* TGUI Photocopier

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2020-08-14 01:21:22 +01:00
SkyratBot
2b820a06d0 [MIRROR] Fixes lattice and operating table smoothing. (#340)
* Merge pull request #52920 from CRITAWAKETS/test-ur-peearrs

Fixes lattice and operating table smoothing.

* Fixes lattice and operating table smoothing.

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-08-14 01:21:12 +01:00
SkyratBot
a140fb7408 [MIRROR] fixes goliath tentacle crusher trophy not working (#338)
* fixes goliath tentacle crusher trophy not working (#52893)

it checked for health - max health instead of max health - health, so it would never pass the > 0 check and even if that wasnt a thing it would just heal

* fixes goliath tentacle crusher trophy not working

Co-authored-by: Fikou <piotrbryla@onet.pl>
2020-08-13 22:40:24 +02:00