Where is a reliable place to find all the accessory effects.

Discussion in 'Released Mods' started by Npatterson10, Dec 27, 2012.

?

Should this thread be locked after the answer is given?

  1. Yes

    75.0%
  2. No

    25.0%
  1. Npatterson10

    Npatterson10 Cursed Skull

    Joined:
    Nov 15, 2012
    Messages:
    2,277
    Likes Received:
    52
    I'm looking for all the accessory effects, so that I can make this great mod. but I cant find the lucky horseshoe anywhere, or the cobalt shield.
     
    #1
  2. Yoraiz0r

    Yoraiz0r The Wizard

    Joined:
    Jan 15, 2012
    Messages:
    4,688
    Likes Received:
    5,650
    Code:
    
    public void RunBackStupidly(Item I,Player P)
    {
        if (I.type == 15 && P.accWatch < 1)
        {
            P.accWatch = 1;
        }
        if (I.type == 16 && P.accWatch < 2)
        {
            P.accWatch = 2;
        }
        if (I.type == 17 && P.accWatch < 3)
        {
            P.accWatch = 3;
        }
        if (I.type == 18 && P.accDepthMeter < 1)
        {
            P.accDepthMeter = 1;
        }
        if (I.type == 53)
        {
            P.doubleJump = true;
        }
        if (I.type == 54)
        {
            //hermes fail
        }
        if (I.type == 128)
        {
            P.rocketBoots = 1;
        }
        if (I.type == 156)
        {
            P.noKnockback = true;
        }
        if (I.type == 158)
        {
            P.noFallDmg = true;
        }
        if (I.type == 159)
        {
            P.jumpBoost = true;
        }
        if (I.type == 187)
        {
            P.accFlipper = true;
        }
        if (I.type == 211)
        {
            P.meleeSpeed += 0.12f;
        }
        if (I.type == 223)
        {
            P.manaCost -= 0.06f;
        }
        if (I.type == 285)
        {
            P.moveSpeed += 0.05f;
        }
        if (I.type == 212)
        {
            P.moveSpeed += 0.1f;
        }
        if (I.type == 267)
        {
            P.killGuide = true;
        }
        if (I.type == 193)
        {
            P.fireWalk = true;
        }
        if (I.type == 485)
        {
            P.wolfAcc = true;
        }
        if (I.type == 486)
        {
            P.rulerAcc = true;
        }
        if (I.type == 393)
        {
            P.accCompass = 1;
        }
        if (I.type == 394)
        {
            P.accFlipper = true;
            P.accDivingHelm = true;
        }
        if (I.type == 395)
        {
            P.accWatch = 3;
            P.accDepthMeter = 1;
            P.accCompass = 1;
        }
        if (I.type == 396)
        {
            P.noFallDmg = true;
            P.fireWalk = true;
        }
        if (I.type == 397)
        {
            P.noKnockback = true;
            P.fireWalk = true;
        }
        if (I.type == 399)
        {
            P.jumpBoost = true;
            P.doubleJump = true;
        }
        if (I.type == 405)
        {
            //hermes fail
            P.rocketBoots = 2;
        }
        if (I.type == 407)
        {
            P.blockRange = 1;
        }
        if (I.type == 489)
        {
            P.magicDamage += 0.15f;
        }
        if (I.type == 490)
        {
            P.meleeDamage += 0.15f;
        }
        if (I.type == 491)
        {
            P.rangedDamage += 0.15f;
        }
        if (I.type == 492)
        {
            P.wings = 1;
        }
        if (I.type == 493)
        {
            P.wings = 2;
        }
        if (I.type == 497)
        {
            P.accMerman = true;
        }
        if (I.type == 535)
        {
            P.pStone = true;
        }
        if (I.type == 536)
        {
            P.kbGlove = true;
        }
        if (I.type == 532)
        {
            P.starCloak = true;
        }
        if (I.type == 554)
        {
            P.longInvince = true;
        }
        if (I.type == 555)
        {
            P.manaFlower = true;
            P.manaCost -= 0.08f;
        }
    }
    
    this code is a mutated clone of all the accessory detections in vanilla terraria , I assume you'll be able to understand what each of these do by reading / comparing the types with THIS list.
     
    #2
    Npatterson10 likes this.
  3. Npatterson10

    Npatterson10 Cursed Skull

    Joined:
    Nov 15, 2012
    Messages:
    2,277
    Likes Received:
    52
    Thank you!!
     
    #3
  4. Npatterson10

    Npatterson10 Cursed Skull

    Joined:
    Nov 15, 2012
    Messages:
    2,277
    Likes Received:
    52
    edetard owt doo tu stuoopidz
     
    #4
  5. W1K

    W1K custom titles are for scrubs

    Joined:
    Jan 7, 2012
    Messages:
    6,518
    Likes Received:
    8,521
    Code:
    public void Effects(Player player)
    {
    // effect
    }
    Have funz!

    EDIT: to add a bit more of info, you should be familiar with cs editing by now. Just make a cs for your armor piece, put that method in and edit the code as you need.
     
    #5
    Yoraiz0r likes this.
  6. Npatterson10

    Npatterson10 Cursed Skull

    Joined:
    Nov 15, 2012
    Messages:
    2,277
    Likes Received:
    52
    Thanks for all the support everybody
     
    #6
    Yoraiz0r likes this.

Share This Page