MD Framework
Core abstractions
Section titled βCore abstractionsβ- Cue β the building block of an MD script. Has conditions and actions.
- Library β reusable callable block (
purpose="run_actions"orpurpose="cue_ref"). - Action β operations (
<set_value>,<create_ship>,<set_owner>,<run_actions>, β¦). - Condition / Event β triggers (
<event_cue_signalled>,<event_object_destroyed>,<check_value>, β¦). - Expression β variable access (
$x,.cargo.list,faction.argon.relationto.{X}).
Common questions (planned)
Section titled βCommon questions (planned)β- βHow do I make a cue run periodically?β β Cue β Attributes β
checktime+checkinterval. - βHow do I share state between scripts?β β Expression β
global.$Xvsmd.X.$Y. - βHow do I version my modβs persistent state?β β Cue β Attributes β
version=N+<patch sinceversion>. - βHow do I write a reusable function in MD?β β Library β
purpose=run_actionsexample.