Recommended Posts

metallichydra    2,258

as always, you can't be 100% sure, but I've never seen a deciduous forest where pig king lives without a sinkhole, and I've only once seen a swamp without sinkhole.

glommers statue always generate near the pig king, but I've once had a world where it did not generate.

  • Like 2

Share this post


Link to post
Share on other sites
maradyne    4,927
4 hours ago, Electroely said:

A bit of a weird thing I noticed with the new update: Pigs are neutral to Wurt and other Merms if they're wearing a Clever Disguise.

...while I'm not entirely familiar with it, a quick check through the hats file indicates that the Merm mask just...adds the Merm tag to whatever's wearing it?
Hm. I wonder if you can use the mask to trigger pig wars. Might actually have something pretty great here; give mask to non-monster character, they just plop it on a pig's face in the middle of the village...bam, dead.

Top tier prank, if nothing else.

Share this post


Link to post
Share on other sites
Canis    9,518
8 minutes ago, maradyne said:

...while I'm not entirely familiar with it, a quick check through the hats file indicates that the Merm mask just...adds the Merm tag to whatever's wearing it?
Hm. I wonder if you can use the mask to trigger pig wars. Might actually have something pretty great here; give mask to non-monster character, they just plop it on a pig's face in the middle of the village...bam, dead.

Top tier prank, if nothing else.

I recall watching @JamesBucket's stream and he tried do to this. The other pigs just didn't bother. I'm pretty sure it's a bug.

Share this post


Link to post
Share on other sites
maradyne    4,927
2 minutes ago, Canis said:

I recall watching @JamesBucket's stream and he tried do to this. The other pigs just didn't bother. I'm pretty sure it's a bug.

Huh. I wonder if that's because they still have the pig tag.

Might still be worth experimenting with Bunnymen.

Edited by maradyne

Share this post


Link to post
Share on other sites
Electroely    3,161
20 minutes ago, maradyne said:

...while I'm not entirely familiar with it, a quick check through the hats file indicates that the Merm mask just...adds the Merm tag to whatever's wearing it?
Hm. I wonder if you can use the mask to trigger pig wars. Might actually have something pretty great here; give mask to non-monster character, they just plop it on a pig's face in the middle of the village...bam, dead.

Top tier prank, if nothing else.

It's not a bug. Items often do more than what its own file shows in the code.

If you look at the NormalRetargetFn function in prefabs/pigman.lua (lines 197-224), you can see why this happens:

   local must_tags = {"monster"}
    if not inst.components.inventory:EquipHasTag("merm") then
        table.insert(must_tags, "merm")
    end

    return not inst:IsInLimbo()
        and FindEntity(
                inst,
                TUNING.PIG_TARGET_DIST,
                function(guy)
                    return (guy.LightWatcher == nil or guy.LightWatcher:IsInLight())
                        and inst.components.combat:CanTarget(guy)
                end,
                { "_combat" }, -- see entityreplica.lua
                exclude_tags,
                must_tags
            )
        or nil

Klei added that part between "local must_tags = {"monster"}" and "return not inst:IsInLimbo()". What it does is that it'll check if the pigman is wearing any hats with the "merm" tag. If they are NOT, then it adds "merm" as a tag they should target. There's no way this is a bug. If it was, I would've reported it in the bug tracker rather than posting it here.

  • Like 3

Share this post


Link to post
Share on other sites
Zeklo    17,456
8 minutes ago, Electroely said:

Note: As of the Wurt update, Pig King will now recognize Hallowed Nights collection skins as Halloween costumes. He'll give you extra candy for them the same way he does for Costume collection skins. Meaning you can get extra candy from him with a skin like this:
 

The fact that you used The Hollow (or whatever its called) skin makes this confusing.

But yeah, shoes make it work. Got it.

  • Haha 1

Share this post


Link to post
Share on other sites
Butt Pillow    196
1 hour ago, JoSmoCoolStuf said:

It's possible to stack Chess Pieces on top of each other, giving a 3D visual effect.

This eventually became a bunnyman farm with catapults nearby.

 

Okay this is actually kinda cool. I have to try this the next time I can.

Share this post


Link to post
Share on other sites
GetNerfedOn    3,295

Something i've noticed:

when trying to freshen up a stack of spoilt/stale food with a stack of fresher food, placing the fresh items of food individually into the stale/spoilt stack using the "Take Half" bind instead of directly combining both stacks together provides more freshness to the rotten stack.

  • Like 2

Share this post


Link to post
Share on other sites
Electroely    3,161
48 minutes ago, GetNerfedOn said:

Something i've noticed:

