kb / Don’t Starve

Curio rarity

The Trade Inn only works for rarities below Elegant and nothing with a Woven modifier.

Rarity Drop Rate Marketable?
Common 52.7% Unless Event/Seasonal
Classy 26.0% Unless Event/Seasonal
Spiffy 13.0% Unless Event/Seasonal
Distinguished 6.0% Unless Event/Seasonal
Elegant 2.3% Unless Event/Seasonal
Loyal N/A No
Timeless N/A No
Event N/A No
Proof of Purchase N/A No
Reward N/A No
Heirloom N/A Yes

Selecting players

If you just want to target yourself, you can use ThePlayer. Otherwise, you’ll need to index the AllPlayers array. You can figure out which player is at which index with:

c_listAllPlayers()

Set stats

c_sethealth(percent)
c_sethunger(percent)
c_setmoisture(percent)
c_setsanity(percent)
c_settemperature(degrees)

Or if you prefer to constantly regenerate your hunger:

c_maintainall(ThePlayer)
c_maintainhealth(ThePlayer)
c_maintainhunger(ThePlayer)
c_maintainmoisture(ThePlayer)
c_maintainsanity(ThePlayer)
c_maintaintemperature(ThePlayer)

If you want to stop your cheaty regeneration:

c_cancelmaintaintasks(ThePlayer)

Or if you hate getting your sanity, hunger, and health drained when being attacked, you can use:

c_godmode(ThePlayer)

And if you want to max out your stats as well, use this:

c_supergodmode(ThePlayer)

Both God Mode and Super God Mode are toggled by their respective commands. While in either mode you can’t change your stats.

Move to player

Using the AllPlayers index from c_listAllPlayers():

c_goto(AllPlayers[index])