From 240b261e15ce85954f5809eab27ef67e9c809f37 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Wed, 27 Jan 2021 20:12:44 +0000 Subject: [PATCH] Rework port searches/evil goods Increase base search chance from 15% to 20% Increase smuggling search reduction from 4% to 10% Increase narcotics price from 259 to 295 Increase weapons price from 168 to 191 Increase slaves price from 89 to 101 --- db/patches/V1_6_65_12__evil_goods_adjustment.sql | 3 +++ src/config.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 db/patches/V1_6_65_12__evil_goods_adjustment.sql diff --git a/db/patches/V1_6_65_12__evil_goods_adjustment.sql b/db/patches/V1_6_65_12__evil_goods_adjustment.sql new file mode 100644 index 000000000..aeac064cd --- /dev/null +++ b/db/patches/V1_6_65_12__evil_goods_adjustment.sql @@ -0,0 +1,3 @@ +UPDATE `good` SET `base_price` = 295 WHERE `good_name` = 'Narcotics'; +UPDATE `good` SET `base_price` = 191 WHERE `good_name` = 'Weapons'; +UPDATE `good` SET `base_price` = 101 WHERE `good_name` = 'Slaves'; diff --git a/src/config.php b/src/config.php index 79385c71a..f5f7cc894 100644 --- a/src/config.php +++ b/src/config.php @@ -136,9 +136,9 @@ /* * Port searchs */ -const PORT_SEARCH_BASE_CHANCE = 15; +const PORT_SEARCH_BASE_CHANCE = 20; const PORT_SEARCH_REDUCTION_PER_EVIL_GOOD = 4; -const PORT_SEARCH_REDUCTION_FOR_EVIL_SHIP = 4; +const PORT_SEARCH_REDUCTION_FOR_EVIL_SHIP = 10; /* * Ship types