Ski2 Shop v1.7.1
by
Seta00
This plugin adds gameplay functionalities to the surf_ski_2 map.
When the player enters the Mario room, a menu is displayed with the Ski 2 Shop Items.
All item costs and durations are changeable by cvars, changes are applied on round start.
Items description:
-
Get Out Of Jail (
$1500) - One shot
Inspired by the "Get Out Of Jail Free Card" from GTA2, this item removes you from the jail as soon as you enter it.
Note: Users with the Eye of the Spy can see you entering the jail, but not leaving it.
You can use this to attract enemies to the jail area.
-
Health Reload (
$7500) - One shot
Reloads your HP to 100. Useful but expensive.
Note: Be careful, two Health Reloads and you are left with ~1000 in your pocket.
-
Extra Amor (
$2500) -
3 rounds
Sets your maximum armor to 150.
Note: If you are already wearing armor, it gets filled to 150 AP.
-
M3 and M4 (
$5000) -
3 rounds
The second most expensive item in the shop, it's a really god choice. Remember, if you die with this item, you have to reach the Mario room to get a new M3 and M4.
-
Eye of the Spy (
$1000) -
5 rounds
An item for the strategists. It warns you every time someone enters the jail.
-
Save (
$2500) - One shot
Saves your current items. When you reconnect, items are automatically restored.
Thanks to xPaw for his surf_ski_2 rules watcher plugin.
Thanks to Arkshine for pointing me the message issue and by doing so allowed me to remove fakemeta dependency.
Thanks to ConnorMcLeod for reviving this trash from the deeper layer of hell.
Cvars:
-
ss_******_price / ss_******_duration XXXX
Item prices and duration. Replace ****** with one of these:
* getoutofjail
* healthreload
* extraarmor
* m3andm4
* eyeofthespy
* save
Note: Duration 0 means one shot, 1 means this round.
Note: It's not advised to put durations different from 0 (one shot) in items like Get Out Of Jail, Health Reload and Save.
-
ss_version (Server cvar)
Plugin version.
Translations:Please post your translation in this thread if you can:
http://forums.alliedmods.net/showthread.php?t=119126
Note:
The dictionary file is saved in UTF-8 without BOM!!!