Commit Graph

377 Commits

Author SHA1 Message Date
Pieter-Jan Briers
3af2e60817 Ban message improvements (#14731)
Server config now provide appeals forum link, game admins won't need to type it out manually anymore.
Add warning about trying to ban evade.
Cleaned up code a bit.
2023-03-18 19:55:12 -05:00
metalgearsloth
6157dfa3c0 Salvage dungeons (#14520) 2023-03-10 16:41:22 +11:00
Flipp Syder
ec3a519a46 Store chat size (#14299) 2023-03-06 11:06:57 -08:00
TemporalOroboros
93ec824d57 MotD (#13655)
* MOTD

* Message of the Day

* Pretty sure the tests aren't me. Let's check.

* Update Content.Shared/CCVar/CCVars.cs

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>

* command dependencies and moving MOTD to its own system

* Some doc comments

* Let's try those tests again

* More doc comments, most of the github reviews, and aliases for get-motd and set-motd

* Clear test MOTD

* Localized motd commands and completion hints

* Makes set-motd only show up in the alias command if the player has access to it.

---------

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2023-02-28 08:15:48 -08:00
Kara
917aa80b4b Whitelist player constraints (#13812) 2023-01-31 16:57:45 +11:00
Vordenburg
7b1d93b281 Delay the selection of traitors at round start. (#13161)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2023-01-20 08:18:47 -08:00
Morb
f0429edbb1 Add panic bunker toggle to admin menu (#13450) 2023-01-20 07:25:35 -08:00
Visne
c6d3e4f3bd Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
Nemanja
4d57226335 Anomaly fixes (#13558)
Closes https://github.com/space-wizards/space-station-14/issues/13545
Closes https://github.com/space-wizards/space-station-14/issues/13544
Closes https://github.com/space-wizards/space-station-14/issues/13543
Closes https://github.com/space-wizards/space-station-14/issues/13536
2023-01-18 11:38:12 +11:00
Kara
8550baa218 Tips extensions (#13551) 2023-01-17 12:43:51 -06:00
Kara
52e50bd34f Tips system (#13509)
* dataset

* cvar

* tips system

* oops

* even higher

* peptide

* dataset cvar
2023-01-16 10:52:52 -06:00
Chief-Engineer
5ece9bd9e8 Modify admin chat (#13050)
* split admin chat into new channel

* add ability to play audio when a chat message is received and add audio to admin chat

* give client control of AdminChat sound and volume + suppress sound for senders
2022-12-19 21:39:01 -06:00
Kevin Zheng
72e1a5e109 Fix in-game voting (#12932)
* Fix in-game voting

* Add comment

* Re-enable vote.restart_enabled by default
2022-12-19 02:13:37 +01:00
Pieter-Jan Briers
55c61b9c35 Config presets system. (#12824) 2022-12-16 23:26:24 +01:00
metalgearsloth
a5b04b49b6 Fix NPC obstacle handling (#13007) 2022-12-15 15:30:28 +11:00
metalgearsloth
7910bd3ff4 Context steering for NPCs (#12915) 2022-12-12 14:33:43 +11:00
Kara
8bf0d16fad Revert "Kicking AFK players (#12812)" (#12909)
This reverts commit ca260ee666.
2022-12-08 01:07:58 +11:00
Pieter-Jan Briers
a6045e4538 Launcher info links. (#12781) 2022-12-02 17:23:43 -08:00
Morb
d956b8bfcc Panic bunker min overall playtime & deny reason (#12811)
* Add min overall hours & reason

* Disable show reason by default
2022-12-01 10:41:47 -06:00
Morb
ca260ee666 Kicking AFK players (#12812)
* Kicking AFK players

* Set correct CCvar values
2022-12-01 10:38:20 -06:00
Leon Friedrich
8ec2a9ec74 Ambient sound performance improvements (#12756) 2022-11-28 12:10:40 +11:00
Leon Friedrich
2dc7663d1a Remove explosion networking jank (#12733) 2022-11-27 21:24:35 +11:00
Kevin Zheng
5ba034ad36 Add automatic emergency shuttle call (#12473)
* Add automatic emergency shuttle call

This adds a cvar shuttle.auto_call_time which is an integer N, that
calls the emergency shuttle automatically without intervention after N
minutes. This can be disabled by setting N to 0.

After a vote to extend, the shuttle will be called automatically every
shuttle.auto_call_extension_time minutes.

* Update Resources/Locale/en-US/round-end/round-end-system.ftl

Co-authored-by: theashtronaut <112137107+theashtronaut@users.noreply.github.com>

Co-authored-by: Moony <moony@hellomouse.net>
Co-authored-by: theashtronaut <112137107+theashtronaut@users.noreply.github.com>
2022-11-09 22:20:36 -06:00
Mervill
40b556d206 Refactor GameMapManager a bit (nukes mapforced) (#11513)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Closes https://github.com/space-wizards/space-station-14/issues/7192
Closes https://github.com/space-wizards/space-station-14/issues/6537
Closes https://github.com/space-wizards/space-station-14/issues/9579
2022-11-08 13:18:21 +11:00
theashtronaut
2856213c80 Add lobby music volume slider (#12153) 2022-11-04 11:15:37 +11:00
Rane
88186f2106 Map pool cvar (#12313)
* it just works

* nuke votable

* whoops
2022-11-01 20:17:35 -05:00
Kara
3fd226d9f0 Extended rework & ramping event scheduler (#11362) 2022-10-18 19:51:47 -07:00
Flipp Syder
a3dafd88dc Oldchat (#11913)
* attempt at moving MainViewport to UIWidget

* oldchat (prototype)

* separate oldchat and default ss14 HUD into their own files

* restores original default game screen logic and adds that logic into separated chat game screen

* hand reloading, several tweaks to port oldchat to main ss14 branch

oldchat is currently not selectable

* screen type cvar, gameplay state screen reloading/loading

* reload screen on ui layout cvar change

* fixes up basic reloading (HUD switching is still very bad)

* some UI widget reloading for main UI screen switching

* alert sync on screen change

* inventory reload

* hotbar margin fix

* chat bubbles above viewport

* whoops

* fixes ordering of speech bubble root

* should fix the chat focus issue (at least in-game, not lobby yet)

* should fix up the lobby/game chat focus

* fixes chat for lobby, turns lobby into a UI state

* viewport UI controller

* viewport ratio selection

* whoops

* adds the /tg/ widescreen ratio

* removes warning from inventory UI controller, adds background to separated chat game screen's chat portion

* menu button reload

* unload menu buttons only from gameplay state shutdown

* bugfix

* character button fix

* adds config options for viewport width/UI layout

* variable naming changes, get or null instead of get to avoid exceptions

* moves entity system get into controller
2022-10-17 17:13:41 -05:00
Kara
ff448d2778 Disable restart vote as hotfix (#11878) 2022-10-12 17:55:42 -07:00
Jezithyr
571dd4e6d5 Hud refactor (#7202)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: Jezithyr <jmaster9999@gmail.com>
Co-authored-by: Jezithyr <Jezithyr@gmail.com>
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
Co-authored-by: wrexbe <wrexbe@protonmail.com>
Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
2022-10-12 10:16:23 +02:00
Alex Evgrashin
7d882f22c9 Radiation rework (#10970) 2022-10-11 14:09:10 +11:00
metalgearsloth
ca3f5bef59 Fix saltern cvar (again) (#11695) 2022-10-04 15:58:49 +11:00
metalgearsloth
600c0e3255 Fix a few warnings (#11576) 2022-10-04 14:24:19 +11:00
metalgearsloth
f456ad911e Pathfinder rework (#11452) 2022-09-30 14:39:48 +10:00
AJCM-git
03cc0508f3 Automatically TitleCase IC names (#10986) 2022-09-14 19:50:15 +10:00
Moony
85389dab55 no more MRP sandbox. (#11236)
goobye
2022-09-12 20:47:59 -05:00
Visne
0a3cf8325f Add embeds to AHelp relay (#11184) 2022-09-11 08:43:38 -07:00
Flipp Syder
3cfa00e91c Flavor profiles (#10991)
* flavor profiles

TODO: every single flavor! yeah!!!

* adds basic localization, and flavors/lastFlavor values for when you get the flavor profile message

* multiple and single flavor messages

* start on flavor localization, multiple flavors in localized flavors

* flavor prototypes

* a few more flavors, descriptions on what each section of the flavor file should be doing

* localization for flavor profiles in drink/food system

* adds an event that allows a flavor profile list to be transformed base on the user entity

* raises it on the food entity too

* changes a field in flavor, adds some more flavors, starts adding flavor prototypes

* adds basic flavors to several entities, and consumable drinks, renames flavor field to 'flavors'

* changes call ordering in flavorprofile, adds flavor to ignored components server-side

flavor is really just a popup message, and those are all processed server-side

* fixes where food tried to get the flavor of the user instead of the food

* single flavors will now get the localized string

* getting the flavor message now ensures that flavors are deduplicated

* makes flavor processing more strictly unique bu making everything hashsets

* yeah, that could just not have distinctby now

* adds flavorprofile directly to food base instead for generic food taste

* FlavorProfileModificationEvent now passes a hashset of strings and not flavorprototypes

* flavorprofilesystem now broadcasts the flavor profile modification event

* adds more flavors to the flavor profile loc file

* skips a flavor, if the flavor string is null/empty

* adds some more flavors, adds generic medicine flavor to medicinal chemicals

* more food flavors, adds flavors to swallowing

* adds some cocktails to the set of flavor profiles

* regenerates flavor prototypes

* adds flavor type to all flavors, adds whitespace between variants

* adds more flavors, adds flavors to several chemicals and food items

this is the part that took the longest

* changes backup flavor message

* spelling mistake

* more flavors, and flavors on food

* readds all the type fields, whoops

* fixes localization strings for forcefeeding food/drink

* fixes multiple flavor profile

* adds flavor limit for flavors

* makes that fetch the cvardef instead
2022-09-08 18:14:49 -05:00
Flipp Syder
8cbcf2d640 Fixes reset propagation for atmospheric alarm receivers, adds CVar for fire alarm all access (#11020)
* adds a check for if a firelock is powered before auto-opening

* fixes issue where resets would not propagate properly

* adds cvar bound for fire alarm access (defaults to all access)
2022-09-05 18:15:50 -07:00
metalgearsloth
0286b88388 NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-06 00:28:23 +10:00
Kara
42d146effa Mapping autosaves (#10966) 2022-09-03 06:39:28 -07:00
TekuNut
d946ed5009 NukeOps game rule tweaks (#10005)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-08-31 19:36:27 -07:00
Tomás Alves
f8c18c0b41 SanitizeMessagePeriod: Add Period at the end of sentences (#10710)
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
2022-08-31 05:42:46 -07:00
Rane
f36d278499 Biomass (#10313)
* Material

* good prototype

* Fix material storage

* You can insert biomass into the cloner

* ok, basic biomass subtraction works

* amogus

* ok chance works

* Alright, the biomass and genetic stuff works

* feedback for cloning

* more reclaimer polish

* ship it

* starting biomass + fix lathes

* I changed my mind on rat mass and these guys are definitely getting ground up

* Doafter

* clean up, sync the two

* fix naming, fix mass

* technology + construction

* additional logging, stop unanchoring when active

* fix event / logs

* dont gib dead salvage

* auto eject

* fix deconstruction behavior

* make warning message better, temporarily disable cancer scanner

* fix biomass stacks

* add easy mode CVAR

* stack cleanup, make biomass 2x as fast

* bugfix

* new sprite from hyenh

* fix tests

* hello? :smilethink:

* :smilethink:

* medical scanner gets antirotting

* fix cloner and medical scanner

Co-authored-by: Moony <moonheart08@users.noreply.github.com>
2022-08-29 21:31:27 -05:00
metalgearsloth
3fa666bd06 Snap to nearest cardinal on traversal (#10869) 2022-08-29 15:59:19 +10:00
metalgearsloth
5b42861539 Smooth docking traversal (#10822) 2022-08-29 15:05:53 +10:00
Pieter-Jan Briers
84e20049b8 Important fix for table climbing (#10803) 2022-08-25 23:41:37 +10:00
metalgearsloth
36ba197a25 Turn role timers on by default (#10552) 2022-08-13 14:14:56 +10:00
Pieter-Jan Briers
cdae608e3c Mark some CVars as CONFIDENTIAL. (#10468)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-08-10 15:42:31 +10:00
Flipp Syder
3d36a6e1f6 Station records (#8720)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-08-09 15:10:01 +10:00