Skip to content

Commit af9a98b

Browse files
committed
Trunk upgrade buffed to 20% and added more MFC to stores
1 parent 2c23eb1 commit af9a98b

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
lines changed

docs/ecco_changelog.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ v0.9.7:
55
- fixed inconsistent craft button visibility (hiding or visible on top of other windows)
66

77
> Misc:
8-
- added option for additional car trunk capacity upgrade with Repair skill
8+
- added option for additional car trunk capacity upgrade by using Repair skill
9+
- added more MFC to stores for car refueling
910
- fixed incorrect car charging amount when using Cells on trunk
1011

1112

root/mods/ecco/misc.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,10 @@ enable_tweaks=1
114114
; Car speed multiplier, applied after all vanilla speed upgrades (actual speed is determined by number of steps skipped each "turn" on worldmap)
115115
; Set to 1.0 for vanilla speed. Range [0.25; 3]
116116
speed_mult=0.75
117-
; Base fuel consumption, vanilla is 100. Range [0; 1000]
117+
; Base fuel consumption, vanilla is 100. This is per "turn", not per distance. So speed_mult above will affect actual consumption. Range [0; 1000]
118118
fuel_consumption_base=75
119-
; Fuel Cell regulator fuel consumption reduction percentage. 100 means no comsumption, 50 - vanilla value, 0 - no effect on consumption. Range [0; 100]
119+
; Fuel Cell regulator fuel consumption reduction percentage.
120+
; 100 means no comsumption, 50 - vanilla value, 0 - no effect on consumption. Range [0; 100]
120121
fuel_cell_regulator_percent=30
121122

122123

scripts_src/_pbs_main/gl_pbs_car_rebalance.ssl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,12 @@ procedure cartravel_hook begin
6565
set_sfall_return(fuel);
6666
end
6767

68-
/* FOR TESTING, disable encounters:
69-
procedure enc_hook begin
68+
// FOR TESTING, disable encounters:
69+
/*procedure enc_hook begin
7070
if (get_sfall_arg == 0) then
7171
set_sfall_return(-1);
72-
end*/
72+
end
73+
*/
7374

7475
procedure start begin
7576
if (game_loaded) then begin
@@ -81,6 +82,6 @@ procedure start begin
8182
int_from_ini_file_clamped(fuel_cell_regulator_percent, INI_FILE, INI_SECTION, 0, 100);
8283

8384
register_hook_proc(HOOK_CARTRAVEL, cartravel_hook);
84-
//register_hook_proc(HOOK_ENCOUNTER, cartravel_hook);
85+
//register_hook_proc(HOOK_ENCOUNTER, enc_hook);
8586
end
8687
end

scripts_src/brokhill/hioutbox.ssl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ procedure map_enter_p_proc begin
7878
check_restock_item(PID_WRENCH, 1, 1, 25)
7979
check_restock_item(PID_PUMP_PARTS, 2, 4, 100)
8080
check_restock_item(PID_FLARE, 1, 3, 100)
81+
check_restock_item(PID_MICRO_FUSION_CELL, 1, 3, 100)
8182
// ;
8283
call restore_critical_items(tmp_box);
8384
set_local_var(LVAR_Restock_Time, (3 * ONE_GAME_DAY) + game_time);

scripts_src/den/dismibox.ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ procedure map_enter_p_proc begin
5050
check_restock_item(PID_SUPER_TOOL_KIT, 1, 1, 40)
5151
check_restock_item(PID_KNIFE, 1, 1, 40)
5252
check_restock_item(PID_MOLOTOV_COCKTAIL, 1, 3, 40)
53-
check_restock_item(PID_MICRO_FUSION_CELL, 1, 6, 40)
53+
check_restock_item(PID_MICRO_FUSION_CELL, 2, 6, 70) // pbs: was 1-6, 40%
5454
check_restock_item(PID_MULTI_TOOL, 1, 1, 70) // pbs
5555
check_restock_item(PID_SMALL_ENERGY_CELL, 1, 4, 70) // pbs
5656
check_restock_item(PID_PUMP_PARTS, 1, 5, 70) // pbs

scripts_src/generic/zicrtrnk.ssl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ procedure use_p_proc;
4747

4848
#define SGVAR_TRUNK_UPGRADE "PBSTRNKU"
4949
#define EXP_MANUAL_TRUNK_UPGRADE (200)
50-
#define UPGRADE_CARRY_PERCENT_BONUS (10)
51-
#define UPGRADE_SKILL_MOD (-50)
50+
#define UPGRADE_CARRY_PERCENT_BONUS (20)
51+
#define UPGRADE_SKILL_MOD (-60)
5252

5353
#define space_upgraded (get_sfall_global_int(SGVAR_TRUNK_UPGRADE) != 0)
5454
#define set_space_upgraded set_sfall_global(SGVAR_TRUNK_UPGRADE, 1)

scripts_src/ncr/sidtbl.ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ procedure map_enter_p_proc begin
175175
check_restock_item(PID_SUPER_TOOL_KIT, 1, 1, 100) // pbs
176176
check_restock_item(PID_DECK_OF_TRAGIC_CARDS, 1, 1, 10)
177177
check_restock_item(PID_GEIGER_COUNTER, 1, 2, 50)
178-
check_restock_item(PID_MICRO_FUSION_CELL, 3, 3, 30)
178+
check_restock_item(PID_MICRO_FUSION_CELL, 3, 5, 70) // pbs: was 3-3, 30%
179179
check_restock_item(PID_STIMPAK, 3 , 7, 50)
180180
check_restock_item(PID_SUPER_STIMPAK, 1, 4, 25)
181181
check_restock_item(PID_METAL_ARMOR_MK_II, 1, 3, 50)

scripts_src/valtcity/viharbox.ssl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ procedure map_enter_p_proc begin
8383
check_restock_item(PID_PBS_TASER, 1, 1, 75)
8484
check_restock_item(PID_PBS_LASER_PISTOL_LT, 1, 1, 50)
8585
check_restock_item(PID_SMALL_ENERGY_CELL, 1, 4, 100)
86+
check_restock_item(PID_MICRO_FUSION_CELL, 1, 2, 75)
8687
check_restock_item(PID_PBS_COWBOY_REPEATER, 1, 1, 50)
8788
check_restock_item(PID_PBS_THROWING_AXE, 1, 2, 25)
8889
check_restock_item(PID_PBS_BOOMERANG, 1, 3, 75)

0 commit comments

Comments
 (0)