Commit Graph

8628 Commits

Author SHA1 Message Date
Errant 834e11a482
fix observer ghost spawn error (#35253) 2025-02-18 23:28:54 +11:00
slarticodefast d171057680
UseInHandEvent cleanup (#35231) 2025-02-18 23:27:30 +11:00
Leon Friedrich e09ef5aa6f
Fix MappingCommand grid loading (#35233) 2025-02-18 23:25:14 +11:00
Simon eff25810c5
[ChangeCVarCommand] Mapping Command (#35239)
[ChangeCVarCommand] MappingCommand
2025-02-18 11:26:08 +01:00
SlamBamActionman 3200ba88a5
Add ability for +VVEDIT users to scale damage/healing in the game (#35255)
* Initial commit

* Add universal modifier for all damage/heals, make guidebooks work.

* help text
2025-02-18 08:28:42 +01:00
chromiumboy 2764638763
Minor station AI code cleanup (#34476) 2025-02-18 16:26:02 +11:00
lzk 3d7e7e8320
Make AllowedEmotes bypass whitelists and fix syndiborg ability to laugh (#31510) 2025-02-17 22:59:33 +01:00
Zachary Higgs 241d0e12e2
Fix SuperSlippery And StepTriggers persisting when UpdateSlip is called (#34525)
* Fix superSlippery and stepTrigger values persist

- made values in SpillTileReaction's public so we can query the
prototype

- made the default values for slippery component and
StepTriggerComponent based on default constants
for easier resetting

- added a calculation and check in UpdateSlips to check
if a super slip is present as well as Update
relevant steptrigger and slip values based on the contents of the
solution

* The worlds biggest change

---------

Co-authored-by: Myra <vascreeper@yahoo.com>
2025-02-17 21:53:23 +01:00
Winkarst 03c56efa00
New Feature: Votekick bans distinguish themselves as votekicks (#35258)
* Feature

* Localization
2025-02-17 21:39:12 +01:00
Errant 890ad4508a
Don't count lobby players for latejoin antag ratio (#35209)
pass playercount to midround antag calculation
2025-02-17 11:27:39 +03:00
keronshb 7bf33ffaa9
Wizard Fix - Summon Ghost Event no longer shows Admin Ghosts or Revenants (#34994)
* Prevents admin ghosts from being shown with ghost event

* Changes summon ghost tooltip to permanently visible

* Adds AllowGhostShownByEvent tag, adds it to regular observers, removes ghost hands check & revenant check and replaces it with a tag check.
2025-02-16 21:29:10 +01:00
Simon 489876af8b
Change `visualize` command perms to VarEdit instead of Admin (#35221)
People with VarEdit can use VV but can't use visualize, makes no sense. 

Has headmin approval here: https://canary.discord.com/channels/310555209753690112/1193403928096821358/1340756276371787827
2025-02-16 20:06:53 +01:00
slarticodefast a82b234d0e
fix use in hand for uplink items (#35218) 2025-02-16 19:47:41 +01:00
Leon Friedrich ca9479fe69
Fix hitscan visuals (#34515)
* Fix hitscan visuals

* remove unnecessary changes

* rename `mapDirection`
2025-02-16 17:14:04 +01:00
ElectroJr a556f03808 Merge branch 'master' of https://github.com/space-wizards/space-station-14 into toolshed-eng-pr 2025-02-16 23:43:27 +13:00
Leon Friedrich 2bd7bb17f2
Refactor map loading & saving (#34020) 2025-02-16 21:36:35 +11:00
Simon 29029d2586
Add ability for admins to change certain cvars via command. (#35105)
* Add ability for admins to change certain cvars via command.

* Cleanup

* More cleanup.

* Even more cleanup.

* WAITER! WAITER! ONE MORE COMMIT PLEASE!

* Remove requirement for Admin AdminFlag

Not needed as the command checks for the perms.

* Add search function to CVars and help text

* Move to controller instead.

* Add another cvar for testing

* Remove unused comment

* Move to Post Server Initialize

LoC does not work at the earlier stages of server initalization

* Remove unneeded comment

We clear out list so its no longer needed
2025-02-16 10:06:13 +01:00
metalgearsloth b6ee183dc6
Add planet lighting (#32522)
* Implements a Dynamic Lighting System on maps.

* Edit: the night should be a little bit brighter and blue now.

* Major edit: everything must be done on the client side now, with certain datafield replicated.
Changes were outlined in the salvage to accommodate the new lighting system.

* Edit: The offset is now serverside, this makes the time accurate in all situations.

* Removing ununsed import

* Minor tweaks

* Tweak in time precision

* Minor tweak + Unused import removed

* Edit: apparently RealTime is better for what I'm looking for

* Fix: Now the time is calculated correctly.

* Minor tweaks

* Adds condition for when the light should be updated

* Add planet lighting

* she

* close-ish

* c

* bittersweat

* Fixes

* Revert "Merge branch '22719' into 2024-09-29-planet-lighting"

This reverts commit 9f2785bb16aee47d794aa3eed8ae15004f97fc35, reversing
changes made to 19649c07a5fb625423e08fc18d91c9cb101daa86.

* Europa and day-night

* weh

* rooves working

* Clean

* Remove Europa

* Fixes

* fix

* Update

* Fix caves

* Update for engine

* Add sun shadows (planet lighting v2)

For now mostly targeting walls and having the shadows change over time. Got the basic proof-of-concept working just needs a hell of a lot of polish.

* Documentation

* a

* Fixes

* Move blur to an overlay

* Slughands

* Fixes

* Remove v2 work

* Finalise

---------

Co-authored-by: DoutorWhite <thedoctorwhite@gmail.com>
2025-02-16 19:35:32 +11:00
ElectroJr eedc992d57 Merge branch 'master' of https://github.com/space-wizards/space-station-14 into map-load-refactor 2025-02-16 16:52:51 +13:00
metalgearsloth fb1d180c7d
Docking allocs reduc (#34965)
Stuff I had unstaged.
2025-02-16 03:10:39 +01:00
Milon e97d6870cc
remove usages of obsolete EntityUid method variants (#35106)
eughhhhh
2025-02-16 03:06:23 +01:00
keronshb 0cb11241d7
Store Refund - Add more disable scenerios & time to disable refund. (#34671)
* Puts disable refund logic into a helper method. Removes action check. Disables refund on action use.

* Adds check if refund is disabled for the store already

* Adds a way to disable refunds based on time

* Checks if the ent is on the starting map and the end time is below the current time before disabling refund

* Replaces instances of component.RefundAllowed = false with DisableRefund for more consistency and easier tracking

* Adds methods to handle inhand and shooting events

* Removes gamestates

---------

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
2025-02-15 17:17:29 +01:00
Simon 71b5133a53
Fix colornetwork command not checking for correct permissions (#35180)
Fix colornetwork command not checking for correct permissions.

What is shell.IsClient even??
2025-02-15 10:01:46 +01:00
Kyle Tyo 4474727886
Fix air devices ignoring settings after power cycle (#34887)
* add powered variable to vent components

* add checks for powered to vent systems

also corrected onpowerchanged methods to update powered arg.

* removed powered from components

* Use ApcPowerReceieverComponent for power state.

* removed unneeded code from OnPowerChanged

* document what enabled is used for in components

* only you can prevent oopsie daisies.

* add check for powered in OnGasVentPumpUpdated

* apcPowerReceiverComponent BEGONE

* CODE RED EVERYTHINGS ON FIRE wait we're fine now.
2025-02-15 07:07:15 +01:00
ArtisticRoomba ef4f5cf0a1
Engineering guidebook improvements (#34695)
* engineering guidebook improvements

* whoops

* Changes

* this game is en-US, so it shall be gasses, not gases

* make changes to AccessConfigurator.xml, SolarPanels.xml, TeslaEngine.xml

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-02-14 19:59:19 -08:00
Plykiya 862a2a744e
Predicted dice rolls (#34863)
* Predicted dice rolls

* Removed server-side dice system, make Shared no longer abstract, move visual code to client-side system

* cleanup

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-02-14 16:46:25 +01:00
Milon 498440d369
make chameleon verb predicted (#35156)
* ok but what if we just predicted EVERYTHING

* cleanup
2025-02-14 15:35:27 +01:00
Winkarst 0227afec4c
Fix: showfluids command activates for everyone (#35155)
Fix
2025-02-14 13:23:27 +01:00
slarticodefast 3b142890cd
minor thruster system cleanup (#35143) 2025-02-14 00:44:27 +01:00
nikthechampiongr 562a41c00e
Vote kicks now ban the target's ip (#35131)
* Make vote kicks ban the target's ip address

* Make it stop crashing my game
2025-02-13 23:03:55 +01:00
MossyGreySlope 7056c6051b
Fix dev server crashes caused by putting pills in drinks, depositing spesos, making burgers (#33431)
* combine TrySpike into OnInteractUsing

* mark spike drink event as handled

* mark speso insertion event as handled

* mark food sequence event as handled

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-02-13 15:31:38 -05:00
themias a8046286b4
Fix fax spamming (#35135)
* Fix fax spamming

* Also prevent copy spam
2025-02-13 21:12:56 +01:00
Winkarst 0c4e8f6b86
Fix thrusters not dealing damage (#35088)
* Fix thrusters not dealing damage

* Fixes

* Update

* Update

* Update
2025-02-13 20:27:33 +01:00
Simon 2515371c8c
Fix "Manage Laws" button appearing with insufficient permissions (#35120) 2025-02-13 09:20:13 +01:00
Ed 47cb8a0b08
RoomSpawner mask (#33110)
* RoolFill can now spaw rooms with any size

* tile ignoring

* upgrade interior

* simplify

* Update DungeonSystem.Rooms.cs

* center rooms

* Update RoomFillComponent.cs

* Update RoomFillComponent.cs

* Update DungeonSystem.Rooms.cs

* Remove roomfillcoponent from integration test

* Update EntityTest.cs

* remove nullable size, replaced with minsize and maxsize

* clear existing logic refactor

* delete this one
2025-02-12 15:47:48 +03:00
Winkarst 0d33e6182c
Split ``ReplacementAccentPrototype`` and ``ReplacementAccentComponent`` in different files (#35107)
* Split ReplacementAccentPrototype  and ReplacementAccentComponent

* Fixes

* Fixes

* inheritdoc
2025-02-12 12:21:12 +01:00
Partmedia 773159d6db
Add datafield comments to PlantHolderComponent (#35099) 2025-02-12 10:59:40 +01:00
Milon 0d7ff79d23
update the announce command (#34889) 2025-02-12 19:58:05 +11:00
ArtisticRoomba 75727db3a3
Add new freezer atmos devices and fix freezer fixgridatmos marker (#34991) 2025-02-12 18:32:18 +11:00
Tayrtahn 46b19291ea
Fix followers getting sent to nullspace when target is polymorphed (#33878)
* Add an event for polymorph actions

* Subscribe FollowerSystem to the event

* Add check that unfollow target is actually current target.

* Make followers try to follow on state update; Dirty follower on follow.
2025-02-11 22:34:24 +01:00
metalgearsloth 15b28936df
Add loadout names (#31303)
* Add loadout names

Did it for AI, breaking change for pgsql + migrations in general. Nothing atm uses it.

* the box

* Spawning cherry pick

* Fix nit

* revert

* Final cleanup

* Real

* Name UI fix

* Migrations

* a

* Review

* Re-run migrations

---------

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2025-02-11 18:30:24 +01:00
TemporalOroboros dc67a5a0ba
Purges uses of TransformComponent.WorldMatrix and TransformComponent.InvWorldMatrix (#34944) 2025-02-11 21:06:43 +11:00
SpaceManiac 4122310735
Fix 38 non-obsolete warnings (#33794) 2025-02-11 20:59:50 +11:00
TemporalOroboros 66ff1aa37d
Fix references to obsolete TryGetContainingContainer override (#34912) 2025-02-11 06:08:17 +01:00
TemporalOroboros 08e5362f43
Purges uses of TransformComponent.WorldRotation (#34946) 2025-02-11 14:16:20 +11:00
ShadowCommander 976172b85e
Replace DoorVisuals.Powered with PowerDeviceVisuals.Powered (#34646) 2025-02-11 13:54:35 +11:00
themias d351f32230
Fix multiple research consoles exploit (#34334) 2025-02-11 13:52:26 +11:00
TemporalOroboros e4fe9c4638
Purge the one remaining use of TransformComponent.AttachParent (#34941) 2025-02-10 22:46:27 +11:00
metalgearsloth a269850a73
Gravity well improvements (#35027)
* Gravity well improvements

- Fixed persistence
- Removed dummy fields
- Performance

* Update Content.Server/Singularity/Components/GravityWellComponent.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-02-10 06:18:24 +01:00
Zachary Higgs 1c8e7443ae
Move DnaComponent to shared (#35012)
* Move DnaComponent to shared

- Add Using statements to AdminSystem and StationRecordsSystem to point
to Content.Shared.Forensics

* Proper namespacing

* Revert an un-intended change

* Add Networking to DNA Component

* CR - Remove ("dna")

* CR - add back ("dna") tag
2025-02-10 04:36:01 +01:00