Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 7380 7381 [7382] 7383 7384 ... 13332

Author Topic: [MILK] There were 12 eggs here what did you do with them? (Happy thread?!)  (Read 16270094 times)

kaijyuu

  • Bay Watcher
  • Hrm...
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110715 on: August 07, 2013, 12:22:16 am »

Watching more Xena: Warrior Princess. I love this show. One day I shall convince my relatives that I really don't watch it for the sex appeal at all, but that's okay.
You can watch it for all the "respectable" qualities AND the sex appeal. Just sayin'~


If you like Xena you'd probably like the Hercules series that aired about the same time, assuming you haven't seen it (Xena's a spinoff of it so I assume you've at least heard of it).
Logged
Quote from: Chesterton
For, in order that men should resist injustice, something more is necessary than that they should think injustice unpleasant. They must think injustice absurd; above all, they must think it startling. They must retain the violence of a virgin astonishment. When the pessimist looks at any infamy, it is to him, after all, only a repetition of the infamy of existence. But the optimist sees injustice as something discordant and unexpected, and it stings him into action.

penguinofhonor

  • Bay Watcher
  • Minister of Love
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110716 on: August 07, 2013, 01:39:01 am »

I watched Sharknado again. It's just as amazing the second time.
Logged

Xantalos

  • Bay Watcher
  • Your Friendly Salvation
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110717 on: August 07, 2013, 01:47:27 am »

I just saw Stephen Colbert dancing to Get Lucky.
This is the best thing ever
Logged
Sig! Onol
Quote from: BFEL
XANTALOS, THE KARATEBOMINATION
Quote from: Toaster
((The Xantalos Die: [1, 1, 1, 6, 6, 6]))

Bdthemag

  • Bay Watcher
  • Die Wacht am Rhein
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110718 on: August 07, 2013, 01:48:03 am »

I just saw Stephen Colbert dancing to Get Lucky.
This is the best thing ever
I'm glad I'm not the only one who appreciates this.
Logged
Well, you do have a busy life, what with keeping tabs on wild, rough-and-tumble forum members while sorting out the drama between your twenty two inner lesbians.
Your drunk posts continue to baffle me.
Welcome to Reality.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110719 on: August 07, 2013, 03:51:38 am »

Code: [Select]
-- Assigns claspects based on personality

