mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 10:33:47 -05:00
Valentines + Lunar
This commit is contained in:
+3
-3
@@ -173,8 +173,8 @@ var mode = {
|
||||
var events = {
|
||||
// SEASONS
|
||||
holidayseason: false,
|
||||
lunarnewyear: false,
|
||||
valentines: false,
|
||||
lunarnewyear: true,
|
||||
valentines: true,
|
||||
pinkgoo: 0, // every N minutes - 60
|
||||
snowman: 20 * 60, // 1200 normally - 60 - at sprocess_game_data
|
||||
egghunt: 0, // every N minutes - 60
|
||||
@@ -8780,7 +8780,7 @@ function init_io() {
|
||||
if (!target.rip) {
|
||||
return fail_response("target_alive", data.name);
|
||||
}
|
||||
|
||||
|
||||
consume_mp(player, gSkill.mp, target);
|
||||
if (target.hp != target.max_hp) {
|
||||
reject = { response: "data", place: data.name, reason: "hp" };
|
||||
|
||||
@@ -278,6 +278,13 @@ function sprocess_game_data() {
|
||||
D.drops.maps.global.push([0.00000001, "orbofsc"]);
|
||||
}
|
||||
|
||||
if (events.lunarnewyear) {
|
||||
D.drops.maps.global.push([0.00005, "greenenvelope"]);
|
||||
D.drops.maps.global.push([0.000000005, "5bucks"]);
|
||||
}
|
||||
if (events.valentines) {
|
||||
D.drops.maps.global.push([0.001, "candypop"]);
|
||||
}
|
||||
if (events.egghunt) {
|
||||
D.drops.maps.global.push([0.000005, "goldenegg"]);
|
||||
D.drops.maps.global.push([0.009, "open", "eastereggs"]);
|
||||
|
||||
Reference in New Issue
Block a user