Don't Starve Together

Don't Starve Together

Ikke nok vurderinger
Quick Tips On Commands In Don't Starve Together
Av FeRYYY
Some useful commands
   
Utmerkelse
Favoritt
Favoritter
Fjern som favoritt
Map Reveal
Show map command (1):

for x=-1600,1600,35 do for y=-1600,1600,35 do ThePlayer.player_classified.MapExplorer:RevealArea(x,0,y) end end

Show map command (2):

for k,v in pairs(AllPlayers) do for x=-1600,1600,35 do for y=-1600,1600,35 do v.player_classified.MapExplorer:RevealArea(x,0,y) end end end

Show map command (1): (outdated: layout only)

minimap = TheSim:FindFirstEntityWithTag("mini­map") TheWorld.minimap.MiniMap:ShowArea (0,0,0,10000)

Generation Details
c_announce("Beehives: "..c_countprefabs("beehive"))
c_announce("Killer Beehives: "..c_countprefabs("wasphive"))

c_announce("Walrus: "..c_countprefabs("walrus_camp"))

c_announce("Reeds: "..c_countprefabs("reeds"))
c_announce("Stone Fruit: "..c_countprefabs("rock_avocado_bush"))
c_announce("Berry Bushes: "..c_countprefabs("berrybush"))
c_announce("Leafy Bushes: "..c_countprefabs("berrybush2"))
c_announce("Juicy Berry Bushes: "..c_countprefabs("berrybush_juicy"))

c_announce("Cactus: "..c_countprefabs("cactus"))
c_announce("Oasis Cactus: "..c_countprefabs("oasis_cactus"))
c_announce("Twigs: "..c_countprefabs("sapling"))
c_announce("Grass: "..c_countprefabs("grass"))

c_announce("Red Mushrooms: "..c_countprefabs("red_mushroom"))
c_announce("Green Mushrooms: "..c_countprefabs("green_mushroom"))
c_announce("Blue Mushrooms: "..c_countprefabs("blue_mushroom"))
------------------------------------------------------------------------------------------------------------------------------------
c_announce("Mandrake: "..c_countprefabs("mandrake_planted"))
c_announce("Glommer: "..c_countprefabs("statueglommer"))

c_announce("Guardian Pigs: "..c_countprefabs("pigtorch"))
c_announce("Tallbird Nests: "..c_countprefabs("tallbirdnest"))
c_announce("Hound Mounds: "..c_countprefabs("houndmound"))
c_announce("Catcoons: "..c_countprefabs("catcoonden"))
c_announce("Merm Houses: "..c_countprefabs("mermhouse"))
c_announce("Rabbit Holes: "..c_countprefabs("rabbithole"))

c_announce("Anenemy: "..c_countprefabs("trap_starfish"))
c_announce("Bull Kelp: "..c_countprefabs("bullkelp_plant"))
c_announce("Bull Kelp: "..c_countprefabs("bullkelp_beachedroot"))

c_announce("Sea Strider Nest: "..c_countprefabs("oceanvine_cocoon"))
c_announce("Tottaly Normal Tree: "..c_countprefabs("livingtree"))
------------------------------------------------------------------------------------------------------------------------------------
c_announce("Terrarium: "..c_countprefabs("terrariumchest"))
c_announce("Chest: "..c_countprefabs("treasurechest"))
c_announce("Wood Wall: "..c_countprefabs("wall_wood"))
c_announce("Ice Box: "..c_countprefabs("icebox"))
c_announce("Hay Wall: "..c_countprefabs("wall_hay"))
c_announce("Thermal Measurer: "..c_countprefabs("winterometer"))

c_announce("Walking Cane: "..c_countprefabs("cane"))

c_announce("Treeguard: "..c_countprefabs("leif"))
c_announce("Treeguard Lumpy: "..c_countprefabs("leif_sparse"))

c_announce("Spider Warrior: "..c_countprefabs("spider_warrior"))

c_announce("Obellisk Insane: "..c_countprefabs("insanityrock"))
c_announce("Obellisk Sane: "..c_countprefabs("sanityrock"))

c_announce("Rot: "..c_countprefabs("spoiled_food"))
c_announce("Miner Hat: "..c_countprefabs("minerhat"))

c_announce("Red Hound: "..c_countprefabs("firehound"))
c_announce("Blue Hound: "..c_countprefabs("icehound"))

c_announce("Skeletons: "..c_countprefabs("skeleton"))



Clean your "Obituaries"
ErasePersistentString("morgue")
Extra
c_spawn("shadowmeteor", 100)



print(math.sqrt(ThePlayer:GetDistanceSqToInst(ConsoleWorldEntityUnderMouse())))

Prints the distance between player and object under mouse to the console log (displayed with Ctrl + L by default).



TheNet:Kick(userid)
TheNet:Ban(userid)

Spawn wormhole 1 using this command: worm1 = c_spawn("wormhole")
Spawn wormhole 2 using this command: worm2 = c_spawn("wormhole")
Create connections forth: worm1.components.teleporter.targetTeleporter = worm2
And back: worm2.components.teleporter.targetTeleporter = worm1


ThePlayer.Transform:SetScale(1,1,1)

ThePlayer.AnimState:SetMultColour(0,0,0,0)
(idea: use in chat -> :eyeball::eyeball:)


c_select().AnimState:SetMultColour(0,0,0,0)

c_select().Transform:SetScale(1,1,1)