Difference between revisions of "Mobile"
Jump to navigation
Jump to search
(→Notes) |
(→Notes) |
||
Line 6: | Line 6: | ||
===Notes=== | ===Notes=== | ||
*Default value is min=20, max=60 chance=100. | *Default value is min=20, max=60 chance=100. | ||
− | *Avoid giving this behavior to MOBs that | + | *Avoid giving this behavior to MOBs that are sold by a shop, as they tend to wander away from their owners. |
*The [[WanderHomeLater]] misc ability is a good way to keep mobs from wandering too far from their starting room. | *The [[WanderHomeLater]] misc ability is a good way to keep mobs from wandering too far from their starting room. | ||
+ | *[[SYSMSGS]] command will cause all mobile mobs to linger in the room that you are in, enabling you to modify them without worrying about them wandering off. However, it will also cause other mobs that are mobile to stay in that room. Use care when saving rooms from the command line in areas with lots of mobile mobs, to ensure you have the right mobs in the room at the time of the save. | ||
[[Category:MOBS(BuilderInfo)]] | [[Category:MOBS(BuilderInfo)]] |
Revision as of 13:31, 18 October 2020
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 |
===Mobile=== | |
---|---|
Targets: | MOBs |
Parameters: | min, max ticks, a percent chance, flags, locale parms |
Examples: | min=10 max=20 chance=75 wander -air -underwater
min=10 max=20 chance=75 opendoors min=10 max=20 chance=75 leash=3 opendoors |
Description: | According to the timing and percent chance described by the parameters, the mob with this behavior will travel in a random available direction. Mobs will not leave rooms containing visible Archons and builders with the CMDMOBS security flag. The wander flag is required if the mob is allowed to leave his or her area. The opendoors flag will allow the mob to open closed doors when walking around, or to unlock locked doors if the mob has the key. The leash parameter will prevent the mob from getting too far from home. The TYPE of room from which the mob is restricted may also be entered. -ALL to disallow all locales, followed by +AIR +CITY +JUNGLE (etc) to reallow certain locales. -CITY -UNDERWATER and others may be used to restrict certain locales. The full locale list is: STONE, WOODEN, CAVE, MAGIC, UNDERWATER, AIR, WATERSURFACE, METAL , CITY, WOODS, ROCKY, PLAINS, JUNGLE, SWAMP, DESERT, HILLS, MOUNTAINS, SPACEPORT, SEAPORT |
Notes
- Default value is min=20, max=60 chance=100.
- Avoid giving this behavior to MOBs that are sold by a shop, as they tend to wander away from their owners.
- The WanderHomeLater misc ability is a good way to keep mobs from wandering too far from their starting room.
- SYSMSGS command will cause all mobile mobs to linger in the room that you are in, enabling you to modify them without worrying about them wandering off. However, it will also cause other mobs that are mobile to stay in that room. Use care when saving rooms from the command line in areas with lots of mobile mobs, to ensure you have the right mobs in the room at the time of the save.