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 cc24ba6a31)
2024-02-08 12:03:43 +01:00
Nemanja cb05d8182a
fix storage open sounds playing when they shouldn't (#24752)
(cherry picked from commit 724312bdf5)
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 26d8084d52)
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 9bebdf5706)
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 a86d0e51ec)
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 5d2ddc0d8b)
2024-02-08 11:56:22 +01:00
Kara 9d138e943b
Improve rotting examine text (#24689)
(cherry picked from commit 1a74311c9f)
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 7311ce671f)
2024-02-08 11:54:40 +01:00
Nemanja 3b3e9abb7b
Make procgen use weighted variants (#24669)
(cherry picked from commit 2a6705818b)
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 11c69bca3f)
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 e301378114.

# 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 e1901aa6b6)
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 58b55ba06c)
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 4e8b1fb0d3)
2024-02-08 11:52:29 +01:00
Errant 22405349cc
Localize preset labels on chem dispenser (#24617)
(cherry picked from commit 556545e324)
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 740c298d2f)
2024-02-08 11:51:58 +01:00
metalgearsloth 0f35906014
Steal cleanup (#24428)
- Fix datafield spelling
- Fix some code oddities

(cherry picked from commit b1f9e25c13)
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 3e3cb10a96)
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 7e16ee0b55)
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 a923beb21b)
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 4f186fc18b)
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 bb828af6d3)
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 f855cb2b00)
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 de9d7aed17)
2024-01-28 00:32:17 +01:00
Tayrtahn af42b9ac58
Fix color tags in admin logs (#24606)
(cherry picked from commit 149654be88)
2024-01-28 00:32:16 +01:00
deltanedas 632f025805
Reset LastProduce after plant removal (#24590)
(cherry picked from commit 9a7b8be428)
2024-01-28 00:31:59 +01:00
themias f5d6c67892
Fix notice board storage fill visuals (#24569)
(cherry picked from commit a304e8eda2)
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 4f3265e950)
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 060fbcfbc8)
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 6cbe4a8fb6)
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 00c83844ac)
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 80e0e2d101)
2024-01-27 23:51:46 +01:00
J. Brown b5d7112cfd
Fix bug with ActivelyMicrowavedComponent being stuck in powercuts (#23997)
(cherry picked from commit db6158931a)
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 71cb62e9c6)
2024-01-27 23:51:42 +01:00
TinManTim 6bb29572eb
Adds explosion when attempting to microwave metal / bugfix (#23887)
(cherry picked from commit f499dfb63a)
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 1505f5b820)
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 b4046bc2bb)
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 2737c80169)
2024-01-27 23:50:55 +01:00
metalgearsloth d727534423
Fix thrusters (#24446)
(cherry picked from commit 9e0bdcd8d8)
2024-01-27 23:50:30 +01:00
Ed 746db6552b
Revert "Start rebalancing anomalies - Rock and Flesh anomaly reworked" (#24448)
(cherry picked from commit 05a7eb07c2)
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 b02c211e2f)
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 5e2e652165)
2024-01-27 23:50:17 +01:00
LordCarve ad35a2fda3
Obsolete refactor - ConnectedClient to Channel (#24409)
(cherry picked from commit 05a2e6b3a2)
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 a9e89ab372)
2024-01-27 23:43:49 +01:00
Errant a91ce6459a
Fix battery trick debug assert (#24408)
* Why

* Missed a spot

(cherry picked from commit 044e6d6f3f)
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 fad00bb3b3)
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 c77eb8691d)
2024-01-27 23:42:35 +01:00