Valentines + Lunar

This commit is contained in:
Kaan Soral
2026-02-02 18:13:39 +03:00
parent e42d044e12
commit a30a2b92ee
6 changed files with 39 additions and 13 deletions
+3 -3
View File
@@ -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" };
+7
View File
@@ -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"]);