Advertisement
Guest User

Untitled

a guest
Mar 27th, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.81 KB | None | 0 0
  1.         int category = dropIn.Category;
  2.         if (category == -79)
  3.         {
  4.             this.heldObject = new Object(Vector2.Zero, 348, dropIn.Name + " Wine", false, true, false, false);
  5.             this.heldObject.Price = dropIn.Price * 3;
  6.             if (!probe)
  7.             {
  8.                 this.heldObject.name = dropIn.Name + " Wine";
  9.                 Game1.playSound("Ship");
  10.                 Game1.playSound("bubbles");
  11.                 this.minutesUntilReady = 10000;
  12.                 who.currentLocation.temporarySprites.Add(new TemporaryAnimatedSprite(Game1.animations, new Rectangle(256, 1856, 64, 128), 80f, 6, 999999, this.tileLocation * (float)Game1.tileSize + new Vector2(0f, (float)(-(float)Game1.tileSize * 2)), false, false, (this.tileLocation.Y + 1f) * (float)Game1.tileSize / 10000f + 0.0001f, 0f, Color.Lavender * 0.75f, 1f, 0f, 0f, 0f, false)
  13.                 {
  14.                     alphaFade = 0.005f
  15.                 });
  16.             }
  17.             return true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement