From 0f6807d4ad7cf5a9936965968260e3da4cf7df8f Mon Sep 17 00:00:00 2001 From: onpon4 Date: Fri, 8 Jan 2016 11:13:56 -0500 Subject: [PATCH] Adjusted the price of plasma and rocket ammo. There are two adjustments here: First, Classic difficulty now gives these items the same price as the original (50), which is important because the original made it very easy to grind by filling up on plasma at interceptions and then selling it. $25 is a lot more than $5. Second, for every other difficulty, the price has been dropped down from 10 to 1. The reason I'm doing this is unlike in the original, you now pretty much have to routinely fill up on rockets and/or plasma ammo to use these weapons, and it puts the weapons which don't need ammo (laser and charger) at an unfair advantage, basically turning use of rockets into a mistake. By making the prices very low, you still want to conserve plasma and rockets, but the effect is more to deprive you of their use later on in the mission than to drain your money. --- src/shop.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/shop.cpp b/src/shop.cpp index 7a0f73b..840d730 100644 --- a/src/shop.cpp +++ b/src/shop.cpp @@ -345,12 +345,20 @@ void initShop() "Increases plasma firing rate"); shopItems[SHOP_PLASMA_MAX_RATE].image = 11; - shopItems[SHOP_PLASMA_AMMO].price = 10; + if (game.difficulty == DIFFICULTY_ORIGINAL) + shopItems[SHOP_PLASMA_AMMO].price = 50; + else + shopItems[SHOP_PLASMA_AMMO].price = 1; + strcpy(shopItems[SHOP_PLASMA_AMMO].name, "10 Plasma cells"); strcpy(shopItems[SHOP_PLASMA_AMMO].description, "Plasma ammunition"); shopItems[SHOP_PLASMA_AMMO].image = 12; - shopItems[SHOP_ROCKET_AMMO].price = 10; + if (game.difficulty == DIFFICULTY_ORIGINAL) + shopItems[SHOP_ROCKET_AMMO].price = 50; + else + shopItems[SHOP_ROCKET_AMMO].price = 1; + strcpy(shopItems[SHOP_ROCKET_AMMO].name, "Rocket Ammo"); strcpy(shopItems[SHOP_ROCKET_AMMO].description, "High velocity dumb fire rocket");