Commit Graph

7200 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
Nemanja
cb05d8182a fix storage open sounds playing when they shouldn't (#24752)
(cherry picked from commit 724312bdf5888b303309c0b2fab0feb409e4e1a9)
2024-02-08 12:01:56 +01:00
themias
23ae5fd441 Fix stun baton EMP state (#24706)
* Fix stun baton EMP state

* trydeactivate

(cherry picked from commit 26d8084d524378284c45fa7c3e6eec0757988766)
2024-02-08 12:01:54 +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
SlamBamActionman
df339ce7d1 Add water droplet hat for arachnids (#23822)
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
(cherry picked from commit a86d0e51ec74cfdde2969d73bcb1ea1c683911bb)
2024-02-08 11:57:02 +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
Vyacheslav Kovalevsky
870cae9db8 Store ninja objectives in conditions 2 (#20894)
* move spider charge target from role

* shorter field names

* remove ninja role comment

* remove unused systems in SpaceNinjaSystem

* GenericAntagObjectivesAddedEvent

* check if warp point is on same map

* remove unnecessary import

* add missing loc when spider charge has no target

* a

* remove spider charge target requirement comp

* inline SpiderChargeTitle

* allow planting charge without objective

* remove map check

* fix role check when planting

* obj.Target

* Fix merge

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
(cherry picked from commit 7311ce671fe29d81c662b2313e28c275c4f868cb)
2024-02-08 11:54:40 +01:00
Nemanja
3b3e9abb7b Make procgen use weighted variants (#24669)
(cherry picked from commit 2a6705818bf510aee3026c7f3c3a4ed56f188189)
2024-02-08 11:54:39 +01:00
metalgearsloth
561a98a20b Anti-anomaly fixes (#24634)
- Remove unnecessary mapcoordinates get.
- Remove mapping markers as everything should be ingame entities and this is functioning as an area.

(cherry picked from commit 11c69bca3f370e3a3fde1bc24976fd1188aebb30)
2024-02-08 11:52:33 +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
Errant
22405349cc Localize preset labels on chem dispenser (#24617)
(cherry picked from commit 556545e324a135e8a4da643a41c94b636d83d946)
2024-02-08 11:52:28 +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
metalgearsloth
0f35906014 Steal cleanup (#24428)
- Fix datafield spelling
- Fix some code oddities

(cherry picked from commit b1f9e25c1364064b03bc37357d3453f01e28b8a4)
2024-02-08 11:49:26 +01:00
Pieter-Jan Briers
bc2f079029 Make some damage sources not cancel do afters (#24635)
- poison chemicals (HealthChange effect)
- being on fire
- guardians transferring damage to owner

(cherry picked from commit 3e3cb10a96993b711ea8aeb696f157f40c728e49)
2024-02-08 11:49:23 +01:00
leo
4e7e17a39b Glimmer Mite - pest that causes glimmer (#564)
* little glimmer guy

* oops I forgot to add a mob description

HA HA HA

* attempting to fix code issues

* more code fixes

* more code fixes

* cod efix

* coed fics

* every day i scream at least twice

* fixed attribution

* Update attributions.yml

tehe

* made the sound effect public domain

* dies

* bug fix (HA HA)

* wow fuck someone already added ectoplasm wow i thought i added it first wow

wow
2024-02-01 19:32:28 +01:00
Debug
2d03cc63b6 Add prisoner latejoin cryopod (#751) 2024-01-31 22:02:05 +00:00
Debug
4414a65301 Fix prisoners spawning at latejoin cryopods (#743) 2024-01-31 09:42:57 +00: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
deltanedas
082fce45e4 fix singulo combining debug assert (#24602)
* fix singulo combining debug assert

* oh that wasnt useless

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
(cherry picked from commit 4f186fc18bbe56fd0b0b3610bdaf6d42ec1072da)
2024-01-28 00:32:33 +01:00
Simon
bb24353b5a ERT, DeathSquad and Central Command Officer Inital Infected immunity (#23601)
II immunity

Make ERT, DeathSquad and Central Command officers immune to being II

(cherry picked from commit bb828af6d31f2cf705fe9cacb7130a94f70d8092)
2024-01-28 00:32:22 +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
Tayrtahn
af42b9ac58 Fix color tags in admin logs (#24606)
(cherry picked from commit 149654be88b9e9b988027a8e6ff6f691ba1cfea4)
2024-01-28 00:32:16 +01:00
deltanedas
632f025805 Reset LastProduce after plant removal (#24590)
(cherry picked from commit 9a7b8be428030d537b99c3b05c2f093708ac6888)
2024-01-28 00:31:59 +01:00
themias
f5d6c67892 Fix notice board storage fill visuals (#24569)
(cherry picked from commit a304e8eda274b8aceb6626d2ef3658e407d8130b)
2024-01-28 00:28:03 +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
Tayrtahn
deb0362420 Make EscapeInventorySystem respect Unremovable (fix glued hamster deletion) (#24488)
* Made EscapeInventorySystem respect Unremovable

* Oh look, there's a helper method

* Let's fix this too

(cherry picked from commit 060fbcfbc890d57ee95917655f11e4b65e1226e6)
2024-01-28 00:27:36 +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
Debug
777b074fed Fix missing import and damage change 2024-01-28 00:26:00 +01:00
Krunklehorn
e666d3aeb4 Changed spawn priority to arrivals -> containers -> points. (#24476)
(cherry picked from commit 00c83844acab389edb896ecd1df7d7c0c68e0134)
2024-01-27 23:53:52 +01:00
crazybrain23
5476d09276 Fix Admin Antag ctrl headrev icon to use RSI instead of texture (#24474)
Fix the warning about direct texture for headrev

(cherry picked from commit 80e0e2d1016674c9fdef51d16b74ac1d83b1a78e)
2024-01-27 23:51:46 +01:00
J. Brown
b5d7112cfd Fix bug with ActivelyMicrowavedComponent being stuck in powercuts (#23997)
(cherry picked from commit db6158931a470907ed06ef32cbdb48cbda252690)
2024-01-27 23:51:43 +01:00
Nemanja
54dc5ed027 fix starting gear without PDAs (#24463)
* fix starting gear without PDAs

* legacy as shit

(cherry picked from commit 71cb62e9c66bf05cd7cee7d9bbf5a93f2992e286)
2024-01-27 23:51:42 +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
Ed
de5dc5550a TriggerOnSpawn + Admin toys (#23999)
* spawn on trigger, or trigger on spawn?

* fixes

* fix?

* revert

* fixes

* Update admin_triggers.yml

* pip

(cherry picked from commit 1505f5b82001a138574d2555cc212e24a11a8e0b)
2024-01-27 23:51:30 +01:00
Tayrtahn
7141b1ff32 Fix sloshing electricity & enable SpeechVerb masking (#24238)
* Implemented electricity speech verb masking

* Handle speech verb override elsewhere in the system, even though we're not using it

* Fix that protoId business

* No nullable component fields

* Use ProtoId, and try going back to a nullable.
Specifiy DataFields on VoiceMaskComponent.

(cherry picked from commit b4046bc2bb498bd525b8a40c7839a543c92ca18c)
2024-01-27 23:51:27 +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
metalgearsloth
d727534423 Fix thrusters (#24446)
(cherry picked from commit 9e0bdcd8d8db4671ac4ae9ef85095fff498ebe3b)
2024-01-27 23:50:30 +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
LordCarve
ad35a2fda3 Obsolete refactor - ConnectedClient to Channel (#24409)
(cherry picked from commit 05a2e6b3a21e5fb3198432d885bbe28506d85b9c)
2024-01-27 23:44:02 +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
Errant
a91ce6459a Fix battery trick debug assert (#24408)
* Why

* Missed a spot

(cherry picked from commit 044e6d6f3f7b85515e8490447dcfd3a12f94599d)
2024-01-27 23:43:02 +01:00
IProduceWidgets
4d323c5ffc Zombie round shuttle autocall waits until more crew are zombied. (#24379)
More zombie more fun.

(cherry picked from commit fad00bb3b3a82aedea63ec90af729d89d4c9d84b)
2024-01-27 23:42:38 +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