#GENERAL

*name = "Paint";
*desc = "P-A-I-N-T!";
*stackable = 1;
*model = "ink_pellet_01";
*model_scale = .75;
*tex   = "items/ink_pellet_01.tga";
*color = colorRGB( 0.3, 0.3, 0.3 );
*rad        = 0.375;
*mass       = 6.0;
*elasticity = 0.1;
*drag       = 3.0;
*friction   = 1.0;
*hardness   = 0.0;
*lifetime   = 30.0;
*attracted  = 1.0;
*player_only = 1.0;

#ON_PICK_UP
floating_text_make( add("+", num_to_str(25)), char_get_x("player"), char_get_y("player"), char_get_z("player"), 0, 0, 1.75, 32, colorRGB(0.0, 0.6, 1.0), 1.25, .25, .25, 1 );
char_heal("player", 5);
var paint = add( 25, char_get_paint("player") );
var max_paint = char_get_attribute( "player", "paint max" );
paint = if( greater(paint,max_paint), max_paint, paint );
char_set_paint( "player", paint );
sound_play("gulp_01.wav");
kill_this( );

#ON_CREATION

#ON_DAMAGE

#EQUIP

#UNEQUIP

