Follow up to a54bb65

* Fixed the config format.
* Adjusted atcommand go to properly place players on renewal mode.
This commit is contained in:
aleos89 2016-01-08 13:33:24 -05:00
parent a54bb653de
commit b7eb62ffb4
3 changed files with 13 additions and 3 deletions

View File

@ -111,8 +111,8 @@ save_log: yes
// Format: <map_name>,<x>,<y>{:<map_name>,<x>,<y>...}
// Max number of start points is MAX_STARTPOINT in char.h (default 5)
// Location is randomly picked on character creation.
start_point: iz_int,97,90,iz_int01,97,90,iz_int02,97,90,iz_int03,97,90,iz_int04,97,90
start_point_pre: new_1-1,53,111,new_2-1,53,111,new_3-1,53,111,new_4-1,53,111,new_5-1,53,111
start_point: iz_int,97,90:iz_int01,97,90:iz_int02,97,90:iz_int03,97,90:iz_int04,97,90
start_point_pre: new_1-1,53,111:new_2-1,53,111:new_3-1,53,111:new_4-1,53,111:new_5-1,53,111
// Starting items for new characters
// Max number of items is MAX_STARTITEM in char.c (default 32)

View File

@ -4,6 +4,8 @@
#ifndef _MAPINDEX_H_
#define _MAPINDEX_H_
#include "../config/renewal.h"
#define MAX_MAPINDEX 2000
//Some definitions for the mayor city maps.
@ -31,7 +33,11 @@
#define MAP_RACHEL "rachel"
#define MAP_VEINS "veins"
#define MAP_JAIL "sec_pri"
#ifdef RENEWAL
#define MAP_NOVICE "iz_int"
#else
#define MAP_NOVICE "new_1-1"
#endif
#define MAP_MOSCOVIA "moscovia"
#define MAP_MIDCAMP "mid_camp"
#define MAP_MANUK "manuk"

View File

@ -1840,7 +1840,11 @@ ACMD_FUNC(go)
{ MAP_UMBALA, 89, 157 }, // 12=Umbala
{ MAP_NIFLHEIM, 21, 153 }, // 13=Niflheim
{ MAP_LOUYANG, 217, 40 }, // 14=Louyang
#ifdef RENEWAL
{ MAP_NOVICE, 97, 90 }, // 15=Training Grounds (Renewal)
#else
{ MAP_NOVICE, 53, 111 }, // 15=Training Grounds
#endif
{ MAP_JAIL, 23, 61 }, // 16=Prison
{ MAP_JAWAII, 249, 127 }, // 17=Jawaii
{ MAP_AYOTHAYA, 151, 117 }, // 18=Ayothaya