Home > Suggestions

Deck of Cards Item

Like the Tarot Cards that Norma sells, essentially. I'd love to see a normal deck of cards, where you use the unique property and it tells you what card you draw. Maybe a way to change a set of options that will let you choose a few cards in the deck to draw and spawn items of the individual cards.

Like:

Two item blueprints. The first is a deck, the second is a card item. When using the deck, it draws (either randomly or from the top) from a pool of 52 cards (in the script), spawns the card in the inventory, used SetName to change the card's name. That card can no longer be drawn.

The card has a unique power (self only single use) that allows it to be placed back in the deck, which means it can be drawn from it once again.

Then a "unique power unlimited uses/day" that lets you flip the card, so that the face doesn't show. Uses SetName to change the name to something like "Card, Facedown", or changes it back to what it was. Face up, rather.

Perhaps a voice command for whoever is holding the deck (with the command explained in the description of the Deck of Cards) that allows you to draw a specific card. To the effect of "/c draw E2" to draw the 2 of earth.

A further command that would toggle drawing cards face up or face down. So the dealer doesn't know what cards he's drawing.

It would be massively handy for anyone looking to host a real game of cards in characterly.

Maybe crooked decks that could be purchased, containing only one sort of card. Or individual cards that you can buy, even.

Maybe needlessly complicated, low priority, or difficult to implement. But it's something I know I'd love to see.

Usually a complete set of Tarot cards contains what is essentially an "ordinary" pack of cards as well - the minor arcana.

The major arcana are the named cards like " The Hierophant" and "The Hanged Man."

The minor arcana are the suits of cups(elemental water, emotions/feelings), swords(elemental air, the mind/rationality), wands(elemental fire, creativity/imagination) and pentacles, or simply "coins" (elemental earth, material realities: wealth, food, shelter). The court cards function the same except you'd have to remove either the Pages or the Knights, and whichever you keep becomes the equivalent of Jacks. If you want a Joker card, most tarot users would add "the Fool" from the major arcana.

So the possibility is there for the Tarot cards to also allow for use of the Minor Arcana as playing cards.

[quote="Kotenku"] needlessly complicated, low priority, or difficult to implement.

I made something like this and put it on the vault a while ago. I don't remember where it is on the NWVault, but I also have it on GeoCities:

http://www.geocities.com/abyss_project/nwn/deck_o_cards.zip

It has Hearts/Diamonds/Clubs/Spades, but I'm pretty sure each suit string is only referenced once or twice if you want to change it to a more fitting theme.

EDIT: I should make this contribute to the suggestion somehow! Well, the work has been done, I guess, but I don't know how easy it would be to stick in EfU, if that's even an option. Also, I don't have a lot of feedback on how easy it is for players to use. It could just be a complicated mess for everyone!

Here's the .txt file inside:

"A Perfectly Ordinary Deck of Cards"
For NeverWinter Nights 1.67

Anthony Scott Bay 21 June 2006 abyss_project@yahoo.com

- This set of items represents a deck of cards and the cards drawn. There are only two blueprints, one for the deck and another is a template for all cards to be based on. I’m sorry, but DMs cannot spawn specific cards- no divine intervention in your poker games, I’m afraid ;) - By default modules should run scripts based on item tags, allowing you to import the ERF and start dealing. If you do not have tag-based item scripts and need help, I’m sure there are threads elsewhere that can help you.

(The items themselves have relevant information in their descriptions.)

+ The deck of cards, when incomplete, is Plot and cannot be sold by players, -- as it stores by variable the cards it possesses, which would be lost in a merchant. -- Since a deck of cards cannot be sold, neither can individual cards. This cannot be changed. -- NOTE: "A Sealed Deck of Cards" can be sold, and its first use will initialize the deck. -- When a deck has all 52 cards, it becomes "A Full Deck of Cards" and can be sold.

+ Players cannot add more than one instance of a card to a deck.

