Commit Graph

3113 Commits

Author SHA1 Message Date
Pieter-Jan Briers
bb35845a59 Do not allow selecting non existent character slots.
This fixes #2176
2020-10-07 18:04:15 +02:00
Pieter-Jan Briers
882ed619fd Don't allow deletion of the selected character slot. 2020-10-07 18:04:15 +02:00
DrSmugleaf
a984076574 Headsets (#2023)
* add headset component

* add basic headset logic

* fix formatting in listening component, add dependency to headset

* test function for headset

* implement headset as listener

* ANNIHILATES ListeningComponent, refactor of radio/listener sys

* basic headset functionality

* rename RadioComponent to HandheldRadioComponent

* change channel to list of channels

* basic headset implementation complete

* message now always excludes ';'

* add radio color; state channel freq. and source name

* undocumented game breaking bug commit (DO NOT RESEARCH)
actually just changes frequency from 1457 (what signalers are set to by default) to 1459, the actual frequency for common

* Add more sprites

* Reorganizes

* Added job headsets

* Adds headset as an ignored component

* Jobs now spawn with headsets

* remove system.tracing

* Catchup commits

* Add headset property serialization

* Turn GetChannels into a property

* ListenRange property and serializatioon

* Adjust interfaces

* Address reviews

* Cleanup

* Address reviews

* Update rsi

* Fix licenses and copyright

* Fix missing textures

* Merge fixes

* Move headset textures from objects/devices to clothing/ears

* Fix rsi state names and add equipped states

* Fix headsets not working

* Add missing brackets to channel number in chat

* heck

* Fix broken rsi

* Fix radio id and names

* Put quotes around headset messages

* Fix method names

* Fix handheld radios

* Fix capitalization when using radio channels and trim

* Remove unnecessary dependency

* Indent that

* Separate this part

* Goodbye icons

* Implement IActivate in HandheldRadioComponent

* Add examine tooltip to radios and headsets

* Rename IListen methods

Co-authored-by: Bright <nsmoak10@yahoo.com>
Co-authored-by: Swept <jamesurquhartwebb@gmail.com>
Co-authored-by: Bright0 <55061890+Bright0@users.noreply.github.com>
2020-10-07 05:02:12 -07:00
Pieter-Jan Briers
20eac0de84 Foreign key for selected character slots. 2020-10-07 10:42:53 +02:00
AlphaQwerty
0532811744 Updated Description for SalternSmes (#2185) 2020-10-07 10:38:39 +02:00
Pieter-Jan Briers
390d064304 Re-organize in-memory character profile storage.
Now uses a dictionary of int -> profile instead of an array filled with nulls.
2020-10-06 15:13:16 +02:00
Pieter-Jan Briers
0b1fd94dc9 Update submodule. 2020-10-06 15:12:32 +02:00
DrSmugleaf
f35625630b Fix creating and deleting character slots crashing the client and server (#2172)
* Fix creating a character slot crashing the client

* a

* Fix deleting character profiles
2020-10-06 12:03:14 +02:00
Pieter-Jan Briers
f9bb3fed6f Update submodule, updates for natives.
SHOULD fix #720
2020-10-06 11:27:31 +02:00
Exp
920f3a999b Communications Console & Medical Scanner now close when too far away (#2175)
-Wire & GasAnalyzer dispose instead of closing only
2020-10-06 10:16:42 +02:00
Swept
67ba000528 Makes the repo sparkle (#2180) 2020-10-06 09:06:50 +02:00
Paul Ritter
cc886518b1 Fixes the storagecomponent amount not being implemented (#2177) 2020-10-05 21:28:06 +02:00
DrSmugleaf
68c466ce2b Update RobustToolbox 2020-10-05 14:11:32 +02:00
Swept
8053807828 Fixes Taser inhands (#2165) 2020-10-05 13:02:19 +02:00
FirinMaLazors
88e58081f3 My very first PR. (#2162)
* My very first PR.

Adds a description to the APC!

* Adds an 's.
2020-10-05 08:21:56 +02:00
RemberBL
5d4ad5f150 Fixed flashlights staying enabled after taking the battery out of them (#2158)
* Fixed flashlights staying enabled after taking the battery out of them

* Refactored code for flashlights shutting off after the battery is removed

* Fixed casing in makeNoise
2020-10-04 18:10:33 +02:00
Swept
e9be70fb58 Unshaded maintenance and external airlocks. (#2160)
* Maint airlocks unlit

* Unlit button sprites for external

* True unlit for external airlocks
2020-10-04 18:07:58 +02:00
Swept
d00ae036f8 Fonts moved from textures to proper folder (#2159)
* Initial

* Deletes old loc
2020-10-04 18:07:15 +02:00
Swept
6e2cf5f05e Adjusted BB on windows (#2167) 2020-10-04 18:06:53 +02:00
Swept
cf06730517 Fixes #1941 (#2166) 2020-10-04 18:06:10 +02:00
Exp
f0cb9f05ee Fix server crashing when portal is deleted (#2157)
-Fix server crashing when using the teleporter
2020-10-01 13:48:42 +02:00
Swept
155882f469 Removes nonfunctional turrets (#2154) 2020-09-30 12:44:11 +02:00
Swept
898744f4a9 Icon fixing and general cleanup (#2156)
* Cable coils now look BEAUTIFUL and have inhands

* Editors note

* Materials have their own rsi + more icons fixed

* Fixed Mimic [AI]

* More icons fixed...

* Tanks have own rsi and fixed tank icons

* Airlock icons fixed

* Fuel tank hotfix

* Arcade fixed

* ChairBase is now abstract

* Fixes medical stuff

* Fixes rechargers

* Pump/Pipe icons

* Misc hotfixes

* All debug power icons fixed!

* Fixes auto/proto/research computer icons
2020-09-30 12:43:06 +02:00
Swept
552918d59d TABLE TIME LET'S GET ITTTTTTT (#2141)
* Replace pilot chair with a better sprite

* Refactors furniture.yml

* Cleans up dumb indentations

* Massive table cleanup YEAAHAHAAAHAHAHA FUCK YEAH WE CAN GAMBLE NOW

* Bookshelves, rack, metal shelf

* Actually good looking carpets holy crap lois

* three more colored carpets

* Rest of carpet colors and they now have proper drawdepth

* Adds Phoron windows and recolor phoron gas

* A bunch of decorative lights

* CarpetBase now abstract

* Inhands for torches

* Tables now have icons and a much nicer rsi/yaml layout

* Carpet Icons fix

* Removes old carpet
2020-09-29 16:11:42 +02:00
Pieter-Jan Briers
1b691264f3 Improve "give AA ID".
Renamed to "grant full access" (same as in SS13).

Now tries to upgrade an ID the user has equipped and automatically equips if necessary.
2020-09-29 16:05:29 +02:00
Pieter-Jan Briers
f287f46944 You can now swap IDs in PDAs. 2020-09-29 15:41:20 +02:00
Pieter-Jan Briers
a2fbc5e997 oh god oh fuck 2020-09-29 14:50:49 +02:00
Pieter-Jan Briers
66c8a68891 Holy crap auth works (#2099)
* Holy crap auth works

* Fix some usages of UserID instead of UserName

* Refactor preferences.

They be non-async now. Also faster.

* Rename DbContext.

* Guest username assignment.

* Fix saving of profiles.

* Don't store data for guests.

* Fix generating invalid random colors.

* Don't allow dumb garbage for char preferences.

* Bans.

* Lol forgot to fill out the command description.

* Connection log.

* Rename all the tables and columns to be snake_case.

* Re-do migrations.

* Fixing tests and warnings.

* Update submodule
2020-09-29 14:26:00 +02:00
DrSmugleaf
8a33e0a9bd Fix build? (#2147) 2020-09-28 23:25:12 +02:00
DrSmugleaf
871a96bfe1 Update RobustToolbox 2020-09-28 23:19:30 +02:00
DrSmugleaf
ed3a3630b1 Update RobustToolbox 2020-09-28 21:09:54 +02:00
DrSmugleaf
ba335c1c31 Update RobustToolbox 2020-09-28 20:56:18 +02:00
Paul Ritter
68031990a2 Readds Iconcomponent (#2142)
* icon fix

* stuff

* directional texture rework
2020-09-28 20:53:47 +02:00
peptron1
b24d36eda0 Add descriptions to a bunch of boxes (#2145)
* added a description for 3 masks

* adding descriptions for some boxes

* adding descriptions for some boxes

* Cleanup (#2111)

* Atmos debug helpers (#2108)

* Atmos debug overlay

* Pressure direction information

* Atmos debug overlay: show excited tiles

* General tweaks (#2109)

* Removes a bunch of old Eris shoes

* Changes the jackboots sprite to tgstation's

* Prototypes nuked

* Removes walk sound from jackboots, it was pretty annoying

* Adds wood table icon

* Adds wood plank and spawns it on wood table destroy. Also removes tg hand tele sprite.

* Removes weird mask png

* Removes bad pixel on security backpack

* Adds filled utility belt to engineer and ce roles

* Update Resources/Prototypes/Entities/Clothing/Shoes/shoes.yml

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>

* Fix power grid announcements overlapping power-down sounds (#2096)

Both announcements play 3s after startup / shutdown

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>

* Replaces old airlock_deny sound effect with vgs airlock_deny (#2031)

* Fix missing light mask

* Refactors radiation (#2009)

* Work on refactoring radiation.

* mmmm grayons

* fixes

* Now you can specify whether the pulse will decay or not

* whoops

* Move IRadiationAct to shared, make DamageableComponent implement it instead and add metallic resistances to walls

* General improvements, send draw and decay with state. Rename DPS to RadsPerSecond

* E N T I T Y  C O O R D I N A T E S

* Entity coordinates goood

* Remove unused using statements

* resistances: metallicResistances

* - type: Breakable moment

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Gives the gas analyzer visual clues that it's open (#2110)

* Gives the gas analyzer visual clues that it's open

* Read Visualizer states from yaml

* Storagefill component refactor (#2093)

* refactored storagefill component to allow for random items, amount, and conditional exclusion

* i fudged it

* yaml for the already deleted filler components

* ignoredcomponents & janifill

* remainder of toolboxes done

* emergencyclosetfill

* really makes you think

* it DOES really make you think

* orGroup

* exp111 suggestions

* last touches

* isNullOrEmpty

* Adds new different reaction types. (#2114)

* Adds new different reaction types.
- Adds touch, injection and ingestion reactions for entities.
- Adds tile reactions.
- Removes GasSprayerComponent in favor of SprayComponent.
- Gives fire extinguishers a safety.
- Gives spray puffs a sprite.
- Improved spray and fire extinguisher in general.
- Fire extinguisher now ACTUALLY puts out fires. Amazing, eh?
- Fire extinguisher sprays three 'clouds' at once.
- Spraying flammable chemicals at fire makes them worse. Whoops!
- Gives spray and fire extinguisher their classic sounds.
- Most chemicals now don't make puddles. Too bad!
- Space lube now makes a very slippery puddle. Honk.
- Spraying water (or using a fire extinguisher) on existing puddles makes them bigger.

* Fix solution tests

* food base now has solution container with noexamine caps

* Fix chemmaster not checking for reactions

* Fix saltern's roundstart gas mix

* PressureSiphonComponent (#2118)

Co-authored-by: py01 <pyronetics01@gmail.com>

* Fix footstep sounds not playing

* Fix AI con crashes (#2119)

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>

* Adds IThrowCollide, Creaming people with cream pies and tactical stun baton throws (#2122)

* Adds FlammableComponent, humans can now catch on fire. (#2115)

* Comms console now restarts the round correctly.

* Add flammable, creampie and creampied components to IgnoredComponents

* Arcade fun - Ports over /vg/s SpaceVillain arcade game (#2125)

* arcade fun

* stuff

* removed unused using statements
added sound feedback
win check fix
reworked ui a bit

* description rework

* windowopen bug fixed

* adds rewards, cool!

* for unusualcrow

* fixes

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>

* Rejuvenate extinguishes people who are on fire

* Nukes Iconcomponent (#2102)

* pfew

* preview_state

* ship it

* weird stuff

* fucked up rebasing

* Update submodule

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>

* fix formatting

* god I don't understand git

Co-authored-by: Swept <sweptwastaken@protonmail.com>
Co-authored-by: 20kdc <asdd2808@gmail.com>
Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: Exp <theexp111@gmail.com>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: py01 <60152240+collinlunn@users.noreply.github.com>
Co-authored-by: py01 <pyronetics01@gmail.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-09-28 20:03:57 +02:00
Swept
ef25d27f5c Initial (#2137) 2020-09-28 20:03:05 +02:00
RomanNovo
06d6bfe5e0 Fix issue (#2129)
Co-authored-by: RomanNovo <roman.novo.95@gmail.com>
2020-09-28 18:36:13 +02:00
Swept
6770de75bf Removes rainbow clothing (#2144) 2020-09-27 22:00:51 +02:00
Víctor Aguilera Puerto
9dfaef693f Remove unused parameter in elements.yml 2020-09-27 01:06:35 +02:00
Víctor Aguilera Puerto
91a6944a05 Add outline to AME 2020-09-27 01:06:09 +02:00
Swept
8da869e085 Fixes security backpack sprite (#2136) 2020-09-26 21:08:52 +02:00
Swept
17351d9044 Adds a Toggle FOV and Toggle Shadows Button to the sandbox menu (#2090)
* Initial

* Initial 2
2020-09-26 15:50:14 +02:00
DTanxxx
3e6f0eef58 Removed the last bits of dependencies on localization manager (#2127)
* Removed the last bits of dependencies on localization manager

* Updated submodules to resolve error

Co-authored-by: David Tan <>
2020-09-26 15:30:13 +02:00
20kdc
4b9d488c1e The Grovelling-to-the-Chef Games (monkey cubes and meat spikes) (#2117)
* Rehydratable component -> monkey cubes now have some of their behaviour

* Placeholder kitchen spike entity

* KitchenSpike component: the kitchen spike now has basic functionality

still placeholder sprite though

* Kitchen Spike: Import meatspike assets from CEV-Eris

* Kitchen Spike: Actually use sprites somewhat

* Kitchen Spike: Forgot I removed the MeatParts property from Butcherable

* Monkey cubes: Use IReagentReaction even though it doesn't quite work yet. Butcherable: remove imports

* Monkey cubes/Rehydratable: Re-add ISolutionChange

* Update Resources/Prototypes/Entities/Constructible/Ground/kitchen.yml

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-09-26 15:28:55 +02:00
Paul Ritter
84ce845ea3 Nanotrasen Block Game is here (#2131)
* tetris!

* softdropping & left,right key holding

* started work on the ui

* playable state

* there you go exp

* multiuser rework

* ui update refactor

* blockgame™️

* highscores, keybindings, ui refactor

* speed adjusts
leveling

* highscorebackground tweak
speed tweak

* NULLABLE

* yes
2020-09-26 15:25:22 +02:00
Víctor Aguilera Puerto
4eb5891c4a Adds missing reactions to chemical stuff.
- Adds ingestion reaction for food, drinks, and pills.
- Adds injection reaction for syringes.
2020-09-26 14:48:24 +02:00
Pieter-Jan Briers
62288dd7ec Update Submodule 2020-09-26 13:34:26 +02:00
Pieter-Jan Briers
21f118585b HAhahaha. 2020-09-25 22:11:19 +02:00
Pieter-Jan Briers
d4fefd4046 Define CVars in a central location.
Instead of a bunch of RegisterCVar<> calls, it's now similar to Key Functions.
2020-09-25 21:39:33 +02:00
Pieter-Jan Briers
927869a7b0 Update Submodule 2020-09-25 21:39:33 +02:00
Exp
f2977dd436 Fix StorageFill quitting early (#2130) 2020-09-25 13:49:59 +02:00