This plugin is For Commercial Use.
Link backs and crediting are not necessary but would be appreciated.
RandomLoot Plugin
Provides functionality for giving the player a random piece of loot.
Parameters:
Name: item_range_minimum
Description: The lowest id to use in the range of items from the Items database.
Default value: 1
Name: item_range_maximum
Description: The highest id to use in the range of items from the Items database.
Default value: 1
Name: weapon_range_minimum
Description: The lowest id to use in the range of items from the Weapons database.
Default value: 1
Name: weapon_range_maximum
Description: The highest id to use in the range of items from the Weapons database
Default value: 1
Name: armor_range_minimum
Description: The lowest id to use in the range of items from the Armors database
Default value: 1
Name: armor_range_maximum
Description: The highest id to use in the range of items from the Armors database
Default value: 1
Name: gold_received_message
Description: The message displayed when the player receives gold.
Default value: Obtained
Name: gold_lost_message
Description: The message displayed when the player loses gold.
Default value: Lost
Name: no_gold_message
Description: The message displayed when the player does not receive any gold.
Default value: You didn't find any
Name: item_obtained_message
Description: The message displayed when the player receives an item
Default value: You obtained
Commands:
Command: tm_loot
Useage: tm_loot
Description: Provides a random weapon, item or armor.
Command: tm_loot type
Useage: type can be armor, weapon or item or a category as seen below.
tm_loot armor
tm_loot weapon
tm_loot item
tm_loot category
Description: Using a type will force the loot to be of that type. See Items notes features for further details on category.
Command: tm_gold min max
Useage: tm_loot 1 100
Description: Gives the player a random amount of gold between min and max, e.g. between 1 and 100
Item notes feature:
Adding the following lines to the notes of an item in the database, will make their effects active for that item.
Useage:
tm_loot_min value
Sets the minimum amount of an item that will be awarded.
e.g. tm_loot_min 1
tm_loot_max value
Sets the maximum amount of an item that will be awarded.
e.g. tm_loot_max 10
tm_loot_exclude
Excludes this item from the random loot range.
tm_lootc_category
The category can be replaced with anything,
e.g. tm_lootc_healing, tm_lootc_rare, tm_lootc_expensive
This category can then be used with the tm_loot plugin command as a type:
e.g. tm_loot category, tm_loot healing, tm_loot rare, tm_loot expensive
This will award the player with a random item from that category.
Link backs and crediting are not necessary but would be appreciated.
RandomLoot Plugin
Provides functionality for giving the player a random piece of loot.
Parameters:
Name: item_range_minimum
Description: The lowest id to use in the range of items from the Items database.
Default value: 1
Name: item_range_maximum
Description: The highest id to use in the range of items from the Items database.
Default value: 1
Name: weapon_range_minimum
Description: The lowest id to use in the range of items from the Weapons database.
Default value: 1
Name: weapon_range_maximum
Description: The highest id to use in the range of items from the Weapons database
Default value: 1
Name: armor_range_minimum
Description: The lowest id to use in the range of items from the Armors database
Default value: 1
Name: armor_range_maximum
Description: The highest id to use in the range of items from the Armors database
Default value: 1
Name: gold_received_message
Description: The message displayed when the player receives gold.
Default value: Obtained
Name: gold_lost_message
Description: The message displayed when the player loses gold.
Default value: Lost
Name: no_gold_message
Description: The message displayed when the player does not receive any gold.
Default value: You didn't find any
Name: item_obtained_message
Description: The message displayed when the player receives an item
Default value: You obtained
Commands:
Command: tm_loot
Useage: tm_loot
Description: Provides a random weapon, item or armor.
Command: tm_loot type
Useage: type can be armor, weapon or item or a category as seen below.
tm_loot armor
tm_loot weapon
tm_loot item
tm_loot category
Description: Using a type will force the loot to be of that type. See Items notes features for further details on category.
Command: tm_gold min max
Useage: tm_loot 1 100
Description: Gives the player a random amount of gold between min and max, e.g. between 1 and 100
Item notes feature:
Adding the following lines to the notes of an item in the database, will make their effects active for that item.
Useage:
tm_loot_min value
Sets the minimum amount of an item that will be awarded.
e.g. tm_loot_min 1
tm_loot_max value
Sets the maximum amount of an item that will be awarded.
e.g. tm_loot_max 10
tm_loot_exclude
Excludes this item from the random loot range.
tm_lootc_category
The category can be replaced with anything,
e.g. tm_lootc_healing, tm_lootc_rare, tm_lootc_expensive
This category can then be used with the tm_loot plugin command as a type:
e.g. tm_loot category, tm_loot healing, tm_loot rare, tm_loot expensive
This will award the player with a random item from that category.