From b201d2a3d707289715ed6d721e25e575b84ba661 Mon Sep 17 00:00:00 2001 From: hanakocz Date: Mon, 21 Oct 2024 17:58:50 +0200 Subject: [PATCH] journey balancing for 2.0 --- maps/journey/functions.lua | 6 +++--- maps/journey/main.lua | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/maps/journey/functions.lua b/maps/journey/functions.lua index 8858c3c8..923acae6 100644 --- a/maps/journey/functions.lua +++ b/maps/journey/functions.lua @@ -576,11 +576,11 @@ function Public.hard_reset(journey) journey.mothership_cargo = {} journey.mothership_cargo['uranium-fuel-cell'] = 10 journey.mothership_cargo['satellite'] = 1 - journey.mothership_cargo['nuclear-reactor'] = 60 + journey.mothership_cargo['nuclear-reactor'] = 6 journey.mothership_cargo_space = { ['satellite'] = 1, ['uranium-fuel-cell'] = 0, - ['nuclear-reactor'] = 60 + ['nuclear-reactor'] = 6 } journey.bonus_goods = {} journey.bonus_goods['loader'] = 3 @@ -1617,7 +1617,7 @@ function Public.deal_damage_to_beacon(journey, incoming_damage) if journey.beacon_objective_health <= 0 then table.insert(journey.mothership_messages, 'Beaming everyone up, triggerring emergency departure.') table.insert(journey.mothership_messages, '[img=item/nuclear-reactor] Emergency power plant burned down ;_;') - journey.mothership_cargo['nuclear-reactor'] = journey.mothership_cargo['nuclear-reactor'] - 30 + journey.mothership_cargo['nuclear-reactor'] = journey.mothership_cargo['nuclear-reactor'] - 3 if journey.mothership_cargo['nuclear-reactor'] < 0 then table.insert(journey.mothership_messages, 'Aborting, there is not enough emergency fuel. Shutting systems off...') for _ = 1, #journey.mothership_messages, 1 do diff --git a/maps/journey/main.lua b/maps/journey/main.lua index 37c6735b..d429b3f6 100644 --- a/maps/journey/main.lua +++ b/maps/journey/main.lua @@ -1,6 +1,9 @@ --[[ Journey, launch a rocket in increasingly harder getting worlds. - MewMew ]]-- +if script.active_mods['space-age'] then + error('Journey Scenario is not compatible with the Space Age mod. Please disable the mod and try again', 2) +end local Server = require 'utils.server' local Constants = require 'maps.journey.constants'