Difference between revisions of "Lua Command Line"

From Sapiens Wiki
Jump to navigation Jump to search
Line 37: Line 37:
=Spawnable Game Objects=
=Spawnable Game Objects=


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

Revision as of 17:32, 18 April 2023

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