ResourceOverride

From CoffeeMud Wiki
Jump to navigation Jump to search


CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===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

.