Shuffling decks


If it doesn't fit anywhere else, it belongs here. Also, come here if you just need to get hammered.

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Sunday, 30th November 2014, 20:57

Shuffling decks

[Edit: The project mentioned in this OP has since been completed. All wiki information on decks and cards has been updated and are centrally accessible from those topics. Thanks to all for the input and corrections.]

I'm in the process of completely overhauling the wiki with respect to decks and cards. The main page on decks has been completed, and a separate page for cards has its seed in an up-to-date list of cards. The new cards page will have a table showing what decks each card can be found in, which I have built, but have yet to convert to the wiki code. These past two days have been spent playing with the game code, rather than the game, and the fruits are now beginning to show. In the end, each card will have its own page, the individual deck pages will be the history of that deck's contents, and the shuffling of the decks in the game should be an issue no longer with keeping it updated and current on the wiki.

Let me know what you think, and certainly point out if you find any errors.

Thanks.
Last edited by Aule on Wednesday, 3rd December 2014, 21:45, edited 1 time in total.

For this message the author Aule has received thanks: 7
Greyr, johlstei, Lasty, rockygargoyle, Sar, xentronium, XuaXua
User avatar

Ziggurat Zagger

Posts: 5832

Joined: Thursday, 10th February 2011, 18:30

Post Monday, 1st December 2014, 04:35

Re: Shuffling decks

Aule wrote:I'm in the process of completely overhauling the wiki with respect to decks and cards. The main page on decks has been completed, and a separate page for cards has its seed in an up-to-date list of cards. The new cards page will have a table showing what decks each card can be found in, which I have built, but have yet to convert to the wiki code. These past two days have been spent playing with the game code, rather than the game, and the fruits are now beginning to show. In the end, each card will have its own page, the individual deck pages will be the history of that deck's contents, and the shuffling of the decks in the game should be an issue no longer with keeping it updated and current on the wiki.


I think that a page per card might be overkill.
"Be aware that a lot of people on this forum, such as mageykun and XuaXua, have a habit of making things up." - minmay a.k.a. duvessa
Did I make a lame complaint? Check for Bingo!
Totally gracious CSDC Season 2 Division 4 Champeen!

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Monday, 1st December 2014, 05:32

Re: Shuffling decks

I thought so at first, too, but there's no way around it given the continuing shuffling of these decks. Though the cards themselves are not items, they are virtually so, being selectively manipulated for particular effects, with some being changed, others being removed, and still more being added. It's the simplest way to track these changes, since it can no longer be relied upon that the deck structures won't significantly change. It also helps immensely when searching for them, which is perhaps the most important thing in a wiki. I'm finding the single-page look tidy, having finished about a third of them, each with its own little history. When the project is complete, I think you'll like the navigability of it all.

For this message the author Aule has received thanks:
Sandman25

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Tuesday, 2nd December 2014, 00:33

Re: Shuffling decks

Completed.

Dungeon Master

Posts: 1051

Joined: Thursday, 12th June 2014, 05:19

Post Tuesday, 2nd December 2014, 02:23

Re: Shuffling decks

Here.

Very impressive!

e: it looks like there's only 0.16 information for the newly added cards?

For this message the author PleasingFungus has received thanks: 2
Aule, Piginabag
User avatar

Tomb Titivator

Posts: 793

Joined: Tuesday, 28th January 2014, 16:08

Post Tuesday, 2nd December 2014, 02:27

Re: Shuffling decks

Wow this is awesome.
If you are offended by something I've posted, just PM me. It probably wasn't intentional.
User avatar

Tartarus Sorceror

Posts: 1891

Joined: Monday, 1st April 2013, 04:41

Location: Toronto, Canada

Post Tuesday, 2nd December 2014, 03:52

Re: Shuffling decks

PleasingFungus wrote:Here.


ARCHETYPE ISN'T AN ADJECTIVE!!!!
take it easy

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Tuesday, 2nd December 2014, 05:42

Re: Shuffling decks

PleasingFungus wrote:Here.

Very impressive!

