Commit Graph

2652 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
themias
2141a31c8a Fix tranq shells not injecting solution (#11254) 2022-09-14 12:40:50 +10: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
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
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
Visne
94178804df Keep windoors open if they are clicked (#11180) 2022-09-11 07:48:03 +10: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
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
Francesco
c11a431f70 Fix: Drop plasteel when deconstructing reinforced walls (#10992) 2022-09-05 19:28:15 -07:00
Kara
63b147e111 Chem entity nerf (#11037) 2022-09-05 18:43:04 -07: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
Flipp Syder
ba2995b7c8 Merge pull request #10721 from vulppine/air-alarm-fixup
Air sensors & air alarm fixup
2022-09-02 13:00:33 -07:00
Kara
cdda038fe5 Make small battery weapons actually small (#10961) 2022-09-01 03:51:06 -07:00
Kara
011ed41d7f Shotgun buff (#10955) 2022-08-31 23:39:11 -07:00
Kevin Zheng
3bc318071e Make t-rays, gas analyzers, and belts lathable (#10950) 2022-08-31 20:39:32 -07:00
Rane
822c8f3c70 make jaws of life not awful (#10770) 2022-08-31 20:22:25 -07:00
Peptide90
5a5884727f Guns as clothing PR (suit storage, back, belt) (#9330)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-08-31 20:21:13 -07:00
Nemanja
cdc11c63c2 Just a week away... (#10954) 2022-08-31 19:56:27 -07:00
Justin Trotter
4270c3865e Bots can now be put in closets (#10672) 2022-08-31 19:40:16 -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
20kdc
b76f88ccc5 Salvage spawning adjustments and AABBs in prototypes (#10789) 2022-08-31 19:25:05 -07:00
Rane
7bee0063a6 Split various drone behaviors out of drone component (innate tool, unpowered flashlight) (#10474) 2022-08-31 19:09:20 -07:00
Rane
45349f159d fix engineering goggles supply issues (#10700) 2022-08-31 19:08:53 -07:00