Prop ClosedDayNight

From CoffeeMud Wiki
Revision as of 17:16, 31 December 2017 by Loki (talk | contribs)
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    
===Prop_ClosedDayNight===
Effect: Day/Night Visibility
Targets: Items, Mobs, Rooms, Exits
Parameters: (DAY/NIGHT)(SLEEP)(SIT)(LOCKUP)(HOURS=0-13)(HOME=Room#)
Examples: DAY

SLEEP HOURS=5-10 "Home=My Area#123" SLEEP LOCKUP "Home=Bob's House" SLEEP LOCKUP "shopmsg=Go Away! I'm Closed!"

Description: Affects the thing with this property depending on the time of day. By default, this property activates at night. If the DAY paramater is included, it will activate by day instead. The effect of the property is that rooms will go dark, exits will close, and items will become unseeable. Mobs will become unseeable by default, though if the sit or sleep flags are set, they will do that instead. LOCKUP will cause the mob to lock up his starting room, if any doors with locks are found. If a Home Room is specified with the HOME= parameter, the mob will track to that room at closing time, then back to their start room the next day. For shopkeepers, you can specify a string for them to say whenever someone tries to interact with them as a shopkeeper during closed hours.

Notes

.