Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials tutorial] Mining Mini-Game Extras

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Reply
 
Thread Tools
  #1    
Old May 19th, 2013 (02:18 PM). Edited May 19th, 2013 by LenSho.
LenSho's Avatar
LenSho LenSho is offline
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
Posts: 93
Hello everyone. I added a few things to the Mining Mini-Game and I thought I could share it here.

I added the Cover Fossil, Plume Fossil, Dusk Stone, Shiny Stone and Dawn Stone, and replaced the Plates with the Gems.

Spoiler:


In the script PokemonMinigameMining look for line 133 and replace:

Spoiler:
Code:
     [:DOMEFOSSIL,20, 0,3, 5,4,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0]],
     [:HELIXFOSSIL,5, 5,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]],
     [:HELIXFOSSIL,5, 9,3, 4,4,[1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1]],
     [:HELIXFOSSIL,5, 13,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]],
     [:HELIXFOSSIL,5, 17,3, 4,4,[1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1]],
     [:OLDAMBER,10, 21,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]],
     [:OLDAMBER,10, 25,3, 4,4,[1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1]],
     [:ROOTFOSSIL,5, 0,7, 5,5,[1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,0,0,0,1,1,0,0,1,1,0]],
     [:ROOTFOSSIL,5, 5,7, 5,5,[0,0,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,1,1,1,0,1,1,1,0]],
     [:ROOTFOSSIL,5, 10,7, 5,5,[0,1,1,0,0,1,1,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1]],
     [:ROOTFOSSIL,5, 15,7, 5,5,[0,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,0,0]],
     [:SKULLFOSSIL,20, 20,7, 4,4,[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0]],
     [:ARMORFOSSIL,20, 24,7, 5,4,[0,1,1,1,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0]],
     [:CLAWFOSSIL,5, 0,12, 4,5,[0,0,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,0,0]],
     [:CLAWFOSSIL,5, 4,12, 5,4,[1,1,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1]],
     [:CLAWFOSSIL,5, 9,12, 4,5,[0,0,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0]],
     [:CLAWFOSSIL,5, 13,12, 5,4,[1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,1,1]],
     [:FIRESTONE,20, 20,11, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:WATERSTONE,20, 23,11, 3,3,[1,1,1,1,1,1,1,1,0]],
     [:THUNDERSTONE,20, 26,11, 3,3,[0,1,1,1,1,1,1,1,0]],
     [:LEAFSTONE,10, 18,14, 3,4,[0,1,0,1,1,1,1,1,1,0,1,0]],
     [:LEAFSTONE,10, 21,14, 4,3,[0,1,1,0,1,1,1,1,0,1,1,0]],
     [:MOONSTONE,10, 25,14, 4,2,[0,1,1,1,1,1,1,0]],
     [:MOONSTONE,10, 27,16, 2,4,[1,0,1,1,1,1,0,1]],
     [:SUNSTONE,20, 21,17, 3,3,[0,1,0,1,1,1,1,1,1]],
     [:OVALSTONE,150, 24,17, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:EVERSTONE,150, 21,20, 4,2,[1,1,1,1,1,1,1,1]],
     [:STARPIECE,100, 0,17, 3,3,[0,1,0,1,1,1,0,1,0]],
     [:REVIVE,100, 0,20, 3,3,[0,1,0,1,1,1,0,1,0]],
     [:MAXREVIVE,50, 0,23, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:RAREBONE,50, 3,17, 6,3,[1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,1]],
     [:RAREBONE,50, 3,20, 3,6,[1,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,1,1]],
     [:LIGHTCLAY,100, 6,20, 4,4,[1,0,1,0,1,1,1,0,1,1,1,1,0,1,0,1]],
     [:HARDSTONE,200, 6,24, 2,2,[1,1,1,1]],
     [:HEARTSCALE,200, 8,24, 2,2,[1,0,1,1]],
     [:IRONBALL,100, 9,17, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:ODDKEYSTONE,100, 10,20, 4,4,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],
     [:HEATROCK,50, 12,17, 4,3,[1,0,1,0,1,1,1,1,1,1,1,1]],
     [:DAMPROCK,50, 14,20, 3,3,[1,1,1,1,1,1,1,0,1]],
     [:SMOOTHROCK,50, 17,18, 4,4,[0,0,1,0,1,1,1,0,0,1,1,1,0,1,0,0]],
     [:ICYROCK,50, 17,22, 4,4,[0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,1]],
     [:REDSHARD,100, 21,22, 3,3,[1,1,1,1,1,0,1,1,1]],
     [:GREENSHARD,100, 25,20, 4,3,[1,1,1,1,1,1,1,1,1,1,0,1]],
     [:YELLOWSHARD,100, 25,23, 4,3,[1,0,1,0,1,1,1,0,1,1,1,1]],
     [:BLUESHARD,100, 26,26, 3,3,[1,1,1,1,1,1,1,1,0]],
     [:INSECTPLATE,10, 0,26, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:DREADPLATE,10, 4,26, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:DRACOPLATE,10, 8,26, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:ZAPPLATE,10, 12,26, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:FISTPLATE,10, 16,26, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:FLAMEPLATE,10, 20,26, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:MEADOWPLATE,10, 0,29, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:EARTHPLATE,10, 4,29, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:ICICLEPLATE,10, 8,29, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:TOXICPLATE,10, 12,29, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:MINDPLATE,10, 16,29, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:STONEPLATE,10, 20,29, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:SKYPLATE,10, 0,32, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:SPOOKYPLATE,10, 4,32, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:IRONPLATE,10, 8,32, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]],
     [:SPLASHPLATE,10, 12,32, 4,3,[1,1,1,1,1,1,1,1,1,1,1,1]]


