# HG changeset patch # User Wuzzy # Date 1519402233 0 # Node ID dae4580eca94184c612dda8568d696008b8f5978 # Parent 60346a2ffb4c718eb59a38d290636da50551f56d LuaAPI: Discourage negative health for health crates diff -r 60346a2ffb4c -r dae4580eca94 LuaAPI.wiki --- a/LuaAPI.wiki Wed Feb 21 17:19:26 2018 +0000 +++ b/LuaAPI.wiki Fri Feb 23 16:10:33 2018 +0000 @@ -407,7 +407,7 @@ === !SpawnHealthCrate(x, y, [, health]) === -Spawns a health crate at the specified position. If `x` and `y` are set to 0, the crate will spawn on a random position (but always on land). Set `health` for the initial health contained in the health crate. If not set, the default health (`HealthCaseAmount`) is used. +Spawns a health crate at the specified position. If `x` and `y` are set to 0, the crate will spawn on a random position (but always on land). Set `health` for the initial health contained in the health crate. If not set, the default health (`HealthCaseAmount`) is used. Do not use a negative value for `health`. === !SpawnSupplyCrate(x, y, ammoType [, amount]) (0.9.24) === Spawns an ammo or utility crate at the specified position with the given ammo type and an optional amount (default: 1). The crate type is chosen automatically based on the ammo type.