personality_weights = {
aspects = {
breath = {
ANXIETY                 = -3,
ANGER                   =  0,
DEPRESSION              = -2,
SELF_CONSCIOUSNESS      = -5,
IMMODERATION            =  2,
VULNERABILITY           =  0,
FRIENDLINESS            =  2,
GREGARIOUSNESS          =  3,
ASSERTIVENESS           =  1,
ACTIVITY_LEVEL          =  2,
ASSERTIVENESS           =  3,
EXCITEMENT_SEEKING      =  6,
CHEERFULNESS            =  4,
IMAGINATION             =  1,
ARTISTIC_INTEREST       =  1,
EMOTIONALITY            =  1,
ADVENTUROUSNESS         =  6,
INTELLECTUAL_CURIOUSITY =  1,
LIBERALISM              =  0,
TRUST                   =  1,
STRAIGHTFORWARDNESS     =  2,
ALTRUISM                =  1,
COOPERATION             =  2,
MODESTY                 =  0,
SYMPATHY                =  0,
SELF_EFFICACY           =  5,
ORDERLINESS             = -2,
DUTIFULNESS             = -3,
ACHIEVEMENT_STRIVING    =  1,
SELF_DISCIPLINE         = -1,
CAUTIOUSNESS            =  1},
--23 more of that--
}

local function getTotal(tbl)
local total = {0,0}
for k,v in ipairs(tbl) do
if v>0
then
total[1]=v+total[1]
else
total[2]=v+total[2]
end
end
return total
end

local function getSignlessTotal(tbl)
local total
for k,v in ipairs(tbl) do
total=v+total
end
return total
end

local function getWeightAverages()
local weightAverages={{0,0},{0,0}}
for k,aspect in ipairs(personality_weights.aspects) do
local total = getTotal(aspect)
for i=1,2 do
weightAverages[1][i]=weightAverages[1][i]+total[i]
end
end
for i=1,2 do
weightAverages[1][i]=weightAverages[1][i]/12
end
for k,class in ipairs(personality_weights.classes) do
local total = getTotal(class)
for i=1,2 do
weightAverages[2][i]=weightAverages[2][i]+total[i]
end
end
for i=1,2 do
weightAverages[2][i]=weightAverages[2][i]/12
end
return weightAverages
end

function fixWeights() --this is here so I don't have to think about my weights meaning anything :D What's important is that they stay similar relative to one another, which this preserves.
local weightAverages=getWeightAverages()
for k,aspect in pairs(personality_weights.aspects) do
local total=getTotal(aspect)
for kk,trait in pairs(aspect) do
if trait>0
then
trait=(weightAverages[1][1]/total)*trait
else
trait=(weightAverages[1][2]/total)*trait --no check for 0 specifically because the equation will come out to 0 anyway
end
end
end
for k,class in ipairs(personality_weights.classes) do
local total=getTotal(class)
for kk,trait in ipairs(class) do
if trait>0
then
trait=(weightAverages[2][1]/total)*trait
else
trait=(weightAverages[2][2]/total)*trait --no check for 0 specifically because the equation will come out to 0 anyway
end
end
end
end

fixWeights()

local function returnFirstInTable(tbl,k)
for k,v in ipairs(tbl) do
if k then return k else return v end
end
end

local function alreadyHasSyndrome(unit,syn_id)
    for _,syndrome in ipairs(unit.syndromes.active) do
        if syndrome.type == syn_id then return true end
    end
    return false
end

local function assignSyndrome(target,syn_id) --taken straight from here, but edited so I can understand it better: https://gist.github.com/warmist/4061959/. Also implemented expwnent's changes for compatibility with syndromeTrigger. I have used this so much ;_;
    if df.isnull(target) then
        return nil
    end
    if alreadyHasSyndrome(target,syn_id) then
        return true --I can omit the reset because they aren't going to ever lose their claspect
    end
    local newSyndrome=df.unit_syndrome:new()
    local target_syndrome=df.syndrome.find(syn_id)
    newSyndrome.type=target_syndrome.id
    newSyndrome.year=df.global.cur_year
    newSyndrome.year_time=df.global.cur_year_tick
    newSyndrome.ticks=1
    newSyndrome.unk1=1
    for k,v in ipairs(target_syndrome.ce) do
        local sympt=df.unit_syndrome.T_symptoms:new()
        sympt.ticks=1
        sympt.flags=2
        newSyndrome.symptoms:insert("#",sympt)
    end
    target.syndromes.active:insert("#",newSyndrome)
    return true
end

function assignClaspect(unit,creatureClass,creatureAspect) --Putting all of the claspect combos into a single table would be... problematic.
for k,v in ipairs(df.global.world.raws.syndromes.all) do
if string.find(v.syn_name,creatureClass) and string.find(v.syn_name,creatureAspect) then
assignSyndrome(unit,k)
end
end
end

function unitAlreadyHasClaspect(unit)
    for _,syndrome in ipairs(unit.syndromes.active) do
        if string.find(df.global.world.raws.syndromes.all[syndrome.type].name,"hero") then return true end
    end
    return false
end


function makeClaspect(unit)
if unitAlreadyHasClaspect(unit) then return nil end
local personality=unit.status.current_soul.traits
local creatureWeights={{},{}}
for i=1,2 do
for claspect in pairs(personality_weights[i]) do
for trait in pairs(claspect) do --my favorite part is how this would probably work the same if I replaced "aspect" with "personality"
creatureWeights[i][claspect][trait]=personality[trait]*claspect[trait]
end
end
table.sort(creatureWeights[i],function(a,b) return getSignlessTotal(a)>getSignlessTotal(b) end)
end
local creatureAspect = returnFirstInTable(creatureWeights[1],true)
local creatureClass  = returnFirstInTable(creatureWeights[2],true)
assignClaspect(unit,creatureClass,creatureAspect)
end

dfhack.onStateChange.claspect = function(code)
if code==SC_WORLD_LOADED then
dfhack.timeout(1,'ticks',monthlyClaspectAssign)
end
end

function monthlyClaspectAssign()
for _,unit in ipairs(df.global.world.units.active) do
makeClaspect(unit)
end
end

dfhack.onStateChange.claspect()

Wrote this (what is basically Fortbent 6 by itself) in one day. Woohoo!

Next step: determining if it works! That returnFirstInTable function is especially suspect.

ggamer

  • Bay Watcher
  • Reach Heaven through Violence
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110720 on: August 07, 2013, 11:15:45 am »

I red one line as local  function getLucky

up all night to the sun up all night for good fun up all night to get some

I'M UP ALL NIGHT TO GET L8CKY

Sirus

  • Bay Watcher
  • Resident trucker/goddess/ex-president.
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110721 on: August 07, 2013, 12:56:37 pm »

Quick Bay 12, convince me to start watching Game of Thrones. First season is on sale and I've heard a lot about it.
Logged
Quote from: Max White
And lo! Sirus did drive his mighty party truck unto Vegas, and it was good.

Star Wars: Age of Rebellion OOC Thread

Shadow of the Demon Lord - OOC Thread - IC Thread

misko27

  • Bay Watcher
  • Lawful Neutral; Prophet of Pestilence
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110722 on: August 07, 2013, 01:02:42 pm »

Quick Bay 12, convince me to start watching Game of Thrones. First season is on sale and I've heard a lot about it.
Spending money stimulates the economy.
Logged
The Age of Man is over. It is the Fire's turn now

Frumple

  • Bay Watcher
  • The Prettiest Kyuuki
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110723 on: August 07, 2013, 01:03:22 pm »

Could probably get the books for cheaper, and they're more portable.
Logged
Ask not!
What your country can hump for you.
Ask!
What you can hump for your country.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110724 on: August 07, 2013, 01:04:44 pm »

Yeah, but with the books you have to imagine the nudity.
Logged

Sirus

  • Bay Watcher
  • Resident trucker/goddess/ex-president.
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110725 on: August 07, 2013, 01:07:25 pm »

Books can be read anywhere, true, but I'm more concerned about the amount of space a bunch of books will take up at the moment. As of now, I have nowhere to keep who-knows-how-many books, while the DVD case can easily fit in my backpack.
Logged
Quote from: Max White
And lo! Sirus did drive his mighty party truck unto Vegas, and it was good.

Star Wars: Age of Rebellion OOC Thread

Shadow of the Demon Lord - OOC Thread - IC Thread

XXSockXX

  • Bay Watcher
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110726 on: August 07, 2013, 01:08:27 pm »

I like the books more, but as a tv show it is genuinely good, certainly the best fantasy tv show I know.
Also it has lots of these.
Logged

Yoink

  • Bay Watcher
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110727 on: August 07, 2013, 01:08:28 pm »

I used to watch both Hercules and Xena when I was a wee little lad.

I don't remember much about either show, except for the intro sequence to Xena and that one moment in Hercules where some guy got squished by a boulder. Being about 4 or 5 years old, I obviously didn't watch it for the sex appeal, either. :P
Logged
Booze is Life for Yoink

To deprive him of Drink is to steal divinity from God.
you need to reconsider your life
If there's any cause worth dying for, it's memes.

MagmaMcFry

  • Bay Watcher
  • [EXISTS]
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110728 on: August 07, 2013, 01:10:12 pm »

Books can be read anywhere, true, but I'm more concerned about the amount of space a bunch of books will take up at the moment. As of now, I have nowhere to keep who-knows-how-many books, while the DVD case can easily fit in my backpack.
Why would you want to keep a DVD case in your backpack? If you want to watch it, you'll need a laptop as well (or one of those old fancy portable DVD players), but you don't need to carry around all the books at once anyway.
Logged

Sirus

  • Bay Watcher
  • Resident trucker/goddess/ex-president.
    • View Profile
Re: [ヽ(°ヮ。)ノ] HEADPANTS RETURNS! (Happy Thread)
« Reply #110729 on: August 07, 2013, 01:16:05 pm »

I do have a laptop. It's in said backpack. The problem is storage: there isn't room for my backpack anywhere other than the foot of my bunk. I have only a single small shelf where I store things like my wallet, phone charger, stuff like that. Where the heck am I gonna keep a bunch of books?

Well, I guess I'll hold off for now. Eventually I'll have some space of my own and then maybe I can get the books.
Logged
Quote from: Max White
And lo! Sirus did drive his mighty party truck unto Vegas, and it was good.

Star Wars: Age of Rebellion OOC Thread

Shadow of the Demon Lord - OOC Thread - IC Thread
Pages: 1 ... 7380 7381 [7382] 7383 7384 ... 13332