Commit Graph

3969 Commits

Author SHA1 Message Date
Kara
d35e2f39a7 Roundstart variation game rules (#24397)
* Raise `StationPostInitEvent` broadcast

* Basic variation pass handling

* standardize names + rule entities

* why does it work like that?

* add to defaults

* light break variation pass

* ent spawn entry

* move some stationevent utility functions to gamerule + add one for finding random tile on specified station

* forgot how statistics works

* powered light variation pass is good now

* station tile count function

* public method to ensure all solutions (for procedural use before mapinit)

* move gamerulesystem utility funcs to partial

* ensure all solutions before spilling in puddlesystem. for use when spilling before mapinit

* trash & puddle variation passes!

* oh yeah

* ehh lets live a little

* std

* utility for game rule check based on comp

* entprotoid the trash spawner oops

* generalize trash variation

* use added instead of started for secret rule

* random cleanup

* generic replacement variation system

* Wall rusting variation rule

* account for modifying while enumerating

* use localaabb

* fix test

* minor tweaks

* reinforced wall replacer + puddletweaker

(cherry picked from commit cc24ba6a317c4bee84ffa1eda8397c255ca92be9)
2024-02-08 12:03:43 +01:00
Kara
d4f1f1fdf5 Reduce throwing recoil further (#24759)
(cherry picked from commit e82964bbf44ce2e6b10c585090eec2dd0cd27237)
2024-02-08 12:03:00 +01:00
themias
1f1c07a622 Allow IdentityBlocker partial coverage (#24741)
* Allow IdentityBlocker partial coverage

* rename to TotalCoverage

(cherry picked from commit d75f6c3db4f638e9a479fe40c8d50f0e6c137556)
2024-02-08 12:02:46 +01:00
Nemanja
59b820aeff make lathe visuals not required (#24757)
(cherry picked from commit bd46d7cc8ab6ad92a4d5a7cdd12dd1ce8f6265e9)
2024-02-08 12:02:20 +01:00
DrSmugleaf
55845b0537 Fix ClimbSystem removing the climbing fixture when it still has contacts (#24756)
(cherry picked from commit 83901cafc5722a2e89092817dbd9beddff5a680f)
2024-02-08 12:02:19 +01:00
Tayrtahn
10d25acc9c Fix weird rotation when strapped to a bed (#24746)
* Gotta watch out for those tricky radians

* Change StrapComponent instead

(cherry picked from commit 652e2b7a41ae415bc2c1a548abc97edd2df5812e)
2024-02-08 12:02:04 +01:00
nikthechampiongr
d9208ced9d Fix improper prediction on unpryable doors (#24738)
Fix improper prediction on unpryable doors.

Entities that had CanPry to false on their components would get
improperly predicted as pryable on the client because the check was only
preformed on the server. Same problem existed for welded doors. Moved
the check from server to shared.

(cherry picked from commit 9bebdf57069f8c2e2b045009a98bcf46caa68732)
2024-02-08 12:01:53 +01:00
Kara
609b0b7421 Throwing item scaling animation + recoil (#24724)
(cherry picked from commit ef55039560814a98517552bd58493fc89a2a4812)
2024-02-08 11:57:27 +01:00
Tayrtahn
897aedb70c Stop shift from cancelling follow as ghost (#24715)
Fixed pressing shift cancelling ghost follow

(cherry picked from commit b0bd0689ce538251132f072aadfa7e45ed275389)
2024-02-08 11:57:04 +01:00
SpeltIncorrectyl
e390fd34bf Adds signal control to portable generators (#24157)
* added signal control to portable generators

* added documentation

* Discard changes to Content.Server/Radio/EntitySystems/HeadsetSystem.cs

* added DeviceNetworkComponent and WirelessNetworkConnectionComponent to generator prototype

* made GeneratorSignalControlComponent nicer

* implemented auto-revving

* added back necessary dependency

* can't send do-after event manually

* repeat now works with auto revving

* fixed

* removed vv

* stopping generating when it is revving now makes it stop revving

* Update Content.Shared/Power/Generator/ActiveGeneratorRevvingComponent.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* used resolve instead of TryComp

---------

Co-authored-by: Julian Giebel <juliangiebel@live.de>
Co-authored-by: Kara <lunarautomaton6@gmail.com>
(cherry picked from commit 5d2ddc0d8b313d80fbcecd6719c5048ec2aea3e7)
2024-02-08 11:56:22 +01:00
Kara
9d138e943b Improve rotting examine text (#24689)
(cherry picked from commit 1a74311c9fc91e600f260f521176fc9d5fffe754)
2024-02-08 11:56:14 +01:00
Nemanja
3b3e9abb7b Make procgen use weighted variants (#24669)
(cherry picked from commit 2a6705818bf510aee3026c7f3c3a4ed56f188189)
2024-02-08 11:54:39 +01:00
themias
cd03dbac2b Add inhand fill visuals (#24495)
* Add inhand fill visuals

* oops

* remove unused import

(cherry picked from commit bd100344a2f9f845e2dceb8351d36f8af913a5f1)
2024-02-08 11:54:38 +01:00
metalgearsloth
ac052e4666 Revert "Make flare gun explode, damage and stun the player when used … (#24679)
* Revert "Make flare gun explode, damage and stun the player when used with the wrong ammo (#22349)"

This reverts commit e301378114b245fa6927372f83c19868cb90b13c.

# Conflicts:
#	Content.Shared/Weapons/Ranged/Components/GunComponent.cs
#	Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/shotgun.yml
#	Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Projectiles/shotgun.yml

* Fix revert conflicts

* Update Content.Shared/Weapons/Ranged/Components/GunComponent.cs

(cherry picked from commit e1901aa6b602516f0f7cc3f29844c77e90c77977)
2024-02-08 11:52:32 +01:00
metalgearsloth
823d9dd892 BatteryWeaponFireModes refactor (#24502)
* BatteryWeaponFireModes refactor

Made the code a bit better but still needs integrating into attachments.

* murder

* Fix serialization

* weh

* weh

(cherry picked from commit 58b55ba06c5de031079915a607ccf3adad781f93)
2024-02-08 11:52:31 +01:00
DrSmugleaf
5329280378 Add events for GunComponent values, muzzle flashes and cartridge spread (#24077)
* Add a modifier event for GunComponent values

* Add docs

* Add VV readwrite to modified values

* Add more docs

* More docs

* Add Gun parameter to GunRefreshModifiersEvent

* Add another event for handling cartridge spread

* Fix pneumatic speed

(cherry picked from commit 4e8b1fb0d3ef23c79ea3ca0cec05932de03601f5)
2024-02-08 11:52:29 +01:00
Kara
5a88211bbe Lower speech noise volume & refactor system (#24579)
* Lower speech noise sounds & refactor system christ fuck

* MORE

(cherry picked from commit 740c298d2fb5ec5fb74ded3eee667251c613fd64)
2024-02-08 11:51:58 +01:00
Nemanja
d545b0ea0c Add support clothing equip/unequip doafters (#24389)
* add clothing equip/unequip doafters

* boowomp

(cherry picked from commit 804c76f8c9ac5eec851aa1e5a65b4b3c11ce2f65)
2024-02-08 11:51:57 +01:00
emmafornash
b301a9f4d0 Fixed syndicate bombs being unpurchasable (#24469)
* fixed syndicite bombs being unpurchasable

* removed previous attempt

* added restock condition to listing's equal method

* reverted id change

(cherry picked from commit af632690a1619703da0b6158dee1b9eae7ae7c6d)
2024-02-08 11:50:49 +01:00
Pieter-Jan Briers
c2d69f2dd4 Security barriers take 5 seconds to (un)lock (#24637)
People are using these as unhackable and hard-to-tailgate airlocks into sec. They should not be trivial for security officers to move through.

Made LockComponent have configurable lock times to implement this.

(cherry picked from commit 8ca7cb59a3b83e86c9b27a9549bf85a9f914b6fe)
2024-02-08 11:49:24 +01:00
avery
1075c2e999 Hallway textscreens (#24189)
* hallway screen refactor pending comms console support

* comms console broadcasts

* screen and timer localization

(cherry picked from commit 7e16ee0b55fdef2ce77b13cd72dbc00b63d776c4)
2024-01-28 00:33:40 +01:00
Ed
bee2b77eeb Gravity anomaly rework (#24452)
* balance

* gorilla gauntlet fix

* magboots update

* some more buff

* randomwalk speed scales with severity

* nerf

* content

* Revert "content"

(cherry picked from commit a923beb21bf1cd3df2d77d2b8c6b55b4f4d50a87)
2024-01-28 00:33:39 +01:00
Pieter-Jan Briers
942563e582 Make PACMANs a little better (#24604)
* PACMAN generators show network load/supply.

This gives more feedback to players that their PACMAN is properly connected and what the network status is (i.e. you don't have enough generators).

* Buff JRPACMAN to 8 kW.

Shifted all power values up by +3 kW.

They're frequently too weak to power even single rooms so they deserve a buff.

* Change unit format helpers number format.

Always displays one digit of precision. This avoids jumping around when a value is changing live.

(cherry picked from commit f855cb2b0065083447128778c31c2a93bcd70a6a)
2024-01-28 00:32:20 +01:00
Ed
9f8b6d7df7 Rock and Meat anom rework (try 2) (#24449)
* rework

* bruh

* all fixed

* balance

* bb

* Update TileAnomalySystem.cs

* Update EntityAnomalySystem.cs

* spawn on shutdown variant

* fix entites, fix DataRecord

* fix some review

* god forgive me

* oh fuck wrong brench

* Revert "oh fuck wrong brench"

This reverts commit c81f57f7830c8e55fd47982500c57281af40b0dc.

(cherry picked from commit de9d7aed17f3fa5fe5bf43bea07e4ca07908d528)
2024-01-28 00:32:17 +01:00
MilenVolf
fa80cfa5e0 Add price multiplier for armor component (#24561)
* Add price multiplier for armor component

* Fix datafiled

(cherry picked from commit 4f3265e950d3dd3446cea8bd41c6709169e071f1)
2024-01-28 00:27:48 +01:00
Blazeror
624257a400 Removed TilePryingDoAfterEvent (#24552)
(cherry picked from commit 505e4239639a7a3dce4710778ea97fff861f9ef1)
2024-01-28 00:27:32 +01:00
ike709
ee895733ab Ports colored chat names (#24478)
* Ports colored chat names

* Update name color on every message

---------

Co-authored-by: ike709 <ike709@github.com>
(cherry picked from commit 6cbe4a8fb6d39745141e71233d386206c36a1e19)
2024-01-28 00:27:13 +01:00
metalgearsloth
c1b8405c9b Slight organ loss change (#24475)
Both should be sufficient to avoid the bandaid bug but this one is more accurate.

(cherry picked from commit 10b7ec5d299487ea0c7a46c278ba34612e5e2226)
2024-01-27 23:54:34 +01:00
metalgearsloth
a50170cec4 Maybe fix dead bug (#24445)
(cherry picked from commit 016e535deabd4ea93688d4026be846d2e2f52acc)
2024-01-27 23:51:59 +01:00
Tayrtahn
4d5b3ba435 Holding the walk button no longer activates sprite movement state (#24455)
* Dancing is forbidden

* Suggested changes

(cherry picked from commit c1fd42202f35dcddbf2dc6215fcf462bf31e5ce3)
2024-01-27 23:51:45 +01:00
TinManTim
6bb29572eb Adds explosion when attempting to microwave metal / bugfix (#23887)
(cherry picked from commit f499dfb63a73b2ee408c92d2e98c80ca03e4d71a)
2024-01-27 23:51:32 +01:00
Errant
42ac528eda Suffocation alerts for nitrogen breathers (#24373)
* Respiratorsystem namespace

* WIP gas alert update, does not work

* Finally

(cherry picked from commit 2737c80169853223660948931aadba894723fcaf)
2024-01-27 23:50:55 +01:00
Ed
746db6552b Revert "Start rebalancing anomalies - Rock and Flesh anomaly reworked" (#24448)
(cherry picked from commit 05a7eb07c27a0304285a4c8ef5f1e5b6bdd566a9)
2024-01-27 23:50:29 +01:00
Ed
7c72be35f8 Start rebalancing anomalies - Rock and Flesh anomaly reworked (#24381)
* rework

* bruh

* all fixed

* balance

* bb

* Update TileAnomalySystem.cs

* Update EntityAnomalySystem.cs

(cherry picked from commit b02c211e2f22a10901fa57a5c76a625be8be4a3d)
2024-01-27 23:50:26 +01:00
Nemanja
9bb057959b Generalize tile prying to any tool quality (#24432)
* Generalize tile prying to any tool quality

* ballin

(cherry picked from commit 5e2e652165ee7ef3efb0d0f244d665049f5bd1c0)
2024-01-27 23:50:17 +01:00
themias
87108e5822 Add reagent specific footstep sounds (#24406)
* Add sticky footsteps

* Update Resources/Audio/Effects/Footsteps/attributions.yml

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

---------

Co-authored-by: ike709 <ike709@users.noreply.github.com>
(cherry picked from commit 557e5eb476235398c3cf95aad793f36ab4b48f55)
2024-01-27 23:48:14 +01:00
Dakamakat
1afa84e323 Use can attach check on shot attempt (#24396)
refactor(SharedGunSystem): use can attach check on shot attempt

(cherry picked from commit 7b2e382929204d4fa39ff599c3365c1b237de2e9)
2024-01-27 23:46:42 +01:00
Nemanja
7573dba496 Rip out remaining machine upgrades (#24413)
* Rip out remaining machine upgrades

* eek

(cherry picked from commit a9e89ab37221c4f5eff5a9e1d42e97c6f3e0753b)
2024-01-27 23:43:49 +01:00
LordCarve
3dfd479199 DamageSpecifier Total => GetTotal (#24160)
* DamageSpecifier [Obsolete] Total => GetTotal()

* Remove obsolete Total member from DamageSpecifier.

(cherry picked from commit c77eb8691dc08d384a88ddaf3b734f7777d741b5)
2024-01-27 23:42:35 +01:00
router
c83c46e8b7 Change Tmax for fixed floating point epsilon limit (#24370)
This is the largest number that an epsilon of 1/64 = 0.015625K supports

(cherry picked from commit 4bb670a59c56774b5e723617185ca2147ec888f0)
2024-01-27 23:40:45 +01:00
metalgearsloth
69d6935846 Bunch of revolver fixes (#19649)
* Bunch of revolver fixes

Some stuff wasn't working with prediction so this should fix all of it.

* a

* fix weh

* Also usedelay

(cherry picked from commit 9bb2781bfca68bde47ce52576cb894bb41ab6511)
2024-01-27 23:40:28 +01:00
Kot
937989ca35 Add chat.max_announcement_length cvar (#23571)
* Add announce message length to UI and make a cvar for it

* Update comm console server-side trim to use the cvar

* Rely on the new OnTextChanged event

Because OnKeyBindUp only works for keys that have binds

* Add a similar indicator to nukies' war declaration UI

* Remove message length indicators for now cuz it requires the engine update

* Rename cvar slightly

* Refactor duplicated code to a helper method

* Remove message trimming from *Window class as it's better to live in the BoundUserInterface where the other message handling happens

* Rename to chat.max_announcement_length

(cherry picked from commit 8c5898b0065cd2cf196c0383bc99c57c0f11795b)
2024-01-27 23:40:23 +01:00
Ed
145c2158ca Star Wars 14: Shuttle weapon update (#23644)
* setup codebase

* make auto-fire, but its broken

* collider problem

* fix rate, add toggle port

* add laser

* power cages

* ginormous cells

* fix inhand

* add pirate cannon

* salvage gun

* functional Nuke cannon

* rewrite to standart grenade

* fix naming, add emp sprite

* grenade cartridge

* thruster fix

* nuke cannon

* audio + visual polish

* balance tweak

* tweaks

* laser balance tweak: new Electronic damage modifier set, reduce structural cannon damage

* resprite energy cages, start implementing in game

* fix cage recharger craft

* add small laser gun

* fix colliders

* add  lasers and ptk to research and crafting

* finish implementing weapon to rnd and sec

* some fixes

* splitted grenades and cannon balls

* integrate new cannon balls

* tweaks stick

* move circuits to sectechfab, fix

* fix?

* add ability to E shoot, without signals

* fix!

* fix?!?! and naming tweak

* go!

* Lank fix

* oh

* mornings don't start with coffee.

* the morning starts with bug fixes.

* fucking bugs!

* finally

* it is now possible to craft projectiles separately from cartridges

* +2 fix

* refactor

* piu

* More weight

* add AutoShootGunComponent

* move autoshoot to partial

* SetEnabled()

* some fixes

* remove CanShootWithoutUser field

* remove null-checks ToCoordinates from AttemptShoot()

* war without reason

* return to home

* ?

* forgot remove it

* review

* Fix formatting and update path

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>

(cherry picked from commit a2d5d74b46060d330e5aa14e166692f32dcce7a9)
2024-01-27 23:40:06 +01:00
Krunklehorn
5f2c241f9e Cancel CanBuckle before popup for foldable items (#24358)
* Cancel CanBuckle before popup for foldable items

* Moved to FoldableSystem

(cherry picked from commit b126aadd9cb867e9d64e10acce48d759385c1659)
2024-01-27 23:36:12 +01:00
Ed
378b1199ac The glowing forest anomaly (#24351)
* sans

* Papyrus

* add to game

* tweak stick

* fixes

* Update Resources/Prototypes/Entities/Objects/Misc/kudzu.yml

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* Update Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml

Co-authored-by: Kara <lunarautomaton6@gmail.com>

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
(cherry picked from commit b3b64e6cf29f313a9782fb95ae8727f907b1836a)
2024-01-27 23:36:10 +01:00
GreyMario
d41e3c8d41 Remove ability to start pulling while inside a container (#24235)
* why was this even possible

* what coding at 6am does to a mf

(cherry picked from commit 1085dbef6524ee8ba7c901459dcea8abf1f1993a)
2024-01-27 23:35:59 +01:00
Kot
f82d17ab3b Fix issue where round could reset all job priorities to high (#24340)
* Update job priorities when job requirements are getting updated

* Sort jobs by weight and then by the name

* Sort departments too

(cherry picked from commit 4f307a49be5796eaa7b02f5988a83ea04db95535)
2024-01-27 23:35:53 +01:00
Debug
122e99302b Fix Delta stuff 2024-01-26 23:29:17 +01:00
Errant
41eef79cd0 Beacon localization (#24138)
* localize beacons

* No not like that

* Tesla beacons were already depreciated, time to give the reaper their due

* Entity name fallback

* The real treasure was the far easier solution we missed along the way

* weh

* Shared mapinit

* fix RT version

* a single line break

(cherry picked from commit efdc6f8d4c5dc8c593b6403c6592f0ddc6212266)
2024-01-26 23:17:32 +01:00
metalgearsloth
3ae0909195 Fix drag-drop buckle sound playing twice (#24321)
Buckle refactor somedayTM.

(cherry picked from commit bbbacf996b812d5bf2b4bb62671ef536a5e2f1b4)
2024-01-26 23:16:19 +01:00