<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.winterresortsim.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.winterresortsim.com/feed.php">
        <title>WRS Wiki modding:luasource-s2:luaapi</title>
        <description></description>
        <link>https://wiki.winterresortsim.com/</link>
        <image rdf:resource="https://wiki.winterresortsim.com/lib/tpl/sprintdoc/images/favicon.ico" />
       <dc:date>2026-04-06T15:40:32+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:audiosource?rev=1612891329&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:general?rev=1612891329&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:l10n?rev=1612891330&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:nodes?rev=1612891330&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:objectmanipulation?rev=1612891330&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:start?rev=1612891330&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:ui?rev=1612891330&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.winterresortsim.com/lib/tpl/sprintdoc/images/favicon.ico">
        <title>WRS Wiki</title>
        <link>https://wiki.winterresortsim.com/</link>
        <url>https://wiki.winterresortsim.com/lib/tpl/sprintdoc/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:audiosource?rev=1612891329&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Audio Sources</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:audiosource?rev=1612891329&amp;do=diff</link>
        <description>Audio Sources

This table contains various functions that allow to control audio sources. On top of the basic functions for playing and stopping sounds, you can also modify the sound's pitch and volume or even apply a low pass filter from script.

AudioSource.play(objectId, restart)</description>
    </item>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:general?rev=1612891329&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>General functions</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:general?rev=1612891329&amp;do=diff</link>
        <description>General functions

All of the functions below are implemented in C#.

print(text)

prints the text text into the game's log.txt. When called from the ingame lua editor, the parameter text is passed to the Lua console window below the ingame lua editor.</description>
    </item>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:l10n?rev=1612891330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Localisation</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:l10n?rev=1612891330&amp;do=diff</link>
        <description>Localisation

l10n is a shorthand notation for localisation, which allows players from different countries to play the game in their native language. It may be helpful to understand the basics of Localisation in Winter Resort Simulator if you want to create mods in more than one language.</description>
    </item>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:nodes?rev=1612891330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Handling Nodes</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:nodes?rev=1612891330&amp;do=diff</link>
        <description>Handling Nodes

getChild(parentId, child)

Returns the transform id (int) of child named child (string), which is a child to the transform of id parentId (int, transform id). This can also be used to find the a child of a children by separating the layers using slashes (</description>
    </item>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:objectmanipulation?rev=1612891330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Object Manipulation</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:objectmanipulation?rev=1612891330&amp;do=diff</link>
        <description>Object Manipulation

instantiate(objectId, keepParent)

This will duplicate (instantiate) the transform with objectId (transform id), including all its children and components. Depending on keepParent (bool),

	*  the duplicate will be a child of the same parent (if</description>
    </item>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:start?rev=1612891330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>LuaAPI/</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:start?rev=1612891330&amp;do=diff</link>
        <description>LuaAPI/

Following files are contained in this directory:

	*  LuaAPI/AudioSource.lua
	*  LuaAPI/General.lua
	*  LuaAPI/l10n.lua
	*  LuaAPI/Nodes.lua
	*  LuaAPI/ObjectManipulation.lua
	*  LuaAPI/UI.lua</description>
    </item>
    <item rdf:about="https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:ui?rev=1612891330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-09T18:22:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>UI</title>
        <link>https://wiki.winterresortsim.com/modding:luasource-s2:luaapi:ui?rev=1612891330&amp;do=diff</link>
        <description>UI

This table contains various functions related to UI. Except for some parts of the main menu, all of the game's UI is handled using the functions provided in here.

objectId

All functions that are listed below expect an objectId (transform id) as first argument. The functions will always refer to this object.</description>
    </item>
</rdf:RDF>
