mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-09 17:44:20 +01:00
New Group System, Room Events, and Event System Efficiency Upgrade... and a couple bug fixes.
This commit is contained in:
parent
82da0e8063
commit
a2aaab144f
32 changed files with 612 additions and 322 deletions
|
|
@ -867,6 +867,11 @@ do \
|
|||
/** Defines if ch is outdoors or not. */
|
||||
#define OUTSIDE(ch) (!ROOM_FLAGGED(IN_ROOM(ch), ROOM_INDOORS))
|
||||
|
||||
/* Group related defines */
|
||||
#define GROUP(ch) (ch->group)
|
||||
#define GROUP_LEADER(group) (group->leader)
|
||||
#define GROUP_FLAGS(group) (group->group_flags)
|
||||
|
||||
/* Happy-hour defines */
|
||||
#define IS_HAPPYQP (happy_data.qp_rate > 0)
|
||||
#define IS_HAPPYEXP (happy_data.exp_rate > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue