AIVASE.SSL

*This image comes from* Fallout Mod *or from websites created and owned by Game publisher or Game developer, who hold the copyright of* Fallout Mod*. All trademarks and registered trademarks present in the image are proprietary to Game publisher.
The use of images to illustrate articles concerning the subject of the images in question is believed to qualify as **fair use** under United States copyright law, as such display does not significantly impede the right of the copyright holder to sell the copyrighted material.*

Template:Scriptfile

Template:Scriptbox

File:Transcript.png
/\*

        Copyright 1998-2003 Interplay Entertainment Corp. All rights reserved.

\*/

/\*

        Name: Vase

        Location: Arroyo

        Description: Vase in Arroyo Hut that contains money and will lower the player's Karma

                     should he steal from the vase

        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: December 04, 1997

           Updated:

\*/

/\* Include Files \*/

/\* Note, the Following Lines need to be in this order so that

   the script will be compilable. The define Name is referenced

   in a module from define.h and used in command.h. Please do

   not change the ordering.

        -rwh2 11/13/97

\*/

#include "..\headers\define.h"

#include "..\headers\ArVillag.h"

#define NAME SCRIPT\_AIVASE

#include "..\headers\command.h"

/\* Standard Script Procedures \*/

procedure start;

procedure look\_at\_p\_proc;

procedure description\_p\_proc;

procedure damage\_p\_proc;

procedure map\_enter\_p\_proc;

procedure map\_update\_p\_proc;

/\* Script Specific Procedure Calls \*/

// The next lines are added in by the Designer Tool.

// Do NOT add in any lines here.

//~~~~~~~~~~~~~~~~ DESIGNER TOOL STARTS HERE

//~~~~~~~~~~~~~~~~ DESIGN TOOL ENDS HERE

// The Following lines are for anything that is not needed to be

// seen by the design Tool

/\* Local Variables which are saved. All Local Variables need to be

   prepended by LVAR\_ \*/

#define LVAR\_Placed\_Money (0)

#define LVAR\_Lowered\_Karma (1)

/\* Imported variables from the Map scripts. These should only be

   pointers and variables that need not be saved. If a variable

   Needs to be saved, make it a map variable (MVAR\_) \*/

/\* Local variables which do not need to be saved between map changes. \*/

procedure start begin

end

procedure map\_enter\_p\_proc begin

   if (local\_var(LVAR\_Placed\_Money) == 0) then begin

       set\_local\_var(LVAR\_Placed\_Money,1);

       item\_caps\_adjust(self\_obj,100);

   end

end

procedure map\_update\_p\_proc begin

   if ((item\_caps\_total(self\_obj) < 100) and (local\_var(LVAR\_Lowered\_Karma) == 0)) then begin

       set\_local\_var(LVAR\_Lowered\_Karma,1);

       inc\_general\_rep(REP\_BONUS\_ARROYO\_MONEY\_THEFT);

   end

end

procedure damage\_p\_proc begin

   destroy\_object(self\_obj);

end

/\* Look\_at\_p\_proc gets called any time that the player passes the cursor over any object.

   This should only hold the most cursory of glances for the player. \*/

procedure look\_at\_p\_proc begin

   script\_overrides;

   display\_msg(mstr(100));

end

/\* The player will see more indepth descriptions from this procedure. They are actively

   looking at the critter and want more information. Things like names can be added here

   if the critter is known to the player. \*/

procedure description\_p\_proc begin

   script\_overrides;

   display\_msg(mstr(101));

end

// Not lines are allowed to be added below here

// The Following lines are from the Design Tool

//~~~~~~~~~~~~~~~~ DESIGN TOOL STARTS HERE

//xxxxxxxxxxxxxxxxxxxx