Skip to content

Commit

Permalink
Decals (and posters) (#93)
Browse files Browse the repository at this point in the history
# Description
Much decals

# TODO
- [x] Sprites
- [x] Remember where the hell I got the sprites
- [x] Sprite copyright information
- [x] Decals
- [x] Posters
- [x] Signs
- [x] UI

<details>
<summary><h1>Media</h1></summary>
<br>

![sand](https://media.discordapp.net/attachments/1029108366125056031/1097697544840171710/Content.Client_ifX2H7rksX.png)

![ast_warn](https://media.discordapp.net/attachments/1029108366125056031/1097700128560787476/Content.Client_4sVJo9NNtA.png)

![dirt](https://cdn.discordapp.com/attachments/1029108366125056031/1097701568679252058/Content.Client_xN8KDtTREh.png)

![neon](https://cdn.discordapp.com/attachments/1029108366125056031/1097703123008622592/Content.Client_oa2cFrAvX5.png)

![siding](https://cdn.discordapp.com/attachments/1029108366125056031/1097706285174116392/SyC4S3g6VP.png)

![fulltile](https://cdn.discordapp.com/attachments/1029108366125056031/1097707603129270272/Content.Client_vAb50evuid.png)

![trimline](https://cdn.discordapp.com/attachments/1029108366125056031/1097715771628593162/Content.Client_eYY7jkTW3V.png)


![salvage](https://cdn.discordapp.com/attachments/1029108366125056031/1097714909040627742/Content.Client_UMnP3KXR91.png)

![directional](https://cdn.discordapp.com/attachments/1029108366125056031/1097718793825947699/Content.Client_j3If4kdL7p.png)
![dorm
rooms](https://cdn.discordapp.com/attachments/1029108366125056031/1097719770192810044/Content.Client_MDR0VtwyiV.png)
![gas
indicators](https://cdn.discordapp.com/attachments/1029108366125056031/1097720433094168686/Content.Client_1eQgVQKj1I.png)

![numbers](https://cdn.discordapp.com/attachments/1029108366125056031/1097720813588848640/Content.Client_5ZXXA3jhX3.png)

![informative
poster](https://cdn.discordapp.com/attachments/1029108366125056031/1097722550596931684/Content.Client_dewLTsZiBI.png)

</details>
  • Loading branch information
DEATHB4DEFEAT committed Aug 25, 2023
1 parent 4de3119 commit 1ab6db8
Show file tree
Hide file tree
Showing 342 changed files with 3,577 additions and 8 deletions.
20 changes: 15 additions & 5 deletions Content.Client/Decals/UI/DecalPlacerWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,37 @@
<DefaultWindow xmlns="https://spacestation14.io"
Title="{Loc 'decal-placer-window-title'}"
MinSize="250 500"
SetSize="250 500">
MinSize="338 600">
<BoxContainer Orientation="Vertical">
<LineEdit Name="Search" />
<LineEdit Name="Search" HorizontalExpand="True" />
<ScrollContainer VerticalExpand="True">
<GridContainer Name="Grid" Columns="6">
<!-- Decals get added here by code -->
</GridContainer>
</ScrollContainer>

<Control MinHeight="8" />

<BoxContainer Orientation="Vertical">
<ColorSelectorSliders Name="ColorPicker" IsAlphaVisible="True" />
<Button Name="PickerOpen" Text="{Loc 'decal-placer-window-palette'}" />
</BoxContainer>

<Control MinHeight="8" />

<CheckBox Name="EnableColor" Text="{Loc 'decal-placer-window-use-color'}" />
<CheckBox Name="EnableSnap" Text="{Loc 'decal-placer-window-enable-snap'}" />
<CheckBox Name="EnableCleanable" Text="{Loc 'decal-placer-window-enable-cleanable'}" />

<Control MinHeight="5" />

<BoxContainer Name="SpinBoxContainer" Orientation="Horizontal">
<Label Text="{Loc 'decal-placer-window-rotation'}" Margin="0 0 0 1" />
<Label Text="{Loc 'decal-placer-window-rotation'}" />
</BoxContainer>

<Control MinHeight="5" />

<BoxContainer Orientation="Horizontal">
<Label Text="{Loc 'decal-placer-window-zindex'}" Margin="0 0 0 1" />
<Label Text="{Loc 'decal-placer-window-zindex'}" />
<SpinBox Name="ZIndexSpinBox" HorizontalExpand ="True" />
</BoxContainer>
</BoxContainer>
Expand Down
4 changes: 3 additions & 1 deletion Content.Client/Decals/UI/DecalPlacerWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Linq;
using System.Numerics;
using Content.Client.Stylesheets;
using Content.Shared.Decals;
using Robust.Client.AutoGenerated;
Expand Down Expand Up @@ -134,7 +135,8 @@ private void RefreshList()
TextureNormal = tex,
Name = decal,
ToolTip = decal,
Modulate = _useColor ? _color : Color.White
Modulate = _useColor ? _color : Color.White,
Scale = new Vector2(1.5f, 1.5f)
};
button.OnPressed += ButtonOnPressed;
if (_selected == decal)
Expand Down
129 changes: 129 additions & 0 deletions Resources/Prototypes/SimpleStation14/Decals/ast_warn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
- type: decal
id: AstWarnBox
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_box

- type: decal
id: AstWarnFull
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_full


- type: decal
id: AstWarnCornerNE
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_corner_ne

- type: decal
id: AstWarnCornerSE
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_corner_se

- type: decal
id: AstWarnCornerSW
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_corner_sw

- type: decal
id: AstWarnCornerNW
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_corner_nw


- type: decal
id: AstWarnSideN
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_n

- type: decal
id: AstWarnSideE
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_e

- type: decal
id: AstWarnSideS
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_s

- type: decal
id: AstWarnSideW
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_w


- type: decal
id: AstWarnSideNE
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_ne

- type: decal
id: AstWarnSideSE
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_se

- type: decal
id: AstWarnSideSW
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_sw

- type: decal
id: AstWarnSideNW
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_side_nw


- type: decal
id: AstWarnEndN
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_end_n

- type: decal
id: AstWarnEndE
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_end_e

- type: decal
id: AstWarnEndS
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_end_s

- type: decal
id: AstWarnEndW
tags: ["station", "warning"]
sprite:
sprite: SimpleStation14/Decals/Flooring/ast.rsi
state: ast_warn_end_w
56 changes: 56 additions & 0 deletions Resources/Prototypes/SimpleStation14/Decals/dirt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
- type: decal
id: DirtSideN
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_n

- type: decal
id: DirtSideE
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_e

- type: decal
id: DirtSideS
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_s

- type: decal
id: DirtSideW
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_w


- type: decal
id: DirtSideNE
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_ne

- type: decal
id: DirtSideSE
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_se

- type: decal
id: DirtSideSW
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_sw

- type: decal
id: DirtSideNW
tags: ["markings", "dirt"]
sprite:
sprite: SimpleStation14/Decals/Flooring/dirt.rsi
state: dirt_side_nw
56 changes: 56 additions & 0 deletions Resources/Prototypes/SimpleStation14/Decals/fancybox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
- type: decal
id: FancyBoxCornersWhiteNE
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_white_ne

- type: decal
id: FancyBoxCornersWhiteNW
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_white_nw

- type: decal
id: FancyBoxCornersWhiteSE
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_white_se

- type: decal
id: FancyBoxCornersWhiteSW
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_white_sw


- type: decal
id: FancyBoxCornersYellowNE
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_yellow_ne

- type: decal
id: FancyBoxCornersYellowNW
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_yellow_nw

- type: decal
id: FancyBoxCornersYellowSE
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_yellow_se

- type: decal
id: FancyBoxCornersYellowSW
tags: ["station", "markings", "box"]
sprite:
sprite: SimpleStation14/Decals/Flooring/box.rsi
state: box_corners_yellow_sw
Loading

0 comments on commit 1ab6db8

Please sign in to comment.