Reformat and clean up npc scripts
This commit is contained in:
@@ -19,14 +19,18 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/* Door that warps you inside the CWKPQ start map.
|
||||
*
|
||||
* @Author Ronan
|
||||
*/
|
||||
|
||||
|
||||
function start() {
|
||||
if(cm.haveItem(3992041, 1)) cm.warp(610030020, "out00");
|
||||
else cm.playerMessage(5, "The giant gate of iron will not budge no matter what, however there is a visible key-shaped socket.");
|
||||
|
||||
if (cm.haveItem(3992041, 1)) {
|
||||
cm.warp(610030020, "out00");
|
||||
} else {
|
||||
cm.playerMessage(5, "The giant gate of iron will not budge no matter what, however there is a visible key-shaped socket.");
|
||||
}
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
Reference in New Issue
Block a user