Fix spelling errors

develop
Quietust 2013-02-27 08:08:49 -06:00
parent 03b91ca26c
commit f0b0378caf
2 changed files with 6 additions and 6 deletions

@ -3070,10 +3070,10 @@ on DF world events.</p>
<p>Is called when projectile hits something.</p> <p>Is called when projectile hits something.</p>
</li> </li>
<li><p class="first"><tt class="docutils literal">onWorkshopFillSidebarMenu(workshop,callnative)</tt></p> <li><p class="first"><tt class="docutils literal">onWorkshopFillSidebarMenu(workshop,callnative)</tt></p>
<p>Is called when viewing a workshop in 'q' mode, to populate reactions, usefull for custom viewscreens for shops.</p> <p>Is called when viewing a workshop in 'q' mode, to populate reactions, useful for custom viewscreens for shops.</p>
</li> </li>
<li><p class="first"><tt class="docutils literal">postWorkshopFillSidebarMenu(workshop)</tt></p> <li><p class="first"><tt class="docutils literal">postWorkshopFillSidebarMenu(workshop)</tt></p>
<p>Is called after calling (or not) native fillSidebarMenu(). Usefull for job button <p>Is called after calling (or not) native fillSidebarMenu(). Useful for job button
tweaking (e.g. adding custom reactions)</p> tweaking (e.g. adding custom reactions)</p>
</li> </li>
</ol> </ol>
@ -3113,7 +3113,7 @@ b.onReactionComplete.one=function(reaction,unit,in_items,in_reag,out_items,call_
call_native.value=false call_native.value=false
end end
</pre> </pre>
<p>Granade example:</p> <p>Grenade example:</p>
<pre class="literal-block"> <pre class="literal-block">
b=require &quot;plugins.eventful&quot; b=require &quot;plugins.eventful&quot;
b.onProjItemCheckImpact.one=function(projectile) b.onProjItemCheckImpact.one=function(projectile)

@ -2993,11 +2993,11 @@ List of events
7. ``onWorkshopFillSidebarMenu(workshop,callnative)`` 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)`` 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) tweaking (e.g. adding custom reactions)
Functions Functions
@ -3036,7 +3036,7 @@ Reaction complete example::
call_native.value=false call_native.value=false
end end
Granade example:: Grenade example::
b=require "plugins.eventful" b=require "plugins.eventful"
b.onProjItemCheckImpact.one=function(projectile) b.onProjItemCheckImpact.one=function(projectile)