Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 11404 11405 [11406] 11407 11408 ... 13332

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

IronTomato

  • Bay Watcher
  • VENGEANCE
    • View Profile
Logged

TheBiggerFish

  • Bay Watcher
  • Somewhere around here.
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171076 on: April 19, 2016, 09:35:18 pm »

Holy tripleposting batman

7 New Zealand Dollar equals
4.91 US Dollar

Besides, the Hot Chocolate is nice, dammit :P
Don't forget sales tax
One thing I'm never going to understand about the USA- why the fuck is there the cost WITHOUT tax on there?
Because it appears cheaper, and sales taxes vary between states so it's much easier to do it at the register than via the barcode/price tags.
But mostly because it looks cheaper.
Logged
Sigtext

It has been determined that Trump is an average unladen swallow travelling northbound at his maximum sustainable speed of -3 Obama-cubits per second in the middle of a class 3 hurricane.

Aklyon

  • Bay Watcher
  • Fate~
    • View Profile
Logged
Crystalline (SG)
Sigtext
Quote from: RedKing
It's known as the Oppai-Kaiju effect. The islands of Japan generate a sort anti-gravity field, which allows breasts to behave as if in microgravity. It's also what allows Godzilla and friends to become 50 stories tall, and lets ninjas run up the side of a skyscraper.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171078 on: April 19, 2016, 09:51:14 pm »

fun fact #1: you cannot add any relationship types with dwarf fortress; being that they're enums, even doing so with DFHack isn't really something I would consider viable.

fun fact #2: I'm not a goddamn quitter.



next step: script a fuckload of stuff in dfhack to let that actually show up (allow grudges to unnaturally increase to kismesissitude, make sure that individuals with more than one grudge who already have a kismesis won't end up vacillating between two but only as long as both have a mutual friend who can count as auspistice, honestly don't know wtf to do with moirail lol)

TheBiggerFish

  • Bay Watcher
  • Somewhere around here.
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171079 on: April 19, 2016, 09:54:32 pm »

Heh.  Go Putnam.

How'd you do it?
Logged
Sigtext

It has been determined that Trump is an average unladen swallow travelling northbound at his maximum sustainable speed of -3 Obama-cubits per second in the middle of a class 3 hurricane.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171080 on: April 19, 2016, 09:56:41 pm »

Code: [Select]
local RelationsOverlay=defclass(RelationsOverlay,TransparentViewscreen)

function RelationsOverlay:onRender()
    self._native.parent:render()
    if self._native.parent._type~=df.viewscreen_layer_unit_relationshipst then self:dismiss() return end
    for k,v in ipairs(self.overrides) do
        local bg=self._native.parent.layer_objects[0].cursor==k+1 and COLOR_GREEN or v.str.color_bg
        dfhack.screen.paintString({fg=v.str.color_fg,bg=bg},52,v.line+3,v.str.name)
    end
end

local custom_relation_types={}

custom_relation_types[413]={name='Moirail',color_fg=COLOR_RED,color_bg=COLOR_BLACK}

custom_relation_types[612]={name='Kismesis',color_fg=COLOR_BLACK,color_bg=COLOR_GREY}

custom_relation_types[1025]={name='Auspistice',color_fg=COLOR_BLACK,color_bg=COLOR_WHITE} --actually screw that one but whatever.

function RelationsOverlay:onShow()
    if self._native.parent._type~=df.viewscreen_layer_unit_relationshipst then self:dismiss() return end
    self.relationships=df.historical_figure.find(self._native.parent.unit.hist_figure_id).info.relationships.list
    if not self.relationships then self:dismiss() return end
    local overrideIds={}
    for k,relationship in ipairs(self.relationships) do
        for kk,relation_type in ipairs(relationship.anon_3) do --anon_3 is a vector of relationship types. The existing enum is not related to anon_3's version.
            if custom_relation_types[relation_type] then table.insert(overrideIds,{id=relationship.histfig_id,str=custom_relation_types[relation_type]}) end
        end
    end
    self.overrides={}
    for k,relation_hf in ipairs(self._native.parent.relation_hf) do
        for kk,overrideId in ipairs(overrideIds) do
            if relation_hf.id==overrideId.id then print(kk) table.insert(self.overrides,{line=k,str=overrideId.str}) end
        end
    end
end

that's all i got so far, just display code, but obviously what you see there means that i can add arbitrary relationship types to whoever i want whenever i want, which is pretty great

flabort

  • Bay Watcher
  • Still a demilich, despite the 4e and 5e nerfs
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171081 on: April 19, 2016, 10:38:32 pm »

We keep saying you are a real wizard, but there's a reason we keep saying it.
Logged
The Cyan Menace

Went away for a while, came back, went away for a while, and back for now.

KingofstarrySkies

  • Bay Watcher
  • It's been a long time...
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171082 on: April 19, 2016, 10:46:27 pm »

Scott Putnam Versus The Code
Logged
Sigtextastic
Vereor Nox.
There'll be another King, another sky, and a billion more stars...

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171083 on: April 19, 2016, 10:47:44 pm »

oh, i forgot something

it also supports highlighting



oh, and here's toby fox improvising a touhou

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171084 on: April 19, 2016, 11:19:23 pm »

Stop making me feel inferior you goddamn computer wizard
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

KingofstarrySkies

  • Bay Watcher
  • It's been a long time...
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171085 on: April 20, 2016, 12:05:38 am »

Watching Helling Ultimate and loving it. A lot.
Logged
Sigtextastic
Vereor Nox.
There'll be another King, another sky, and a billion more stars...

RedWarrior0

  • Bay Watcher
  • she/her
    • View Profile
Logged

flabort

  • Bay Watcher
  • Still a demilich, despite the 4e and 5e nerfs
    • View Profile
Re: [bunbunbun] UPRPR club hop and flop station (Happy thread)
« Reply #171087 on: April 20, 2016, 03:12:42 am »

413
612
1025
Ok, I know the first in is significant in comic, I think the second one might be, but are these numbers used in your code simply as a reference, or do they have actual technical significance?
Logged
The Cyan Menace

Went away for a while, came back, went away for a while, and back for now.

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile

Comrade P.

  • Bay Watcher
  • For space is wide and good friends are too few
    • View Profile
« Last Edit: April 20, 2016, 03:52:52 am by Comrade P. »
Logged
Sigs

Nobody exists on purpose. Nobody belongs anywhere. Everybody’s gonna die. Come watch TV?
Pages: 1 ... 11404 11405 [11406] 11407 11408 ... 13332