mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Adding the start of the work on the new admin ranks into a subfolder named 'new' in the admins module folder.
All of the files are unticked, and could potentially be buggy. If you are testing them, copy them over to the admins module folder, and overwrite the files. Coders, if you change anything in the normal versions of these files please make sure you change the new versions as well to help prevent code being lost once this is implemented. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3409 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
3048
code/modules/admin/new/admin.dm
Normal file
3048
code/modules/admin/new/admin.dm
Normal file
File diff suppressed because it is too large
Load Diff
802
code/modules/admin/new/admin_verbs.dm
Normal file
802
code/modules/admin/new/admin_verbs.dm
Normal file
@@ -0,0 +1,802 @@
|
|||||||
|
//GUYS REMEMBER TO ADD A += to UPDATE_ADMINS
|
||||||
|
//AND A -= TO CLEAR_ADMIN_VERBS
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Some verbs that are still in the code but not used atm
|
||||||
|
// Debug
|
||||||
|
// verbs += /client/proc/radio_report //for radio debugging dont think its been used in a very long time
|
||||||
|
// verbs += /client/proc/fix_next_move //has not been an issue in a very very long time
|
||||||
|
|
||||||
|
// Mapping helpers added via enable_mapping_debug verb
|
||||||
|
// verbs += /client/proc/do_not_use_these
|
||||||
|
// verbs += /client/proc/camera_view
|
||||||
|
// verbs += /client/proc/sec_camera_report
|
||||||
|
// verbs += /client/proc/intercom_view
|
||||||
|
// verbs += /client/proc/air_status //Air things
|
||||||
|
// verbs += /client/proc/Cell //More air things
|
||||||
|
|
||||||
|
/client/proc/update_admins(var/rank)
|
||||||
|
|
||||||
|
if(!holder)
|
||||||
|
holder = new /obj/admins(src)
|
||||||
|
|
||||||
|
holder.rank = rank
|
||||||
|
|
||||||
|
if(!holder.state)
|
||||||
|
var/state = alert("Which state do you want the admin to begin in?", "Admin-state", "Play", "Observe", "Neither")
|
||||||
|
if(state == "Play")
|
||||||
|
holder.state = 1
|
||||||
|
admin_play()
|
||||||
|
return
|
||||||
|
else if(state == "Observe")
|
||||||
|
holder.state = 2
|
||||||
|
admin_observe()
|
||||||
|
return
|
||||||
|
else
|
||||||
|
del(holder)
|
||||||
|
return
|
||||||
|
|
||||||
|
switch (rank)
|
||||||
|
if ("Game Master")
|
||||||
|
holder.level = 6
|
||||||
|
|
||||||
|
if ("Senior Game Admin")
|
||||||
|
holder.level = 5
|
||||||
|
|
||||||
|
if ("Game Admin")
|
||||||
|
holder.level = 4
|
||||||
|
|
||||||
|
if ("Secondary Game Admin")
|
||||||
|
holder.level = 3
|
||||||
|
|
||||||
|
if ("Trial Admin")
|
||||||
|
holder.level = 2
|
||||||
|
if(holder.state == 2) // if observing
|
||||||
|
verbs += /client/proc/debug_variables
|
||||||
|
verbs += /client/proc/cmd_modify_ticker_variables
|
||||||
|
verbs += /client/proc/toggle_view_range
|
||||||
|
verbs += /client/proc/Getmob
|
||||||
|
verbs += /client/proc/Getkey
|
||||||
|
verbs += /client/proc/sendmob
|
||||||
|
verbs += /client/proc/Jump
|
||||||
|
verbs += /client/proc/jumptokey
|
||||||
|
verbs += /client/proc/jumptomob
|
||||||
|
verbs += /client/proc/jumptoturf
|
||||||
|
verbs += /client/proc/jumptocoord
|
||||||
|
verbs += /client/proc/cmd_admin_delete
|
||||||
|
verbs += /client/proc/cmd_admin_add_freeform_ai_law
|
||||||
|
verbs += /client/proc/cmd_admin_rejuvenate
|
||||||
|
verbs += /client/proc/cmd_admin_drop_everything
|
||||||
|
//verbs += /client/proc/cmd_modify_object_variables --Merged with view variables
|
||||||
|
|
||||||
|
if ("Temporary Admin")
|
||||||
|
holder.level = 1
|
||||||
|
if(holder.state == 2) // if observing
|
||||||
|
verbs += /client/proc/debug_variables
|
||||||
|
verbs += /client/proc/cmd_modify_ticker_variables
|
||||||
|
verbs += /client/proc/toggle_view_range
|
||||||
|
verbs += /client/proc/Getmob
|
||||||
|
verbs += /client/proc/Getkey
|
||||||
|
verbs += /client/proc/sendmob
|
||||||
|
verbs += /client/proc/Jump
|
||||||
|
verbs += /client/proc/jumptokey
|
||||||
|
verbs += /client/proc/jumptomob
|
||||||
|
verbs += /client/proc/jumptoturf
|
||||||
|
verbs += /client/proc/jumptocoord
|
||||||
|
verbs += /client/proc/cmd_admin_delete
|
||||||
|
verbs += /client/proc/cmd_admin_add_freeform_ai_law
|
||||||
|
verbs += /client/proc/cmd_admin_rejuvenate
|
||||||
|
verbs += /client/proc/cmd_admin_drop_everything
|
||||||
|
//verbs += /client/proc/cmd_modify_object_variables --Merged with view variables
|
||||||
|
|
||||||
|
if ("Moderator")
|
||||||
|
holder.level = 0
|
||||||
|
|
||||||
|
if ("Admin Observer")
|
||||||
|
holder.level = -1
|
||||||
|
|
||||||
|
if ("Banned")
|
||||||
|
holder.level = -2
|
||||||
|
del(src)
|
||||||
|
return
|
||||||
|
|
||||||
|
else
|
||||||
|
del(holder)
|
||||||
|
return
|
||||||
|
|
||||||
|
if (holder) //THE BELOW handles granting powers. The above is for special cases only!
|
||||||
|
holder.owner = src
|
||||||
|
|
||||||
|
//Admin Observer
|
||||||
|
if (holder.level >= -1)
|
||||||
|
verbs += /client/proc/cmd_admin_say
|
||||||
|
verbs += /client/proc/cmd_admin_gib_self
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
else return
|
||||||
|
|
||||||
|
//Moderator
|
||||||
|
if (holder.level >= 0)
|
||||||
|
verbs += /obj/admins/proc/announce
|
||||||
|
verbs += /obj/admins/proc/startnow
|
||||||
|
verbs += /obj/admins/proc/toggleAI //Toggle the AI
|
||||||
|
verbs += /obj/admins/proc/toggleenter //Toggle enterting
|
||||||
|
verbs += /obj/admins/proc/toggleguests //Toggle guests entering
|
||||||
|
verbs += /obj/admins/proc/toggleooc //toggle ooc
|
||||||
|
verbs += /obj/admins/proc/toggleoocdead //toggle ooc for dead/unc
|
||||||
|
verbs += /obj/admins/proc/voteres //toggle votes
|
||||||
|
verbs += /obj/admins/proc/vmode
|
||||||
|
verbs += /obj/admins/proc/votekill
|
||||||
|
verbs += /obj/admins/proc/show_player_panel
|
||||||
|
verbs += /client/proc/deadchat //toggles deadchat
|
||||||
|
verbs += /client/proc/cmd_admin_mute
|
||||||
|
verbs += /client/proc/cmd_admin_pm_context
|
||||||
|
verbs += /client/proc/cmd_admin_pm_panel
|
||||||
|
verbs += /client/proc/cmd_admin_subtle_message
|
||||||
|
verbs += /client/proc/warn
|
||||||
|
verbs += /client/proc/dsay
|
||||||
|
verbs += /client/proc/admin_play
|
||||||
|
verbs += /client/proc/admin_observe
|
||||||
|
verbs += /client/proc/game_panel
|
||||||
|
verbs += /client/proc/player_panel
|
||||||
|
verbs += /client/proc/player_panel_new
|
||||||
|
verbs += /client/proc/unban_panel
|
||||||
|
verbs += /client/proc/jobbans
|
||||||
|
verbs += /client/proc/unjobban_panel
|
||||||
|
verbs += /client/proc/voting
|
||||||
|
verbs += /client/proc/hide_verbs
|
||||||
|
verbs += /client/proc/general_report
|
||||||
|
verbs += /client/proc/air_report
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
//verbs += /client/proc/cmd_admin_prison --Merged with player panel
|
||||||
|
//verbs += /obj/admins/proc/unprison --Merged with player panel
|
||||||
|
else return
|
||||||
|
|
||||||
|
//Temporary Admin
|
||||||
|
if (holder.level >= 1)
|
||||||
|
deadchat = 1
|
||||||
|
seeprayers = 1
|
||||||
|
|
||||||
|
verbs += /obj/admins/proc/toggleaban //abandon mob
|
||||||
|
verbs += /obj/admins/proc/show_traitor_panel
|
||||||
|
verbs += /client/proc/cmd_admin_remove_plasma
|
||||||
|
verbs += /client/proc/admin_call_shuttle
|
||||||
|
verbs += /client/proc/admin_cancel_shuttle
|
||||||
|
verbs += /client/proc/cmd_admin_dress
|
||||||
|
verbs += /client/proc/respawn_character
|
||||||
|
verbs += /client/proc/spawn_xeno
|
||||||
|
verbs += /client/proc/toggleprayers
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
verbs += /client/proc/tension_report
|
||||||
|
verbs += /client/proc/toggleadminhelpsound
|
||||||
|
verbs += /client/proc/cmd_admin_add_random_ai_law
|
||||||
|
verbs += /client/proc/secrets
|
||||||
|
verbs += /client/proc/play_sound
|
||||||
|
verbs += /client/proc/stealth
|
||||||
|
verbs += /obj/admins/proc/delay //game start delay
|
||||||
|
verbs += /obj/admins/proc/immreboot //immediate reboot
|
||||||
|
verbs += /obj/admins/proc/restart //restart
|
||||||
|
verbs += /client/proc/cmd_admin_check_contents
|
||||||
|
verbs += /client/proc/cmd_admin_create_centcom_report
|
||||||
|
verbs += /client/proc/toggle_hear_deadcast
|
||||||
|
verbs += /client/proc/toggle_hear_radio
|
||||||
|
verbs += /proc/possess
|
||||||
|
verbs += /proc/release
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
else return
|
||||||
|
|
||||||
|
/* //Trial Admin
|
||||||
|
if (holder.level >= 2)
|
||||||
|
|
||||||
|
else return
|
||||||
|
*/
|
||||||
|
//Secondary Game Admin
|
||||||
|
if (holder.level >= 3)
|
||||||
|
verbs += /obj/admins/proc/view_txt_log
|
||||||
|
verbs += /obj/admins/proc/view_atk_log
|
||||||
|
verbs += /obj/admins/proc/spawn_atom
|
||||||
|
verbs += /client/proc/cmd_admin_list_open_jobs
|
||||||
|
verbs += /client/proc/cmd_admin_direct_narrate
|
||||||
|
verbs += /client/proc/kill_air
|
||||||
|
verbs += /client/proc/cmd_admin_world_narrate
|
||||||
|
verbs += /client/proc/cmd_debug_del_all
|
||||||
|
verbs += /client/proc/cmd_debug_tog_aliens
|
||||||
|
verbs += /client/proc/mapload
|
||||||
|
verbs += /client/proc/check_words
|
||||||
|
verbs += /client/proc/drop_bomb
|
||||||
|
verbs += /client/proc/cmd_admin_grantfullaccess
|
||||||
|
verbs += /client/proc/jump_to_dead_group
|
||||||
|
verbs += /client/proc/cmd_admin_drop_everything
|
||||||
|
verbs += /client/proc/make_sound
|
||||||
|
verbs += /client/proc/play_local_sound
|
||||||
|
verbs += /client/proc/send_space_ninja
|
||||||
|
verbs += /client/proc/restartcontroller //Can call via aproccall --I_hate_easy_things.jpg, Mport --Agouri
|
||||||
|
verbs += /client/proc/Blobize //I need to remember to move/remove this later
|
||||||
|
verbs += /client/proc/toggle_clickproc //TODO ERRORAGE (Temporary proc while the new clickproc is being tested)
|
||||||
|
verbs += /client/proc/toggle_gravity_on
|
||||||
|
verbs += /client/proc/toggle_gravity_off
|
||||||
|
verbs += /client/proc/toggle_random_events
|
||||||
|
verbs += /obj/admins/proc/adrev //toggle admin revives
|
||||||
|
verbs += /obj/admins/proc/adspawn //toggle admin item spawning
|
||||||
|
verbs += /client/proc/debug_variables
|
||||||
|
verbs += /client/proc/cmd_modify_ticker_variables
|
||||||
|
verbs += /client/proc/Debug2 //debug toggle switch
|
||||||
|
verbs += /client/proc/toggle_view_range
|
||||||
|
verbs += /client/proc/Getmob
|
||||||
|
verbs += /client/proc/Getkey
|
||||||
|
verbs += /client/proc/sendmob
|
||||||
|
verbs += /client/proc/Jump
|
||||||
|
verbs += /client/proc/jumptokey
|
||||||
|
verbs += /client/proc/jumptomob
|
||||||
|
verbs += /client/proc/jumptoturf
|
||||||
|
verbs += /client/proc/cmd_admin_delete
|
||||||
|
verbs += /client/proc/cmd_admin_add_freeform_ai_law
|
||||||
|
verbs += /client/proc/cmd_admin_add_random_ai_law
|
||||||
|
verbs += /client/proc/cmd_admin_rejuvenate
|
||||||
|
verbs += /client/proc/hide_most_verbs
|
||||||
|
verbs += /client/proc/jumptocoord
|
||||||
|
verbs += /client/proc/startSinglo
|
||||||
|
verbs += /client/proc/cmd_modify_ticker_variables
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
//verbs += /client/proc/cmd_mass_modify_object_variables --Merged with view variables
|
||||||
|
//verbs += /client/proc/cmd_admin_explosion --Merged with view variables
|
||||||
|
//verbs += /client/proc/cmd_admin_emp --Merged with view variables
|
||||||
|
//verbs += /client/proc/give_spell --Merged with view variables
|
||||||
|
//verbs += /client/proc/cmd_admin_ninjafy --Merged with view variables
|
||||||
|
//verbs += /client/proc/cmd_switch_radio --removed as tcommsat is staying
|
||||||
|
else return
|
||||||
|
|
||||||
|
//Game Admin
|
||||||
|
if (holder.level >= 4)
|
||||||
|
verbs += /client/proc/ticklag
|
||||||
|
else return
|
||||||
|
|
||||||
|
//Senior Game admin
|
||||||
|
if (holder.level >= 5)
|
||||||
|
verbs += /client/proc/colorooc
|
||||||
|
verbs += /client/proc/strike_team
|
||||||
|
verbs += /client/proc/everyone_random
|
||||||
|
verbs += /client/proc/only_one
|
||||||
|
verbs += /obj/admins/proc/toggle_aliens //toggle aliens
|
||||||
|
verbs += /obj/admins/proc/toggle_space_ninja //toggle ninjas
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
else return
|
||||||
|
|
||||||
|
//Game Master
|
||||||
|
if (holder.level >= 6)
|
||||||
|
verbs += /obj/admins/proc/adjump
|
||||||
|
verbs += /client/proc/callproc
|
||||||
|
verbs += /client/proc/triple_ai
|
||||||
|
verbs += /client/proc/get_admin_state
|
||||||
|
verbs += /client/proc/reload_admins
|
||||||
|
verbs += /client/proc/cmd_debug_make_powernets
|
||||||
|
verbs += /client/proc/object_talk
|
||||||
|
verbs += /client/proc/enable_mapping_debug
|
||||||
|
verbs += /client/proc/deadmin_self
|
||||||
|
else return
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/clear_admin_verbs()
|
||||||
|
deadchat = 0
|
||||||
|
|
||||||
|
verbs -= /obj/admins/proc/vmode
|
||||||
|
verbs -= /obj/admins/proc/votekill
|
||||||
|
verbs -= /obj/admins/proc/announce
|
||||||
|
verbs -= /obj/admins/proc/startnow
|
||||||
|
verbs -= /obj/admins/proc/toggleAI //Toggle the AI
|
||||||
|
verbs -= /obj/admins/proc/toggleenter //Toggle enterting
|
||||||
|
verbs -= /obj/admins/proc/toggleguests //Toggle guests entering
|
||||||
|
verbs -= /obj/admins/proc/toggleooc //toggle ooc
|
||||||
|
verbs -= /obj/admins/proc/toggleoocdead //toggle ooc for dead/unc
|
||||||
|
verbs -= /obj/admins/proc/voteres //toggle votes
|
||||||
|
verbs -= /obj/admins/proc/delay //game start delay
|
||||||
|
verbs -= /obj/admins/proc/immreboot //immediate reboot
|
||||||
|
verbs -= /obj/admins/proc/restart //restart
|
||||||
|
verbs -= /obj/admins/proc/show_traitor_panel
|
||||||
|
verbs -= /obj/admins/proc/show_player_panel
|
||||||
|
verbs -= /obj/admins/proc/toggle_aliens //toggle aliens
|
||||||
|
verbs -= /obj/admins/proc/toggle_space_ninja //toggle ninjas
|
||||||
|
verbs -= /obj/admins/proc/adjump
|
||||||
|
verbs -= /obj/admins/proc/view_txt_log
|
||||||
|
verbs -= /obj/admins/proc/view_atk_log
|
||||||
|
verbs -= /obj/admins/proc/spawn_atom
|
||||||
|
verbs -= /obj/admins/proc/adrev //toggle admin revives
|
||||||
|
verbs -= /obj/admins/proc/adspawn //toggle admin item spawning
|
||||||
|
verbs -= /obj/admins/proc/toggleaban //abandon mob
|
||||||
|
verbs -= /client/proc/hide_verbs
|
||||||
|
verbs -= /client/proc/hide_most_verbs
|
||||||
|
verbs -= /client/proc/show_verbs
|
||||||
|
verbs -= /client/proc/colorooc
|
||||||
|
verbs -= /client/proc/triple_ai
|
||||||
|
verbs -= /client/proc/get_admin_state
|
||||||
|
verbs -= /client/proc/reload_admins
|
||||||
|
verbs -= /client/proc/kill_air
|
||||||
|
verbs -= /client/proc/cmd_debug_make_powernets
|
||||||
|
verbs -= /client/proc/object_talk
|
||||||
|
verbs -= /client/proc/strike_team
|
||||||
|
verbs -= /client/proc/cmd_admin_list_open_jobs
|
||||||
|
verbs -= /client/proc/cmd_admin_direct_narrate
|
||||||
|
verbs -= /client/proc/cmd_admin_world_narrate
|
||||||
|
verbs -= /client/proc/callproc
|
||||||
|
verbs -= /client/proc/Cell
|
||||||
|
verbs -= /client/proc/cmd_debug_del_all
|
||||||
|
verbs -= /client/proc/cmd_debug_tog_aliens
|
||||||
|
verbs -= /client/proc/ticklag
|
||||||
|
verbs -= /client/proc/mapload
|
||||||
|
verbs -= /client/proc/check_words
|
||||||
|
verbs -= /client/proc/drop_bomb
|
||||||
|
verbs -= /client/proc/cmd_admin_grantfullaccess
|
||||||
|
verbs -= /client/proc/cmd_admin_drop_everything
|
||||||
|
verbs -= /client/proc/make_sound
|
||||||
|
verbs -= /client/proc/only_one
|
||||||
|
verbs -= /client/proc/send_space_ninja
|
||||||
|
verbs -= /client/proc/debug_variables
|
||||||
|
verbs -= /client/proc/cmd_modify_ticker_variables
|
||||||
|
verbs -= /client/proc/Debug2 //debug toggle switch
|
||||||
|
verbs -= /client/proc/toggle_view_range
|
||||||
|
verbs -= /client/proc/Getmob
|
||||||
|
verbs -= /client/proc/Getkey
|
||||||
|
verbs -= /client/proc/sendmob
|
||||||
|
verbs -= /client/proc/Jump
|
||||||
|
verbs -= /client/proc/jumptokey
|
||||||
|
verbs -= /client/proc/jumptomob
|
||||||
|
verbs -= /client/proc/jumptoturf
|
||||||
|
verbs -= /client/proc/cmd_admin_add_freeform_ai_law
|
||||||
|
verbs -= /client/proc/cmd_admin_add_random_ai_law
|
||||||
|
verbs -= /client/proc/cmd_admin_rejuvenate
|
||||||
|
verbs -= /client/proc/cmd_admin_delete
|
||||||
|
verbs -= /client/proc/toggleadminhelpsound
|
||||||
|
verbs -= /client/proc/cmd_admin_remove_plasma
|
||||||
|
verbs -= /client/proc/admin_call_shuttle
|
||||||
|
verbs -= /client/proc/admin_cancel_shuttle
|
||||||
|
verbs -= /client/proc/cmd_admin_dress
|
||||||
|
verbs -= /client/proc/respawn_character
|
||||||
|
verbs -= /client/proc/spawn_xeno
|
||||||
|
verbs -= /client/proc/cmd_admin_add_random_ai_law
|
||||||
|
verbs -= /client/proc/secrets
|
||||||
|
verbs -= /client/proc/play_sound
|
||||||
|
verbs -= /client/proc/stealth
|
||||||
|
verbs -= /client/proc/cmd_admin_check_contents
|
||||||
|
verbs -= /client/proc/cmd_admin_create_centcom_report
|
||||||
|
verbs -= /client/proc/deadchat //toggles deadchat
|
||||||
|
verbs -= /client/proc/cmd_admin_mute
|
||||||
|
verbs -= /client/proc/cmd_admin_pm_context
|
||||||
|
verbs -= /client/proc/cmd_admin_pm_panel
|
||||||
|
verbs -= /client/proc/cmd_admin_say
|
||||||
|
verbs -= /client/proc/cmd_admin_subtle_message
|
||||||
|
verbs -= /client/proc/warn
|
||||||
|
verbs -= /client/proc/dsay
|
||||||
|
verbs -= /client/proc/admin_play
|
||||||
|
verbs -= /client/proc/admin_observe
|
||||||
|
verbs -= /client/proc/game_panel
|
||||||
|
verbs -= /client/proc/player_panel
|
||||||
|
verbs -= /client/proc/unban_panel
|
||||||
|
verbs -= /client/proc/jobbans
|
||||||
|
verbs -= /client/proc/unjobban_panel
|
||||||
|
verbs -= /client/proc/voting
|
||||||
|
verbs -= /client/proc/hide_verbs
|
||||||
|
verbs -= /client/proc/general_report
|
||||||
|
verbs -= /client/proc/air_report
|
||||||
|
verbs -= /client/proc/cmd_admin_say
|
||||||
|
verbs -= /client/proc/cmd_admin_gib_self
|
||||||
|
verbs -= /client/proc/restartcontroller
|
||||||
|
verbs -= /client/proc/play_local_sound
|
||||||
|
verbs -= /client/proc/enable_mapping_debug
|
||||||
|
verbs -= /client/proc/toggleprayers
|
||||||
|
verbs -= /client/proc/jump_to_dead_group
|
||||||
|
verbs -= /client/proc/Blobize
|
||||||
|
verbs -= /client/proc/toggle_clickproc //TODO ERRORAGE (Temporary proc while the enw clickproc is being tested)
|
||||||
|
verbs -= /client/proc/toggle_hear_deadcast
|
||||||
|
verbs -= /client/proc/toggle_hear_radio
|
||||||
|
verbs -= /client/proc/tension_report
|
||||||
|
verbs -= /client/proc/player_panel_new
|
||||||
|
verbs -= /client/proc/toggle_gravity_on
|
||||||
|
verbs -= /client/proc/toggle_gravity_off
|
||||||
|
verbs -= /client/proc/toggle_random_events
|
||||||
|
verbs -= /client/proc/deadmin_self
|
||||||
|
verbs -= /client/proc/startSinglo
|
||||||
|
verbs -= /client/proc/jumptocoord
|
||||||
|
verbs -= /client/proc/everyone_random
|
||||||
|
verbs -= /proc/possess
|
||||||
|
verbs -= /proc/release
|
||||||
|
//verbs -= /client/proc/give_spell --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_ninjafy --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_modify_object_variables --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_explosion --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_emp --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_godmode --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_gib --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_mass_modify_object_variables --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_attack_log --Merged with view variables
|
||||||
|
//verbs -= /proc/togglebuildmode --Merged with view variables
|
||||||
|
//verbs -= /client/proc/cmd_admin_prison --Merged with player panel
|
||||||
|
//verbs -= /obj/admins/proc/unprison --Merged with player panel
|
||||||
|
//verbs -= /client/proc/cmd_switch_radio --removed because tcommsat is staying
|
||||||
|
//verbs -= /client/proc/togglebuildmodeself --removed due to runtimes
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/admin_observe()
|
||||||
|
set category = "Admin"
|
||||||
|
set name = "Set Observe"
|
||||||
|
if(!holder)
|
||||||
|
alert("You are not an admin")
|
||||||
|
return
|
||||||
|
|
||||||
|
verbs -= /client/proc/admin_play
|
||||||
|
spawn( 1200 )
|
||||||
|
verbs += /client/proc/admin_play
|
||||||
|
var/rank = holder.rank
|
||||||
|
clear_admin_verbs()
|
||||||
|
holder.state = 2
|
||||||
|
update_admins(rank)
|
||||||
|
if(!istype(mob, /mob/dead/observer))
|
||||||
|
mob.adminghostize(1)
|
||||||
|
src << "\blue You are now observing"
|
||||||
|
|
||||||
|
/client/proc/admin_play()
|
||||||
|
set category = "Admin"
|
||||||
|
set name = "Set Play"
|
||||||
|
if(!holder)
|
||||||
|
alert("You are not an admin")
|
||||||
|
return
|
||||||
|
verbs -= /client/proc/admin_observe
|
||||||
|
spawn( 1200 )
|
||||||
|
verbs += /client/proc/admin_observe
|
||||||
|
var/rank = holder.rank
|
||||||
|
clear_admin_verbs()
|
||||||
|
holder.state = 1
|
||||||
|
update_admins(rank)
|
||||||
|
if(istype(mob, /mob/dead/observer))
|
||||||
|
mob:reenter_corpse()
|
||||||
|
src << "\blue You are now playing"
|
||||||
|
|
||||||
|
/client/proc/get_admin_state()
|
||||||
|
set name = "Get Admin State"
|
||||||
|
set category = "Debug"
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client && M.client.holder)
|
||||||
|
if(M.client.holder.state == 1)
|
||||||
|
src << "[M.key] is playing - [M.client.holder.state]"
|
||||||
|
else if(M.client.holder.state == 2)
|
||||||
|
src << "[M.key] is observing - [M.client.holder.state]"
|
||||||
|
else
|
||||||
|
src << "[M.key] is undefined - [M.client.holder.state]"
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/player_panel()
|
||||||
|
set name = "Player Panel"
|
||||||
|
set category = "Admin"
|
||||||
|
if(holder)
|
||||||
|
holder.player_panel_old()
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/player_panel_new()
|
||||||
|
set name = "Player Panel-New"
|
||||||
|
set category = "Admin"
|
||||||
|
if(holder)
|
||||||
|
holder.player_panel_new()
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/jobbans()
|
||||||
|
set name = "Display Job bans"
|
||||||
|
set category = "Admin"
|
||||||
|
if(holder)
|
||||||
|
holder.Jobbans()
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/unban_panel()
|
||||||
|
set name = "Unban Panel"
|
||||||
|
set category = "Admin"
|
||||||
|
if(holder)
|
||||||
|
holder.unbanpanel()
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/game_panel()
|
||||||
|
set name = "Game Panel"
|
||||||
|
set category = "Admin"
|
||||||
|
if(holder)
|
||||||
|
holder.Game()
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/secrets()
|
||||||
|
set name = "Secrets"
|
||||||
|
set category = "Admin"
|
||||||
|
if (holder)
|
||||||
|
holder.Secrets()
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/voting()
|
||||||
|
set name = "Voting"
|
||||||
|
set category = "Admin"
|
||||||
|
if (holder)
|
||||||
|
holder.Voting()
|
||||||
|
|
||||||
|
/client/proc/colorooc()
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "OOC Text Color"
|
||||||
|
ooccolor = input(src, "Please select your OOC colour.", "OOC colour") as color
|
||||||
|
return
|
||||||
|
|
||||||
|
/client/proc/stealth()
|
||||||
|
set category = "Admin"
|
||||||
|
set name = "Stealth Mode"
|
||||||
|
if(!authenticated || !holder)
|
||||||
|
src << "Only administrators may use this command."
|
||||||
|
return
|
||||||
|
stealth = !stealth
|
||||||
|
if(stealth)
|
||||||
|
var/new_key = trim(input("Enter your desired display name.", "Fake Key", key))
|
||||||
|
if(!new_key)
|
||||||
|
stealth = 0
|
||||||
|
return
|
||||||
|
new_key = strip_html(new_key)
|
||||||
|
if(length(new_key) >= 26)
|
||||||
|
new_key = copytext(new_key, 1, 26)
|
||||||
|
fakekey = new_key
|
||||||
|
else
|
||||||
|
fakekey = null
|
||||||
|
log_admin("[key_name(usr)] has turned stealth mode [stealth ? "ON" : "OFF"]")
|
||||||
|
message_admins("[key_name_admin(usr)] has turned stealth mode [stealth ? "ON" : "OFF"]", 1)
|
||||||
|
|
||||||
|
#define AUTOBATIME 10
|
||||||
|
/client/proc/warn(var/mob/M in world)
|
||||||
|
set category = "Special Verbs"
|
||||||
|
set name = "Warn"
|
||||||
|
set desc = "Warn a player"
|
||||||
|
if(!authenticated || !holder)
|
||||||
|
src << "Only administrators may use this command."
|
||||||
|
return
|
||||||
|
if(M.client && M.client.holder && (M.client.holder.level >= holder.level))
|
||||||
|
alert("You cannot perform this action. You must be of a higher administrative rank!", null, null, null, null, null)
|
||||||
|
return
|
||||||
|
if(!M.client.warned)
|
||||||
|
M << "\red <B>You have been warned by an administrator. This is the only warning you will recieve.</B>"
|
||||||
|
M.client.warned = 1
|
||||||
|
message_admins("\blue [ckey] warned [M.ckey].")
|
||||||
|
else
|
||||||
|
AddBan(M.ckey, M.computer_id, "Autobanning due to previous warn", ckey, 1, AUTOBATIME)
|
||||||
|
M << "\red<BIG><B>You have been autobanned by [ckey]. This is what we in the biz like to call a \"second warning\".</B></BIG>"
|
||||||
|
M << "\red This is a temporary ban; it will automatically be removed in [AUTOBATIME] minutes."
|
||||||
|
log_admin("[ckey] warned [M.ckey], resulting in a [AUTOBATIME] minute autoban.")
|
||||||
|
ban_unban_log_save("[ckey] warned [M.ckey], resulting in a [AUTOBATIME] minute autoban.")
|
||||||
|
message_admins("\blue [ckey] warned [M.ckey], resulting in a [AUTOBATIME] minute autoban.")
|
||||||
|
feedback_inc("ban_warn",1)
|
||||||
|
|
||||||
|
del(M.client)
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/drop_bomb() // Some admin dickery that can probably be done better -- TLE
|
||||||
|
set category = "Special Verbs"
|
||||||
|
set name = "Drop Bomb"
|
||||||
|
set desc = "Cause an explosion of varying strength at your location."
|
||||||
|
|
||||||
|
var/turf/epicenter = mob.loc
|
||||||
|
var/list/choices = list("Small Bomb", "Medium Bomb", "Big Bomb", "Custom Bomb")
|
||||||
|
var/choice = input("What size explosion would you like to produce?") in choices
|
||||||
|
switch(choice)
|
||||||
|
if(null)
|
||||||
|
return 0
|
||||||
|
if("Small Bomb")
|
||||||
|
explosion(epicenter, 1, 2, 3, 3)
|
||||||
|
if("Medium Bomb")
|
||||||
|
explosion(epicenter, 2, 3, 4, 4)
|
||||||
|
if("Big Bomb")
|
||||||
|
explosion(epicenter, 3, 5, 7, 5)
|
||||||
|
if("Custom Bomb")
|
||||||
|
var/devastation_range = input("Devastation range (in tiles):") as num
|
||||||
|
var/heavy_impact_range = input("Heavy impact range (in tiles):") as num
|
||||||
|
var/light_impact_range = input("Light impact range (in tiles):") as num
|
||||||
|
var/flash_range = input("Flash range (in tiles):") as num
|
||||||
|
explosion(epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range)
|
||||||
|
message_admins("\blue [ckey] creating an admin explosion at [epicenter.loc].")
|
||||||
|
|
||||||
|
/client/proc/give_spell(mob/T as mob in world) // -- Urist
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Give Spell"
|
||||||
|
set desc = "Gives a spell to a mob."
|
||||||
|
var/obj/effect/proc_holder/spell/S = input("Choose the spell to give to that guy", "ABRAKADABRA") as null|anything in spells
|
||||||
|
if(!S) return
|
||||||
|
T.spell_list += new S
|
||||||
|
|
||||||
|
/client/proc/make_sound(var/obj/O in world) // -- TLE
|
||||||
|
set category = "Special Verbs"
|
||||||
|
set name = "Make Sound"
|
||||||
|
set desc = "Display a message to everyone who can hear the target"
|
||||||
|
if(O)
|
||||||
|
var/message = input("What do you want the message to be?", "Make Sound") as text|null
|
||||||
|
if(!message)
|
||||||
|
return
|
||||||
|
for (var/mob/V in hearers(O))
|
||||||
|
V.show_message(message, 2)
|
||||||
|
|
||||||
|
////I'm removing buildmode because it's shitty and runtimes a lot. -Pete
|
||||||
|
/*
|
||||||
|
/client/proc/togglebuildmodeself()
|
||||||
|
set name = "Toggle Build Mode Self"
|
||||||
|
set category = "Special Verbs"
|
||||||
|
if(src.mob)
|
||||||
|
togglebuildmode(src.mob)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/client/proc/toggleadminhelpsound()
|
||||||
|
set name = "Toggle Adminhelp Sound"
|
||||||
|
set category = "Admin"
|
||||||
|
sound_adminhelp = !sound_adminhelp
|
||||||
|
if(sound_adminhelp)
|
||||||
|
usr << "You will now hear a sound when adminhelps arrive"
|
||||||
|
else
|
||||||
|
usr << "You will no longer hear a sound when adminhelps arrive"
|
||||||
|
|
||||||
|
/client/proc/object_talk(var/msg as text) // -- TLE
|
||||||
|
set category = "Special Verbs"
|
||||||
|
set name = "oSay"
|
||||||
|
set desc = "Display a message to everyone who can hear the target"
|
||||||
|
if(mob.control_object)
|
||||||
|
if(!msg)
|
||||||
|
return
|
||||||
|
for (var/mob/V in hearers(mob.control_object))
|
||||||
|
V.show_message("<b>[mob.control_object.name]</b> says: \"" + msg + "\"", 2)
|
||||||
|
|
||||||
|
/client/proc/kill_air() // -- TLE
|
||||||
|
set category = "Debug"
|
||||||
|
set name = "Kill Air"
|
||||||
|
set desc = "Toggle Air Processing"
|
||||||
|
if(kill_air)
|
||||||
|
kill_air = 0
|
||||||
|
usr << "<b>Enabled air processing.</b>"
|
||||||
|
else
|
||||||
|
kill_air = 1
|
||||||
|
usr << "<b>Disabled air processing.</b>"
|
||||||
|
|
||||||
|
/client/proc/show_verbs()
|
||||||
|
set name = "Toggle admin verb visibility"
|
||||||
|
set category = "Admin"
|
||||||
|
src << "Restoring admin verbs back"
|
||||||
|
|
||||||
|
var/temp = deadchat
|
||||||
|
clear_admin_verbs()
|
||||||
|
update_admins(holder.rank)
|
||||||
|
deadchat = temp
|
||||||
|
|
||||||
|
/client/proc/toggle_clickproc() //TODO ERRORAGE (This is a temporary verb here while I test the new clicking proc)
|
||||||
|
set name = "Toggle NewClickProc"
|
||||||
|
set category = "Admin"
|
||||||
|
|
||||||
|
if(!holder) return
|
||||||
|
using_new_click_proc = !using_new_click_proc
|
||||||
|
world << "Testing of new click proc [using_new_click_proc ? "enabled" : "disabled"]"
|
||||||
|
|
||||||
|
/client/proc/toggle_hear_deadcast()
|
||||||
|
set name = "Toggle Hear Deadcast"
|
||||||
|
set category = "Admin"
|
||||||
|
|
||||||
|
if(!holder) return
|
||||||
|
STFU_ghosts = !STFU_ghosts
|
||||||
|
usr << "You will now [STFU_ghosts ? "not hear" : "hear"] ghosts"
|
||||||
|
|
||||||
|
/client/proc/toggle_hear_radio()
|
||||||
|
set name = "Toggle Hear Radio"
|
||||||
|
set category = "Admin"
|
||||||
|
|
||||||
|
if(!holder) return
|
||||||
|
STFU_radio = !STFU_radio
|
||||||
|
usr << "You will now [STFU_radio ? "not hear" : "hear"] radio chatter from nearby radios or speakers"
|
||||||
|
|
||||||
|
/client/proc/deadmin_self()
|
||||||
|
set name = "De-admin self"
|
||||||
|
set category = "Admin"
|
||||||
|
|
||||||
|
if(src.holder)
|
||||||
|
if(alert("Confirm self-deadmin for the round? You can't re-admin yourself without someont promoting you.",,"Yes","No") == "Yes")
|
||||||
|
del(holder)
|
||||||
|
log_admin("[src] deadmined themself.")
|
||||||
|
message_admins("[src] deadmined themself.", 1)
|
||||||
|
src.clear_admin_verbs()
|
||||||
|
src.update_admins(null)
|
||||||
|
admins.Remove(src.ckey)
|
||||||
|
usr << "You are now a normal player."
|
||||||
|
|
||||||
|
/client/proc/startSinglo()
|
||||||
|
set name = "Singlo Starter"
|
||||||
|
set category = "Debug"
|
||||||
|
set desc = "Starts a self-sustaining, stable singlo. This artifical singlo does not have a gravitational pull."
|
||||||
|
|
||||||
|
for(var/obj/machinery/emitter/E in world)
|
||||||
|
if(E.anchored)
|
||||||
|
E.active = 1
|
||||||
|
|
||||||
|
for(var/obj/machinery/field_generator/F in world)
|
||||||
|
if(F.anchored)
|
||||||
|
F.Varedit_start = 1
|
||||||
|
spawn(30)
|
||||||
|
for(var/obj/machinery/the_singularitygen/G in world)
|
||||||
|
if(G.anchored)
|
||||||
|
var/obj/machinery/singularity/S = new /obj/machinery/singularity(get_turf(G), 50)
|
||||||
|
spawn(0)
|
||||||
|
del(G)
|
||||||
|
S.energy = 1750
|
||||||
|
S.current_size = 7
|
||||||
|
S.icon = '224x224.dmi'
|
||||||
|
S.icon_state = "singularity_s7"
|
||||||
|
S.pixel_x = -96
|
||||||
|
S.pixel_y = -96
|
||||||
|
S.grav_pull = 0
|
||||||
|
//S.consume_range = 3
|
||||||
|
S.dissipate = 0
|
||||||
|
//S.dissipate_delay = 10
|
||||||
|
//S.dissipate_track = 0
|
||||||
|
//S.dissipate_strength = 10
|
||||||
|
|
||||||
|
for(var/obj/machinery/power/rad_collector/Rad in world)
|
||||||
|
if(Rad.anchored)
|
||||||
|
if(!Rad.P)
|
||||||
|
var/obj/item/weapon/tank/plasma/Plasma = new/obj/item/weapon/tank/plasma(Rad)
|
||||||
|
Plasma.air_contents.toxins = 70
|
||||||
|
Rad.drainratio = 0
|
||||||
|
Rad.P = Plasma
|
||||||
|
Plasma.loc = Rad
|
||||||
|
|
||||||
|
if(!Rad.active)
|
||||||
|
Rad.toggle_power()
|
||||||
|
|
||||||
|
for(var/obj/machinery/power/smes/SMES in world)
|
||||||
|
if(SMES.anchored)
|
||||||
|
SMES.chargemode = 1
|
||||||
|
|
||||||
|
/client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs
|
||||||
|
set name = "Toggle most admin verb visibility"
|
||||||
|
set category = "Admin"
|
||||||
|
src << "Hiding most admin verbs"
|
||||||
|
|
||||||
|
var/temp = deadchat
|
||||||
|
clear_admin_verbs()
|
||||||
|
deadchat = temp
|
||||||
|
verbs -= /client/proc/hide_verbs
|
||||||
|
verbs -= /client/proc/hide_most_verbs
|
||||||
|
verbs += /client/proc/show_verbs
|
||||||
|
|
||||||
|
if(holder.level >= 5)//Senior Game Admin********************************************************************
|
||||||
|
verbs += /client/proc/colorooc
|
||||||
|
|
||||||
|
if(holder.level >= 3)//Secondary Game admin********************************************************************
|
||||||
|
verbs += /client/proc/debug_variables
|
||||||
|
//verbs += /client/proc/cmd_modify_object_variables --merged with view vairiables
|
||||||
|
verbs += /client/proc/Jump
|
||||||
|
verbs += /client/proc/jumptoturf
|
||||||
|
// verbs += /client/proc/togglebuildmodeself
|
||||||
|
|
||||||
|
verbs += /client/proc/dsay
|
||||||
|
verbs += /client/proc/admin_play
|
||||||
|
verbs += /client/proc/admin_observe
|
||||||
|
verbs += /client/proc/game_panel
|
||||||
|
verbs += /client/proc/player_panel
|
||||||
|
verbs += /client/proc/cmd_admin_subtle_message
|
||||||
|
verbs += /client/proc/cmd_admin_pm_context
|
||||||
|
verbs += /client/proc/cmd_admin_pm_panel
|
||||||
|
verbs += /client/proc/cmd_admin_gib_self
|
||||||
|
|
||||||
|
verbs += /client/proc/deadchat //toggles deadchat
|
||||||
|
verbs += /obj/admins/proc/toggleooc //toggle ooc
|
||||||
|
verbs += /client/proc/cmd_admin_say//asay
|
||||||
|
verbs += /client/proc/toggleadminhelpsound
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/hide_verbs()
|
||||||
|
set name = "Toggle admin verb visibility"
|
||||||
|
set category = "Admin"
|
||||||
|
src << "Hiding almost all admin verbs"
|
||||||
|
|
||||||
|
var/temp = deadchat
|
||||||
|
clear_admin_verbs()
|
||||||
|
deadchat = temp
|
||||||
|
verbs -= /client/proc/hide_verbs
|
||||||
|
verbs -= /client/proc/hide_most_verbs
|
||||||
|
verbs += /client/proc/show_verbs
|
||||||
|
|
||||||
|
verbs += /client/proc/deadchat //toggles deadchat
|
||||||
|
verbs += /obj/admins/proc/toggleooc //toggle ooc
|
||||||
|
verbs += /client/proc/cmd_admin_say//asay
|
||||||
|
return
|
||||||
502
code/modules/admin/new/verbs/modifyvariables.dm
Normal file
502
code/modules/admin/new/verbs/modifyvariables.dm
Normal file
@@ -0,0 +1,502 @@
|
|||||||
|
var/list/forbidden_varedit_object_types = list(
|
||||||
|
/obj/admins, //Admins editing their own admin-power object? Yup, sounds like a good idea.
|
||||||
|
/obj/machinery/blackbox_recorder, //Prevents people messing with feedback gathering
|
||||||
|
/datum/feedback_variable //Prevents people messing with feedback gathering
|
||||||
|
)
|
||||||
|
|
||||||
|
/client/proc/cmd_modify_object_variables(obj/O as obj|mob|turf|area in world)
|
||||||
|
set category = "Debug"
|
||||||
|
set name = "Edit Variables"
|
||||||
|
set desc="(target) Edit a target item's variables"
|
||||||
|
src.modify_variables(O)
|
||||||
|
|
||||||
|
/client/proc/cmd_modify_ticker_variables()
|
||||||
|
set category = "Debug"
|
||||||
|
set name = "Edit Ticker Variables"
|
||||||
|
|
||||||
|
if (ticker == null)
|
||||||
|
src << "Game hasn't started yet."
|
||||||
|
else
|
||||||
|
src.modify_variables(ticker)
|
||||||
|
|
||||||
|
/client/proc/mod_list_add_ass() //haha
|
||||||
|
|
||||||
|
var/class = "text"
|
||||||
|
if(src.holder && src.holder.marked_datum)
|
||||||
|
class = input("What kind of variable?","Variable Type") as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default","marked datum ([holder.marked_datum.type])")
|
||||||
|
else
|
||||||
|
class = input("What kind of variable?","Variable Type") as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default")
|
||||||
|
|
||||||
|
if(!class)
|
||||||
|
return
|
||||||
|
|
||||||
|
if(holder.marked_datum && class == "marked datum ([holder.marked_datum.type])")
|
||||||
|
class = "marked datum"
|
||||||
|
|
||||||
|
var/var_value = null
|
||||||
|
|
||||||
|
switch(class)
|
||||||
|
|
||||||
|
if("text")
|
||||||
|
var_value = input("Enter new text:","Text") as null|text
|
||||||
|
|
||||||
|
if("num")
|
||||||
|
var_value = input("Enter new number:","Num") as null|num
|
||||||
|
|
||||||
|
if("type")
|
||||||
|
var_value = input("Enter type:","Type") as null|anything in typesof(/obj,/mob,/area,/turf)
|
||||||
|
|
||||||
|
if("reference")
|
||||||
|
var_value = input("Select reference:","Reference") as null|mob|obj|turf|area in world
|
||||||
|
|
||||||
|
if("mob reference")
|
||||||
|
var_value = input("Select reference:","Reference") as null|mob in world
|
||||||
|
|
||||||
|
if("file")
|
||||||
|
var_value = input("Pick file:","File") as null|file
|
||||||
|
|
||||||
|
if("icon")
|
||||||
|
var_value = input("Pick icon:","Icon") as null|icon
|
||||||
|
|
||||||
|
if("marked datum")
|
||||||
|
var_value = holder.marked_datum
|
||||||
|
|
||||||
|
if(!var_value) return
|
||||||
|
|
||||||
|
return var_value
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/mod_list_add(var/list/L)
|
||||||
|
|
||||||
|
var/class = "text"
|
||||||
|
if(src.holder && src.holder.marked_datum)
|
||||||
|
class = input("What kind of variable?","Variable Type") as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default","marked datum ([holder.marked_datum.type])")
|
||||||
|
else
|
||||||
|
class = input("What kind of variable?","Variable Type") as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default")
|
||||||
|
|
||||||
|
if(!class)
|
||||||
|
return
|
||||||
|
|
||||||
|
if(holder.marked_datum && class == "marked datum ([holder.marked_datum.type])")
|
||||||
|
class = "marked datum"
|
||||||
|
|
||||||
|
var/var_value = null
|
||||||
|
|
||||||
|
switch(class)
|
||||||
|
|
||||||
|
if("text")
|
||||||
|
var_value = input("Enter new text:","Text") as text
|
||||||
|
|
||||||
|
if("num")
|
||||||
|
var_value = input("Enter new number:","Num") as num
|
||||||
|
|
||||||
|
if("type")
|
||||||
|
var_value = input("Enter type:","Type") in typesof(/obj,/mob,/area,/turf)
|
||||||
|
|
||||||
|
if("reference")
|
||||||
|
var_value = input("Select reference:","Reference") as mob|obj|turf|area in world
|
||||||
|
|
||||||
|
if("mob reference")
|
||||||
|
var_value = input("Select reference:","Reference") as mob in world
|
||||||
|
|
||||||
|
if("file")
|
||||||
|
var_value = input("Pick file:","File") as file
|
||||||
|
|
||||||
|
if("icon")
|
||||||
|
var_value = input("Pick icon:","Icon") as icon
|
||||||
|
|
||||||
|
if("marked datum")
|
||||||
|
var_value = holder.marked_datum
|
||||||
|
|
||||||
|
if(!var_value) return
|
||||||
|
|
||||||
|
switch(alert("Would you like to associate a var with the list entry?",,"Yes","No"))
|
||||||
|
if("Yes")
|
||||||
|
L += var_value
|
||||||
|
L[var_value] = mod_list_add_ass() //haha
|
||||||
|
if("No")
|
||||||
|
L += var_value
|
||||||
|
|
||||||
|
/client/proc/mod_list(var/list/L)
|
||||||
|
if(!istype(L,/list)) src << "Not a List."
|
||||||
|
|
||||||
|
var/list/locked = list("vars", "key", "ckey", "client", "firemut", "ishulk", "telekinesis", "xray", "virus", "viruses", "cuffed", "ka", "last_eaten", "urine", "poo", "icon", "icon_state")
|
||||||
|
|
||||||
|
var/list/names = sortList(L)
|
||||||
|
|
||||||
|
var/variable = input("Which var?","Var") as null|anything in names + "(ADD VAR)"
|
||||||
|
|
||||||
|
if(variable == "(ADD VAR)")
|
||||||
|
mod_list_add(L)
|
||||||
|
return
|
||||||
|
|
||||||
|
if(!variable)
|
||||||
|
return
|
||||||
|
|
||||||
|
var/default
|
||||||
|
|
||||||
|
var/dir
|
||||||
|
|
||||||
|
if (locked.Find(variable) && !(src.holder.rank in list("Secondary Game Admin", "Game Admin", "Senior Game Admin", "Game Master")))
|
||||||
|
return
|
||||||
|
|
||||||
|
if(isnull(variable))
|
||||||
|
usr << "Unable to determine variable type."
|
||||||
|
|
||||||
|
else if(isnum(variable))
|
||||||
|
usr << "Variable appears to be <b>NUM</b>."
|
||||||
|
default = "num"
|
||||||
|
dir = 1
|
||||||
|
|
||||||
|
else if(istext(variable))
|
||||||
|
usr << "Variable appears to be <b>TEXT</b>."
|
||||||
|
default = "text"
|
||||||
|
|
||||||
|
else if(isloc(variable))
|
||||||
|
usr << "Variable appears to be <b>REFERENCE</b>."
|
||||||
|
default = "reference"
|
||||||
|
|
||||||
|
else if(isicon(variable))
|
||||||
|
usr << "Variable appears to be <b>ICON</b>."
|
||||||
|
variable = "\icon[variable]"
|
||||||
|
default = "icon"
|
||||||
|
|
||||||
|
else if(istype(variable,/atom) || istype(variable,/datum))
|
||||||
|
usr << "Variable appears to be <b>TYPE</b>."
|
||||||
|
default = "type"
|
||||||
|
|
||||||
|
else if(istype(variable,/list))
|
||||||
|
usr << "Variable appears to be <b>LIST</b>."
|
||||||
|
default = "list"
|
||||||
|
|
||||||
|
else if(istype(variable,/client))
|
||||||
|
usr << "Variable appears to be <b>CLIENT</b>."
|
||||||
|
default = "cancel"
|
||||||
|
|
||||||
|
else
|
||||||
|
usr << "Variable appears to be <b>FILE</b>."
|
||||||
|
default = "file"
|
||||||
|
|
||||||
|
usr << "Variable contains: [variable]"
|
||||||
|
if(dir)
|
||||||
|
switch(variable)
|
||||||
|
if(1)
|
||||||
|
dir = "NORTH"
|
||||||
|
if(2)
|
||||||
|
dir = "SOUTH"
|
||||||
|
if(4)
|
||||||
|
dir = "EAST"
|
||||||
|
if(8)
|
||||||
|
dir = "WEST"
|
||||||
|
if(5)
|
||||||
|
dir = "NORTHEAST"
|
||||||
|
if(6)
|
||||||
|
dir = "SOUTHEAST"
|
||||||
|
if(9)
|
||||||
|
dir = "NORTHWEST"
|
||||||
|
if(10)
|
||||||
|
dir = "SOUTHWEST"
|
||||||
|
else
|
||||||
|
dir = null
|
||||||
|
|
||||||
|
if(dir)
|
||||||
|
usr << "If a direction, direction is: [dir]"
|
||||||
|
|
||||||
|
var/class = "text"
|
||||||
|
if(src.holder && src.holder.marked_datum)
|
||||||
|
class = input("What kind of variable?","Variable Type",default) as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default","marked datum ([holder.marked_datum.type])")
|
||||||
|
else
|
||||||
|
class = input("What kind of variable?","Variable Type",default) as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default")
|
||||||
|
|
||||||
|
if(!class)
|
||||||
|
return
|
||||||
|
|
||||||
|
if(holder.marked_datum && class == "marked datum ([holder.marked_datum.type])")
|
||||||
|
class = "marked datum"
|
||||||
|
|
||||||
|
switch(class)
|
||||||
|
|
||||||
|
if("list")
|
||||||
|
mod_list(variable)
|
||||||
|
|
||||||
|
if("restore to default")
|
||||||
|
variable = initial(variable)
|
||||||
|
|
||||||
|
if("edit referenced object")
|
||||||
|
modify_variables(variable)
|
||||||
|
|
||||||
|
if("(DELETE FROM LIST)")
|
||||||
|
L -= variable
|
||||||
|
return
|
||||||
|
|
||||||
|
if("text")
|
||||||
|
variable = input("Enter new text:","Text",\
|
||||||
|
variable) as text
|
||||||
|
|
||||||
|
if("num")
|
||||||
|
variable = input("Enter new number:","Num",\
|
||||||
|
variable) as num
|
||||||
|
|
||||||
|
if("type")
|
||||||
|
variable = input("Enter type:","Type",variable) \
|
||||||
|
in typesof(/obj,/mob,/area,/turf)
|
||||||
|
|
||||||
|
if("reference")
|
||||||
|
variable = input("Select reference:","Reference",\
|
||||||
|
variable) as mob|obj|turf|area in world
|
||||||
|
|
||||||
|
if("mob reference")
|
||||||
|
variable = input("Select reference:","Reference",\
|
||||||
|
variable) as mob in world
|
||||||
|
|
||||||
|
if("file")
|
||||||
|
variable = input("Pick file:","File",variable) \
|
||||||
|
as file
|
||||||
|
|
||||||
|
if("icon")
|
||||||
|
variable = input("Pick icon:","Icon",variable) \
|
||||||
|
as icon
|
||||||
|
|
||||||
|
if("marked datum")
|
||||||
|
variable = holder.marked_datum
|
||||||
|
|
||||||
|
/client/proc/modify_variables(var/atom/O, var/param_var_name = null, var/autodetect_class = 0)
|
||||||
|
var/list/locked = list("vars", "key", "ckey", "client", "firemut", "ishulk", "telekinesis", "xray", "virus", "cuffed", "ka", "last_eaten", "urine", "poo", "icon", "icon_state")
|
||||||
|
|
||||||
|
if(!src.authenticated || !src.holder)
|
||||||
|
src << "Only administrators may use this command."
|
||||||
|
return
|
||||||
|
|
||||||
|
for(var/p in forbidden_varedit_object_types)
|
||||||
|
if( istype(O,p) )
|
||||||
|
usr << "\red It is forbidden to edit this object's variables."
|
||||||
|
return
|
||||||
|
|
||||||
|
var/class
|
||||||
|
var/variable
|
||||||
|
var/var_value
|
||||||
|
|
||||||
|
if(param_var_name)
|
||||||
|
if(!param_var_name in O.vars)
|
||||||
|
src << "A variable with this name ([param_var_name]) doesn't exist in this atom ([O])"
|
||||||
|
return
|
||||||
|
|
||||||
|
if (param_var_name == "holder" && holder.rank != "Game Master")
|
||||||
|
src << "No. Stop being stupid."
|
||||||
|
return
|
||||||
|
|
||||||
|
if (locked.Find(param_var_name) && !(src.holder.rank in list("Secondary Game Admin", "Game Admin", "Senior Game Admin", "Game Master")))
|
||||||
|
src << "Editing this variable requires you to be a game master or game admin."
|
||||||
|
return
|
||||||
|
|
||||||
|
variable = param_var_name
|
||||||
|
|
||||||
|
var_value = O.vars[variable]
|
||||||
|
|
||||||
|
if(autodetect_class)
|
||||||
|
if(isnull(var_value))
|
||||||
|
usr << "Unable to determine variable type."
|
||||||
|
class = null
|
||||||
|
autodetect_class = null
|
||||||
|
else if(isnum(var_value))
|
||||||
|
usr << "Variable appears to be <b>NUM</b>."
|
||||||
|
class = "num"
|
||||||
|
dir = 1
|
||||||
|
|
||||||
|
else if(istext(var_value))
|
||||||
|
usr << "Variable appears to be <b>TEXT</b>."
|
||||||
|
class = "text"
|
||||||
|
|
||||||
|
else if(isloc(var_value))
|
||||||
|
usr << "Variable appears to be <b>REFERENCE</b>."
|
||||||
|
class = "reference"
|
||||||
|
|
||||||
|
else if(isicon(var_value))
|
||||||
|
usr << "Variable appears to be <b>ICON</b>."
|
||||||
|
var_value = "\icon[var_value]"
|
||||||
|
class = "icon"
|
||||||
|
|
||||||
|
else if(istype(var_value,/atom) || istype(var_value,/datum))
|
||||||
|
usr << "Variable appears to be <b>TYPE</b>."
|
||||||
|
class = "type"
|
||||||
|
|
||||||
|
else if(istype(var_value,/list))
|
||||||
|
usr << "Variable appears to be <b>LIST</b>."
|
||||||
|
class = "list"
|
||||||
|
|
||||||
|
else if(istype(var_value,/client))
|
||||||
|
usr << "Variable appears to be <b>CLIENT</b>."
|
||||||
|
class = "cancel"
|
||||||
|
|
||||||
|
else
|
||||||
|
usr << "Variable appears to be <b>FILE</b>."
|
||||||
|
class = "file"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
var/list/names = list()
|
||||||
|
for (var/V in O.vars)
|
||||||
|
names += V
|
||||||
|
|
||||||
|
names = sortList(names)
|
||||||
|
|
||||||
|
variable = input("Which var?","Var") as null|anything in names
|
||||||
|
if(!variable)
|
||||||
|
return
|
||||||
|
var_value = O.vars[variable]
|
||||||
|
|
||||||
|
if (locked.Find(variable) && !(src.holder.rank in list("Secondary Game Admin", "Game Admin", "Senior Game Admin", "Game Master")))
|
||||||
|
return
|
||||||
|
|
||||||
|
if (variable == "holder" && holder.rank != "Game Master") //Hotfix, a bit ugly but that exploit has been there for ages and now somebody just had to go and tell everyone of it bluh bluh - U
|
||||||
|
return
|
||||||
|
|
||||||
|
if(!autodetect_class)
|
||||||
|
|
||||||
|
var/dir
|
||||||
|
var/default
|
||||||
|
if(isnull(var_value))
|
||||||
|
usr << "Unable to determine variable type."
|
||||||
|
|
||||||
|
else if(isnum(var_value))
|
||||||
|
usr << "Variable appears to be <b>NUM</b>."
|
||||||
|
default = "num"
|
||||||
|
dir = 1
|
||||||
|
|
||||||
|
else if(istext(var_value))
|
||||||
|
usr << "Variable appears to be <b>TEXT</b>."
|
||||||
|
default = "text"
|
||||||
|
|
||||||
|
else if(isloc(var_value))
|
||||||
|
usr << "Variable appears to be <b>REFERENCE</b>."
|
||||||
|
default = "reference"
|
||||||
|
|
||||||
|
else if(isicon(var_value))
|
||||||
|
usr << "Variable appears to be <b>ICON</b>."
|
||||||
|
var_value = "\icon[var_value]"
|
||||||
|
default = "icon"
|
||||||
|
|
||||||
|
else if(istype(var_value,/atom) || istype(var_value,/datum))
|
||||||
|
usr << "Variable appears to be <b>TYPE</b>."
|
||||||
|
default = "type"
|
||||||
|
|
||||||
|
else if(istype(var_value,/list))
|
||||||
|
usr << "Variable appears to be <b>LIST</b>."
|
||||||
|
default = "list"
|
||||||
|
|
||||||
|
else if(istype(var_value,/client))
|
||||||
|
usr << "Variable appears to be <b>CLIENT</b>."
|
||||||
|
default = "cancel"
|
||||||
|
|
||||||
|
else
|
||||||
|
usr << "Variable appears to be <b>FILE</b>."
|
||||||
|
default = "file"
|
||||||
|
|
||||||
|
usr << "Variable contains: [var_value]"
|
||||||
|
if(dir)
|
||||||
|
switch(var_value)
|
||||||
|
if(1)
|
||||||
|
dir = "NORTH"
|
||||||
|
if(2)
|
||||||
|
dir = "SOUTH"
|
||||||
|
if(4)
|
||||||
|
dir = "EAST"
|
||||||
|
if(8)
|
||||||
|
dir = "WEST"
|
||||||
|
if(5)
|
||||||
|
dir = "NORTHEAST"
|
||||||
|
if(6)
|
||||||
|
dir = "SOUTHEAST"
|
||||||
|
if(9)
|
||||||
|
dir = "NORTHWEST"
|
||||||
|
if(10)
|
||||||
|
dir = "SOUTHWEST"
|
||||||
|
else
|
||||||
|
dir = null
|
||||||
|
if(dir)
|
||||||
|
usr << "If a direction, direction is: [dir]"
|
||||||
|
|
||||||
|
if(src.holder && src.holder.marked_datum)
|
||||||
|
class = input("What kind of variable?","Variable Type",default) as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default","marked datum ([holder.marked_datum.type])")
|
||||||
|
else
|
||||||
|
class = input("What kind of variable?","Variable Type",default) as null|anything in list("text",
|
||||||
|
"num","type","reference","mob reference", "icon","file","list","edit referenced object","restore to default")
|
||||||
|
|
||||||
|
if(!class)
|
||||||
|
return
|
||||||
|
|
||||||
|
var/original_name
|
||||||
|
|
||||||
|
if (!istype(O, /atom))
|
||||||
|
original_name = "\ref[O] ([O])"
|
||||||
|
else
|
||||||
|
original_name = O:name
|
||||||
|
|
||||||
|
if(holder.marked_datum && class == "marked datum ([holder.marked_datum.type])")
|
||||||
|
class = "marked datum"
|
||||||
|
|
||||||
|
switch(class)
|
||||||
|
|
||||||
|
if("list")
|
||||||
|
mod_list(O.vars[variable])
|
||||||
|
return
|
||||||
|
|
||||||
|
if("restore to default")
|
||||||
|
O.vars[variable] = initial(O.vars[variable])
|
||||||
|
|
||||||
|
if("edit referenced object")
|
||||||
|
return .(O.vars[variable])
|
||||||
|
|
||||||
|
if("text")
|
||||||
|
var/var_new = input("Enter new text:","Text",O.vars[variable]) as null|text
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("num")
|
||||||
|
if(variable=="luminosity")
|
||||||
|
var/var_new = input("Enter new number:","Num",O.vars[variable]) as null|num
|
||||||
|
if(var_new == null) return
|
||||||
|
O.sd_SetLuminosity(var_new)
|
||||||
|
else
|
||||||
|
var/var_new = input("Enter new number:","Num",O.vars[variable]) as null|num
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("type")
|
||||||
|
var/var_new = input("Enter type:","Type",O.vars[variable]) as null|anything in typesof(/obj,/mob,/area,/turf)
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("reference")
|
||||||
|
var/var_new = input("Select reference:","Reference",O.vars[variable]) as null|mob|obj|turf|area in world
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("mob reference")
|
||||||
|
var/var_new = input("Select reference:","Reference",O.vars[variable]) as null|mob in world
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("file")
|
||||||
|
var/var_new = input("Pick file:","File",O.vars[variable]) as null|file
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("icon")
|
||||||
|
var/var_new = input("Pick icon:","Icon",O.vars[variable]) as null|icon
|
||||||
|
if(var_new==null) return
|
||||||
|
O.vars[variable] = var_new
|
||||||
|
|
||||||
|
if("marked datum")
|
||||||
|
O.vars[variable] = holder.marked_datum
|
||||||
|
|
||||||
|
log_admin("[key_name(src)] modified [original_name]'s [variable] to [O.vars[variable]]")
|
||||||
|
message_admins("[key_name_admin(src)] modified [original_name]'s [variable] to [O.vars[variable]]", 1)
|
||||||
|
|
||||||
98
code/modules/admin/new/verbs/playsound.dm
Normal file
98
code/modules/admin/new/verbs/playsound.dm
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
/client/proc/play_sound(S as sound)
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Play Global Sound"
|
||||||
|
|
||||||
|
//if(Debug2)
|
||||||
|
if(!src.authenticated || !src.holder)
|
||||||
|
src << "Only administrators may use this command."
|
||||||
|
return
|
||||||
|
|
||||||
|
var/sound/uploaded_sound = sound(S,0,1,0)
|
||||||
|
uploaded_sound.channel = 777
|
||||||
|
uploaded_sound.priority = 255
|
||||||
|
uploaded_sound.wait = 1
|
||||||
|
|
||||||
|
if(src.holder.rank == "Game Master" || src.holder.rank == "Senior Game Admin" || src.holder.rank == "Game Admin" || src.holder.rank == "Secondary Game Admin")
|
||||||
|
log_admin("[key_name(src)] played sound [S]")
|
||||||
|
message_admins("[key_name_admin(src)] played sound [S]", 1)
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client)
|
||||||
|
if(M.client.midis)
|
||||||
|
M << uploaded_sound
|
||||||
|
else
|
||||||
|
if(usr.client.canplaysound)
|
||||||
|
usr.client.canplaysound = 0
|
||||||
|
log_admin("[key_name(src)] played sound [S]")
|
||||||
|
message_admins("[key_name_admin(src)] played sound [S]", 1)
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client)
|
||||||
|
if(M.client.midis)
|
||||||
|
M << uploaded_sound
|
||||||
|
else
|
||||||
|
usr << "You already used up your jukebox monies this round!"
|
||||||
|
del(uploaded_sound)
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/play_local_sound(S as sound)
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Play Local Sound"
|
||||||
|
|
||||||
|
if(!src.authenticated || !src.holder)
|
||||||
|
src << "Only administrators may use this command."
|
||||||
|
return
|
||||||
|
|
||||||
|
if(src.holder.rank == "Game Master" || src.holder.rank == "Senior Game Admin" || src.holder.rank == "Game Admin" || src.holder.rank == "Secondary Game Admin")
|
||||||
|
log_admin("[key_name(src)] played a local sound [S]")
|
||||||
|
message_admins("[key_name_admin(src)] played a local sound [S]", 1)
|
||||||
|
playsound(get_turf_loc(src.mob), S, 50, 0, 0)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
/client/proc/cuban_pete()
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Cuban Pete Time"
|
||||||
|
|
||||||
|
message_admins("[key_name_admin(usr)] has declared Cuban Pete Time!", 1)
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client)
|
||||||
|
if(M.client.midis)
|
||||||
|
M << 'cubanpetetime.ogg'
|
||||||
|
|
||||||
|
for(var/mob/living/carbon/human/CP in world)
|
||||||
|
if(CP.real_name=="Cuban Pete" && CP.key!="Rosham")
|
||||||
|
CP << "Your body can't contain the rhumba beat"
|
||||||
|
CP.gib(1)
|
||||||
|
|
||||||
|
|
||||||
|
/client/proc/bananaphone()
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Banana Phone"
|
||||||
|
|
||||||
|
message_admins("[key_name_admin(usr)] has activated Banana Phone!", 1)
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client)
|
||||||
|
if(M.client.midis)
|
||||||
|
M << 'bananaphone.ogg'
|
||||||
|
|
||||||
|
|
||||||
|
client/proc/space_asshole()
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Space Asshole"
|
||||||
|
|
||||||
|
message_admins("[key_name_admin(usr)] has played the Space Asshole Hymn.", 1)
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client)
|
||||||
|
if(M.client.midis)
|
||||||
|
M << 'space_asshole.ogg'
|
||||||
|
|
||||||
|
|
||||||
|
client/proc/honk_theme()
|
||||||
|
set category = "Fun"
|
||||||
|
set name = "Honk"
|
||||||
|
|
||||||
|
message_admins("[key_name_admin(usr)] has creeped everyone out with Blackest Honks.", 1)
|
||||||
|
for(var/mob/M in world)
|
||||||
|
if(M.client)
|
||||||
|
if(M.client.midis)
|
||||||
|
M << 'honk_theme.ogg'*/
|
||||||
@@ -80,6 +80,8 @@
|
|||||||
#define FILE_DIR "code/js"
|
#define FILE_DIR "code/js"
|
||||||
#define FILE_DIR "code/modules"
|
#define FILE_DIR "code/modules"
|
||||||
#define FILE_DIR "code/modules/admin"
|
#define FILE_DIR "code/modules/admin"
|
||||||
|
#define FILE_DIR "code/modules/admin/new"
|
||||||
|
#define FILE_DIR "code/modules/admin/new/verbs"
|
||||||
#define FILE_DIR "code/modules/admin/verbs"
|
#define FILE_DIR "code/modules/admin/verbs"
|
||||||
#define FILE_DIR "code/modules/assembly"
|
#define FILE_DIR "code/modules/assembly"
|
||||||
#define FILE_DIR "code/modules/chemical"
|
#define FILE_DIR "code/modules/chemical"
|
||||||
@@ -174,7 +176,6 @@
|
|||||||
#define FILE_DIR "icons/vending_icons"
|
#define FILE_DIR "icons/vending_icons"
|
||||||
#define FILE_DIR "interface"
|
#define FILE_DIR "interface"
|
||||||
#define FILE_DIR "maps"
|
#define FILE_DIR "maps"
|
||||||
#define FILE_DIR "maps/backup"
|
|
||||||
#define FILE_DIR "sound"
|
#define FILE_DIR "sound"
|
||||||
#define FILE_DIR "sound/AI"
|
#define FILE_DIR "sound/AI"
|
||||||
#define FILE_DIR "sound/ambience"
|
#define FILE_DIR "sound/ambience"
|
||||||
|
|||||||
Reference in New Issue
Block a user