mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-24 01:02:06 +00:00
Revert "Merge pull request #4739 from monster860/vg-parallax"
This reverts commit451c934379, reversing changes made to64f26d999f. Conflicts: SQL/paradise_schema.sql SQL/paradise_schema_prefixed.sql
This commit is contained in:
@@ -213,45 +213,4 @@
|
||||
set category = "Preferences"
|
||||
set desc = "Allows you to access the Setup Character screen. Changes to your character won't take effect until next round, but other changes will."
|
||||
prefs.current_tab = 1
|
||||
prefs.ShowChoices(usr)
|
||||
|
||||
/client/verb/toggle_space_parallax()
|
||||
set name = "Toggle Space Parallax"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggle the parallax effect of space turfs."
|
||||
prefs.space_parallax = !prefs.space_parallax
|
||||
|
||||
prefs.save_preferences(src)
|
||||
|
||||
if(!prefs.space_parallax)
|
||||
to_chat(usr, "Space parallax is now deactivated.")
|
||||
else
|
||||
to_chat(usr, "Space parallax is now activated.")
|
||||
|
||||
if(mob && mob.hud_used)
|
||||
mob.hud_used.update_parallax_and_dust()
|
||||
|
||||
/client/verb/toggle_space_dust()
|
||||
set name = "Toggle Space Dust"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggle the presence of dust on space turfs."
|
||||
prefs.space_dust = !prefs.space_dust
|
||||
|
||||
prefs.save_preferences(src)
|
||||
|
||||
if(!prefs.space_dust)
|
||||
to_chat(usr, "Space dust is now deactivated.")
|
||||
else
|
||||
to_chat(usr, "Space dust is now activated.")
|
||||
|
||||
if(mob && mob.hud_used)
|
||||
mob.hud_used.update_parallax_and_dust()
|
||||
|
||||
/client/verb/toggle_parallax_speed()
|
||||
set name = "Change Parallax Speed"
|
||||
set category = "Preferences"
|
||||
set desc = "Change the speed at which parallax moves."
|
||||
|
||||
prefs.parallax_speed = min(max(input(usr, "Enter a number between 0 and 5 included (default=2)","Parallax Speed Preferences",prefs.parallax_speed),0),5)
|
||||
|
||||
prefs.save_preferences(src)
|
||||
prefs.ShowChoices(usr)
|
||||
Reference in New Issue
Block a user