• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
[v13+] Triple Triad Booster Pack

Resource [v13+] Triple Triad Booster Pack 1.1.1

-FL-

Pokémon Island Creator
Member
Joined
Aug 28, 2022
Posts
374
-FL- submitted a new resource:

[v13+] Triple Triad Booster Pack - Booster pack item with predefined sets for Triple Triad minigame.

gif.gif

Booster pack item with predefined sets for Triple Triad minigame.

Tested on Essentials v13 and v20.1. If this script isn't working on latest Essentials version, please inform on this thread.

Read more about this resource...
 
So I was using this plugin at v21.1, but after opening at least 2 packs, the debug shows this "range error" thing. Any idea what's going on? It didn't crash my game or anything, but it might be an issue. Thanks!
 

Attachments

  • Screenshot 2023-09-12 004315.png
    Screenshot 2023-09-12 004315.png
    92.5 KB · Views: 93
So I was using this plugin at v21.1, but after opening at least 2 packs, the debug shows this "range error" thing. Any idea what's going on? It didn't crash my game or anything, but it might be an issue. Thanks!
I tested on v21.1 and here is working as intended. What pack you used? Did you change the item code? If the pack isn't the random one, check if you game contains the pokémon in the pack (you can't receive Bulbasaur if you removed Bulbasaur from your PBS).
 
Oh yeah, I did place Druddigon above Bulbasaur in the pbs file. Swapped it back, and it's fixed! Thanks for the tip, I'll keep that in mind
 
Thanks for this plugin. I was adding some TT content into my game and this helped out a lot. I did end up adding a higher probability of a new card and a mini-booster pack, but that's just my preference. Everything else is perfect.
 
If i use one of those Boosterpacks from my inventory, it doesnt disappear.
It stays there and i can use that everytime and how often i want.

Here is my PBS/Item:
732,BOOSTERPACK,Booster Pack,Booster Packs,1,1000,"Ein Booster Pack für das Triple Triad Kartenspiel. Enthält 5 Karten.",2,0,0,

Any idea to fix that?
 
If i use one of those Boosterpacks from my inventory, it doesnt disappear.
It stays there and i can use that everytime and how often i want.

Here is my PBS/Item:
732,BOOSTERPACK,Booster Pack,Booster Packs,1,1000,"Ein Booster Pack für das Triple Triad Kartenspiel. Enthält 5 Karten.",2,0,0,

Any idea to fix that?
Fixed. Alternatively, you can change lines 'next 1' to 'next 3' in my script.
 
Hey! How easy would it be per se, to add rarities to the different cards in a pack?
Pretty easy!

Instead of this:
Code:
Expand Collapse Copy
[
  :PIDGEY, :PIDGEOTTO, :PIDGEOT
]
Use this
Code:
Expand Collapse Copy
(
  [:PIDGEY]*7 + [:PIDGEOTTO]*3 + [:PIDGEOT]
)
So, Pidgeotto will have 3 times the chance of Pidgeot card, and Pidgey will have 7 times the chance of Pidgeot card

OR you can even add at top:
Code:
Expand Collapse Copy
COMMON = 7
UNCOMMON = 3
RARE = 1
And use
Code:
Expand Collapse Copy
(
  [:PIDGEY]*COMMON + [:PIDGEOTTO]*UNCOMMON + [:PIDGEOT]*RARE
)
This way you can easily change the rarities midway.
 
Last edited:
Pretty easy!

Instead of this:
Code:
Expand Collapse Copy
[
  :PIDGEY, :PIDGEOTTO, :PIDGEOT
]
Use this
Code:
Expand Collapse Copy
(
  [:PIDGEY]*7 + [:PIDGEOTTO]*3 + [:PIDGEOT]
)
So, Pidgeotto will have 3 times the chance of Pidgeot card, and Pidgey will have 7 times the chance of Pidgeot card

OR you can even add at top:
Code:
Expand Collapse Copy
COMMON = 7
UNCOMMON = 3
RARE = 1
And use
Code:
Expand Collapse Copy
(
  [:PIDGEY]*COMMON + [:PIDGEOTTO]*UNCOMMON + [:PIDGEOT]*RARE
)
This way you can easily change the rarities midway.

That, is fantastically fast news! Many thanks FL!

Now if only I could fix the bug that's inherent with V18.1 and get forms working as Triad cards we'd really be cooking haha
 
Back
Top