Thanks for the nice review! (and the link - D'oh!)

e: it looks like there's only 0.16 information for the newly added cards?

No excuses. I probably left gaping holes all over the place in the blue haze of gettin-r-done. Please, if you see anything you could add, then do, if you're signed up. I gleaned the nonexistent data from perfunctorily browsed code (0.5 through 0.16) and the development change log. I'm sure I missed a lot.

Edit: oh, and there hadn't been any updates to the wiki's cards/decks since 0.14, so there was nothing to go on there for the 0.15 cards. That's what I meant by nonexistent. What data I found just to build the structure likely missed the nuances of functionality changes across versions. That certainly should be done. Also, the console images alongside the tiles icons need to be added to the summoning cards. And the tables need to be prettified. They're just hideous. I didn't study that part very well either. :)
User avatar

Ziggurat Zagger

Posts: 4478

Joined: Wednesday, 23rd October 2013, 07:56

Post Tuesday, 2nd December 2014, 12:41

Re: Shuffling decks

Wiki says about Illusion:
The Illusion card summons an illusion of the player to fight alongside, and functions like Mara's ability. Because most characters must be wielding a deck to draw this card, the illusion will be treated as though it were wielding the weapon in your inventory set to item a (or b if the deck is a).


Is that right? Learndb says:
Prompts you to wield a weapon, and summons an illusion of you (like Mara's) that wields your weapon and has a limited spell list based on yours.


In 0.15, I seem to remember that it prompted to wield a weapon.
DCSS: 97:...MfCj}SpNeBaEEGrFE{HaAKTrCK}DsFESpHu{FoArNaBe}
FeEE{HOIEMiAE}GrGlHuWrGnWrNaAKBaFi{MiDeMfDe}{DrAKTrAMGhEnGnWz}
{PaBeDjFi}OgAKPaCAGnCjOgCKMfAEAtCKSpCjDEEE{HOSu
Bloat: 17: RaRoPrPh{GuStGnCa}{ArEtZoNb}KiPaAnDrBXDBQOApDaMeAGBiOCNKAsFnFlUs{RoBoNeWi

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Tuesday, 2nd December 2014, 15:42

Re: Shuffling decks

Sprucery wrote:Is that right? Learndb says:
Prompts you to wield a weapon, and summons an illusion of you (like Mara's) that wields your weapon and has a limited spell list based on yours.


In 0.15, I seem to remember that it prompted to wield a weapon.

The only code difference between the 0.15 and 0.16 routines for this card appears to be the line that says
  Code:
 _do_weapon_swap();

It is removed in the 0.16 code, unless my code is swapped...

What I'd really love to see is new code embedded in these and other routines, made specifically and descriptively for official documentation so that iterating code bases may be crawled by bots for updates.

Crude example:
  Code:
//dox-purpose:"Creates an allied player illusion."
//dox-details:"blahblahblah..."

Something like this may be desirable as the code base grows ever larger and as iterations remain frequent. In this way, the coders and devs themselves supply the "official" text of their handiwork, as part of its construction.

Ziggurat Zagger

Posts: 4055

Joined: Tuesday, 10th January 2012, 19:49

Post Tuesday, 2nd December 2014, 16:17

Re: Shuffling decks

In 0.16 Illusion card doesn't prompt for a weapon swap any more (since you can use decks from inventory).

In 0.15 it asked you to wield a weapon after you drew it.

For this message the author crate has received thanks:
Aule

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Tuesday, 2nd December 2014, 16:30

Re: Shuffling decks

Dungeon Master

Posts: 1051

Joined: Thursday, 12th June 2014, 05:19

Post Tuesday, 2nd December 2014, 17:53

Re: Shuffling decks

Aule wrote:What I'd really love to see is new code embedded in these and other routines, made specifically and descriptively for official documentation so that iterating code bases may be crawled by bots for updates.

Crude example:
  Code:
//dox-purpose:"Creates an allied player illusion."
//dox-details:"blahblahblah..."

Something like this may be desirable as the code base grows ever larger and as iterations remain frequent. In this way, the coders and devs themselves supply the "official" text of their handiwork, as part of its construction.

We do in fact try to document our code (using Doxygen), but the codebase is very large, and generally uncommented; my policy has been to document newly-added and modified functions, but it's a slow project. (Also, our documentation is generally intended for developers, rather than players - though there's overlap between the use cases.)

A couple of (mostly) documented files: describe-spells.cc, godblessing.cc. Probably the internal workings of the functions could do with more description in the function comments (steering closer to _tso_bless_follower's comment than _beogh_bless_follower's): otherwise, how do you tell if something is a bug or intended functionality?

Patches are always welcome, in any case.

For this message the author PleasingFungus has received thanks:
Aule

Abyss Ambulator

Posts: 1182

Joined: Tuesday, 13th September 2011, 20:34

Post Tuesday, 2nd December 2014, 20:34

Re: Shuffling decks

Can we remove decks and Nemelex from the game as soon as he is done?
-Xom
User avatar

Tomb Titivator

Posts: 802

Joined: Sunday, 30th March 2014, 21:06

Post Tuesday, 2nd December 2014, 21:20

Re: Shuffling decks

The Mercenary card can summon merfolk.

http://crawl.chaosforge.org/Mercenary_card
Comborobin Admin

For this message the author xentronium has received thanks:
Aule

Dungeon Master

Posts: 1051

Joined: Thursday, 12th June 2014, 05:19

Post Wednesday, 3rd December 2014, 06:00

Re: Shuffling decks

Image
Image

???


To be a little more productive, the list of mercenaries produced by the mercenary card in 0.15/0.16 is:

big kobold, merfolk, naga, tengu, deep elf conjurer, orc knight, random base demonspawn (no class), ogre mage, minotaur, random base draconian (no class), deep elf blademaster.

0.14 had:

big kobold, merfolk, naga, tengu, orc knight, centaur warrior, spriggan rider, ogre mage, minotaur, random base draconian (no class), deep elf blademaster.

For this message the author PleasingFungus has received thanks: 2
Aule, rockygargoyle
User avatar

Tartarus Sorceror

Posts: 1881

Joined: Saturday, 7th September 2013, 21:16

Location: Itajubá, MG, Brazil.

Post Wednesday, 3rd December 2014, 08:54

Re: Shuffling decks

I love the mercenary card so damn much. a little less now that your merc can not pick stuff from the floor. can you get demonspawns? I did not know that. he can level up and get a class? the idea of evolving allies is one of the coolest in Crawl, starting with Beogh.
my posts are to be read in a mildly playful tone, with a deep, sexy voice.

For this message the author Hirsch I has received thanks:
Aule

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Wednesday, 3rd December 2014, 16:34

Re: Shuffling decks

xentronium wrote:The Mercenary card can summon merfolk.

http://crawl.chaosforge.org/Mercenary_card

PleasingFungus wrote:To be a little more productive, the list of mercenaries produced by the mercenary card in 0.15/0.16 is:

big kobold, merfolk, naga, tengu, deep elf conjurer, orc knight, random base demonspawn (no class), ogre mage, minotaur, random base draconian (no class), deep elf blademaster.

0.14 had:

big kobold, merfolk, naga, tengu, orc knight, centaur warrior, spriggan rider, ogre mage, minotaur, random base draconian (no class), deep elf blademaster.

Hirsch I wrote:I love the mercenary card so damn much. a little less now that your merc can not pick stuff from the floor. can you get demonspawns? I did not know that. he can level up and get a class? the idea of evolving allies is one of the coolest in Crawl, starting with Beogh.

fixed

For this message the author Aule has received thanks:
xentronium

Swamp Slogger

Posts: 173

Joined: Saturday, 23rd November 2013, 23:58

Post Wednesday, 3rd December 2014, 17:30

Re: Shuffling decks

Hirsch I wrote:I love the mercenary card so damn much. a little less now that your merc can not pick stuff from the floor. can you get demonspawns? I did not know that. he can level up and get a class? the idea of evolving allies is one of the coolest in Crawl, starting with Beogh.

Draconians, nagas, tengu, merfolk can evolve and get a class/classes.
Demonspawn, big kobolds (why do we still have big kobolds as mercenaries anyway?), minotaurs, ogre mages, deep elves blade masters will only get more HD and its benefits.
Orc knights, deep elves conjurers and get their classes improved
User avatar

Tomb Titivator

Posts: 802

Joined: Sunday, 30th March 2014, 21:06

Post Wednesday, 3rd December 2014, 19:13

Re: Shuffling decks

Hirsch I wrote:I love the mercenary card so damn much. a little less now that your merc can not pick stuff from the floor. can you get demonspawns? I did not know that. he can level up and get a class? the idea of evolving allies is one of the coolest in Crawl, starting with Beogh.


I got a merfolk mercenary in my last game, and he/she had a vampiric trident! I kept it alive through lair and it became an impaler. I made a positioning mistake and the merc died in snake, and after that I pretty much lost interest in the character and died shortly afterwards.

There was an idea for a permanent ally god some time ago..
viewtopic.php?f=8&t=10468&hilit=permanent+ally+god
Comborobin Admin
User avatar

Ziggurat Zagger

Posts: 5832

Joined: Thursday, 10th February 2011, 18:30

Post Wednesday, 3rd December 2014, 19:24

Re: Shuffling decks

My opinion has been that any reduction in utility for allies (like the removal of equipment swapping) is a step down for anyone who actually used allies.

My opinion is generally not the popular one.
"Be aware that a lot of people on this forum, such as mageykun and XuaXua, have a habit of making things up." - minmay a.k.a. duvessa
Did I make a lame complaint? Check for Bingo!
Totally gracious CSDC Season 2 Division 4 Champeen!
User avatar

Tartarus Sorceror

Posts: 1881

Joined: Saturday, 7th September 2013, 21:16

Location: Itajubá, MG, Brazil.

Post Wednesday, 3rd December 2014, 20:22

Re: Shuffling decks

I think the removal of ally equipping was a incredible improvement for Beogh, but a downgrade for Merc card and Gozag. I mean, Gozag did not need a nerf at all.
my posts are to be read in a mildly playful tone, with a deep, sexy voice.

Dungeon Master

Posts: 1051

Joined: Thursday, 12th June 2014, 05:19

Post Wednesday, 3rd December 2014, 20:54

Re: Shuffling decks

Hirsch I wrote:I think the removal of ally equipping was a incredible improvement for Beogh, but a downgrade for Merc card and Gozag. I mean, Gozag did not need a nerf at all.

by 'gozag', do you mean 'yred'

if not, what on earth are you talking about

Swamp Slogger

Posts: 173

Joined: Saturday, 23rd November 2013, 23:58

Post Wednesday, 3rd December 2014, 21:13

Re: Shuffling decks

In 0.15 bribe branch gave permanent allies IIRC
User avatar

Tartarus Sorceror

Posts: 1881

Joined: Saturday, 7th September 2013, 21:16

Location: Itajubá, MG, Brazil.

Post Wednesday, 3rd December 2014, 22:34

Re: Shuffling decks

it does not anymore?
my posts are to be read in a mildly playful tone, with a deep, sexy voice.

Dungeon Master

Posts: 1051

Joined: Thursday, 12th June 2014, 05:19

Post Wednesday, 3rd December 2014, 22:39

Re: Shuffling decks

rockygargoyle wrote:In 0.15 bribe branch gave permanent allies IIRC

do you mean 'allies that you had to re-bribe regularly''?

if people were actually using those as pseudo-mercenaries over a long enough time for equipment swapping to matter, then I can see why that mechanic was removed

(though I could have sworn that no-mon-pickup predated gozag's implementation... maybe it didn't predate gods branch?)
User avatar

Tartarus Sorceror

Posts: 1881

Joined: Saturday, 7th September 2013, 21:16

Location: Itajubá, MG, Brazil.

Post Wednesday, 3rd December 2014, 23:36

Re: Shuffling decks

it is very possible that I have absolutely no idea what I'm talking about. :oops:
my posts are to be read in a mildly playful tone, with a deep, sexy voice.
User avatar

Ziggurat Zagger

Posts: 4478

Joined: Wednesday, 23rd October 2013, 07:56

Post Thursday, 4th December 2014, 09:01

Re: Shuffling decks

How does Illusion work with regard to spells? Do you have to have a certain failure rate before Illusion casts the spell? In particular, is it worth it to memorise a high-level attack spell you wouldn't normally yet use, just to get the Illusion to cast it?
DCSS: 97:...MfCj}SpNeBaEEGrFE{HaAKTrCK}DsFESpHu{FoArNaBe}
FeEE{HOIEMiAE}GrGlHuWrGnWrNaAKBaFi{MiDeMfDe}{DrAKTrAMGhEnGnWz}
{PaBeDjFi}OgAKPaCAGnCjOgCKMfAEAtCKSpCjDEEE{HOSu
Bloat: 17: RaRoPrPh{GuStGnCa}{ArEtZoNb}KiPaAnDrBXDBQOApDaMeAGBiOCNKAsFnFlUs{RoBoNeWi
User avatar

Ziggurat Zagger

Posts: 4478

Joined: Wednesday, 23rd October 2013, 07:56

Post Thursday, 4th December 2014, 10:27

Re: Shuffling decks

In the arcetype deck description section, deck of Summoning, trunk, links for the Crusade and the Dance point to wrong pages.
DCSS: 97:...MfCj}SpNeBaEEGrFE{HaAKTrCK}DsFESpHu{FoArNaBe}
FeEE{HOIEMiAE}GrGlHuWrGnWrNaAKBaFi{MiDeMfDe}{DrAKTrAMGhEnGnWz}
{PaBeDjFi}OgAKPaCAGnCjOgCKMfAEAtCKSpCjDEEE{HOSu
Bloat: 17: RaRoPrPh{GuStGnCa}{ArEtZoNb}KiPaAnDrBXDBQOApDaMeAGBiOCNKAsFnFlUs{RoBoNeWi

For this message the author Sprucery has received thanks:
Aule

Crypt Cleanser

Posts: 723

Joined: Monday, 9th June 2014, 13:39

Post Thursday, 4th December 2014, 13:54

Re: Shuffling decks

Sprucery wrote:In the arcetype deck description section, deck of Summoning, trunk, links for the Crusade and the Dance point to wrong pages.

fixed. (good catch, btw)

Dungeon Master

Posts: 1051

Joined: Thursday, 12th June 2014, 05:19

Post Thursday, 4th December 2014, 19:54

Re: Shuffling decks

Sprucery wrote:How does Illusion work with regard to spells? Do you have to have a certain failure rate before Illusion casts the spell? In particular, is it worth it to memorise a high-level attack spell you wouldn't normally yet use, just to get the Illusion to cast it?

IIRC, it uses the same logic as player ghosts & (sort of) spellforged servitors: fail rate must be below 50% for the illusion to cast it.

This is just off the top of my head; I may be wrong.
User avatar

Tartarus Sorceror

Posts: 1891

Joined: Monday, 1st April 2013, 04:41

Location: Toronto, Canada

Post Thursday, 4th December 2014, 21:13

Re: Shuffling decks

Sprucery wrote:arcetype deck


you all do violence to this language
take it easy

For this message the author Arrhythmia has received thanks:
duvessa
User avatar

Ziggurat Zagger

Posts: 4478

Joined: Wednesday, 23rd October 2013, 07:56

Post Friday, 5th December 2014, 14:43

Re: Shuffling decks

Forum FR: put a Spank button next to the Thank button.
DCSS: 97:...MfCj}SpNeBaEEGrFE{HaAKTrCK}DsFESpHu{FoArNaBe}
FeEE{HOIEMiAE}GrGlHuWrGnWrNaAKBaFi{MiDeMfDe}{DrAKTrAMGhEnGnWz}
{PaBeDjFi}OgAKPaCAGnCjOgCKMfAEAtCKSpCjDEEE{HOSu
Bloat: 17: RaRoPrPh{GuStGnCa}{ArEtZoNb}KiPaAnDrBXDBQOApDaMeAGBiOCNKAsFnFlUs{RoBoNeWi
User avatar

Tartarus Sorceror

Posts: 1881

Joined: Saturday, 7th September 2013, 21:16

Location: Itajubá, MG, Brazil.

Post Friday, 5th December 2014, 15:11

Re: Shuffling decks

INB4: "damn, i misspanked. how do I unspank a post?"
my posts are to be read in a mildly playful tone, with a deep, sexy voice.

Ziggurat Zagger

Posts: 2996

Joined: Tuesday, 28th June 2011, 20:41

Location: Berlin

Post Friday, 5th December 2014, 15:15

Re: Shuffling decks

I'd spank Arrhythmia
User avatar

Tartarus Sorceror

Posts: 1891

Joined: Monday, 1st April 2013, 04:41

Location: Toronto, Canada

Post Friday, 5th December 2014, 18:44

Re: Shuffling decks

I, too, would spank Arrhythmia.
take it easy

Return to Crazy Yiuf's Corner

Who is online

Users browsing this forum: No registered users and 27 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.