-1-1.生成指令1:c_spawn(物品或生物代码,数量)指令2:DebugSpawn(物品或生物代码)可以在鼠标的位置生成物品或生物2.给予指令:c_give(物品代码,数量)可以在物品栏或背包里生成物品,如果物品栏满了就会掉在地上3.设置生命指令:c_sethealth(百分数)可以把生命值(不是上限)设置为百分之多少,注:使用小数代替百分数,如0.8=80%例:设置生命值为50%,则输入:c_sethealth(0.5)4.设置精神指令:c_setsanity(百分数)同上例:设置精神值为50%,则输入:c_setsanity(0.5)5.设置饥饿指令:c_sethunger(百分数)同上例:设置饥饿值为50%,则输入:c_sethunger(0.5)6.上帝模式指令:c_godmode()一般情况不会受伤挨饿掉精神7.设置速度-2-指令:c_speed(值)标准速度为“1”,值越大速度越快例:设置为标准速度的10倍,则输入:c_speed(10)8.创造模式指令:GetPlayer().components.builder:GiveAllRecipes()可以制作全物品9.设置生命上限指令:GetPlayer().components.health:SetMaxHealth(值)设置生命上限为值那么大例:设置生命上限为87,则输入:GetPlayer().components.health:SetMaxHealth(87)10.设置精神上限指令:GetPlayer().components.sanity:SetMax(值)同上例:设置精神上限为500,则输入:GetPlayer().components.sanity:SetMax(500)11.设置饥饿上限指令:GetPlayer().components.hunger:SetMax(值)同上例:设置饥饿上限为364,则输入:GetPlayer().components.hunger:SetMax(364)12.停止饥饿指令:GetPlayer().components.hunger:Pause(true)你的角色不再饥饿13.变成海狸(吴迪专用)指令:GetPlayer().components.beaverness:SetPercent(1)-3-14.传送指令:c_gonext(代码)把你传送到附近的“代码”的位置例:传送到附近的牛的位置,则输入:c_gonest(beefalo)15.删除指令:TheInput:GetWorldEntityUnderMouse():Remove()删除你鼠标所在位置的物体16.地图全开指令:GetWorld().minimap.MiniMap:ShowArea(0,0,0,10000)退出游戏时失效17.跳过一天指令:GetClock():MakeNextDay()18.跳过几天指令:forx=1,值doGetClock():MakeNextDay()end跳过值那么多的天数注意!跳过太多的天数会卡死(根据电脑配置)例:跳过50天,则输入:forx=1,50doGetClock():MakeNextDay()end19.跳过一段时间指令:LongUpdate(值)时钟每格30个单位,一整天是480个单位例:跳过4格时间,则输入:LongUpdate(120)20.设置时间段指令:GetClock():SetSegs(白天,黄昏,夜晚)时钟一共有16个格,白天黄昏夜晚加在一起必须为16-4-例:白天7格,黄昏8格,夜晚1格,则输入:GetClock():SetSegs(7,8,1)21.跳过时间段指令:GetClock():NextPhase()跳过当前时间段,比如白天跳到黄昏22.开始春天(DLC1)指令:GetSeasonManager():StartSpring()23.开始夏天指令:GetSeasonManager():StartSummer()24.开始秋天(DLC1)指令:GetSeasonManager():StartAutumn()25.开始冬天指令:GetSeasonManager():StartWinter()26.开始下雨指令:GetSeasonManager():StartPrecip()27.停止下雨指令:GetSeasonManager():StopPrecip()28.生成闪电指令:GetSeasonManager():DoLightningStrike(Vector3(GetPlayer().Transform:GetWorldPosition()))如果周围没有避雷针,那闪电将会击中你29.测量距离指令:print(math.sqrt(GetPlayer():GetDistanceSqToInst(TheInput:GetWorldEntityUnderMouse())))在控制台信息(Ctrl+L)中显示角色到鼠标物品之间的距离-5-30.解锁角色指令:GetPlayer().profile:UnlockCharacter(角色名称)和:GetPlayer().profile:Save()可以解锁多个角色例:GetPlayer().profile:UnlockCharacter(willow)GetPlayer().profile:UnlockCharacter(wickerbottom)GetPlayer().profile:Save()或全部解锁指令:GetPlayer().profile:UnlockEverything()(强迫症)31.清除死亡记录指令:ErasePersistentString(morgue)重启游戏可以看到变化材料代码Cutgrass草Twigs树枝Log木头Charcoal木炭Ash灰Cutreeds采下的芦苇Lightbulb荧光果Petals花瓣petals_evil噩梦花瓣-6-Pinecone松果Foliage叶子Cutlichen摘下的苔藓Wormlight虫子果lureplantbulb食人花种子Flint燧石Nitre硝石Redgem红宝石Bluegem蓝宝石Purplegem紫宝石Greengem绿宝石Orangegem橙宝石Yellowgem黄宝石Rocks岩石Goldnugget黄金Thulecite铥矿石thulecite_pieces铥矿碎片Rope绳子Boards木板Cutstone石砖Papyrus纸houndstooth犬牙-7-Pigskin猪皮manrabbit_tail兔人尾巴Silk蜘蛛丝Spidergland蜘蛛腺体spidereggsack蜘蛛卵Beardhair胡子beefalowool牛毛Honeycomb蜂巢Stinger蜂刺walrus_tusk海象牙feather_crow乌鸦羽毛feather_robin红雀羽毛feather_robin_winter雪雀羽毛Horn牛角tentaclespots触手皮trunk_summer夏象鼻trunk_winter冬象鼻Slurtleslime蜗牛龟粘液slurtle_shellpieces蜗牛龟壳片butterflywings蝴蝶翅膀mosquitosack蚊子血囊slurper_pelt啜食者皮工具、武器代码-8-minotaurhorn远古守护者角deerclops_eyeball巨鹿眼球lightninggoathorn闪电羊角glommerwings格罗门翅膀glommerflower格罗门花glommerfuel格罗门燃料livinglog活木头nightmarefuel噩梦燃料gears齿轮transistor晶体管marble大理石boneshard硬骨头ice冰poop便便guano鸟粪dragon_scales蜻蜓鳞片goose_feather鹿鸭羽毛coontail浣熊尾巴bearger_fur熊皮axe斧子goldenaxe黄金斧头lucy露西斧子-9-hammer锤子pickaxe镐goldenpickaxe黄金镐shovel铲子goldenshovel黄金铲子pitchfork草叉razor剃刀bugnet捕虫网fishingrod鱼竿multitool_axe_pickaxe多功能工具cane行走手杖trap陷阱birdtrap鸟陷阱trap_teeth牙齿陷阱trap_teeth_maxwell麦斯威尔的牙齿陷阱backpack背包piggyback猪皮包krampus_sack坎普斯背包umbrella雨伞grass_umbrella草伞heatrock保温石bedroll_straw草席卷-10-bedroll_furry毛皮铺盖torch火炬lantern提灯pumpkin_lantern南瓜灯compass指南针fertilizer化肥firesuppressor灭火器sewing_kit缝纫工具包spear矛boomerang回旋镖tentaclespike狼牙棒blowdart_pipe吹箭blowdart_sleep麻醉吹箭blowdart_fire燃烧吹箭hambat火腿短棍nightsword暗影剑batbat蝙蝠棒ruins_bat远古短棒spear_wathgrithr瓦丝格雷斯矛panflute排箫onemanband独奏乐器gunpowder火药-11-beemine蜜蜂地雷bell铃amulet红色护身符blueamulet蓝色护身符purpleamulet紫色护身符yellowamulet黄色护身符orangeamulet橙色护身符greenamulet绿色护身符nightmare_timepiece铥矿奖章icestaff冰魔杖firestaff火魔杖telestaff传送魔杖orangestaff橙色魔杖装备代码strawhat草帽flowerhat花环greenstaff绿色魔杖yellowstaff黄色魔杖diviningrod探矿杖book_birds召唤鸟的书book_tentacles召唤触手的书book_gardening催生植物的书-12-book_sleep催眠的书book_brimstone召唤闪电的书waxwelljournal麦斯威尔的日志abigail_flower阿比盖尔之花balloons_empty空气球balloon气球lighter薇洛的打火机chester_eyebone切斯特骨眼featherfan羽毛扇staff_tornado龙卷风魔杖nightstick夜棍beefalohat牛毛帽featherhat羽毛帽footballhat猪皮帽tophat高礼帽earmuffshat兔耳罩winterhat冬帽minerhat矿工帽spiderhat蜘蛛帽beehat蜂帽walrushat海象帽slurtlehat蜗牛帽子-13-bushhat丛林帽ruinshat远古王冠rainhat防雨帽icehat冰帽watermelonhat西瓜帽catcoonhat浣熊帽wathgrithrhat瓦丝格雷斯帽armorwood木盔甲建筑代码campfire营火firepit石头营火armorgrass草盔甲armormarble大理石盔甲armor_sanity夜魔盔甲armorsnurtleshell蜗牛龟盔甲armorruins远古盔甲sweatervest小巧背心trunkvest_summer夏日背心trunkvest_winter寒冬背心armorslurper饥饿腰带raincoat雨衣webberskull韦伯头骨-14-molehat鼹鼠帽armordragonfly蜻蜓盔甲beargervest熊背心eyebrellahat眼睛帽reflectivevest反射背心hawaiianshirt夏威夷衬衫coldfire冷火coldfirepit石头冷火cookpot锅icebox冰箱winterometer寒冰温度计rainometer雨