|
|
|
|
@@ -43,9 +43,9 @@
|
|
|
|
|
<ul class="nav">
|
|
|
|
|
<li class="nav-item"><a href="#Dependencies"><span class="fragment-hashtag">#</span> Dependencies</a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Getter"><span class="fragment-hashtag">#</span> Getter </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Assinment"><span class="fragment-hashtag">#</span> Assinment </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Assignment"><span class="fragment-hashtag">#</span> Assignment </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Checks"><span class="fragment-hashtag">#</span> Checks </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Definations"><span class="fragment-hashtag">#</span> Definations </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Definitions"><span class="fragment-hashtag">#</span> Definitions </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Role_Actions"><span class="fragment-hashtag">#</span> Role Actions </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Role_Flags"><span class="fragment-hashtag">#</span> Role Flags </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Role_Properties"><span class="fragment-hashtag">#</span> Role Properties </a></li>
|
|
|
|
|
@@ -224,9 +224,9 @@
|
|
|
|
|
<ul class="nav">
|
|
|
|
|
<li class="nav-item"><a href="#Dependencies"><span class="fragment-hashtag">#</span> Dependencies</a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Getter"><span class="fragment-hashtag">#</span> Getter </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Assinment"><span class="fragment-hashtag">#</span> Assinment </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Assignment"><span class="fragment-hashtag">#</span> Assignment </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Checks"><span class="fragment-hashtag">#</span> Checks </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Definations"><span class="fragment-hashtag">#</span> Definations </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Definitions"><span class="fragment-hashtag">#</span> Definitions </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Role_Actions"><span class="fragment-hashtag">#</span> Role Actions </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Role_Flags"><span class="fragment-hashtag">#</span> Role Flags </a></li>
|
|
|
|
|
<li class="nav-item"><a href="#Role_Properties"><span class="fragment-hashtag">#</span> Role Properties </a></li>
|
|
|
|
|
@@ -442,7 +442,7 @@ nb: this function is used for the input for most outward facing functions</td>
|
|
|
|
|
</table>
|
|
|
|
|
<table class="section-content-list">
|
|
|
|
|
<thead>
|
|
|
|
|
<h3><a href="#Assinment">Assinment </a></h3>
|
|
|
|
|
<h3><a href="#Assignment">Assignment </a></h3>
|
|
|
|
|
<span></span>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
@@ -482,7 +482,7 @@ nb: this function is used for the input for most outward facing functions</td>
|
|
|
|
|
</table>
|
|
|
|
|
<table class="section-content-list">
|
|
|
|
|
<thead>
|
|
|
|
|
<h3><a href="#Definations">Definations </a></h3>
|
|
|
|
|
<h3><a href="#Definitions">Definitions </a></h3>
|
|
|
|
|
<span></span>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
@@ -1342,7 +1342,7 @@ nb: this function is used for the input for most outward facing functions</p>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
<h3><span id="Assinment" class="section-title"><a href="#Assinment">Assinment </a></span></h3>
|
|
|
|
|
<h3><span id="Assignment" class="section-title"><a href="#Assignment">Assignment </a></span></h3>
|
|
|
|
|
<dl class="section-body-container">
|
|
|
|
|
<dt>
|
|
|
|
|
<div class="divider divider-custom"></div>
|
|
|
|
|
@@ -1895,7 +1895,7 @@ nb: this function is used for the input for most outward facing functions</p>
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
<h3><span id="Definations" class="section-title"><a href="#Definations">Definations </a></span></h3>
|
|
|
|
|
<h3><span id="Definitions" class="section-title"><a href="#Definitions">Definitions </a></span></h3>
|
|
|
|
|
<dl class="section-body-container">
|
|
|
|
|
<dt>
|
|
|
|
|
<div class="divider divider-custom"></div>
|
|
|
|
|
@@ -2021,7 +2021,7 @@ nb: this function is used for the input for most outward facing functions</p>
|
|
|
|
|
|
|
|
|
|
<!-- usage start -->
|
|
|
|
|
<strong>Usage:</strong>
|
|
|
|
|
<pre class="code" data-lang="Lua"><code><span class="comment">-- Defineing a flag trigger
|
|
|
|
|
<pre class="code" data-lang="Lua"><code><span class="comment">-- Defining a flag trigger
|
|
|
|
|
</span>Roles.define_flag_trigger(<span class="string">'is_donator'</span>, <span class="keyword">function</span>(player, state)
|
|
|
|
|
player.character_running_speed_modifier = state <span class="keyword">and</span> <span class="number">1.5</span> <span class="keyword">or</span> <span class="number">1</span>
|
|
|
|
|
<span class="keyword">end</span>)</code></pre>
|
|
|
|
|
@@ -2206,7 +2206,7 @@ nb: this function is used for the input for most outward facing functions</p>
|
|
|
|
|
|
|
|
|
|
<!-- usage start -->
|
|
|
|
|
<strong>Usage:</strong>
|
|
|
|
|
<pre class="code" data-lang="Lua"><code><span class="comment">-- Defineing a new role
|
|
|
|
|
<pre class="code" data-lang="Lua"><code><span class="comment">-- Defining a new role
|
|
|
|
|
</span><span class="keyword">local</span> role = Roles.new_role(<span class="string">'Moderator'</span>, <span class="string">'Mod'</span>)</code></pre>
|
|
|
|
|
<!-- usage end -->
|
|
|
|
|
|
|
|
|
|
@@ -2393,7 +2393,7 @@ nb: this function is used for the input for most outward facing functions</p>
|
|
|
|
|
|
|
|
|
|
<!-- usage start -->
|
|
|
|
|
<strong>Usage:</strong>
|
|
|
|
|
<pre class="code" data-lang="Lua"><code><span class="comment">-- Disalow an action for a role, useful if inherit an action from a parent
|
|
|
|
|
<pre class="code" data-lang="Lua"><code><span class="comment">-- Disallow an action for a role, useful if inherit an action from a parent
|
|
|
|
|
</span>role:disallow{
|
|
|
|
|
<span class="string">'command/kill'</span>,
|
|
|
|
|
<span class="string">'gui/game settings'</span>
|
|
|
|
|
@@ -3348,7 +3348,7 @@ nb: this is one way, failing false after already gaining the role will not revok
|
|
|
|
|
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content-footer column col-9 col-sm-12">
|
|
|
|
|
<i>Last updated 2020-06-16 13:58:17 UTC</i>
|
|
|
|
|
<i>Last updated 2020-08-01 00:05:33 UTC</i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|