#GENERAL

*name = "Coin";
*desc = "Official Dart Currency";
*stackable = 1;
*model = "coin_01";
*model_scale = 1.0;
*color = colorRGB( 0.0, 1.0, 0.0 );
*rad        = 0.5;
*mass       = 5.0;
*elasticity = 0.1;
*drag       = 4.0;
*friction   = 1.0;
*lifetime   = 60.0;
*attracted  = 1.0;
*player_only = 1.0;

#ON_PICK_UP
floating_text_make( add("+", num_to_str(10)), 5, 235, 2, 0, -25, 0, 32, colorRGB(1.0, 1.0, 0.0), 1.25, .25, .25, 0 );
char_set_attribute("player", "money", add(char_get_attribute("player", "money"), 10));
char_item_kill("player", "Coin", 1);
sound_play("coin.wav");

#ON_CREATION

#ON_DAMAGE

#EQUIP
kill_this( );

#UNEQUIP
