mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 05:21:27 +00:00
* Adds spaces around logical operators * Update code/modules/admin/verbs/admingame.dm Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
/*!
|
|
* Copyright (c) 2020 Aleksej Komarov
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#define MESSAGE_TYPE_SYSTEM "system"
|
|
#define MESSAGE_TYPE_LOCALCHAT "localchat"
|
|
#define MESSAGE_TYPE_RADIO "radio"
|
|
#define MESSAGE_TYPE_INFO "info"
|
|
#define MESSAGE_TYPE_WARNING "warning"
|
|
#define MESSAGE_TYPE_DEADCHAT "deadchat"
|
|
#define MESSAGE_TYPE_OOC "ooc"
|
|
#define MESSAGE_TYPE_ADMINPM "adminpm"
|
|
#define MESSAGE_TYPE_COMBAT "combat"
|
|
#define MESSAGE_TYPE_ADMINCHAT "adminchat"
|
|
#define MESSAGE_TYPE_PRAYER "prayer"
|
|
#define MESSAGE_TYPE_MODCHAT "modchat"
|
|
#define MESSAGE_TYPE_EVENTCHAT "eventchat"
|
|
#define MESSAGE_TYPE_ADMINLOG "adminlog"
|
|
#define MESSAGE_TYPE_ATTACKLOG "attacklog"
|
|
#define MESSAGE_TYPE_DEBUG "debug"
|
|
|
|
//debug printing macros (for development and testing)
|
|
/// Used for debug messages to the world
|
|
#define debug_world(msg) if (GLOB.Debug2) to_chat(world, \
|
|
type = MESSAGE_TYPE_DEBUG, \
|
|
text = "DEBUG: [msg]")
|
|
/// Used for debug messages to the player
|
|
#define debug_usr(msg) if (GLOB.Debug2 && usr) to_chat(usr, \
|
|
type = MESSAGE_TYPE_DEBUG, \
|
|
text = "DEBUG: [msg]")
|
|
/// Used for debug messages to the admins
|
|
#define debug_admins(msg) if (GLOB.Debug2) to_chat(GLOB.admins, \
|
|
type = MESSAGE_TYPE_DEBUG, \
|
|
text = "DEBUG: [msg]")
|
|
/// Used for debug messages to the server
|
|
#define debug_world_log(msg) if (GLOB.Debug2) log_world("DEBUG: [msg]")
|
|
/// Adds a generic box around whatever message you're sending in chat. Really makes things stand out.
|
|
#define examine_block(str) ("<div class='examine_block'>" + str + "</div>")
|