Difference between revisions of "Scripting(Builder)"

From CoffeeMud Wiki
Jump to navigation Jump to search
(Created page with "{{CoffeeMUDWikiBuilderTOC}} CoffeeMUD has enormous flexibility outside of pre-built behaviors and properties with the Scriptable and ScriptableEverymob behaviors. =Of...")
 
Line 15: Line 15:
  
 
===Notes===
 
===Notes===
 +
.

Revision as of 17:53, 24 November 2019

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    

CoffeeMUD has enormous flexibility outside of pre-built behaviors and properties with the Scriptable and ScriptableEverymob behaviors.

Official Scripting Docs

Articles on General Concepts

Scripting Do's and Dont's

  • Do not overtax your scripts for performing actions. A maximum of 25 actions may be taken by a given script per tick. This limit is there to prevent bad scripts from destroying the mud. If more than 25 actions are attempted and error will be thrown similar to:
    • Scripting Error: ...script/UNK/SYS/Attempt to que more than 25 events.
    • To fix a script taking too many actions, review the number of events the script is attempting to handle for a given item/mob/room, and see if it is possible that it is generating many of those message in rapid succession.


Notes

.