+ A deck can do the following after being initialized: -- Target self: Deal a card to yourself. -- Target ground: Place a card at the targeted location. -- Target player: Deal a card to the target player. ONLY works on players and DMs. -- -- Add the module variable "CARDS_NPC" (int) and set to 1 to allow dealing to NPCs. -- -- This will fire the NPC’s OnDisturbed event, if you want the NPC to do something with the card right away.

+ A card, when dealt, is face-down, and can do the following: -- Target owner: Look at the card -- Target player: Reveal the card to the target player. If you want an NPC to make use of this, -- -- use OnSpellCastAt to make the NPC react, using the last item activated and getting the local variables -- -- "SUIT" (a string) and "VALUE" (an int). -- Target card (self): Flip the card over, changing its name to either "A Face-down Card" or "A (Value) of (Suit)". -- Target deck: Attempt to add the card to the target deck.

I hope you and your players find it useful, fun and easy to use :)

I like this idea, I have the mental image of a group of PC's player games in a seedy tavern like the crone. I know you can already do that, but in this case it means you can play with only a select group of friends and leaves RP possibilities, like the dealer cheating and such.

The thing is, PCs don't even play dice right now in seedy taverns. I am not sure it would be worth someone's effort do to all of it if it never got used.

There's a NPC that offers to play card with him, you can be many to play with him at the same time. Go try it out, it's fun.

Playing through a full game of poker or something with this system would take too long. If people want to play a seedy game of cards in The Crone, then they already can; Courtesy of Mr. Raus and his Royal Dragons.

Mr. Raus only has one game. Blackjack.

By this suggestion, Players could play any game of cards at all. Solitaire, if they really cared to. Poker has been legitimately played on NWN before (albeit, not necessarily on EfU), but then, it was one guy dealing on a desk in his house, and sending Tells to everyone else, telling them what they got.

ideally, by this, even the -dealer- could play.

Currently the Tarot deck just shows the result of the draw to the user. So it leaves a lot of room for cheating.

Currently the Tarot deck just shows the result of the draw to the user. So it leaves a lot of room for cheating.

It would rather be nice if it showed the result to others.

As for the lack of a "normal" deck of cards, I have an alternative solution... create card games centered around the current Tarot deck. Would make for more RP, and could be quite fun... :wink:

As far as I can tell, the Tarot deck used in EfU is based on cards contained in a standard Rider-Waite Tarot deck, which contains 56 minor arcana, 21 major arcana, and "The Fool" which is considered a zero value card.

The 56 minor arcana are basically a contemporary deck of playing cards, with 4 additional "Page" cards. (Instead of just Jack, Queen, King, there is also "Page".)

A brief description of the major arcana can be found at http://en.wikipedia.org/wiki/Major_Arcana

Is there an echo in here? hehe.

Appropriate for you to comment on that though, as you ARE one of the minor arcana court cards. Although as I said in my other post, my set of Tarot is Page, Knight (not Jack), Queen, King.

Tarot (tarocchi) is actually itself a medieval and renaissance card game that uses the major arcana as a fifth suit of trump cards and therefore is played with the full 78 card deck. The fortune telling aspect of the deck used for the game called "tarot" did not arise until much later in the 18th century.

Rules for a variant of that game are here (its ALOT like modern 500, or "hearts/black b*tch" except with five suits)

Bit of card history lifted from here: Playing cards came to Europe from Islam, probably via Muslim Spain, about 50 years before the development of tarot. They appeared quite suddenly in many different European cities between 1375 and 1378. European playing cards were an adaptation of the Islamic Mamluk cards. These early cards had suits of cups, swords, coins, and polo sticks (seen by Europeans as staves), and courts consisting of a king and two male underlings. The tarot adds the Fool, the trumps, and a set of queens to this system. Some time before 1480, the French introduced cards with the now-familiar suits of hearts, clubs, spades, and diamonds. The earlier suits are still preserved in the tarot and in Italian and Spanish playing cards.