]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add ghost role raffles (#26629)
authorno <165581243+pissdemon@users.noreply.github.com>
Tue, 7 May 2024 01:48:16 +0000 (03:48 +0200)
committerGitHub <noreply@github.com>
Tue, 7 May 2024 01:48:16 +0000 (18:48 -0700)
commit630a7a78edac8477be3f9c98ab2c12c8700ad4cc
tree9f98a5fa5521420ebb05320a9e7ff021a8cf1676
parent6685146a1e3e188eac1fb2502920225c56cc08e1
Add ghost role raffles (#26629)

* Add ghost role raffles

* GRR: Fix dialogue sizing, fix merge

* GRR: Add raffle deciders (winner picker)

* GRR: Make settings prototype based with option to override

* GRR: Use Raffles folder and namespace

* GRR: DataFieldify and TimeSpanify

* GRR: Don't actually DataFieldify HashSet<ICommonSession>s

* GRR: add GetGhostRoleCount() + docs

* update engine on branch

* Ghost role raffles: docs, fix window size, cleanup, etc

* GRR: Admin UI

* GRR: Admin UI: Display initial/max/ext of selected raffle settings proto

* GRR: Make a ton of roles raffled
44 files changed:
Content.Client/Entry/EntryPoint.cs
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleEntryButtons.xaml.cs
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesEntry.xaml.cs
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesEui.cs
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRolesWindow.xaml.cs
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/MakeGhostRoleEui.cs
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/MakeGhostRoleWindow.xaml
Content.Client/UserInterface/Systems/Ghost/Controls/Roles/MakeGhostRoleWindow.xaml.cs
Content.Server/Ghost/Roles/Components/GhostRoleComponent.cs
Content.Server/Ghost/Roles/Components/GhostRoleRaffleComponent.cs [new file with mode: 0644]
Content.Server/Ghost/Roles/GhostRoleSystem.cs
Content.Server/Ghost/Roles/MakeRaffledGhostRoleCommand.cs [new file with mode: 0644]
Content.Server/Ghost/Roles/Raffles/GhostRoleRaffleConfig.cs [new file with mode: 0644]
Content.Server/Ghost/Roles/Raffles/GhostRoleRaffleDeciderPrototype.cs [new file with mode: 0644]
Content.Server/Ghost/Roles/Raffles/IGhostRoleRaffleDecider.cs [new file with mode: 0644]
Content.Server/Ghost/Roles/Raffles/RngGhostRoleRaffleDecider.cs [new file with mode: 0644]
Content.Server/Ghost/Roles/UI/GhostRolesEui.cs
Content.Shared/Ghost/Roles/GhostRolesEuiMessages.cs
Content.Shared/Ghost/Roles/Raffles/GhostRoleRaffleSettings.cs [new file with mode: 0644]
Content.Shared/Ghost/Roles/Raffles/GhostRoleRaffleSettingsPrototype.cs [new file with mode: 0644]
Resources/Locale/en-US/ghost/ghost-gui.ftl
Resources/Prototypes/Entities/Markers/Spawners/ghost_roles.yml
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Resources/Prototypes/Entities/Mobs/NPCs/behonker.yml
Resources/Prototypes/Entities/Mobs/NPCs/carp.yml
Resources/Prototypes/Entities/Mobs/NPCs/elemental.yml
Resources/Prototypes/Entities/Mobs/NPCs/hellspawn.yml
Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml
Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Resources/Prototypes/Entities/Mobs/NPCs/silicon.yml
Resources/Prototypes/Entities/Mobs/NPCs/slimes.yml
Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml
Resources/Prototypes/Entities/Mobs/Player/dragon.yml
Resources/Prototypes/Entities/Mobs/Player/familiars.yml
Resources/Prototypes/Entities/Mobs/Player/guardian.yml
Resources/Prototypes/Entities/Mobs/Player/humanoid.yml
Resources/Prototypes/Entities/Mobs/Player/skeleton.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/bread.yml
Resources/Prototypes/Entities/Objects/Consumable/Food/Baked/cake.yml
Resources/Prototypes/Entities/Objects/Devices/Syndicate_Gadgets/reinforcement_teleporter.yml
Resources/Prototypes/GhostRoleRaffles/deciders.yml [new file with mode: 0644]
Resources/Prototypes/GhostRoleRaffles/settings.yml [new file with mode: 0644]