code logs -> 2017 -> Sat, 15 Jul 2017< code.20170714.log - code.20170716.log >
--- Log opened Sat Jul 15 00:00:23 2017
00:32 Jessikat`` [Jessikat@Nightstar-0fqrs6.dab.02.net] has quit [Ping timeout: 121 seconds]
00:51 Derakon[AFK] is now known as Derakon
01:45 domtron_ [domtron@Nightstar-rcjs8g.sub-174-196-165.myvzw.com] has joined #code
01:49 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has joined #code
01:49 mode/#code [+o celticminstrel] by ChanServ
02:06 domtron_ [domtron@Nightstar-rcjs8g.sub-174-196-165.myvzw.com] has quit [[NS] Quit: Goodbye.]
02:13 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving]
02:29 Turaiel[Offline] is now known as Turaiel
02:37 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [[NS] Quit: beroot]
02:46 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
02:46 mode/#code [+o Alek] by ChanServ
04:48 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
05:28 Derakon is now known as Derakon[AFK]
05:43 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
05:58 Turaiel is now known as Turaiel[Offline]
06:16 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:18 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
07:24 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
08:40 Kindamoody[zZz] is now known as Kindamoody
12:34 Kindamoody is now known as Kindamoody|afk
13:15 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
13:50 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
13:51 mode/#code [+o macdjord] by ChanServ
13:53 macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
14:06 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
14:06 mode/#code [+o mac] by ChanServ
14:08 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
14:09 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
14:10 mode/#code [+o macdjord] by ChanServ
14:12 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
14:56 mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code
14:56 mode/#code [+o mac] by ChanServ
14:59 macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds]
15:46 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has joined #code
15:46 mode/#code [+o celticminstrel] by ChanServ
16:36 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
16:36 mode/#code [+qo Vornicus Vornicus] by ChanServ
18:22 Kindamoody|afk is now known as Kindamoody
18:23
<&[R]>
Data structure/storage question: currently I'm working on a schema for describing races in an RPG game. Initially it was fairly simply and I had races that would always have 100% of the listed traits. So I could simply have traits be a key/value list, where the values are strings. But now I also have a few races that only have X of the total listed traits. And I'm not really sure how I should handle them.
18:36
<~Vornicus>
So wait, like
18:36
<~Vornicus>
You have Elves, which have pointed ears and long life spans and shit like that
18:37
< Kizor>
Man, fuck those guys
18:37
<~Vornicus>
And then you have Half-Elves which may or may not have pointed ears, and may or may not have long life spans, and there's this long list and they might get like half of the traits from their list?
18:44
<&[R]>
Not quite
18:45
<&[R]>
* *Assume Reptilian Trait*: As a lizardfolk, you are a paragon of reptilian kind. At 1st level, choose any two of the following traits. These traits cannot be changed a later time.
18:45
<&[R]>
** Gecko Feet: You gain a Base Climb Speed equal to your Base Land Speed. You can scale sheer vertical surfaces.
18:45
<&[R]>
** Alligator Lungs: You can hold your breath for 8 x your Constitution modifier before needing to make checks to stave off suffocation.
18:45
<&[R]>
** Crocodile Tail: You gain a Base Swim Speed equal to your Base Land Speed.
18:45
<&[R]>
^ the source material
18:46 * [R] rereads, actually, yeah. Kind of like that.
19:00
<~Vornicus>
hm. okay so when I built a thing that did 4e D&D character generation I had a somewhat similar problem: in that game, you have some number of skills that are considered your "class skills" from which you must pick some. I had a list and a number, basically.
19:01
<~Vornicus>
But it was actually somewhat more complicated than this
19:01
<~Vornicus>
You had, for instance, the Cleric, which always always had to pick Religion, or the Rogue, which always always had to pick Stealth and Thievery
19:02
<~Vornicus>
or, even worse, the Ranger, which always always had to have at least one of Dungeoneering or Nature.
19:03
<&[R]>
Also if it helps any, the storage format is json
19:04
<~Vornicus>
right, as was mine
19:06
<~Vornicus>
so for the ranger I had 'skill_piles': [['dun', 'nat'], ['acr', 'ath', 'end', 'hea', 'per', 'ste']], 'skill_counts': [1,4,0]
19:06
<~Vornicus>
And then on top of that I'd add the racial skill count bonus, which only showed up sometimes: humans had 'skill_counts': [0,1,0] and eladrin [0,0,1]
19:07
<~Vornicus>
So ultimately I'd add the counts up and have the user select from them
19:10
<~Vornicus>
In a more general way I'd do something like this: 'trait_groups': {'reptilian': {'count': 2, 'traits': {'Gecko Feet': '...'} } }
19:12
<&[R]>
Alright, thanks
19:13
<~Vornicus>
and then you can skip count if you want all of them and don't feel like counting yourself
19:19 Kindamoody is now known as Kindamoody|out
19:35 Derakon[AFK] is now known as Derakon
20:42 Turaiel[Offline] is now known as Turaiel
22:03 Turaiel is now known as Turaiel[Offline]
22:14 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
22:14 Jessikat` [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
22:54 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
23:08 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
23:08 mode/#code [+o Alek] by ChanServ
23:12 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
23:15 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
23:15 mode/#code [+o Alek] by ChanServ
23:27 Kindamoody|out is now known as Kindamoody
23:45 Kindamoody is now known as Kindamoody[zZz]
--- Log closed Sun Jul 16 00:00:24 2017
code logs -> 2017 -> Sat, 15 Jul 2017< code.20170714.log - code.20170716.log >

[ Latest log file ]