Á÷Äê¼¢»Ä¿ØÖÆÌ¨Ö¸Áî´óÈ«+ÎïÆ·´óÈ«+·þÎñÆ÷¹ÜÀíÃüÁî´óÈ« ÏÂÔØ±¾ÎÄ

c_give(\

minimap=TheSim:FindFirstEntityWithTag(\GetWorld().minimap.MiniMap:ShowArea(0,0,0,10000) c_give(\c_give(\c_give(\

c_give(\c_give(\c_give(\c_give(\c_give(\c_give(\c_give(\

GetPlayer().components.health:SetMaxHealth(300) GetPlayer().components.health:StartRegen(30,10) GetPlayer().components.hunger:SetMax(350) GetPlayer().components.sanity:SetMax(400) c_give(\

GetPlayer().components.health:SetMaxHealth(9999) GetPlayer().components.health:StartRegen(50,10) GetPlayer().components.hunger:SetMax(3500) GetPlayer().components.sanity:SetMax(4000)

c_give(\c_give(\c_give(\

c_give(\c_give(\c_give(\c_give(\c_give(\c_give(\c_give(\c_give(\

c_give(\

µÆÁý²Ýµ¥¶äµÄ:flower_cave Ë«¶ä:flower_cave_double Èý¶ä:flower_cave_triple

5

¶þ¡¢¿ØÖÆÌ¨ÃüÁÊýÔ­ÐÍ

--------------------ÒÔÏÂΪ¸÷¸öº¯ÊýÔ­ÐÍ£¬Ê¹ÓÃʱֻÐèÒªÊäÈ뺯Êý±ÈÈçc_save()-----------------

----------------ÊÀ½çº°»°------------------------------------- -- Show server announcements:

-- To send a one time announcement: c_announce(msg)

-- To repeat a periodic announcement: c_announce(msg, interval) -- To cancel a periodic announcement: c_announce() c_announce(\´ó¼Ò¼ÇºÃ·¿¼äÃû£¬»ØÒ»Ïµµ\----------------»Ø¹ö---------------------------

-- Roll back *count* number of saves (default 1) function c_rollback(count) c_rollback(1)

----------------±£´æ---------------------------- function c_save()

----------------Ë¢ÎïÆ·------------------------------- -- Spawn At Cursor and select the new ent

-- Has a gimpy short name so it's easier to type from the console function c_spawn(prefab, count)

----------------¹Ø±Õ·þÎñÆ÷£¨ÊÇ·ñ±£´æ£©--------------------------------

-- Shutdown the application, optionally close with out saving (saves by default) function c_shutdown(save)

----------------ÖØÆô·þÎñÆ÷£¨ÊÇ·ñ±£´æ£©--------------------------------

-- Restart the server, optionally save before restarting (does not save by default) function c_reset(save)

----------------ÖØÐÂÉú³ÉÊÀ½ç--------------------------------

-- Permanently delete the game world, rengerates a new world afterwords function c_regenerateworld()

----------------Ô¶³ÌÖ´ÐÐluaÃüÁî-------------------------------- -- Remotely execute a lua string function c_remote( fnstr )

----------------ʹһ¸öÍæ¼ÒÖØÐ¿ªÊ¼½øÈëÑ¡È˽׶Î-------------------------------- -- Despawn a player, returning to character select screen function c_despawn(player)

----------------c_despawn helper-------------------------------- -- c_despawn helper

local function dodespawn(player)

----------------Áгöµ±Ç°»îÔ¾Óû§-------------------------------- -- Return a listing of currently active players function c_listplayers()

----------------ÓëÉÏÒ»¸öÃüÁî¸Ð¾õûÓÐÊ²Ã´Çø±ð-------------------------------- -- Return a listing of AllPlayers table

6

function c_listallplayers()

-----------------»ñȡѡÔñµÄÎïÆ·-------------------------------

-- Get the currently selected entity, so it can be modified etc. -- Has a gimpy short name so it's easier to type from the console function c_sel()

function c_select(inst) -----------------¹â±êÏ´òÓ¡¡£¡£¡£------------------------------- -- Print the (visual) tile under the cursor function c_tile()

-----------------Ó¦Óó¡¾°½Å±¾À´Ñ¡ÔñºÍÔËÐÐËü¡£------------------------------- -- Apply a scenario script to the selection and run it. function c_doscenario(scenario)

-----------------¸Ä±äµ¥Î»ÉúÃüÖµ------------------------------- -- Some helper shortcut functions function c_sel_health() function c_sethealth(n)

function c_setminhealth(n) ×îСÉúÃüÖµ function c_setsanity(n) ÄÔ²ÐÖµ c_sethunger(n) ¼¢¶öÖµ function c_setbeaverness(n) function c_setmoisture(n) ʪ¶È function c_settemperature(n) ζÈ

-----------------ÔËÐÐÖÐÖ±Á¬------------------------------- -- Work in progress direct connect code.

-- Currently, to join an online server you must authenticate first. -- In the future this authentication will be taken care of for you. function c_connect( ip, port, password )

-----------------ÔÚ±³°üÖзÅÈëÎïÆ·------------------------------- -- Put an item(s) in the player's inventory function c_give(prefab, count)

-----------------δ֪------------------------------- function c_mat(recname) function c_pos(inst) function c_printpos(inst)

function c_teleport(x, y, z, inst)

-----------------ÒÆ¶¯ÃüÁî------------------------------- function c_move(inst) function c_goto(dest, inst) δ֪

function c_inst(guid) ÁоÙ

function c_list(prefab) function c_listtag(tag)

7

²éÕÒÏÂÒ»¸ö

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(\

c_give(\

8

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 [04:49:27]: isday false

9