~case/dbns

caab62681a1143b30f8545e6f44a7d7e84a8c763 — Zerhyn 2 years ago 5629fd3
New type of gravity chamber added
4 files changed, 6 insertions(+), 6 deletions(-)

M src/act_info.c
M src/build.c
M src/mud.h
M src/skills_dbs.c
M src/act_info.c => src/act_info.c +3 -3
@@ 4344,7 4344,7 @@ void do_train(CHAR_DATA *ch, char *argument)
	
	if (IS_NPC(ch))
		return;
	if (!xIS_SET((ch)->in_room->room_flags, ROOM_GRAV)) {
	if (!xIS_SET((ch)->in_room->room_flags, ROOM_GRAV) || !xIS_SET((ch)->in_room->room_flags, ROOM_GRAVCHAMBER100)) {
		send_to_char("This doesn't appear to be a gravity chamber...\n\r", ch);
		return;
	}


@@ 4356,8 4356,8 @@ void do_train(CHAR_DATA *ch, char *argument)
		return;
	}
	else {
		if (value < 1 || value > 10000) {
			ch_printf(ch, "Gravity Range is 1 to 10000.\n\r");
		if (value < 1 || value > 100) {
			ch_printf(ch, "Gravity Range is 1 to 100.\n\r");
			return;
		}
		ch->gravSetting = value;

M src/build.c => src/build.c +1 -1
@@ 83,7 83,7 @@ char   *const r_flags[] =
	"dark", "death", "nomob", "indoors", "lawful", "neutral", "chaotic",
	"nomagic", "tunnel", "private", "safe", "solitary", "petshop", "norecall",
	"donation", "nodropall", "silence", "logspeech", "nodrop", "clanstoreroom",
	"nosummon", "noastral", "teleport", "teleshowdesc", "nofloor",
	"nosummon", "noastral", "teleport", "teleshowdesc", "nofloor", "gravchamber100",
	"nosupplicate", "arena", "nomissile", "grav", "htanks", "prototype", "dnd",
	"spaceship", "nodriving", "timechamber", "noteleport", "noteleportout",
	"astralshield", "grav10", "grav50", "grav100", "grav200", "grav300", "grav400",

M src/mud.h => src/mud.h +1 -1
@@ 2254,7 2254,7 @@ typedef enum {
	ROOM_ASTRALSHIELD,
	ROOM_GRAV10, ROOM_GRAV50, ROOM_GRAV100, ROOM_GRAV200, ROOM_GRAV300,
	ROOM_GRAV400, ROOM_GRAV500, ROOM_GRAV600, ROOM_GRAV700, ROOM_GRAV800,
	ROOM_GRAV900, ROOM_GRAV1000
	ROOM_GRAV900, ROOM_GRAV1000, ROOM_GRAVCHAMBER100
} 	ext_room_flags;

/*

M src/skills_dbs.c => src/skills_dbs.c +1 -1
@@ 12631,7 12631,7 @@ do_gallic_gun(CHAR_DATA * ch, char *argument)
					"&CYou gained 5 Skill Points!\n\r");
				ch->sptotal += 5;
				ch->kspgain += 1;
				}
			}
		}
		if (IS_NPC(ch)) {
			argdam = number_range(70, 75);