mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
Density of glen fileflyes!
This commit is contained in:
parent
5586d4f928
commit
ce552926aa
2 changed files with 10 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ module Settings
|
|||
:light => true,
|
||||
:scaling_mode => 0,
|
||||
:vsync => 0,
|
||||
:max_particle_count_firefly => 30,
|
||||
|
||||
# UI
|
||||
:in_game_timer => false,
|
||||
|
|
@ -232,6 +233,14 @@ class Window_Settings
|
|||
:name => "World machine shader",
|
||||
:parameter => :twm_shader
|
||||
},
|
||||
{
|
||||
:type => :slider,
|
||||
:name => "Density of glen fireflies",
|
||||
:parameter => :max_particle_count_firefly,
|
||||
:icon => [1, 1],
|
||||
:min => 0,
|
||||
:max => 30
|
||||
},
|
||||
],
|
||||
"UI" => [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -260,7 +260,7 @@ class Spriteset_Map
|
|||
case @particles_type
|
||||
when :fireflies
|
||||
klass = Particle_Firefly
|
||||
count = 30
|
||||
count = Settings[:max_particle_count_firefly]
|
||||
layer = :front
|
||||
when :shrimp
|
||||
klass = Particle_Shrimp
|
||||
|
|
|
|||
Loading…
Reference in a new issue