ResourceOverride

From CoffeeMud Wiki
Jump to: navigation, search
CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Praetor     Player Support     Scripting     Races     Commands    Classes     Abilities     Socials     Achievements     Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs     Crafting     Ships     Quests     Zapper Masks
===ResourceOverride===
Targets: Rooms, Areas
Parameters: min, max ticks, a percent chance, resources and (for areas) room types
Examples: MIN=5 MAX=5 CHANCE=100 CORN WHEAT RICE

CORN WHEAT RICE ROCKY MOUNTAINS PLAINS

Description: This class allows one to override the normal resources generated by rooms for many common skills. This skill will randomly select from the list enumerated in the parameters instead of the normal list. If this behavior is added to an area, you can add to the parameters a list of room types to apply the new resources to. Room types include: STONE, WOODEN, CAVE, MAGIC, UNDERWATER, AIR, WATERSURFACE, METAL, CITY, WOODS, ROCKY, PLAINS, UNDERWATER", AIR, WATERSURFACE, JUNGLE, SWAMP, DESERT, HILLS, MOUNTAINS

When changing the parameters of an existing ResourceOverride on an area, be sure to use RESET AREA to change back any rooms previously affected.

Notes

.