Skip to content

Commit

Permalink
Add: Add v3 particle
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Jan 25, 2024
1 parent 249652b commit a520434
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 13 deletions.
4 changes: 2 additions & 2 deletions backend/app/models/chart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ def resources
background_v1: base.find(&:background_v1?)
}
end

def variants(include_private: false)
_variants.filter(&visibility_public?)
include_private ? _variants : _variants.where(visibility: :public)
end

def to_frontend(user: nil, with_resources: true, with_variants: true)
Expand Down
9 changes: 9 additions & 0 deletions backend/assets/particles/pjsekai-v1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
author: Sonolus
data: "!file:v1.json.gz/ParticleData"
name: pjsekai-v1
subtitle: From servers.sonolus.com/pjsekai
description: Nothing changed.
texture: "!file:v1.png/ParticleTexture"
thumbnail: "!file:thumbnail.png/ParticleThumbnail"
title: PJSekai / v1
version: 2
9 changes: 9 additions & 0 deletions backend/assets/particles/pjsekai-v3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
author: Hyeon2
data: "!file:v3.json.gz/ParticleData"
name: pjsekai-v3
subtitle: From servers.sonolus.com/pjsekai
description: From: https://canary.discord.com/channels/696599620259807242/696608361235611720/1192891297162330265
texture: "!file:v3.png/ParticleTexture"
thumbnail: "!file:thumbnail.png/ParticleThumbnail"
title: PJSekai / v3
version: 2
9 changes: 0 additions & 9 deletions backend/assets/particles/pjsekai.yml

This file was deleted.

File renamed without changes
File renamed without changes.
File renamed without changes
Binary file added backend/assets/particles/v3.json.gz
Binary file not shown.
Binary file added backend/assets/particles/v3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added backend/assets/skins/02_thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion backend/assets/skins/pjsekai-extended-01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ name: pjsekai-extended-01
subtitle: PJSekai Extended
description: PjSekai + Trace notes, Type 1
texture: "!file:01_texture.png/SkinTexture"
thumbnail: "!file:SkinThumbnail"
thumbnail: "!file:01_thumbnail.png/SkinThumbnail"
title: PJSekai+ / Type 1
version: 4
2 changes: 1 addition & 1 deletion backend/assets/skins/pjsekai-extended-02.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ name: pjsekai-extended-02
subtitle: PJSekai Extended
description: PjSekai + Trace notes, Type 2
texture: "!file:02_texture.png/SkinTexture"
thumbnail: "!file:SkinThumbnail"
thumbnail: "!file:02_thumbnail.png/SkinThumbnail"
title: PJSekai+ / Type 2
version: 4

0 comments on commit a520434

Please sign in to comment.