StendhalScripting/LuaAPI: Difference between revisions

Content deleted Content added
imported>AntumDeluge
properties: add methods
imported>AntumDeluge
add scripting category
 
(5 intermediate revisions by the same user not shown)
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 ==
Line 764 ⟶ 774:
* [[StendhalScripting/Lua#Lua_Basics|Lua: Basics]]
* [[StendhalScripting/Lua#Stendhal_Application|Lua: Stendhal Application]]
 
 
[[Category:Stendhal]]
[[Category:Documentation]]
[[Category:API]]
[[Category:Scripting]]
[[Category:Lua]]