• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Fixed What's wrong ? :(

Status
Not open for further replies.

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
Does anyone know why this code isn't working ?

Code:
Item:
    Name: MoonStone
    DisplayName: <&e><&l>Moon Stone
    Lore: <&9>This <&e><&l>Moon stone <&9>makes your <&1><&l>Waterbending <&9>much stronger!
    Material: QUARTZ
    ShapedRecipe: QUARTZ, SNOWBALL, QUARTZ, SNOWBALL, DIAMOND:4, SNOWBALL, QUARTZ, SNOWBALL, QUARTZ
    Stats:
        DestroyAfterCharges:
        OctopusFormRange: 30
        OctopusFormDamage: 30
        OctopusFormKnockback: 50
        OctopusFormRadius: 15
        OctopusFormInterval: 30
        TorrentDamage: 15
        TorrentStreamingDamage: 15
        WaterManipulationForce: 1
        WaterSpoutWaveFlightTime: 3000
        SurgeWallRadius: 5
 

TehPandaKing

Verified Member
I believe you have to specify whether DestroyAfterCharges is true or false. You can't have one of those thingies without a true/false/number behind it :p

(not very experienced with this yes, just a guess.)
 

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
I believe you have to specify whether DestroyAfterCharges is true or false. You can't have one of those thingies without a true/false/number behind it :p

(not very experienced with this yes, just a guess.)
I removed the DestroyAfterCharges, but it keeps coming back.

What error does it say in the console?
[15:42:38 INFO]: [ProjectKorraItems] an error occured while parsing the item: BendingItem: Name=moonstone DisplayName=§lMoon Stone Material=QUARTZ quantity=1 damage=0
 

Coolade

Staff member
Plugin Developer
Verified Member
Right above that error it says
"invalid recipe material: SNOWBALL"
The correct recipe material for a SNOWBALL is SNOW_BALL.

Code:
Item:
    Name: MoonStone
    DisplayName: <&e><&l>Moon Stone
    Lore: <&9>This <&e><&l>Moon stone <&9>makes your <&1><&l>Waterbending <&9>much stronger!
    Material: QUARTZ
    ShapedRecipe: QUARTZ, SNOW_BALL, QUARTZ, SNOW_BALL, DIAMOND:4, SNOW_BALL, QUARTZ, SNOW_BALL, QUARTZ
    Stats:
        DestroyAfterCharges:
        OctopusFormRange: 30
        OctopusFormDamage: 30
        OctopusFormKnockback: 50
        OctopusFormRadius: 15
        OctopusFormInterval: 30
        TorrentDamage: 15
        TorrentStreamingDamage: 15
        WaterManipulationForce: 1
        WaterSpoutWaveFlightTime: 3000
        SurgeWallRadius: 5
 

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
Right above that error it says
"invalid recipe material: SNOWBALL"
The correct recipe material for a SNOWBALL is SNOW_BALL.

Code:
Item:
    Name: MoonStone
    DisplayName: <&e><&l>Moon Stone
    Lore: <&9>This <&e><&l>Moon stone <&9>makes your <&1><&l>Waterbending <&9>much stronger!
    Material: QUARTZ
    ShapedRecipe: QUARTZ, SNOW_BALL, QUARTZ, SNOW_BALL, DIAMOND:4, SNOW_BALL, QUARTZ, SNOW_BALL, QUARTZ
    Stats:
        DestroyAfterCharges:
        OctopusFormRange: 30
        OctopusFormDamage: 30
        OctopusFormKnockback: 50
        OctopusFormRadius: 15
        OctopusFormInterval: 30
        TorrentDamage: 15
        TorrentStreamingDamage: 15
        WaterManipulationForce: 1
        WaterSpoutWaveFlightTime: 3000
        SurgeWallRadius: 5
Tnx !
 
Status
Not open for further replies.
Top