with

Spoiler:
Code:
     [:DOMEFOSSIL,20, 0,3, 5,4,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0]],
     [:HELIXFOSSIL,10, 5,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]],
     [:COVERFOSSIL,20, 9,3, 4,4,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],
     [:HELIXFOSSIL,10, 13,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]],
     [:PLUMEFOSSIL,20, 17,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],
     [:OLDAMBER,10, 21,3, 4,4,[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0]],
     [:OLDAMBER,10, 25,3, 4,4,[1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1]],
     [:ROOTFOSSIL,5, 0,7, 5,5,[1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,0,0,0,1,1,0,0,1,1,0]],
     [:ROOTFOSSIL,5, 5,7, 5,5,[0,0,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,1,1,1,0,1,1,1,0]],
     [:ROOTFOSSIL,5, 10,7, 5,5,[0,1,1,0,0,1,1,0,0,0,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1]],
     [:ROOTFOSSIL,5, 15,7, 5,5,[0,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,0,0]],
     [:SKULLFOSSIL,20, 20,7, 4,4,[1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0]],
     [:ARMORFOSSIL,20, 24,7, 5,4,[0,1,1,1,0,0,1,1,1,0,1,1,1,1,1,0,1,1,1,0]],
     [:CLAWFOSSIL,5, 0,12, 4,5,[0,0,1,1,0,1,1,1,0,1,1,1,1,1,1,0,1,1,0,0]],
     [:CLAWFOSSIL,5, 4,12, 5,4,[1,1,0,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1]],
     [:CLAWFOSSIL,5, 9,12, 4,5,[0,0,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,0,0]],
     [:CLAWFOSSIL,5, 13,12, 5,4,[1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,1,1]],
     [:FIRESTONE,20, 20,11, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:WATERSTONE,20, 23,11, 3,3,[1,1,1,1,1,1,1,1,0]],
     [:THUNDERSTONE,20, 26,11, 3,3,[0,1,1,1,1,1,1,1,0]],
     [:LEAFSTONE,10, 18,14, 3,4,[0,1,0,1,1,1,1,1,1,0,1,0]],
     [:LEAFSTONE,10, 21,14, 4,3,[0,1,1,0,1,1,1,1,0,1,1,0]],
     [:MOONSTONE,10, 25,14, 4,2,[0,1,1,1,1,1,1,0]],
     [:MOONSTONE,10, 27,16, 2,4,[1,0,1,1,1,1,0,1]],
     [:SUNSTONE,20, 21,17, 3,3,[0,1,0,1,1,1,1,1,1]],
     [:OVALSTONE,150, 24,17, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:EVERSTONE,150, 21,20, 4,2,[1,1,1,1,1,1,1,1]],
     [:STARPIECE,100, 0,17, 3,3,[0,1,0,1,1,1,0,1,0]],
     [:REVIVE,100, 0,20, 3,3,[0,1,0,1,1,1,0,1,0]],
     [:MAXREVIVE,50, 0,23, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:RAREBONE,50, 3,17, 6,3,[1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,1]],
     [:RAREBONE,50, 3,20, 3,6,[1,1,1,0,1,0,0,1,0,0,1,0,0,1,0,1,1,1]],
     [:LIGHTCLAY,100, 6,20, 4,4,[1,0,1,0,1,1,1,0,1,1,1,1,0,1,0,1]],
     [:HARDSTONE,200, 6,24, 2,2,[1,1,1,1]],
     [:HEARTSCALE,200, 8,24, 2,2,[1,0,1,1]],
     [:IRONBALL,100, 9,17, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:ODDKEYSTONE,100, 10,20, 4,4,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],
     [:HEATROCK,50, 12,17, 4,3,[1,0,1,0,1,1,1,1,1,1,1,1]],
     [:DAMPROCK,50, 14,20, 3,3,[1,1,1,1,1,1,1,0,1]],
     [:SMOOTHROCK,50, 17,18, 4,4,[0,0,1,0,1,1,1,0,0,1,1,1,0,1,0,0]],
     [:ICYROCK,50, 17,22, 4,4,[0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,1]],
     [:REDSHARD,100, 21,22, 3,3,[1,1,1,1,1,0,1,1,1]],
     [:GREENSHARD,100, 25,20, 4,3,[1,1,1,1,1,1,1,1,1,1,0,1]],
     [:YELLOWSHARD,100, 25,23, 4,3,[1,0,1,0,1,1,1,0,1,1,1,1]],
     [:BLUESHARD,100, 26,26, 3,3,[1,1,1,1,1,1,1,1,0]],
     [:BUGGEM,10, 0,26, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:DARKGEM,10, 4,26, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:DRAGONGEM,10, 8,26, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:ELECTRICGEM,10, 12,26, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:FIGHTINGGEM,10, 16,26, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:FIREGEM,10, 20,26, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:GRASSGEM,10, 0,29, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:GROUNDGEM,10, 4,29, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:ICEGEM,10, 8,29, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:POISONGEM,10, 12,29, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:PSYCHICGEM,10, 16,29, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:ROCKGEM,10, 20,29, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:FLYINGGEM,10, 0,32, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:GHOSTGEM,10, 4,32, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:STEELGEM,10, 8,32, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:WATERGEM,10, 12,32, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:NORMALGEM,10, 16,32, 4,3,[1,1,1,1,1,1,1,1,0,1,1,0]],
     [:DUSKSTONE,20, 20,32, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:DAWNSTONE,20, 23,32, 3,3,[1,1,1,1,1,1,1,1,1]],
     [:SHINYSTONE,20, 26,32, 3,3,[1,1,1,1,1,1,1,1,1]]


