]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Spray Paint (Review Ready) (#23003)
authorbrainfood1183 <113240905+brainfood1183@users.noreply.github.com>
Mon, 18 Mar 2024 21:29:48 +0000 (21:29 +0000)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2024 21:29:48 +0000 (15:29 -0600)
commite4d5e7f1aebfc37b1bc3453fdb39578f3897b6a1
treee63880015badec595e4b815875b4bb55de6fa56c
parent3b8320dbbea118c9ef44771510fcfb500475eefa
Spray Paint (Review Ready) (#23003)

* Spray Paint (Draft)

* paint colors, paints in maints loot, cargo crate of paints.

* fix

* remove paint (sort of)

* moved paintcleaner into own system

* Moved paint to server (had to unfortunately)

* doafter now breaks when moving away.

* cant paint mobstatecomp

* loads of fixes

* fixes

* fixes

* nopaintshadercomp

* fixes

* fix

* use locale for paint remove string

* remove nopaintshadercomponent and use blacklist

* remove enabled.true from visualizer

* paint doafter event.

* add verbs for paint and remove paint and icon for paint verb.

* fixes

* no longer replaces shader when shader exists.

* replace forloop with foreach, check shader before adding and removing.

* paint doafter now separate so no copy paste code

* Entities in sprayed targets item slots are also now correctly sprayed.

* fix

* fix

* fix airlock psray painter now removes painted before painting door.

* spray paints now use openablecomponent.

* fix

* fix damn accesstypes.

* fix

* fix
41 files changed:
Content.Client/Paint/PaintVisualizerSystem.cs [new file with mode: 0644]
Content.Server/Paint/PaintSystem.cs [new file with mode: 0644]
Content.Server/Storage/EntitySystems/SpawnItemsOnUseSystem.cs
Content.Shared/Paint/PaintComponent.cs [new file with mode: 0644]
Content.Shared/Paint/PaintDoAfterEvent.cs [new file with mode: 0644]
Content.Shared/Paint/PaintRemoverComponent.cs [new file with mode: 0644]
Content.Shared/Paint/PaintRemoverDoAfterEvent.cs [new file with mode: 0644]
Content.Shared/Paint/PaintRemoverSystem.cs [new file with mode: 0644]
Content.Shared/Paint/PaintedComponent.cs [new file with mode: 0644]
Content.Shared/Paint/SharedPaintSystem.cs [new file with mode: 0644]
Content.Shared/SprayPainter/SharedSprayPainterSystem.cs
Resources/Locale/en-US/paint/paint.ftl [new file with mode: 0644]
Resources/Prototypes/Catalog/Cargo/cargo_fun.yml
Resources/Prototypes/Catalog/Fills/Crates/fun.yml
Resources/Prototypes/Catalog/Fills/Lockers/misc.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/crates.yml
Resources/Prototypes/Entities/Markers/Spawners/Random/maintenance.yml
Resources/Prototypes/Entities/Mobs/NPCs/carp.yml
Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Resources/Prototypes/Entities/Mobs/Player/guardian.yml
Resources/Prototypes/Entities/Objects/Fun/spray_paint.yml [new file with mode: 0644]
Resources/Prototypes/Entities/Objects/Materials/Sheets/glass.yml
Resources/Prototypes/Entities/Objects/Materials/Sheets/metal.yml
Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml
Resources/Prototypes/Entities/Objects/Materials/materials.yml
Resources/Prototypes/Entities/Objects/Misc/tiles.yml
Resources/Prototypes/Entities/Objects/Specific/Janitorial/soap.yml
Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml
Resources/Prototypes/Entities/Structures/Decoration/bonfire.yml
Resources/Prototypes/Entities/Structures/Holographic/projections.yml
Resources/Prototypes/Entities/Structures/hydro_tray.yml
Resources/Prototypes/tags.yml
Resources/Textures/Interface/VerbIcons/paint.svg [new file with mode: 0644]
Resources/Textures/Interface/VerbIcons/paint.svg.192dpi.png [new file with mode: 0644]
Resources/Textures/Interface/VerbIcons/paint.svg.192dpi.png.yml [new file with mode: 0644]
Resources/Textures/Objects/Fun/spraycans.rsi/clown-inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Fun/spraycans.rsi/clown-inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Fun/spraycans.rsi/meta.json
Resources/Textures/Objects/Fun/spraycans.rsi/spray-inhand-left.png [new file with mode: 0644]
Resources/Textures/Objects/Fun/spraycans.rsi/spray-inhand-right.png [new file with mode: 0644]
Resources/Textures/Objects/Fun/spraycans.rsi/spray_cap.png [deleted file]