From 16de3f6d83dcdc7a673bcb7a5197dca217fa7c2f Mon Sep 17 00:00:00 2001 From: Ruan Pablo Date: Wed, 30 Jan 2019 01:30:50 -0200 Subject: [PATCH] Added V-Create Tutor --- P3D/Content/Data/Scripts/liberty/room.dat | 1 + P3D/Content/Data/Scripts/liberty/tutor.dat | 22 ++++++++++++++++++++++ P3D/Content/Data/maps/liberty/garden.dat | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 P3D/Content/Data/Scripts/liberty/tutor.dat diff --git a/P3D/Content/Data/Scripts/liberty/room.dat b/P3D/Content/Data/Scripts/liberty/room.dat index abb4c60b4..6450f9c46 100644 --- a/P3D/Content/Data/Scripts/liberty/room.dat +++ b/P3D/Content/Data/Scripts/liberty/room.dat @@ -42,6 +42,7 @@ version=2 @npc.register(liberty\garden.dat|39|position|33,2,17) @npc.register(liberty\garden.dat|40|position|41,1,8) @npc.register(liberty\garden.dat|41|position|33,2,26) +@npc.register(liberty\garden.dat|42|position|29,2,22) @npc.register(liberty\garden.dat|1|remove|0) @npc.register(liberty\garden.dat|2|remove|0) diff --git a/P3D/Content/Data/Scripts/liberty/tutor.dat b/P3D/Content/Data/Scripts/liberty/tutor.dat new file mode 100644 index 000000000..ffa5bdaee --- /dev/null +++ b/P3D/Content/Data/Scripts/liberty/tutor.dat @@ -0,0 +1,22 @@ +version=2 +:if:=false + @text.show(I seek a strong Pokémon~to pass down my teachings.*I don't, however, seek~just raw power, but~instead a Pokémon whose~body overflows with energy~and a burning passion~for victory!*Only such a creature~could use V-Create.) + @register.register(v-tutor) +:endif +:if:=384 =494 + :if:=false + @text.show(That ~of yours...~It's the one I've sought~for so long!*Tell me, do you think~it can master the~flaming technique known~as V-Create?) + @options.show(Yes,No) + :when:Yes + @text.show(I shall teach it, then.) + @pokemon.learnattack(0,557) + :when:No + @text.show(Such a waste of potential.) + :endwhen + :else + @text.show(Now that it controls the~flaming power, nothing~can stop it!) + :endif +:else + @text.show(That ~of yours...~It seems strong, but it's~not what I'm looking for.*Not without the~victorious flame...*If you find any other~Pokémon you think could~control the power of~V-Create, bring it to me.) +:endif +:end \ No newline at end of file diff --git a/P3D/Content/Data/maps/liberty/garden.dat b/P3D/Content/Data/maps/liberty/garden.dat index 5b40f86ed..c07c661f5 100644 --- a/P3D/Content/Data/maps/liberty/garden.dat +++ b/P3D/Content/Data/maps/liberty/garden.dat @@ -490,3 +490,5 @@ NPC: {"NPC"{NPC[{"Position"{sngArr[33,-2,17]}}{"TextureID"{str[45]}}{"ID"{int[39]}}{"Name"{str[Civilian]}}{"Action"{int[0]}}{"AdditionalValue"{str[The seasonal colors in Unova~are truly special.]}}{"Rotation"{int[3]}}{"Movement"{str[Walk]}}{"MoveRectangles"{recArr[30,13,37,19]}}]}} {"NPC"{NPC[{"Position"{sngArr[41,-1,8]}}{"TextureID"{str[50]}}{"ID"{int[40]}}{"Name"{str[Civilian]}}{"Action"{int[0]}}{"AdditionalValue"{str[Unova has many cool Pokémon.*Do you also have cool Pokémon~in your home region?]}}{"Rotation"{int[0]}}{"Movement"{str[Looking]}}{"MoveRectangles"{recArr[]}}]}} {"NPC"{NPC[{"Position"{sngArr[33,-2,26]}}{"TextureID"{str[95]}}{"ID"{int[41]}}{"Name"{str[Officer]}}{"Action"{int[0]}}{"AdditionalValue"{str[We're keeping our own~watercraft to secure the~island now.]}}{"Rotation"{int[1]}}{"Movement"{str[Still]}}{"MoveRectangles"{recArr[]}}]}} + +{"NPC"{NPC[{"Position"{sngArr[29,-2,22]}}{"TextureID"{str[Elder]}}{"ID"{int[42]}}{"Name"{str[Civilian]}}{"Action"{int[1]}}{"AdditionalValue"{str[liberty\tutor]}}{"Rotation"{int[2]}}{"Movement"{str[Still]}}{"MoveRectangles"{recArr[]}}]}} \ No newline at end of file