mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-24 04:21:44 +01:00
Updated World and files for 3.56 release. --Rumble
This commit is contained in:
@@ -1501,9 +1501,6 @@ ACMD(do_gen_ps)
|
||||
break;
|
||||
case SCMD_VERSION:
|
||||
send_to_char(ch, "%s\r\n", tbamud_version);
|
||||
send_to_char(ch, "%s\r\n", oasisolc_version);
|
||||
send_to_char(ch, "%s\r\n", DG_SCRIPT_VERSION);
|
||||
send_to_char(ch, "%s\r\n", ascii_pfiles_version);
|
||||
break;
|
||||
case SCMD_WHOAMI:
|
||||
send_to_char(ch, "%s\r\n", GET_NAME(ch));
|
||||
|
||||
@@ -331,9 +331,6 @@ int main(int argc, char **argv)
|
||||
* in the log if stderr is redirected to a file. */
|
||||
log("Loading configuration.");
|
||||
log("%s", tbamud_version);
|
||||
log("%s", oasisolc_version);
|
||||
log("%s", DG_SCRIPT_VERSION);
|
||||
log("%s", ascii_pfiles_version);
|
||||
|
||||
if (chdir(dir) < 0) {
|
||||
perror("SYSERR: Fatal error changing to data directory");
|
||||
|
||||
@@ -24,11 +24,7 @@
|
||||
* @todo cpp_extern isn't needed here (or anywhere) as the extern reserved word
|
||||
* works correctly with C compilers (at least in my Experience)
|
||||
* Jeremy Osborne 1/28/2008 */
|
||||
cpp_extern const char *tbamud_version = "tbaMUD, version 3.55";
|
||||
/** Current Oasis Online Creation version. */
|
||||
cpp_extern const char *oasisolc_version = "OasisOLC 2.0.6";
|
||||
/** Current ASCII player files version. */
|
||||
cpp_extern const char *ascii_pfiles_version = "ASCII Player Files 3.0.1";
|
||||
cpp_extern const char *tbamud_version = "tbaMUD, version 3.56";
|
||||
|
||||
/* strings corresponding to ordinals/bitvectors in structs.h */
|
||||
/* (Note: strings for class definitions in class.c instead of here) */
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#define _CONSTANTS_H_
|
||||
|
||||
extern const char *tbamud_version;
|
||||
extern const char *oasisolc_version;
|
||||
extern const char *ascii_pfiles_version;
|
||||
extern const char *dirs[];
|
||||
extern const char *room_bits[];
|
||||
extern const char *exit_bits[];
|
||||
|
||||
@@ -974,7 +974,7 @@ ACMD(do_attach)
|
||||
return;
|
||||
}
|
||||
if (!can_edit_zone(ch, world[IN_ROOM(ch)].zone)) {
|
||||
send_to_char(ch, "You can only attach triggers in your own zone\r\n");
|
||||
send_to_char(ch, "You can only attach triggers in your own zone.\r\n");
|
||||
return;
|
||||
}
|
||||
/* have a valid mob, now get trigger */
|
||||
@@ -1012,7 +1012,7 @@ ACMD(do_attach)
|
||||
}
|
||||
|
||||
if (!can_edit_zone(ch, world[IN_ROOM(ch)].zone)) {
|
||||
send_to_char(ch, "You can only attach triggers in your own zone\r\n");
|
||||
send_to_char(ch, "You can only attach triggers in your own zone.\r\n");
|
||||
return;
|
||||
}
|
||||
/* have a valid obj, now get trigger */
|
||||
@@ -1047,7 +1047,7 @@ ACMD(do_attach)
|
||||
}
|
||||
|
||||
if (!can_edit_zone(ch, world[rnum].zone)) {
|
||||
send_to_char(ch, "You can only attach triggers in your own zone\r\n");
|
||||
send_to_char(ch, "You can only attach triggers in your own zone.\r\n");
|
||||
return;
|
||||
}
|
||||
/* have a valid room, now get trigger */
|
||||
@@ -2651,9 +2651,6 @@ int script_driver(void *go_adress, trig_data *trig, int type, int mode)
|
||||
else if (!strn_cmp(cmd, "detach ", 7))
|
||||
process_detach(go, sc, trig, type, cmd);
|
||||
|
||||
else if (!strn_cmp(cmd, "version", 7))
|
||||
mudlog(NRM, LVL_GOD, TRUE, "%s", DG_SCRIPT_VERSION);
|
||||
|
||||
else {
|
||||
switch (type) {
|
||||
case MOB_TRIGGER:
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
|
||||
#include "utils.h" /* To make sure ACMD is defined */
|
||||
|
||||
#define DG_SCRIPT_VERSION "DG Scripts 1.0.14"
|
||||
|
||||
#define MOB_TRIGGER 0
|
||||
#define OBJ_TRIGGER 1
|
||||
#define WLD_TRIGGER 2
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
* on an older version. You are supposed to compare this with the macro
|
||||
* TBAMUD_VERSION() in utils.h.
|
||||
* It is read as Major/Minor/Patchlevel - MMmmPP */
|
||||
#define _TBAMUD 0x030550
|
||||
#define _TBAMUD 0x030560
|
||||
|
||||
/** If you want equipment to be automatically equipped to the same place
|
||||
* it was when players rented, set the define below to 1 because
|
||||
|
||||
Reference in New Issue
Block a user