Quick fix-up + Happyville
Fixed bug introduced on last update regarding events without event_schedule defined. Added path to Happyville maps, and raid boss event.
This commit is contained in:
@@ -19,11 +19,30 @@
|
||||
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/>.
|
||||
*/
|
||||
|
||||
/* 2001004 - Scarf Snowman
|
||||
@author Ronan
|
||||
*/
|
||||
|
||||
var status = -1;
|
||||
|
||||
function start() {
|
||||
cm.sendYesNo("We have a beautiful christmas tree.\r\nDo you want to see/decorate it?");
|
||||
action(1,0,0);
|
||||
}
|
||||
function action(m, t, s) {
|
||||
if (m > 0)
|
||||
cm.warp(209000001);
|
||||
cm.dispose();
|
||||
function action(mode, type, selection) {
|
||||
if (mode < 0)
|
||||
cm.dispose();
|
||||
else {
|
||||
if (mode == 1)
|
||||
status++;
|
||||
else
|
||||
status--;
|
||||
|
||||
if (status == 0) {
|
||||
cm.sendYesNo("So, are you ready to head out of here?");
|
||||
} else if(status == 1) {
|
||||
cm.warp(209000000, 3);
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user