Commit Graph

3264 Commits

Author SHA1 Message Date
Flipp Syder
f9922d9160 Restrict ghost role speech/movement to component flags (#11183) 2022-09-14 13:46:49 +10:00
Morb
89367f71e4 Localize material names (#11059) 2022-09-14 13:00:08 +10:00
Morb
ebcce52abe Localize tile names (#11060) 2022-09-14 12:53:37 +10:00
themias
2141a31c8a Fix tranq shells not injecting solution (#11254) 2022-09-14 12:40:50 +10:00
Kara
eaa4bc4aea Remove clonexadone (#11253) 2022-09-13 12:51:31 -07:00
Kara
3e4e0657b0 Revert "Fix handheld radios incoming messages" (#11248) 2022-09-13 05:50:56 -07:00
Kevin Zheng
d194a02ab8 Stop hiding gas recyclers under the floor (#11241) 2022-09-12 22:52:28 -07:00
themias
a308d86bc6 Fix handheld radios incoming messages (#11237) 2022-09-12 20:32:07 -07:00
themias
d36a58dd2e Add visualizer to hot coffee and tea (#11211) 2022-09-11 20:53:48 -07:00
Kevin Zheng
45349e3c0d Add gas recyclers (#9934)
* Add RemoveVolume()

RemoveVolume(vol) captures the common pattern of:

    air.RemoveRatio(vol / air.Volume)

Change existing code to use this method where appropriate.

* Add gas recyclers

Gas recyclers catalyze the conversion of CO2 and N2O to O2 and N2. The
gas recycler component takes waste gas from the input net and releases
the result into the output net.

To make things more fun, the input net must be pressurized to 3 MPa and
heated to at least 300 C; otherwise, no reaction will occur.

Game-mechanic wise, gas recyclers contain the catalyst for the
conversion reaction, and therefore, requires no external power. However,
the external pumps and heaters required to make the reaction happen
still do.

* Fix gas recyclers

Fix negative sqrt, fix pressure check after remove.
2022-09-11 18:02:01 -05:00
Alex Evgrashin
a3ab172574 Fixed artifact storage (#11205) 2022-09-11 17:24:00 -05:00
och-och
633c74d440 Display gender and age when examining humanoids (#11177) 2022-09-11 07:45:39 -07:00
Nemanja
e43ee216f6 store system currency rework (#10893) 2022-09-10 23:54:16 -07:00
Kevin Zheng
b9463e6df7 Adjust light power consumption (#11105) 2022-09-10 23:49:40 -07:00
TaralGit
47dd0ff2e8 Advanced laser gun and four resprites (#11102)
Co-authored-by: and_a <and_a@DESKTOP-RJENGIR>
2022-09-10 23:46:38 -07:00
Rane
fdba747541 introduce requirement to prevent from being tasked to steal your own item (#11139) 2022-09-10 23:43:31 -07:00
Nemanja
114dccc896 NoRot: true on cables (#11175) 2022-09-10 23:39:58 -07:00
rolfero
4b23521af5 Melee special examine (#11168)
Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
2022-09-10 23:39:36 -07:00
Kevin Zheng
c723d54a51 Chef update (#11189)
* Sort recipes based on total ingredient count

Fix the recipe sort function so that recipes with more ingredients are
matched first. This fixes vegetable pizzas and allows more complex
recipes in the future.

* Chef update

* Pet linter
2022-09-10 20:47:37 -05:00
Nemanja
7199defdff among pequeno (#11115)
* among pequeno

* better colors + fucked up sprites oops

* Update meta.json

* copy*right* and price 3
2022-09-10 19:08:16 -05:00
Will Robson
7accbcbe9b Implement Charcoal. #10042 (#11024)
* Add charcoal

Flush chemicals that are not the charcoal out of the chemical stream

* Add into EN localization to get chem dispenser to display correctly

* Remove method that wasn't needed

* Remove charcoal from dispenser

Charcoal is made by combing ash and carbon

* Place ash in elements prototype
2022-09-10 18:20:44 -05:00
Emisse
d79c879067 Omega (#11170)
* Add files via upload

* Add files via upload
2022-09-10 17:33:41 -05:00
Visne
94178804df Keep windoors open if they are clicked (#11180) 2022-09-11 07:48:03 +10:00
LordEclipse
cbb6e906dd Add Quartermaster to command in the lobby job menu (#11161) 2022-09-10 00:58:26 -07:00
rolfero
d7b31865ff APC construction updated, uses electronics (#10987)
* APC construction and deconstruction
Construction action GivePrototype

* APC needs screwing + sprites

* apc framework, working construction recipe

* Energy swords hot

* APC changes

* APC construction/deconstruction

* removed comments

* Revert "Energy swords hot"

This reverts commit 75228483abb3cc6252118b319bc8949d5198362d.

* Renamed function for clarity

* Fixed the last step not showing in the construction menu

* Some fixes

* Update Content.Server/Power/EntitySystems/ApcSystem.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Content.Server/Construction/Completions/GivePrototype.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Structures/Power/apc.yml

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Structures/Power/apc.yml

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Content.Server/Power/Components/ApcElectronicsComponent.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

* Update Content.Client/Power/APC/ApcVisualizer.cs

Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
Co-authored-by: Jacob Tong <10494922+ShadowCommander@users.noreply.github.com>
2022-09-09 20:27:41 -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
Francesco
fcaf6c5738 fix: External airlocks now show the correct direction relative to their rotation. (#11103)
tweak: External airlock assemblies can now be rotated. This is particularly useful when building shuttles, for docking.
2022-09-08 17:21:25 -05:00
theashtronaut
868abaca5c Gas Analyzer can now scan pipes/devices along with the environment (#10976) 2022-09-08 07:22:14 -07:00
Emisse
5c2eef9def Lock Fire-Axe Cabinet (#11117) 2022-09-08 15:24:54 +10:00
Leon Friedrich
5fda606243 Fix even more prototypes for save/spawn test (#11108) 2022-09-08 11:30:56 +10:00
Leon Friedrich
6f33d3a7f8 Fix more prototypes for save/spawn test (#11087) 2022-09-07 18:35:34 +10:00
Nemanja
226072f592 Add 10 new Paintings (#11081)
* 6 paintings

* 4 more

* goof with aseprite
2022-09-06 20:54:08 -05:00
Leon Friedrich
414f32a4ee Make ghost warp use AttachToGridOrMap() (#11069) 2022-09-05 22:36:52 -07:00
0x6273
0c8e52c163 ChemMaster ECS (#11052) 2022-09-05 22:06:47 -07:00
metalgearsloth
34b7e31e76 Context menu tweaks (#10883) 2022-09-06 13:40:31 +10:00
Rane
a29e86a896 Pacification status effect and Pax (#10796) 2022-09-05 19:52:58 -07:00
Emisse
959e215aa3 Nuke Plasma Price (#10948) 2022-09-05 19:50:29 -07:00
lapatison
99357f7ef4 CBURN tweaks (#10887) 2022-09-05 19:49:56 -07:00
Kevin Zheng
92b759b890 Give filled jetpacks both O2 and N2 (#10981) 2022-09-05 19:49:10 -07:00
Francesco
402648b8bd Tweak: Allows putting the seclite in a security belt (#10997) 2022-09-05 19:46:30 -07:00
Flipp Syder
0882d85176 Air alarm balancing (#11063)
* threshold balancing, restores none mode on atmos alarm

dear lord, panic mode with unbalanced thresholds was a nightmare

* that was 10%, not 1%

* adds widenet mode for scrubbers

* adds the vents to wide filter as well
2022-09-05 19:35:36 -07:00
Francesco
c11a431f70 Fix: Drop plasteel when deconstructing reinforced walls (#10992) 2022-09-05 19:28:15 -07:00
Rane
5e1aa9edd7 remove stripping doafter (#11049) 2022-09-05 19:15:49 -07:00
Kara
63b147e111 Chem entity nerf (#11037) 2022-09-05 18:43:04 -07:00
Flipp Syder
8e54ec27f2 Makes it so that all wires (except the bolt wire) have to be cut on airlocks/windoors (#11056) 2022-09-05 18:41:39 -07:00
Flipp Syder
9ace52a6c1 Device link visualizer (#11054)
* shuffles devicelist to shared, adds an overlay for devicelist

* adds space property to overlay

* moves networkconfigurator to shared, makes devicelistsystem clientside check activedevicelist

* dirties components upon change, adds networkedcomponent to sharednetworkconfigurator

* state handlers for networked components

* whoops

* lots of shuffling, renaming, and access changes

* randomizes color for every new entity added to the overlay

* adds a client-side action to clear all network overlays if they're active

* clones action (oops)

* localization, adds a command for clearing network link overlays (in case the action disappears)

* moves the entity manager up into the bui fields

* makes that a dependency

* attempts to just directly get the color from the dict when drawing, now

* fixes up a few comments

* adds dirty on init to devicelistcomponent

* hacky solution related to mapping with a networkconfigurator

* more stricter bound on that hacky solution

* just checks if the life stage is initialized instead of if the entity was initialized

* moves getalldevices to shared

* readds linq import

* tries to ensure that the show button is toggled on if the device we're trying to configure is currently being tracked by the overlay

* some reorganization
2022-09-05 19:55:44 -05:00
corentt
6301ac5147 AirAlarms fixes (#11062)
* modify airalarm thresholds

* display percentage, not ratio

* reopen doors on normal/warning state

* panic mode on danger state
2022-09-05 19:54:26 -05:00
metalgearsloth
0286b88388 NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-06 00:28:23 +10:00
Flipp Syder
d447b0f80e Air alarm patches (#11004) 2022-09-04 02:04:15 -07:00
20kdc
547af7c7e8 AutoLink port from Outer Rim (#10967)
* C# half of Outer Rim commit 5081906bd17e715ecae422dd7a003d9f103e6884 "autolink gaming."

Ported from Outer Rim with permission.

* YAML half of Outer Rim commit 5081906bd17e715ecae422dd7a003d9f103e6884 "autolink gaming."

Ported from Outer Rim with permission.

* commit fixed AL summary

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

* NewLinkEvent.User & LinkAttemptEvent.User now nullable, fix possible AccessReaderSystem AutoLink bug

Co-authored-by: Moony <moonheart08@users.noreply.github.com>
2022-09-03 13:30:57 -05:00