Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
459 commits
Select commit Hold shift + click to select a range
2bbd136
Merge pull request #444 from BlueNexus/abali
BlueNexus Nov 5, 2025
165a2b9
Missiles are real! (#57)
ark1368 Mar 29, 2025
03a09ac
Guided Missiles (#79)
ark1368 Mar 31, 2025
6e9fa9f
Missiles Fix (#418)
ark1368 May 11, 2025
80ea821
Target Seeking Fix (#529)
ark1368 May 21, 2025
8b08a34
Revert "Missiles Fix (#418)" (#543)
ark1368 May 22, 2025
10ba04e
shipturret on IFF + other things (#555)
May 26, 2025
a98de28
Fired Up (#363)
ark1368 May 6, 2025
551a443
[EXPERIMENTAL] Makes all shipgun projectiles around 3 times faster an…
RikuTheKiller Jun 14, 2025
08f0298
Target Seeking Fix Attempt (#681)
ark1368 Jun 1, 2025
9da1196
Buff missile tracking (#826)
RikuTheKiller Jun 15, 2025
1fe4d70
ASM Missile Adjustments (#943)
Redrover1760 Jun 24, 2025
1dd386d
Adds Delayed Missile Tracking (#1418)
Redrover1760 Jul 15, 2025
2f18d48
No, Two Screens Wide EMP Target Seeking Missile Is Not Balanced. (#1598)
pheenty Jul 24, 2025
6ebe890
Asm 220 Nerf (#1627)
OneZerooo0 Jul 26, 2025
3e7f59a
Halves Shipgun Projectile Speeds (#1638)
Redrover1760 Jul 27, 2025
5da9e33
Decreases Asm Missile Hp a Bit (#1681)
Redrover1760 Jul 30, 2025
17b701f
Fighter Fun (Light Munitions Bay) (#1698)
OneZerooo0 Jul 31, 2025
7df5edf
Decreases Missile Scanarcs, Updates Guidebook (#1759)
Redrover1760 Aug 4, 2025
60b2d07
Missile Inherit Grid Velocity (#1838)
Redrover1760 Aug 10, 2025
3193af7
Massively Buffs Missile Acceleration (#1843)
Redrover1760 Aug 10, 2025
765b1fc
acceleration tweaks (#2072)
Redrover1760 Aug 26, 2025
a701e44
Missile Fix (#2195)
Redrover1760 Sep 2, 2025
9ef78e0
New Missile Tracking (#2239)
Ilya246 Sep 6, 2025
ee6ca3b
Target-Seeking Projectile Lock-On Warnings (#2338)
LaCumbiaDelCoronavirus Sep 25, 2025
8b08192
Fix Missile Max Speed (#2482)
Ilya246 Oct 26, 2025
afd1edf
Merge branch 'abali' of https://github.com/BlueNexus/Hardlight into a…
BlueNexus Nov 5, 2025
98a4537
Merge branch 'master' into e
BlueNexus Nov 5, 2025
80eb81e
Merge pull request #447 from BlueNexus/e
BlueNexus Nov 5, 2025
d4cf48c
Merge pull request #445 from Wuffindy/misc-updates
BlueNexus Nov 5, 2025
7be2f66
Add rule against multiple bluespace stashes per ship
fenndragon Nov 5, 2025
75896bb
Update RuleC0.xml
fenndragon Nov 5, 2025
6328679
Add files via upload
fenndragon Nov 5, 2025
d56c4a3
Create RuleC13.xml
fenndragon Nov 5, 2025
ef53e1c
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 5, 2025
e3dc7da
Comment out mech lathe recipe packs
BlueNexus Nov 6, 2025
8780e7e
Comment out S2Mechs and related entries
BlueNexus Nov 6, 2025
b4f10e7
fixes
fenndragon Nov 6, 2025
ddce796
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 6, 2025
e15707c
Rule 1.1 is now a HL rule
BlueNexus Nov 6, 2025
edd8f36
Brought CMO and some medical fits back to loadout
Wuffindy Nov 6, 2025
007430f
Arcadia non contraband
YazidDotExe Nov 6, 2025
8cfd3a9
Merge branch 'master' of https://github.com/Wuffindy/HardLight
Wuffindy Nov 6, 2025
6cccc7f
Recommit with new branch, readded CMO suit to loadout, alongside maki…
Wuffindy Nov 6, 2025
5e58130
added HL Tags
Wuffindy Nov 6, 2025
ecbe78b
Update security_uplink_catalog.yml
fenndragon Nov 6, 2025
c0ae1e3
Fix cash amount for uplink-security-cash45000
fenndragon Nov 6, 2025
3a8ff56
Update SpaceCashExpeditionT5 price and name
fenndragon Nov 6, 2025
3b8fde5
Tested Bagel
MorganLLee79 Nov 7, 2025
b72958e
Rodentia fixes. Still no icons
MorganLLee79 Nov 7, 2025
1884b7b
removed different branch's commit from current one
Wuffindy Nov 7, 2025
8eed562
Merge branch 'master' of https://github.com/Wuffindy/HardLight into m…
Wuffindy Nov 7, 2025
a2eb87b
Merge branch 'fenndragon:master' into more-accessory
Wuffindy Nov 7, 2025
4900fde
Merge branch 'more-accessory' of https://github.com/Wuffindy/HardLigh…
Wuffindy Nov 7, 2025
aa1e703
eh just removed space
Wuffindy Nov 7, 2025
a5d9f96
changes for cargo crates, increasing some of the price for some relat…
YazidDotExe Nov 7, 2025
c26d174
Merge pull request #438 from YazidDotExe/misc_update_fix
BlueNexus Nov 7, 2025
d7a0d50
Raptor Borgo Test
DakoDemon Nov 7, 2025
9b05fdc
Quick scale fix
DakoDemon Nov 7, 2025
6d6944b
Update prices and names for SpaceCashExpedition items
fenndragon Nov 7, 2025
cac7896
Improves the speeds on mechs.
Nov 7, 2025
4f3629e
Merge pull request #451 from DakoDemon/RaptorBorgos
fenndragon Nov 7, 2025
05d02da
salvage FTL mission targeting
fenndragon Nov 7, 2025
2d5ffab
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 7, 2025
0373bd4
Expanded Emotes
Neenner Oct 2, 2025
15420c2
sex is free
Neenner Oct 21, 2025
4afccf2
forgor file
MorganLLee79 Nov 7, 2025
8d9a963
Comment out unused weapons in weaponryworks.yml
fenndragon Nov 7, 2025
bbcc5d7
Revert "sex is free"
fenndragon Nov 7, 2025
d23dfae
sex version 1
Neenner Oct 17, 2025
490d475
sex-real
Neenner Oct 23, 2025
a4daef2
sex-real
Neenner Oct 23, 2025
895dbf7
penis marking visibility
ashkitten Nov 6, 2025
12133c4
sex is free
Neenner Oct 21, 2025
4453524
sex-real
Neenner Oct 23, 2025
7aee1f3
sex-real
Neenner Oct 23, 2025
d87e726
Create gilm_colcom_clothes.yml
warcrazed11 Nov 7, 2025
266b527
sex-real
Neenner Oct 23, 2025
c78fc58
sex-real
Neenner Oct 23, 2025
a53c569
sex-real
Neenner Oct 23, 2025
34b3390
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 7, 2025
f9778ac
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 7, 2025
48e220e
Merge branch 'fenndragon:master' into adminshit
warcrazed11 Nov 7, 2025
e667c19
Merge pull request #454 from warcrazed11/adminshit
fenndragon Nov 7, 2025
8f635dc
Fix duplicate entries
TheRealMasterChief117 Nov 7, 2025
b5daa4c
fix
fenndragon Nov 7, 2025
37f6777
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 7, 2025
957f419
Remove TailBehind layer comment from ipc.yml
TheRealMasterChief117 Nov 7, 2025
c60db7d
Update harpy.yml to comment out non-existent layer
TheRealMasterChief117 Nov 7, 2025
b7cb151
Update license and copyright in meta.json
TheRealMasterChief117 Nov 7, 2025
b71e942
Update license and copyright information in meta.json
TheRealMasterChief117 Nov 7, 2025
7937017
Update license and copyright information in meta.json
TheRealMasterChief117 Nov 7, 2025
c99eda1
boobies
TheRealMasterChief117 Nov 7, 2025
fdf5797
Fix yay
TheRealMasterChief117 Nov 7, 2025
11d2b5b
Remove UndershirtUnderclothes from rodentia.yml
TheRealMasterChief117 Nov 7, 2025
35f7edb
Remove UndershirtUnderclothes mapping from harpy
TheRealMasterChief117 Nov 7, 2025
e290915
Fix IPC penis
TheRealMasterChief117 Nov 7, 2025
b3ad0bf
Remove unused visual layer mappings for harpy
TheRealMasterChief117 Nov 7, 2025
55c1c0d
Remove unused visual layer mappings from ipc.yml
TheRealMasterChief117 Nov 7, 2025
e38e12b
Fix emote sprites
TheRealMasterChief117 Nov 7, 2025
c92e771
Names
TheRealMasterChief117 Nov 7, 2025
9f6567b
Merge pull request #448 from MorganLLee79/BagelUpdates
BlueNexus Nov 7, 2025
d537b81
Merge pull request #452 from CarefulLilCassie/MechSpeed
BlueNexus Nov 7, 2025
aa57ce8
Stratos Pharmaceutical first innit branch
YazidDotExe Nov 7, 2025
0529ff9
inital
TheRealMasterChief117 Nov 8, 2025
53a8172
Revert "Tested Bagel"
BlueNexus Nov 8, 2025
e252c48
Merge pull request #456 from fenndragon/revert-448-BagelUpdates
BlueNexus Nov 8, 2025
84371ea
fixes
TheRealMasterChief117 Nov 8, 2025
3f54ea1
Merge branch 'fenndragon:master' into fix-genitals
TheRealMasterChief117 Nov 8, 2025
2992a45
Consent stuff
TheRealMasterChief117 Nov 8, 2025
7aa1124
Merge fixes. Also note Syndie puddle removed
MorganLLee79 Nov 8, 2025
4aaec60
Merge pull request #457 from MorganLLee79/BagelUpdates
BlueNexus Nov 8, 2025
0e22695
Create genitals.ftl
TheRealMasterChief117 Nov 8, 2025
ab072f9
Merge branch 'master' into lockers
Eagle0600 Nov 8, 2025
1065cb5
cock.rsi fix
fenndragon Nov 8, 2025
1bae644
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 8, 2025
cf6a38d
why
TheRealMasterChief117 Nov 8, 2025
abbbe5a
fixes
TheRealMasterChief117 Nov 8, 2025
ed3623b
Update belts.yml
fenndragon Nov 8, 2025
7e3d7dd
Update base_clothinguniforms.yml
TheRealMasterChief117 Nov 8, 2025
59ff6df
Update HideLayerClothingSystem.cs
TheRealMasterChief117 Nov 8, 2025
7218e5a
fixes 3
TheRealMasterChief117 Nov 8, 2025
a488ccc
Fix priority
TheRealMasterChief117 Nov 8, 2025
4432edc
Merge pull request #458 from TheRealMasterChief117/fix-genitals
fenndragon Nov 8, 2025
18cac28
Fixed incorrect inheritence for Quartermaster and Warden lockers.
Eagle0600 Nov 8, 2025
1ac445f
Fixed shipyard computers not receiving power.
Eagle0600 Nov 8, 2025
7204f93
Shuttle requirements enforcement
BlueNexus Nov 8, 2025
4cfd97a
Change NTC Phantom price to 135000 (proper markup)
BlueNexus Nov 8, 2025
ec3b940
gic
TheRealMasterChief117 Nov 8, 2025
be1fe2e
fixes
TheRealMasterChief117 Nov 8, 2025
bd2ac8c
Fixes again
TheRealMasterChief117 Nov 8, 2025
18f86af
Update ShipyardSystem.Consoles.cs
TheRealMasterChief117 Nov 8, 2025
596f06d
Fix CRLF
TheRealMasterChief117 Nov 8, 2025
3d04c2c
No CRLF
TheRealMasterChief117 Nov 8, 2025
44b0ba4
Remove duplicate Genital and Penis layers
fenndragon Nov 8, 2025
d833b44
meow
TheRealMasterChief117 Nov 8, 2025
08c4780
Reorder genital and penis properties in reptilian.yml
fenndragon Nov 8, 2025
e3801fd
Modify visual layers for humanoid species
fenndragon Nov 8, 2025
e0bcade
Merge pull request #459 from TheRealMasterChief117/fix-shuttle-deeds
BlueNexus Nov 8, 2025
160042d
Bottle Mk.II
TrylobyteWasTaken Nov 8, 2025
27b036b
fixed supposedly E-Halberd Sprite on hand
Wuffindy Nov 8, 2025
24e2002
Merge branch 'misc-updates' of https://github.com/Wuffindy/HardLight …
Wuffindy Nov 8, 2025
96fb053
fix diff RSIs
TheRealMasterChief117 Nov 8, 2025
03b1d97
fix
TheRealMasterChief117 Nov 8, 2025
165af20
ANGLES
TheRealMasterChief117 Nov 8, 2025
72c6670
fix NT banner
TheRealMasterChief117 Nov 8, 2025
918583d
fixes again
TheRealMasterChief117 Nov 8, 2025
2f0894a
ok
TheRealMasterChief117 Nov 8, 2025
e6a50e4
I hope this works
TheRealMasterChief117 Nov 8, 2025
7398772
Mob pull spin fix (#37256)
Princess-Cheeseballs May 10, 2025
7ba26b7
Mob Spin Fix Update (#37603)
Princess-Cheeseballs May 25, 2025
57ec986
Galosh Slowdown Fix (#37628)
Princess-Cheeseballs May 20, 2025
2aaef79
Add welded visuals to shutters and blast doors (#37807)
K-Dynamic May 25, 2025
bf7d3aa
Fix glass external airlocks using the standard airlock emergency acce…
VerinSenpai May 21, 2025
adae93a
Conveyors spin fix (#37468)
Princess-Cheeseballs Nov 8, 2025
7a81e03
[HOTFIX] Chameleon projector invisibility (#40509)
Princess-Cheeseballs Sep 23, 2025
c9f30f0
Chameleon Projector Physics Fix (#37960)
Princess-Cheeseballs Sep 12, 2025
245db48
Add topless clothing variants and nude clothing.
Eagle0600 Nov 8, 2025
7d32c15
Merge pull request #460 from TheRealMasterChief117/fix-yml-linter
BlueNexus Nov 8, 2025
a007186
Merge pull request #464 from TheRealMasterChief117/random-fixes
BlueNexus Nov 8, 2025
1b062f6
Merge pull request #462 from Wuffindy/misc-updates
BlueNexus Nov 8, 2025
1ba7b05
Merge pull request #461 from TrylobyteWasTaken/bottleupdate
BlueNexus Nov 8, 2025
73e47df
Change maxTileBreak from 1 to 0 in shortplasma.yml
fenndragon Nov 8, 2025
9960187
Change maxTileBreak from 1 to 0 in 60mm_shell.yml
fenndragon Nov 8, 2025
7a80ab6
Add maxTileBreak property to 280mm rocket projectile
fenndragon Nov 8, 2025
3b7c3c1
Set maxTileBreak to 0 for 120mm_HE projectile
fenndragon Nov 8, 2025
8bfdd37
Add maxTileBreak property to explosive_laser.yml
fenndragon Nov 8, 2025
56c0957
Change maxTileBreak from 1 to 0 in arrows.yml
fenndragon Nov 8, 2025
92c7774
Change maxTileBreak from 1 to 0 in crossbow bolts
fenndragon Nov 8, 2025
5fbb4c9
Change maxTileBreak from 1 to 0 for projectiles
fenndragon Nov 8, 2025
8308ffe
Add maxTileBreak property to runes
fenndragon Nov 8, 2025
23e1448
Add maxTileBreak property to magic projectile
fenndragon Nov 8, 2025
08f2a68
Add maxTileBreak property to bomb configurations
fenndragon Nov 8, 2025
2a29295
Add maxTileBreak property to grenades configuration
fenndragon Nov 8, 2025
0cc5e4b
Change maxTileBreak from 1 to 0 in minirocket.yml
fenndragon Nov 8, 2025
f1463d9
Refactor mech parent classes for consistency
fenndragon Nov 8, 2025
1c79f53
Update parent references for mechs in YAML
fenndragon Nov 8, 2025
9e21aba
Traits I (#2522)
ark1368 Oct 31, 2025
f422814
Traits II (#2532)
ark1368 Oct 31, 2025
d38027a
Merge commit 'd833b44a9097e252068c9e98c447757915ec3e6a' into lockers
Eagle0600 Nov 8, 2025
3655bf2
Update license and copyright information in meta.json
TheRealMasterChief117 Nov 9, 2025
95c65df
Re-fix power to shipyard computers.
Eagle0600 Nov 9, 2025
1cf3fee
Try to fix, woe is me
YazidDotExe Nov 9, 2025
90b839b
no. (#467)
TheRealMasterChief117 Nov 9, 2025
4348ad2
Add VFIB delay before activation, customisable and localisable radio …
Eagle0600 Nov 8, 2025
40a7190
monotraits
fenndragon Nov 9, 2025
4bad62a
Update base_clothingouter.yml
fenndragon Nov 9, 2025
836f263
Fix mindshield implant
TheRealMasterChief117 Nov 9, 2025
e19f69e
Uncommenting paramedic voidsuit wee woo (#470)
MorganLLee79 Nov 9, 2025
1a1c93a
fix
fenndragon Nov 9, 2025
22021db
Revert "Shuttle requirements enforcement"
fenndragon Nov 9, 2025
4d10eac
Merge pull request #469 from fenndragon/monotraits
fenndragon Nov 9, 2025
ad7c976
Refresh FTL
TheRealMasterChief117 Nov 9, 2025
b3f5bee
Add default category for humanoid traits
TheRealMasterChief117 Nov 9, 2025
5a1bc9c
Linter Fix (spacing issue)
Wuffindy Nov 9, 2025
8ef6d03
Adds a Drill Sergeant set in both skirt and trousers for admeme purpo…
Nov 9, 2025
3b24f80
Ported reptilian horn changes made by Better Lizards.
NotLivyathan Nov 9, 2025
5bfcfcb
Guess who forgot the hat.
Nov 9, 2025
a30e95b
Merge pull request #468 from Eagle0600/vfib-delay
BlueNexus Nov 9, 2025
f132ada
Merge pull request #455 from YazidDotExe/stratos_branch
BlueNexus Nov 9, 2025
9af684a
Merge pull request #471 from CarefulLilCassie/PinksAndGreens
BlueNexus Nov 9, 2025
e873dac
Merge pull request #465 from TheRealMasterChief117/chameleon-stuff
BlueNexus Nov 9, 2025
692965b
Merge pull request #443 from Eagle0600/lockers
BlueNexus Nov 9, 2025
d390926
Merge pull request #472 from NotLivyathan/whitescaled-multicolored-li…
BlueNexus Nov 9, 2025
67fd8e8
Update types.yml, action types
MorganLLee79 Nov 9, 2025
669ef05
Yaml linter + icons fix
MorganLLee79 Nov 9, 2025
2960cf3
Update categories.yml
fenndragon Nov 9, 2025
4a09a95
Merge pull request #449 from MorganLLee79/RodentiaUpdates
BlueNexus Nov 9, 2025
5a8e7ad
Traits UI + Shuttle Impact Nerf + Lobby Screen Eclipse + YAML Linter …
ark1368 Mar 23, 2025
dcf53c1
fix
fenndragon Nov 9, 2025
3ca7b99
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 9, 2025
aa6684a
Traits I (#2522)
ark1368 Oct 31, 2025
3b98b15
Merge commit '44b0ba49d7d64b3fab0e8bc8315a22a2395dffaa' into topless-…
Eagle0600 Nov 9, 2025
e1df784
Fix layering for genitals and undergarments
Eagle0600 Nov 10, 2025
35e2be8
Add abstract parents for ClothingBottomless and ClothingNude, add par…
Eagle0600 Nov 10, 2025
57a2cc8
Fix dupe
TheRealMasterChief117 Nov 10, 2025
161e5d5
Update HumanoidProfileEditor.xaml.cs
fenndragon Nov 10, 2025
db56ad4
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 10, 2025
d42cdd1
Merge pull request #473 from Eagle0600/topless-clothing
BlueNexus Nov 10, 2025
473d49f
Merge pull request #463 from Wuffindy/more-accessory
BlueNexus Nov 10, 2025
722a6fa
Update parent references for stun baton and flash
fenndragon Nov 10, 2025
ec6057d
Fix more dupes
TheRealMasterChief117 Nov 10, 2025
224d835
Update traits.ftl (#475)
TheRealMasterChief117 Nov 10, 2025
bc5b4db
Add mantis to sci department
TheRealMasterChief117 Nov 10, 2025
61bc468
Fix librarian access
TheRealMasterChief117 Nov 10, 2025
3b15081
trait updates
fenndragon Nov 10, 2025
36c0f67
Merge branch 'master' of https://github.com/fenndragon/HardLight
fenndragon Nov 11, 2025
6cba8b4
Fix fake accesss
TheRealMasterChief117 Nov 11, 2025
2573f37
blacklists cash from stashes
BlueNexus Nov 11, 2025
d224df5
Merge pull request #478 from fenndragon/trueironman
BlueNexus Nov 11, 2025
8a43a83
Update quirks.yml
fenndragon Nov 11, 2025
dfebb4b
Update disabilities.yml
fenndragon Nov 11, 2025
2a5c27e
Change trait category from Quirks to Physical
fenndragon Nov 11, 2025
4c6b6cb
Change trait category to Physical and add cost
fenndragon Nov 11, 2025
2b44041
Change trait categories and add costs
fenndragon Nov 11, 2025
52477b6
Change trait categories and add cost for disabilities
fenndragon Nov 11, 2025
2bf1a77
Comment out unused trait categories in categories.yml
fenndragon Nov 11, 2025
3158150
mech updates
fenndragon Nov 11, 2025
998235c
Gunnery Control UI Scaling Fix (#351)
ark1368 May 5, 2025
cb17351
Missiles are real! (#57)
ark1368 Mar 29, 2025
b4b7c45
Merge remote-tracking branch 'blue/abali' into mech-updates
fenndragon Nov 11, 2025
276fad9
shuttle weapon fix
fenndragon Nov 11, 2025
5a8c23e
radar updates
fenndragon Nov 12, 2025
1c6b652
Update RadarBlipSystem.cs
fenndragon Nov 12, 2025
cdbdbf0
fixes
fenndragon Nov 12, 2025
6e77521
Update FireControlSystem.cs
fenndragon Nov 12, 2025
4bc7709
blip fixes
fenndragon Nov 12, 2025
2036b80
Update SharedGunSystem.cs
fenndragon Nov 12, 2025
8e1b6f5
Revert "Comment out mech lathe recipe packs"
fenndragon Nov 12, 2025
30920fa
Revert "Comment out S2Mechs and related entries"
fenndragon Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 1 addition & 10 deletions .github/workflows/rsi-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,13 @@ on:
paths:
- '**.rsi/**.png'

permissions: # Explicitly define permissions
contents: write
pull-requests: write

jobs:
diff:
name: Diff
runs-on: ubuntu-latest
steps:
- name: Checkout PR HEAD
- name: Checkout
uses: actions/checkout@v4.2.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.PAT_TOKEN }}
fetch-depth: 0

- name: Get changed files
id: files
Expand Down
15 changes: 14 additions & 1 deletion Content.Client/Drunk/DrunkOverlay.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// SPDX-FileCopyrightText: 2022 Kara D
// SPDX-FileCopyrightText: 2022 Leon Friedrich
// SPDX-FileCopyrightText: 2023 Waylon Cude
// SPDX-FileCopyrightText: 2023 metalgearsloth
// SPDX-FileCopyrightText: 2024 Pieter-Jan Briers
// SPDX-FileCopyrightText: 2025 ark1368
//
// SPDX-License-Identifier: MPL-2.0

using Content.Shared.Drunk;
using Content.Shared.StatusEffect;
using Robust.Client.Graphics;
Expand Down Expand Up @@ -64,7 +73,11 @@ protected override bool BeforeDraw(in OverlayDrawArgs args)
if (args.Viewport.Eye != eyeComp.Eye)
return false;

_visualScale = BoozePowerToVisual(CurrentBoozePower);
var visualPower = CurrentBoozePower;
if (_entityManager.TryGetComponent(_playerManager.LocalEntity, out Content.Shared.Traits.Assorted.AlcoholToleranceComponent? tolerance))
visualPower *= tolerance.VisualScaleMultiplier;

_visualScale = BoozePowerToVisual(visualPower);
return _visualScale > 0;
}

Expand Down
39 changes: 32 additions & 7 deletions Content.Client/Humanoid/HumanoidAppearanceSystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using System.Numerics;
using Content.Client._Common.Consent;
using Content.Shared._Common.Consent;
using Content.Shared.Humanoid;
using Content.Shared.Humanoid.Markings;
using Content.Shared.Humanoid.Prototypes;
Expand All @@ -15,13 +17,18 @@ public sealed class HumanoidAppearanceSystem : SharedHumanoidAppearanceSystem
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly MarkingManager _markingManager = default!;
[Dependency] private readonly AppearanceSystem _appearance = default!;
[Dependency] private readonly IClientConsentManager _consentManager = default!; // Hardlight

private static readonly ProtoId<ConsentTogglePrototype> GenitalMarkingsConsent = "GenitalMarkings"; // Hardlight

public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<HumanoidAppearanceComponent, AfterAutoHandleStateEvent>(OnHandleState);
SubscribeLocalEvent<HumanoidAppearanceComponent, AppearanceChangeEvent>(OnAppearanceChange);

_consentManager.OnServerDataLoaded += OnConsentChanged;
}

private void OnHandleState(EntityUid uid, HumanoidAppearanceComponent component, ref AfterAutoHandleStateEvent args)
Expand Down Expand Up @@ -55,6 +62,15 @@ private void OnAppearanceChange(EntityUid uid, HumanoidAppearanceComponent comp,
}
}

private void OnConsentChanged()
{
var humanoidQuery = EntityManager.AllEntityQueryEnumerator<HumanoidAppearanceComponent, SpriteComponent>();
while (humanoidQuery.MoveNext(out var _, out var humanoid, out var sprite))
{
UpdateSprite(humanoid, sprite);
}
}

private static bool IsHidden(HumanoidAppearanceComponent humanoid, HumanoidVisualLayers layer)
=> humanoid.HiddenLayers.ContainsKey(layer) || humanoid.PermanentlyHidden.Contains(layer);

Expand Down Expand Up @@ -312,6 +328,15 @@ private void ApplyMarking(MarkingPrototype markingPrototype,
visible &= humanoid.BaseLayers.TryGetValue(markingPrototype.BodyPart, out var setting)
&& setting.AllowsMarkings;

visible &= !humanoid.HiddenMarkings.Contains(markingPrototype.ID); // FLOOF ADD
// FLOOF ADD END

// Hardlight: genital markings consent toggle
if (!(_consentManager.GetConsentSettings().Toggles.TryGetValue(GenitalMarkingsConsent, out var val) && val == "on"))
{
visible &= markingPrototype.MarkingCategory != MarkingCategories.Genital;
}

for (var j = 0; j < markingPrototype.Sprites.Count; j++)
{
var markingSprite = markingPrototype.Sprites[j];
Expand All @@ -329,13 +354,13 @@ private void ApplyMarking(MarkingPrototype markingPrototype,
sprite.LayerMapSet(layerId, layer);
sprite.LayerSetSprite(layerId, rsi);
}
// impstation edit begin - check if there's a shader defined in the markingPrototype's shader datafield, and if there is...
if (markingPrototype.Shader != null)
{
// use spriteComponent's layersetshader function to set the layer's shader to that which is specified.
sprite.LayerSetShader(layerId, markingPrototype.Shader);
}
// impstation edit end
// impstation edit begin - check if there's a shader defined in the markingPrototype's shader datafield, and if there is...
if (markingPrototype.Shader != null)
{
// use spriteComponent's layersetshader function to set the layer's shader to that which is specified.
sprite.LayerSetShader(layerId, markingPrototype.Shader);
}
// impstation edit end
sprite.LayerSetVisible(layerId, visible);

if (!visible || setting == null) // this is kinda implied
Expand Down
10 changes: 6 additions & 4 deletions Content.Client/Humanoid/MarkingPicker.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ public MarkingPicker()
IoCManager.InjectDependencies(this);

_sprite = _entityManager.System<SpriteSystem>();

CMarkingCategoryButton.OnItemSelected += OnCategoryChange;

// Subscribe to consent changes to refresh categories
CMarkingCategoryButton.OnItemSelected += OnCategoryChange;
CMarkingsUnused.OnItemSelected += item =>
_selectedUnusedMarking = CMarkingsUnused[item.ItemIndex];

Expand All @@ -157,8 +158,9 @@ private void SetupCategoryButtons()
{
var category = _markingCategories[i];
var markings = GetMarkings(category);
if (_ignoreCategories.Contains(category) ||
markings.Count == 0)

// Check if the category should be ignored
if (_ignoreCategories.Contains(category) || markings.Count == 0)
{
continue;
}
Expand Down
Loading