StendhalScripting/LuaAPI: Difference between revisions
Content deleted Content added
imported>AntumDeluge →properties: add methods |
imported>AntumDeluge →properties: add usage example |
||
Line 83:
: '''''v:''''' (string) Value to compare with.
: '''''returns:''''' (boolean) `true` if the value of the property is the same as `v`.
Examples usage:
<pre>
-- example of only executing script contents on test server
if not properties:enabed("stendhal.testserver") then
do return end
end
</pre>
== game ==
| |||