LuaAPI.wiki
changeset 140 04d82b673bc4
parent 139 6bf231a611a7
child 141 b10bef9ac535
equal deleted inserted replaced
139:6bf231a611a7 140:04d82b673bc4
   227 </blockquote>
   227 </blockquote>
   228 === <tt>!GetHogName(gearUid)</tt> ===
   228 === <tt>!GetHogName(gearUid)</tt> ===
   229 
   229 
   230 <blockquote>returns the name of the specified hedgehog gear
   230 <blockquote>returns the name of the specified hedgehog gear
   231 </blockquote>
   231 </blockquote>
       
   232 === <tt>!GetEffect(gearUid, effect)</tt> ===
       
   233 
       
   234 <blockquote>Returns the state of given effect for the given hedgehog gear.  
       
   235 </blockquote>
   232 === <tt>!GetHogHat(gearUid)</tt> ===
   236 === <tt>!GetHogHat(gearUid)</tt> ===
   233 
   237 
   234 <blockquote>Returns the hat of the specified hedgehog gear
   238 <blockquote>Returns the hat of the specified hedgehog gear
   235 </blockquote>
   239 </blockquote>
   236 
   240 
   387     end</code>
   391     end</code>
   388 
   392 
   389 
   393 
   390 
   394 
   391 </blockquote>
   395 </blockquote>
   392 === <tt>!GetEffect(gearUid, effect)</tt> ===
       
   393 
       
   394 <blockquote>Returns the state of given effect for the given hedgehog gear.  
       
   395 </blockquote>
       
   396 === <tt>!SetEffect(gearUid, effect, true/false)</tt> ===
   396 === <tt>!SetEffect(gearUid, effect, true/false)</tt> ===
   397 
   397 
   398 <blockquote>Enables (true) or disables (false) one of the effects <tt>heInvulnerable, heResurrectable, hePoisoned</tt> for the specified hedgehog gear.
   398 <blockquote>Enables (true) or disables (false) one of the effects <tt>heInvulnerable, heResurrectable, hePoisoned</tt> for the specified hedgehog gear.
   399 </blockquote>
   399 </blockquote>
   400 Example: (sets all bots poisoned)
   400 Example: (sets all bots poisoned)