Apply suggestions from code review

Co-authored-by: Myk <myk.taylor@gmail.com>
develop
Tachytaenius 2022-08-27 15:24:22 +01:00 committed by GitHub
parent 155525b853
commit 0b6178f5d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

@ -3355,7 +3355,7 @@ Examples:
* Using an eventful onReactionComplete hook, something for disturbing dwarven science:: * Using an eventful onReactionComplete hook, something for disturbing dwarven science::
if customRawTokens.getToken(reaction, "EXAMPLE_MOD_CAUSES_INSTANITY") then if customRawTokens.getToken(reaction, "EXAMPLE_MOD_CAUSES_INSANITY") then
-- make unit who performed reaction go insane -- make unit who performed reaction go insane
* Using an eventful onProjItemCheckMovement hook, a fast or slow-firing crossbow:: * Using an eventful onProjItemCheckMovement hook, a fast or slow-firing crossbow::

@ -57,7 +57,6 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
- UX: You can now click on the hotkey hint text in many ``gui/`` script windows to activate the hotkey, like a button. Not all scripts have been updated to use the clickable widget yet, but you can try it in `gui/blueprint` or `gui/quickfort`. - UX: You can now click on the hotkey hint text in many ``gui/`` script windows to activate the hotkey, like a button. Not all scripts have been updated to use the clickable widget yet, but you can try it in `gui/blueprint` or `gui/quickfort`.
## Documentation ## Documentation
- Made ``DFHACK_`` prefix in ``custom-raw-tokens``' documentation ``EXAMPLE_MOD_`` and explained why.
## API ## API
- Removed "egg" ("eggy") hook support (Linux only). The only remaining method of hooking into DF is by interposing SDL calls, which has been the method used by all binary releases of DFHack. - Removed "egg" ("eggy") hook support (Linux only). The only remaining method of hooking into DF is by interposing SDL calls, which has been the method used by all binary releases of DFHack.