mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-20 22:42:54 +00:00
Modifies tick_lag to 0.6. It shouldn't cause any problems, but just in case, Game Masters have been given the ability to modify tick_lag on the fly. This SHOULD make the game feel a lot smoother.
Fix for people being unable to modify NTSL code. Fix for not being able to use pills as pill-satchels properly. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3401 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -141,6 +141,7 @@
|
||||
verbs += /client/proc/everyone_random
|
||||
verbs += /client/proc/only_one // Fateweaver suggested I do this - Doohl
|
||||
verbs += /client/proc/deadmin_self
|
||||
verbs += /client/proc/cmd_admin_ticklag
|
||||
|
||||
if (holder.level >= 5)//Game Admin********************************************************************
|
||||
verbs += /obj/admins/proc/view_txt_log
|
||||
@@ -419,6 +420,7 @@
|
||||
verbs -= /client/proc/startSinglo
|
||||
verbs -= /client/proc/jumptocoord
|
||||
verbs -= /client/proc/everyone_random
|
||||
verbs -= /client/proc/cmd_admin_ticklag
|
||||
//verbs -= /client/proc/cmd_switch_radio
|
||||
return
|
||||
|
||||
|
||||
@@ -366,7 +366,18 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
message_admins("[key_name_admin(src)] has turned the experimental radio system [GLOBAL_RADIO_TYPE ? "on" : "off"].", 0)
|
||||
|
||||
|
||||
/client/proc/cmd_admin_ticklag()
|
||||
set category = "Debug"
|
||||
set name = "Set Ticklag"
|
||||
set desc = "Sets a new tick lag. Recommend you don't mess with this too much! Stable, time-tested ticklag value is 0.9"
|
||||
|
||||
var/newtick = input("Sets a new tick lag. Recommend you don't mess with this too much! Stable, time-tested ticklag value is 0.9",, 0.9) as num|null
|
||||
if(newtick)
|
||||
if(newtick <= 1 && newtick >= 0)
|
||||
log_admin("[key_name(src)] has modified world.tick_lag to [newtick]", 0)
|
||||
message_admins("[key_name(src)] has modified world.tick_lag to [newtick]", 0)
|
||||
|
||||
world.tick_lag = newtick
|
||||
|
||||
|
||||
/client/proc/cmd_admin_dress(var/mob/living/carbon/human/M in world)
|
||||
|
||||
Reference in New Issue
Block a user