LuaAPI: fix some asterisks
authorWuzzy
Tue, 15 Jan 2019 00:23:57 +0000
changeset 1704 09694f0d4e90
parent 1703 c7d3e5459a58
child 1705 39af8c72daef
LuaAPI: fix some asterisks
LuaAPI.wiki
--- a/LuaAPI.wiki	Tue Jan 15 00:21:43 2019 +0000
+++ b/LuaAPI.wiki	Tue Jan 15 00:23:57 2019 +0000
@@ -429,7 +429,7 @@
 
 Most visual gears delete themselves eventually.
 
-*NOTE:* Visual gears *must only* be used for decorational/informational/rendering purposes. *Never* use the visual gear's internal state to manipulate anything gameplay-related. Visual gears are not safe for reliable storage and using them as that would lead to strange bugs.
+*NOTE:* Visual gears *must* only be used for decorational/informational/rendering purposes. *Never* use the visual gear's internal state to manipulate anything gameplay-related. Visual gears are not safe for reliable storage and using them as that would lead to strange bugs.
 
 *NOTE:* Since 0.9.25, visual gears will never spawn when Hedgewars is run in a testing mode (i.e. not as the real game), so don't rely for visual gears to spawn even if they're critical.
 
@@ -785,7 +785,7 @@
 
 Note that most visual gears require little to no modification of their values.
 
-*NOTE:* *Never* use the visual gear's internal state to manipulate/store anything gameplay-related.  Visual gears are not safe for reliable storage and using them as that would lead to strange bugs.
+*NOTE*: *Never* use the visual gear's internal state to manipulate/store anything gameplay-related.  Visual gears are not safe for reliable storage and using them as that would lead to strange bugs.
 
 Example 1:
 
@@ -1196,7 +1196,7 @@
 SetAmmoTexts(amBazooka, "This weapon deals double the damage than usually.")</code>
 
 ==== <tt>!AddAmmo(gearUid, ammoType, ammoCount)</tt> ====
-Adds `ammoType` to the specified gear. The amount added is determined by the arguments passed via `SetAmmo()` in the `onAmmoStoreInit()` event handler. `ammoCount` is an optional parameter. If this is set, the ammo will **not** be added, but instead set to `ammoCount`. A value of `0` will remove the weapon, a value of `AMMO_INFINITE` will give infinite ammo.
+Adds `ammoType` to the specified gear. The amount added is determined by the arguments passed via `SetAmmo()` in the `onAmmoStoreInit()` event handler. `ammoCount` is an optional parameter. If this is set, the ammo will *not* be added, but instead set to `ammoCount`. A value of `0` will remove the weapon, a value of `AMMO_INFINITE` will give infinite ammo.
 
 Note: By default, ammo is per-team, so calling `AddAmmo` for a hedgehog will give the ammo for the whole team. The game flags `gfPerHogAmmo` and `gfSharedAmmo` change how ammo is managed in the game, so these game flags also affect `AddAmmo`.
 
@@ -1737,7 +1737,7 @@
 
 The available commands depend on the current engine protocol version. The *engine protocol can (and will) change* between releases.
 
-**Important**: If you use `ParseCommand` to overcome a shortcoming in our Lua API (e.g. a missing function), please make sure to [https://issues.hedgewars.org/enter_bug.cgi report the issue].
+*Important*: If you use `ParseCommand` to overcome a shortcoming in our Lua API (e.g. a missing function), please make sure to [https://issues.hedgewars.org/enter_bug.cgi report the issue].
 
 With your report we can fix the shortcoming in future releases. We will try to remove the reliance on `ParseCommand` as good as possible. This will allow scripts to use the previously missing feature in a way that won’t break!