Then look for line 308 (312 after you did the above) and replace:

Spoiler:
Code:
    fossils=[:DOMEFOSSIL,:HELIXFOSSIL,:OLDAMBER,:ROOTFOSSIL,
             :SKULLFOSSIL,:ARMORFOSSIL,:CLAWFOSSIL]
    plates=[:INSECTPLATE,:DREADPLATE,:DRACOPLATE,:ZAPPLATE,:FISTPLATE,
            :FLAMEPLATE,:MEADOWPLATE,:EARTHPLATE,:ICICLEPLATE,:TOXICPLATE,
            :MINDPLATE,:STONEPLATE,:SKYPLATE,:SPOOKYPLATE,:IRONPLATE,:SPLASHPLATE]


with:

Spoiler:
Code:
    fossils=[:DOMEFOSSIL,:HELIXFOSSIL,:OLDAMBER,:ROOTFOSSIL,
             :SKULLFOSSIL,:ARMORFOSSIL,:CLAWFOSSIL,:COVERFOSSIL,:PLUMEFOSSIL]
    plates=[:BUGGEM,:DARKGEM,:DRAGONGEM,:ELECTRICGEM,:FIGHTINGGEM,
            :FIREGEM,:GRASSGEM,:GROUNDGEM,:ICEGEM,:POISONGEM,
            :PSYCHICGEM,:ROCKGEM,:FLYINGGEM,:GHOSTGEM,:STEELGEM,:WATERGEM,:NORMALGEM]


In case you're wondering why I didn't just add the Gems and leave the Plates, it's because then there would be too many items and there will be less chances to find the one you want. Also, once you find a Plate (somewhere else in your game) you will keep it, and Gems are lost after use. In any case, I hope you find this useful. If you add it to your game please credit me and LDEJRuff from DeviantART for the Cover/Plume Fossils. (And obviously Maruno for creating the Mini-Game in the first place).
Reply With Quote
  #2    
Old October 21st, 2013 (02:26 PM).
AlexTCGPro's Avatar
AlexTCGPro AlexTCGPro is offline
 
Join Date: Oct 2013
Gender: Male
Nature: Timid
Posts: 50
Nice tutorial, but are those chaos emeralds?
Reply With Quote
  #3    
Old October 23rd, 2013 (07:18 AM).
bartyboy6's Avatar
bartyboy6 bartyboy6 is offline
 
Join Date: Sep 2010
Gender: Male
Posts: 49
Quote originally posted by AlexTCGPro:
Nice tutorial, but are those chaos emeralds?
ehm no. these are "gems".
They are one-use type-enhancing items introduced in Generation V (Pokemon Black and White). There are 17 types of Gems, one corresponding to each of the 17 types. A Gem is consumed when the Pokémon holding it uses a damaging attack that matches the Gem's type; the attack's power is boosted by 50%. The Gem will not be consumed if the attack misses.
source: bulbapedia
Reply With Quote
  #4    
Old September 29th, 2014 (07:19 AM).
Lexxilion's Avatar
Lexxilion Lexxilion is offline
 
Join Date: Jul 2014
Gender: Male
Nature: Careful
Posts: 46
Is there a way to set this up so that you can only have certain items found in either certain locations or after particular plot points?
Reply With Quote
  #5    
Old 5 Days Ago (07:48 PM). Edited 5 Days Ago by Pokemoner1.
Pokemoner1 Pokemoner1 is offline
 
Join Date: Jul 2015
Posts: 10
Thank u so much but where those image shold go or they are only for show everything else great job.
nevermind i figured out where but you shold edit the post so it says it and no one gets confused
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 01:06 PM.