From f0b0378caf61b19d9800c1128eaa71bfa31b410e Mon Sep 17 00:00:00 2001 From: Quietust Date: Wed, 27 Feb 2013 08:08:49 -0600 Subject: [PATCH] Fix spelling errors --- Lua API.html | 6 +++--- Lua API.rst | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Lua API.html b/Lua API.html index 232bfc8e4..700506286 100644 --- a/Lua API.html +++ b/Lua API.html @@ -3070,10 +3070,10 @@ on DF world events.

Is called when projectile hits something.

  • onWorkshopFillSidebarMenu(workshop,callnative)

    -

    Is called when viewing a workshop in 'q' mode, to populate reactions, usefull for custom viewscreens for shops.

    +

    Is called when viewing a workshop in 'q' mode, to populate reactions, useful for custom viewscreens for shops.

  • postWorkshopFillSidebarMenu(workshop)

    -

    Is called after calling (or not) native fillSidebarMenu(). Usefull for job button +

    Is called after calling (or not) native fillSidebarMenu(). Useful for job button tweaking (e.g. adding custom reactions)

  • @@ -3113,7 +3113,7 @@ b.onReactionComplete.one=function(reaction,unit,in_items,in_reag,out_items,call_ call_native.value=false end -

    Granade example:

    +

    Grenade example:

     b=require "plugins.eventful"
     b.onProjItemCheckImpact.one=function(projectile)
    diff --git a/Lua API.rst b/Lua API.rst
    index 19ba7132d..6d4e6b51b 100644
    --- a/Lua API.rst	
    +++ b/Lua API.rst	
    @@ -2993,11 +2993,11 @@ List of events
     
     7. ``onWorkshopFillSidebarMenu(workshop,callnative)``
     
    -   Is called when viewing a workshop in 'q' mode, to populate reactions, usefull for custom viewscreens for shops.
    +   Is called when viewing a workshop in 'q' mode, to populate reactions, useful for custom viewscreens for shops.
     
     8. ``postWorkshopFillSidebarMenu(workshop)``
     
    -   Is called after calling (or not) native fillSidebarMenu(). Usefull for job button
    +   Is called after calling (or not) native fillSidebarMenu(). Useful for job button
        tweaking (e.g. adding custom reactions)
     
     Functions
    @@ -3036,7 +3036,7 @@ Reaction complete example::
         call_native.value=false
       end
     
    -Granade example::
    +Grenade example::
     
       b=require "plugins.eventful"
       b.onProjItemCheckImpact.one=function(projectile)