²éÕÒÏÂÒ»¸ö
function c_findnext(prefab, radius, inst)
------------------ÉϵÛģʽ------------------------------ function c_godmode()
------------------------------------------------
-------------------³¬¼¶ÉϵÛģʽ----------------------------- function c_supergodmode()
-------------------²éÕÒ----------------------------- function c_find(prefab, radius, inst) function c_findtag(tag, radius, inst)
δ֪ÃüÁî
function c_gonext(name)
δ֪ÃüÁî
function c_printtextureinfo( filename ) function c_simphase(phase)
function c_anim(animname, loop) function c_light(c1, c2, c3)
function c_spawn_ds(prefab, scenario) function c_countprefabs(prefab, noprint) function c_counttagged(tag, noprint)
---------------¼ÆËãËùÓÐÎïÆ·ÊýÁ¿--------------------------------- function c_countallprefabs()
---------------¼ÓËÙ ¼¸±¶--------------------------------- function c_speedmult(multiplier) c_speedmult(1.5) c_speedmult(1.3) c_speedmult(3)
----------------ʵÑéģʽ-------------------------------- function c_testruins()
ConsoleCommandPlayer().components.builder:UnlockRecipesForTech({SCIENCE = 2, MAGIC = 2})
c_give(\ c_give(\ c_give(\ c_give(\ c_give(\ c_give(\ c_give(\ c_give(\ c_give(\
8
c_give(\ c_give(\ c_give(\ c_give(\ c_give(\ c_give(\end
δ֪
function c_teststate(state)
-----------------×÷Õ½×°±¸------------------------------- function c_combatgear()
-----------------×÷սģÄâÆ÷------------------------------- function c_combatsimulator(prefab, count)
-----------------ת´¢------------------------------- function c_dump()
-----------------ÏÔʾµ±Ç°Ëù´¦¼¾½Ú------------------------------- function c_dumpseasons()
Àý×Ó£º
c_dumpseasons()
[04:48:05]: ConsoleInput: \[04:48:05]: spring 14 -> 6 days (70 %) cycle
--------------´òÓ¡ÊÀ½çÐÅÏ¢---------------------- function c_dumpworldstate() Àý×Ó
[04:49:27]: ConsoleInput: \[04:49:27]:
[04:49:27]: //======================== DUMPING WORLD STATE ===================== ===\\\\
[04:49:27]: summerlength 15 [04:49:27]: seasonprogress 0.7 [04:49:27]: elapseddaysinseason 14 [04:49:27]: isfullmoon false
[04:49:27]: moisture 1552.6871337891 [04:49:27]: springlength 20 [04:49:27]: moonphase threequarter [04:49:27]: precipitationrate 0 [04:49:27]: iswet false
[04:49:27]: winterlength 15 [04:49:27]: iswinter false [04:49:27]: issummer false
[04:49:27]: moistureceil 3359.3188476563
9
[04:49:27]: isday false
[04:49:27]: remainingdaysinseason 6 [04:49:27]: isnight false [04:49:27]: isdusk true [04:49:27]: isspring true [04:49:27]: isautumn false [04:49:27]: issnowing false [04:49:27]: snowlevel 0
[04:49:27]: issnowcovered false [04:49:27]: autumnlength 20 [04:49:27]: phase dusk
[04:49:27]: temperature 38.151284629022 [04:49:27]: wetness 14.76150894165 [04:49:27]: pop 0.36728030875334 [04:49:27]: season spring [04:49:27]: israining false
[04:49:27]: time 0.79473068118095 [04:49:27]: cycles 49
[04:49:27]: precipitation none
[04:49:27]: timeinphase 0.95938441412789
[04:49:27]: \\\\================================================================== ===//
------------Òþ²Ø------------------- function c_makeinvisible()
---------------------------------- ×÷ÓÃδ֪
function c_selectnext(name) ÒÔÏÂÓ¦¸ÃÊÇÕÙ»½boss ÕÙ»½Â¹µÄÂíÌãÉù
function c_summondeerclops() ÕÙ»½ÐܵÂ
function c_summonbearger() -------------¾Û¼¯¶ÓÔ±--------------- function c_gatherplayers()
local x,y,z = ConsoleWorldPosition():Get() for k,v in pairs(AllPlayers) do
v.Transform:SetPosition(x,y,z) end end
------------¼ÓËÙ---------------- function c_speedup()
TheSim:SetTimeScale(TheSim:GetTimeScale() *10) print(\
10
end
-------------Ìø¹ý¶àÉÙÌì---------------------
function c_skip(num) num = num or 1
LongUpdate(TUNING.TOTAL_DAY_TIME * num) end
----------------ͶƱ----------------------- function c_togglevotekick() TheWorld.net.components.voter:ToggleVoteKick() end
---------------µØÃæÀàÐÍ-------------------- function c_groundtype()
local index, table = ConsoleCommandPlayer():GetCurrentTileType() print(\
for k,v in pairs(table) do print(k,v) end end
-------------ËÑË÷---------------------- function c_searchprefabs(str)
ÀýÈç
c_searchprefabs(\
[04:57:55]: ConsoleInput: \[04:57:55]: Found 10 matches: [04:57:55]: log
[04:57:55]: yellowgem
[04:57:55]: maxwellphonograph [04:57:55]: livinglog
[04:57:55]: glommerwings
[04:57:55]: deerclopswarning_lvl1 [04:57:55]: deerclopswarning_lvl4 [04:57:55]: deerclopswarning_lvl3 [04:57:55]: deerclopswarning_lvl2 [04:57:55]: teleportato_ring ---------------Ëø¶¨½¡¿µ--------------------
function c_maintainhealth(player, percent)
player = player or ConsoleCommandPlayer() if player.debug_maintainhealthtask ~= nil then player.debug_maintainhealthtask:Cancel() end
player.debug_maintainhealthtask = player:DoPeriodicTask(3, inst.components.health:SetPercent(percent or 1) end)
11
function(inst)