Fallout Wiki
Advertisement
Fallout Wiki
Details
Type Source file
SCRIPTS.LST comment New Reno Jules Shop Inventory Box
MSG file N/A
Transcript

/*
        Copyright 1998-2003 Interplay Entertainment Corp. All rights reserved.
*/
/******************************************************************************************
        Item: Jules Store Box
        Location : New Reno
        Description: This box is for the Bartender's Goods
        Log:
           Please note any changes that have been made to the file in Updated. Then comment
           the code which you have changed/altered/commented out. Please, do not delete any
           code which was written.
           Created: May 13, 1998
           Updated:
******************************************************************************************/
/* Include Files */
#include "..\headers\define.h"
#define NAME SCRIPT_NIJULBOX
#include "..\headers\command.h"
#include "..\headers\NewReno.h"
/* Defines and Macros */
#define LVAR_Restock_Time (0)
/* Standard Script Procedures */
procedure start;
procedure map_enter_p_proc;
procedure map_update_p_proc;
import variable new_reno_jules_box;
procedure start begin
   new_reno_jules_box := self_obj;
end
procedure map_enter_p_proc begin
   new_reno_jules_box := self_obj;
   if (is_loading_game == false) then begin
      if (local_var(LVAR_Restock_Time) < game_time) then begin
         check_restock_item(PID_JET, 1, 7, 100)
         check_restock_item(PID_STIMPAK, 1, 5, 100)
         set_local_var(LVAR_Restock_Time, (random(12,24) * ONE_GAME_HOUR) + game_time);
      end
   end
end
procedure map_update_p_proc begin
   new_reno_jules_box := self_obj;
end

Advertisement