# HG changeset patch
# User Wuzzy
# Date 1451509262 0
# Node ID e919bdf895f7f77678d24010fad6d098d781c91b
# Parent d9fc58ac04f2c39d6d25cf9d39591d0dcf08cbff
Add parameter for onHogHide and onHogRestore
diff -r d9fc58ac04f2 -r e919bdf895f7 LuaAPI.wiki
--- a/LuaAPI.wiki Wed Dec 30 10:55:13 2015 -0500
+++ b/LuaAPI.wiki Wed Dec 30 21:01:02 2015 +0000
@@ -306,11 +306,11 @@
=== onUpUp() ===
This function is called when you release the up key.
-=== onHogHide() (0.9.16) ===
-This function is called when a hedgehog is hidden (removed from the map).
+=== onHogHide(gearUid) (0.9.16) ===
+This function is called when a hedgehog with the gear ID `gearUid` is hidden (removed from the map).
-=== onHogRestore() (0.9.16) ===
-This function is called when a hedgehog is restored (unhidden).
+=== onHogRestore(gearUid) (0.9.16) ===
+This function is called when a hedgehog with the specified gear ID `gearUid` is restored (unhidden).
=== onSpritePlacement(spriteId, centerX, centerY) (0.9.21) ===
This function is called when a [Sprites Sprite] has been placed.