Skip to content

Commit 2babb43

Browse files
committed
Encounters
- Fixed: Killing raiders in random encounter maps would increase the raiders reputations. close #285
1 parent edc9e7e commit 2babb43

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Fallout2/Fallout1in2/Mapper/source/scripts/encounter/GENRAIDA.ssl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "define.h"
88

99
#define NAME SCRIPT_GENRAIDA
10-
#define TOWN_REP_VAR (GVAR_TOWN_REP_RAIDERS)
10+
//#define TOWN_REP_VAR (GVAR_TOWN_REP_RAIDERS)
1111

1212
#include "command.h"
1313
#include "modreact.h"

Fallout2/Fallout1in2/Mapper/source/scripts/encounter/GENRAIDB.ssl

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1+
/*
2+
3+
Encounter - Generic Raider
4+
5+
*/
6+
17
#include "define.h"
8+
9+
#define NAME SCRIPT_GENRAIDB
10+
//#define TOWN_REP_VAR (GVAR_TOWN_REP_RAIDERS)
11+
212
#include "command.h"
13+
#include "modreact.h"
314

415
procedure start;
516
procedure critter_p_proc;
@@ -28,6 +39,7 @@ procedure critter_p_proc begin
2839
end
2940

3041
procedure destroy_p_proc begin
42+
// This stuff is for the random coast encounters (coast04)
3143
set_global_var(GVAR_RND_ENC_RAIDERS_ALIVE, global_var(GVAR_RND_ENC_RAIDERS_ALIVE) - 1);
3244
if source_is_dude then begin
3345
set_global_var(GVAR_RND_ENC_RAIDERS_KILLED, global_var(GVAR_RND_ENC_RAIDERS_KILLED) + 1);

0 commit comments

Comments
 (0)