Reformat and clean up npc scripts
This commit is contained in:
@@ -20,17 +20,17 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
Fountain of Life 2083005
|
||||
**/
|
||||
Fountain of Life 2083005
|
||||
**/
|
||||
|
||||
function start() {
|
||||
if(cm.isQuestStarted(6280)) {
|
||||
if(cm.hasItem(4031454)) {
|
||||
if (cm.isQuestStarted(6280)) {
|
||||
if (cm.hasItem(4031454)) {
|
||||
cm.sendOk("(You poured some water from the fountain into the cup.)");
|
||||
cm.gainItem(4031454, -1);
|
||||
cm.gainItem(4031455, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
cm.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user