1,051
edits
m (OSL:Inventory moved to BSL:Inventory) |
m (OSL to BSL) |
||
Line 142: | Line 142: | ||
*When the Phase Cloak amount is set to 65535, there is ''no'' decay ('''moonshadow''' effectively sets this amount to either -1=65535 or 0) | *When the Phase Cloak amount is set to 65535, there is ''no'' decay ('''moonshadow''' effectively sets this amount to either -1=65535 or 0) | ||
*"Special" aka '''lsi''' can be one of the following : Datapad, Rappelling Harness, Laser Torch, Zip Line Rider, Truck Keys. Depending on the level. | *"Special" aka '''lsi''' can be one of the following : Datapad, Rappelling Harness, Laser Torch, Zip Line Rider, Truck Keys. Depending on the level. | ||
*"amount" seems to be ignored in the case of '''lsi''', as the associated variable is a [[ | *"amount" seems to be ignored in the case of '''lsi''', as the associated variable is a [[BSL:Data|boolean]]. In particular, you can't take an '''lsi''' item away. | ||
==Spawning loose items== | ==Spawning loose items== | ||
Line 149: | Line 149: | ||
<tt>void weapon_spawn(string weapon_name, int flag_id)</tt> | <tt>void weapon_spawn(string weapon_name, int flag_id)</tt> | ||
*The first argument is a valid weapon name (see table above) | *The first argument is a valid weapon name (see table above) | ||
*The second argument is the index of a [[ | *The second argument is the index of a [[BSL:Flags|flag]] (preset position + orientation). | ||
===Spawning a powerup=== | ===Spawning a powerup=== | ||
<tt>void powerup_spawn(string powerup_name, int flag_id)</tt> | <tt>void powerup_spawn(string powerup_name, int flag_id)</tt> | ||
*The first argument is a valid powerup name (see table above) | *The first argument is a valid powerup name (see table above) | ||
*The second argument is the index of a [[ | *The second argument is the index of a [[BSL:Flags|flag]] (preset position + orientation). | ||
==Associated stuff== | ==Associated stuff== |
edits