Else Heart.Break() Sprak: Difference between revisions
From wikinotes
(→Notes) |
(→World) |
||
Line 13: | Line 13: | ||
|} | |} | ||
</blockquote><!-- Notes --> | </blockquote><!-- Notes --> | ||
= Entertainment = | = Entertainment = |
Revision as of 02:54, 9 January 2023
Notes
sprak syntax sprak world functions sprak entertainment functions sprak connection functions
Entertainment
Utility
Functions that seem to be able t be used for all categories of entertainment.
SetPitch(22) # Determines the audio's pitchSongs
Tracks can be played with
PlayLoop("Apache")
Apache BlacKnuten # Relaxing! Ponty # Relaxing and Nice!Radio
# There seem to be at least radio channels from 1-4 DisconnectAll() # Disconnect from all radio stations Connect("RadioStation_Channel"+ 3) # Connect to RadioStationChannel 3 TurnOnSound() # Listen to Radio SetChannel(3) # Remember the Radio ChannelTV
Anime Bergman Talkshow News Terminator TestScreenSounds
Sounds are frequently used with the
loop
command.ThereminSound
Passwords
# Generally speaking, the command to unlock doors is: Unlock( location ) # PowerPlant Entrance: # Factory_Corridor_DoorToServerRoom zgh4522zcbw45
Connections
FinanceComputer
The town's bank
fin = Connect("Finance Computer") fin.ChangeBalance("Sebastian", +100) # Change User's BalanceWellspring
Wellspring's inventory, and balance.
wells = Connect("Wellspringer") wells.RegisterSeller( name, amount ) # Register Sale for a UserFactory
goods
string db = Connect("GoodsDatabase") db.Register(goodsType, quality) var id = Connect("SendPipe2") Send(id) var machine = Connect("MachineB2") string result = machine.Convert() Print("Result: "+ result )security
ZapPerson(name) light.StartBlinking()