mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 07:46:20 +00:00
This is part of my ongoing project to remove the Stat panel which you can read/contribute to here: https://hackmd.io/443_dE5lRWeEAp9bjGcKYw Replaces the pAI button at the bottom of Ghost's HUD with a new button for Ghost settings Default look  With fun verbs (admin only, the 2 buttons at the top right), No body, and lag switches on (disables T-Ray and Zooming)  The ghost icon next to "re-enter body" is the DNR button, which requires double click. Extra view is now easier to understand, 0 is "default", anything more is extra vision you get. Goes to 3 for regular users, 7 for BYOND members. Removes the "Ghost" tab from the stat panel entirely, this replaces it. The Ghost tab of the stat panel is filled with barely functional stuff, like "Jump to Mob" which allows you to jump to "oranges ear" which teleports you to nullspace, or the 4 different jump to verbs for different things which is irrelevant from the Orbit menu and the many improvements it got over the years, and even the Notifications panel, which seems pretty useful, but because it's delegated to a small button filled with the rest of these it gets entirely drowned out. This puts all the important things in front of the user at the click of a button, meant to be easy to navigate and giving important information first. 🆑 add: Added a 'Ghost settings' button, taking the spot of the pAI candidate button and replacing the "Ghost" tab of the Stat panel. This button contains buttons pertinent to your time as an Observer. /🆑
76 lines
3.0 KiB
Plaintext
76 lines
3.0 KiB
Plaintext
//Ghost orbit types:
|
|
/// Ghosts will orbit objects in a circle
|
|
#define GHOST_ORBIT_CIRCLE "circle"
|
|
/// Ghosts will orbit objects in a triangle
|
|
#define GHOST_ORBIT_TRIANGLE "triangle"
|
|
/// Ghosts will orbit objects in a hexagon
|
|
#define GHOST_ORBIT_HEXAGON "hexagon"
|
|
/// Ghosts will orbit objects in a square
|
|
#define GHOST_ORBIT_SQUARE "square"
|
|
/// Ghosts will orbit objects in a pentagon
|
|
#define GHOST_ORBIT_PENTAGON "pentagon"
|
|
|
|
//Ghost showing preferences:
|
|
/// The main player's ghost will display as a simple white ghost
|
|
#define GHOST_ACCS_NONE "Default sprites"
|
|
/// The main player's ghost will display as a transparent mob
|
|
#define GHOST_ACCS_DIR "Only directional sprites"
|
|
/// The main player's ghost will display as a transparent mob with clothing
|
|
#define GHOST_ACCS_FULL "Full accessories"
|
|
|
|
/// The default ghost display selection for the main player
|
|
#define GHOST_ACCS_DEFAULT_OPTION GHOST_ACCS_FULL
|
|
|
|
/// The other players ghosts will display as a simple white ghost
|
|
#define GHOST_OTHERS_SIMPLE "White ghosts"
|
|
/// The other players ghosts will display as transparent mobs
|
|
#define GHOST_OTHERS_DEFAULT_SPRITE "Default sprites"
|
|
/// The other players ghosts will display as transparent mobs with clothing
|
|
#define GHOST_OTHERS_THEIR_SETTING "Their sprites"
|
|
|
|
/// The default ghost display selection when viewing other players
|
|
#define GHOST_OTHERS_DEFAULT_OPTION GHOST_OTHERS_THEIR_SETTING
|
|
|
|
/// A ghosts min view range that we won't allow them to go under by.
|
|
#define GHOST_MIN_VIEW_RANGE 7
|
|
/// A ghosts max view range if they are a BYOND guest or regular account
|
|
#define GHOST_MAX_VIEW_RANGE_DEFAULT 10
|
|
/// A ghosts max view range if they are a BYOND paid member account (P2W feature)
|
|
#define GHOST_MAX_VIEW_RANGE_MEMBER 14
|
|
|
|
// DEADCHAT MESSAGE TYPES //
|
|
/// Deadchat notification for important round events (RED_ALERT, shuttle EVAC, communication announcements, etc.)
|
|
#define DEADCHAT_ANNOUNCEMENT "announcement"
|
|
/// Deadchat notification for new players who join the round at arrivals
|
|
#define DEADCHAT_ARRIVALRATTLE "arrivalrattle"
|
|
/// Deadchat notification for players who die during the round
|
|
#define DEADCHAT_DEATHRATTLE "deathrattle"
|
|
/// Deadchat notification for when there is an AI law change
|
|
#define DEADCHAT_LAWCHANGE "lawchange"
|
|
/// Deadchat notification for when players enter/leave the server (ignores stealth admins)
|
|
#define DEADCHAT_LOGIN_LOGOUT "loginlogout"
|
|
/// Deadchat regular ghost chat
|
|
#define DEADCHAT_REGULAR "regular-deadchat"
|
|
|
|
/// Pictures taken by a camera will not display ghosts
|
|
#define CAMERA_NO_GHOSTS 0
|
|
/// Pictures taken by a camera will display ghosts in the photo
|
|
#define CAMERA_SEE_GHOSTS_BASIC 1
|
|
/// Pictures taken by a camera will display ghosts and their orbits
|
|
#define CAMERA_SEE_GHOSTS_ORBIT 2 // this doesn't do anything right now as of Jan 2022
|
|
|
|
|
|
#define GHOST_DATA_HUDS (1<<0)
|
|
#define GHOST_VISION (1<<1)
|
|
#define GHOST_HEALTH (1<<2)
|
|
#define GHOST_CHEM (1<<3)
|
|
#define GHOST_GAS (1<<4)
|
|
|
|
#define ALL_GHOST_FLAGS list( \
|
|
GHOST_DATA_HUDS, \
|
|
GHOST_VISION, \
|
|
GHOST_HEALTH, \
|
|
GHOST_CHEM, \
|
|
GHOST_GAS, \
|
|
)
|