|
|
(One intermediate revision by the same user not shown) |
Line 13: |
Line 13: |
| |} | | |} |
| </blockquote><!-- Notes --> | | </blockquote><!-- Notes --> |
|
| |
| = Entertainment =
| |
| <blockquote>
| |
| == Utility ==
| |
| Functions that seem to be able t be used for all categories of
| |
| entertainment.
| |
| <syntaxhighlight lang="C">
| |
| SetPitch(22) # Determines the audio's pitch
| |
| </syntaxhighlight>
| |
|
| |
| == Songs ==
| |
| Tracks can be played with <code>PlayLoop("Apache")</code>
| |
| <syntaxhighlight lang="C">
| |
| Apache
| |
| BlacKnuten # Relaxing!
| |
| Ponty # Relaxing and Nice!
| |
| </syntaxhighlight>
| |
|
| |
| == Radio ==
| |
| <syntaxhighlight lang="C">
| |
| # 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 Channel
| |
| </syntaxhighlight>
| |
|
| |
| == TV ==
| |
| <syntaxhighlight lang="C">
| |
| Anime
| |
| Bergman
| |
| Talkshow
| |
| News
| |
| Terminator
| |
| TestScreen
| |
| </syntaxhighlight>
| |
|
| |
| == Sounds ==
| |
| Sounds are frequently used with the <code>loop</code>
| |
| command.
| |
| <syntaxhighlight lang="C">
| |
| ThereminSound
| |
| </syntaxhighlight>
| |
| </blockquote><!-- Entertainment -->
| |
|
| |
|
| = Passwords = | | = Passwords = |
Line 69: |
Line 25: |
| </syntaxhighlight> | | </syntaxhighlight> |
| </blockquote><!-- Passwords --> | | </blockquote><!-- Passwords --> |
|
| |
| = Connections =
| |
| <blockquote>
| |
| == FinanceComputer ==
| |
| The town's bank
| |
| <syntaxhighlight lang="C">
| |
| fin = Connect("Finance Computer")
| |
| fin.ChangeBalance("Sebastian", +100) # Change User's Balance
| |
| </syntaxhighlight>
| |
|
| |
| == Wellspring ==
| |
| Wellspring's inventory, and balance.
| |
|
| |
| <syntaxhighlight lang="C">
| |
| wells = Connect("Wellspringer")
| |
| wells.RegisterSeller( name, amount ) # Register Sale for a User
| |
| </syntaxhighlight>
| |
|
| |
| == Factory ==
| |
| === goods ===
| |
| <syntaxhighlight lang="C">
| |
| 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 )
| |
| </syntaxhighlight>
| |
|
| |
| === security ===
| |
| <syntaxhighlight lang="C">
| |
| ZapPerson(name)
| |
| light.StartBlinking()
| |
| </syntaxhighlight>
| |
| </blockquote><!-- Connections -->
| |