Lua Command Line

From Sapiens Wiki
Revision as of 17:28, 18 April 2023 by ChillGenXer (talk | contribs)
Jump to navigation Jump to search
PageStub.png
The Lua Command Line

Overview

The Lua Command Line is an in-game command line tool that allows direct interaction with the Sapiens game engine. It can be accessed by entering the game chat using Ctrl+C and then typing /lua. Once the command line has started, Lua commands can be executed directly allowing the player to modify various game behaviors. The Lua Command Line can be exited by typing /exit.

Commands

completeCheat()

Enables instant build mode.

setDebugObject()

setSunrise()

Set the game time of day to sunrise.

setSunset()

Set the game time of day to sunset.

printType()

spawn(object, count)

To spawn an item in the game type:

spawn("apple",1)

Please note if the quantity is omitted, 1 will default.

tp()

Spawnable Game Objects

flatbread deadChickenRotten flintSpearHead burntBranch marigoldFlowerRotten aspenBigSeed flaxTwine unfiredUrnFlourRotten bone orange pumpkinCooked deadAlpaca sunflowerSeed log garlicRotten coconut aloeLeafRotten grass flaxSeedRotten echinaceaFlowerRotten balafon flint mudTileWet unfiredUrnDry woodenPole aspenBigSeedRotten gooseberry echinaceaFlower rock unfiredBowlDry apple dirt unfiredUrnHulledWheatRotten rockSmall flax birchSeed firedBowlFoodPoisoningMedicine flaxDried willowSeed firedBrick mudBrickWet pineConeBig firedTile mudTileDry flaxRotten mudBrickDry quernstone poppyFlower bambooSeedRotten giant_bone clay branch aloeLeaf firedBowlInjuryMedicine appleRotten flintAxeHead firedUrnHulledWheat unfiredUrnHulledWheat bone_hatchet gingerRoot chickenMeat firedBowlBurnMedicine gingerRootRotten flintHatchet beetrootSeedRotten firedBowlMedicineRotten stoneSpear unfiredBowlMedicineRotten unfiredBowlVirusMedicine raspberry firedUrnFlour pineConeRotten stoneSpearHead pineCone unfiredBowlFoodPoisoningMedicine beetroot pumpkin gooseberryRotten hayRotten unfiredBowlInjuryMedicine peach wheat flaxSeed firedBowl firedUrn raspberryRotten unfiredBowlWet woolskin stoneAxeHead firedUrnHulledWheatRotten chickenMeatCooked flatbreadRotten bambooSeed beetrootSeed stoneHatchet firedBowlVirusMedicine firedUrnFlourRotten aspenSeedRotten deadChicken orangeRotten boneSpearHead sand pineConeBigRotten flintPickaxeHead banana beetrootRotten flintSpear aspenSeed poppyFlowerRotten marigoldFlower unfiredUrnFlour turmericRoot flintPickaxe turmericRootRotten alpacaMeat wheatRotten breadDough branchRotten unfiredUrnWet boneFlute mammothMeatCooked willowSeedRotten coconutRotten boneSpear stonePickaxe stoneKnife hay pumpkinRotten alpacaMeatCooked mammothMeat splitLog bananaRotten unfiredBowlBurnMedicine elderberry sunflowerSeedRotten logDrum garlic birchSeedRotten breadDoughRotten flintKnife elderberryRotten peachRotten stonePickaxeHead beetrootCooked boneKnife