ap95

Searching for "Rare" Console Commands

Recommended Posts

ap95    31

I'd like to improve the list of console commands on the Wiki. Here's what I've got so far, and what I'd like to add, if they exist. Also open for other ones to be added. (Or, you could just add them yourself, Y'know :) )

  • Set Wolfgang's Mightiness
    • c_setmightiness(###)
  • Set Wigfrid's Inspiration
    • c_setinspiration(###)
  • A Faster acting command to set Wanda's Age
    • c_sethealth() only updates at the top of every "year"
  • Trigger a random Woodie Transformation
    • Pretty sure I saw this on the Rhymes with Play Stream
    • ThePlayer.components.wereeater:ForceTransformToWere()
    • Manage with c_setwereness(###)
  • Clear Warly's "Stomach Memory"
  • Reset the Ruins
    • TheWorld:PushEvent("resetruins")
  • Override a Boss Cooldown

 

Edited by ap95
Improving the Forrest of All Knowledge
  • Like 2

Share this post


Link to post
Share on other sites
Stonetribe    715

I've always wondered if there was a console command to fill out all or parts of the plant registry. I've already completed it myself, but I have a younger cousin who likes farming in games but I'd imagine that she might have trouble with the whole researching mechanic and would have a lot more fun if she could bypass it.

Share this post


Link to post
Share on other sites
Cheggf    9509
1 hour ago, ap95 said:

Reset the Ruins

There are two commands to do this. One of them is something along the lines of TheWorld:pushevent('resetruins') or TheWorld:getevent('c_resetruins') so you could try every combination of arrangements of those words and synonyms until you find the one that works or wait for someone like QuartzBeam or Hornete to come tell you what it actually is.

  • Like 1

Share this post


Link to post
Share on other sites
mr. brj    564

I have always wanted to know if there is a command that prints out the prefab name of an entity under the mouse cursor.

Share this post


Link to post
Share on other sites
Daniel86268    649
2 hours ago, mr. brj said:

I have always wanted to know if there is a command that prints out the prefab name of an entity under the mouse cursor.

ThePlayer.components.talker:Say(c_select().prefab)

 

This will make your character say the prefab name. This is a client side command, so you have to have the "Local:" in front of your command line, and this should work on any server as well.

  • Thanks 4

Share this post


Link to post
Share on other sites
ap95    31
8 hours ago, Cheggf said:

TheWorld:pushevent('resetruins')

So close! It's either d_resetruins or TheWorld:PushEvent("resetruins"). Found it in debugcommands.lua, but the second dosen't require the debug stuff to be active :)

Share this post


Link to post
Share on other sites
Pinkamena11FazP    1157

c_select():AddComponent("edible") makes things edible minus fruitcake,


ThePlayer.prefab=("wathgrithr") makes you look like wigfrid after you use a wardrobe

Share this post


Link to post
Share on other sites
SomebodyRandom    1446
23 minutes ago, Pinkamena11FazP said:

ThePlayer.prefab=("wathgrithr") makes you look like wigfrid after you use a wardrobe

This one was patched. I miss it though :(

Share this post


Link to post
Share on other sites
Falkenpelz    3275

The command for summoning a meteor at cursor position is c_spawn('shadowmeteor'). Great way to troll other players by painting a smiley face on the floor with meteor craters.

Share this post


Link to post
Share on other sites
maradyne    6177
13 hours ago, ap95 said:
  • Trigger a random Woodie Transformation
    • Pretty sure I saw this on the Rhymes with Play Stream

ConsoleWorldEntityUnderMouse().components.wereeater:ForceTransformToWere()

Will transform the Woodie you're hovering over. Most reliable method I'm aware of.

 

4 hours ago, Hornete said:

There's also the "d_" functions in debugcommands.lua. That file isnt loaded usually so you'll want to execute "require("debugcommands")" to get access to all the functions inside.

Quick note for anyone wanting to use this: certain debug commands on servers with caves will have mixed results, from doing absolutely nothing to crashing the server/client.
Same applies to debug keys.

It's a wonderful set of tools for testing things on caveless worlds, though. Especially for modding.

 

I actually have a tiny mod I use for that; the lua files with ~'s in front of them are copies of the vanilla files that are being enabled, for quick reference of the keys/commands that you can use.

~DEBUGMODE.zip

Share this post


Link to post
Share on other sites
ap95    31
33 minutes ago, maradyne said:

ConsoleWorldEntityUnderMouse().components.wereeater:ForceTransformToWere()

Will transform the Woodie you're hovering over. Most reliable method I'm aware of.

Did some Experimenting, and ThePlayer.components.wereeater:ForceTransformToWere() also works. 

And then c_setwereness(###) to manage it. 

Share this post


Link to post
Share on other sites
Hornete    16505
1 hour ago, maradyne said:

ConsoleWorldEntityUnderMouse()

I would suggest c_select() instead of ConsoleWorldEntityUnderMouse for selecting entities under the mouse, easier to write and memorize. Only evil people like @penguin0616 use ConsoleWorldEntityUnderMouse() ;-)

 

  • Haha 1

Share this post


Link to post
Share on other sites
DarkPulse91    1578

does anyone know the command to spawn a ready-made boat? I remember seeing it in a Rhymes with play stream, but i wasnt able to catch what command it was

Share this post


Link to post
Share on other sites
SomebodyRandom    1446
25 minutes ago, DarkPulse91 said:

does anyone know the command to spawn a ready-made boat? I remember seeing it in a Rhymes with play stream, but i wasnt able to catch what command it was

c_makeboat()

  • Big Ups 1

Share this post


Link to post
Share on other sites
Cheggf    9509
6 hours ago, lakhnish said:

And c_announce(TheWorld.meta.seed) gives you the seed of a world. This works locally too if you find a pub world whose seed you like.

Wish I'd known this earlier, super helpful. Thanks.

  • GL Happy 1

Share this post


Link to post
Share on other sites
hhh2    1232
On 3/9/2022 at 2:51 AM, CarlZalph said:

ThePlayer.components.builder:GiveAllRecipes()

GetPlayer().components.builder:GiveAllRecipes() ;)

  • Shopcat 2

Share this post


Link to post
Share on other sites
mr. brj    564

Is there a command to make the Loot Stash spawn on one of its spawners (something like TheWorld:PushEvent)? I accidentally created a really nice world way back during Winter's Feast, decided to backup the save folders, and now when I remove the "festive" Loot Stash with commands, the regular one that is supposed to spawn during Winter doesn't spawn at all.

Share this post


Link to post
Share on other sites
zaptrap    130
  • Clear Warly's "Stomach Memory"
    for i, v in pairs(ThePlayer.components.foodmemory.foods) do v.task:Cancel() ThePlayer.components.foodmemory.foods = nil end

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