when trying to freshen up a stack of spoilt/stale food with a stack of fresher food, placing the fresh items of food individually into the stale/spoilt stack using the "Take Half" bind instead of directly combining both stacks together provides more freshness to the rotten stack.

I have been trying to test this and I couldn't get it to work.

How I've been testing it:

Spoiler

I have a command that spawns two 10-stacks of powder cake. One fresh and one 50% spoiled:


meat1 = c_spawn("powcake") meat1.components.stackable.stacksize = 10 
meat2 = c_spawn("powcake") meat2.components.stackable.stacksize = 10 meat2.components.perishable:SetPercent(0.5) 

(both lines can be copied as one command)

And I have a command that prints in the log the freshness of the powder cake (assuming the combined stack is the only one in the world):


print(c_find("powcake").components.perishable:GetPercent()*100)

I pick up the two stacks of meat (making sure not to accidentally combine them by picking them up) and combine them in different ways then check how fresh the combined stack is. The result has consistently been about 75% (showing as 74.999% because even powder cake spoils over time), which is expected. I run c_removeall("powcake") after a test before trying again.

 

  • Like 2

Share this post


Link to post
Share on other sites
Cuikui    120

@GetNerfedOn The effect is divided by the size of the stack, you gain nothing by stacking before salting.

 

act.target.components.perishable:SetPercent(act.target.components.perishable:GetPercent() + (                                             act.invobject.components.preservative.divide_effect_by_stack_size and


                act.target.components.stackable and
                act.invobject.components.preservative.percent_increase / act.target.components.stackable.stacksize or
                act.invobject.components.preservative.percent_increase
            )

 

Edited by Cuikui
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
Canis    9,518
8 hours ago, GetNerfedOn said:

Something i've noticed:

when trying to freshen up a stack of spoilt/stale food with a stack of fresher food, placing the fresh items of food individually into the stale/spoilt stack using the "Take Half" bind instead of directly combining both stacks together provides more freshness to the rotten stack.

Wording this better because Nerfed is drunk and because they explained it better in-game to me:

There are two methods of combining stacks of perishable items that yield different results.

Using two stacks of 10 meat for example:

Method A) Dropping individual meats from stack A into stack B until both stacks are combined.
Method B) Simply dropping stack A into stack B in a simple click.

Method A apparently has the resulting stack more fresher than when you use method B, according to Nerfed.

2 hours ago, Cuikui said:

@GetNerfedOn The effect is divided by the size of the stack, you gain nothing by stacking before salting.

They didn't mention anything about salting?

  • Haha 1

Share this post


Link to post
Share on other sites
Electroely    3,161
3 hours ago, Canis said:

Wording this better because Nerfed is drunk and because they explained it better in-game to me:

There are two methods of combining stacks of perishable items that yield different results.

Using two stacks of 10 meat for example:

Method A) Dropping individual meats from stack A into stack B until both stacks are combined.
Method B) Simply dropping stack A into stack B in a simple click.

Method A apparently has the resulting stack more fresher than when you use method B, according to Nerfed.

I've tested it, and the results show that it doesn't matter how you combine the stacks. Both methods yield the same result.

Edited by Electroely
  • Like 2

Share this post


Link to post
Share on other sites
YumoS    216

after the shadow pieces are killed in your world you can get rook/bishop/Knight chess piece trinkets which after giving to the pig king drop their corresponding sketches.

  • Like 2

Share this post


Link to post
Share on other sites
Cuikui    120
17 hours ago, Canis said:

They didn't mention anything about salting?

Indeed, I read too fast.

To come back on topic, the freshness of the combined stack is given by the weighted sum of both freshness. So it doesn't matter how you combine the stacks.

self.perishremainingtime = (self.inst.components.stackable.stacksize * perishtime + number * timeleft) / ( number + self.inst.components.stackable.stacksize )

  • Thanks 1

Share this post


Link to post
Share on other sites
SinancoTheBest    1,313
On 10/27/2019 at 12:46 PM, metallichydra said:

you can convert grass into twigs:

You can also convert seeds into grass by planting them on depleted farmplots, dehydrated farmplots, dehydrated ground or farmplots & cave ground without natural light.

Share this post


Link to post
Share on other sites
maradyne    4,927

Definitely not unknown but perhaps not always remembered; you can plant pinecones and dig them up before they become trees for twigs.

Really only useful in a couple cases, but it sure is nice to have in those cases:
1) Low on twigs early game.
2) Deep-cave/Ruins living without saplings transplanted; particularly nice as Woodie, since stocking pinecones is extra convenient.

  • Like 4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now