diff options
| author | Skipper <[email protected]> | 2025-02-13 22:14:31 +0000 |
|---|---|---|
| committer | Skipper <[email protected]> | 2025-02-13 22:14:31 +0000 |
| commit | ef8f6310745a434317ba0f17875e1cb7db59e5a9 (patch) | |
| tree | 146d130dc946ffff01b5154549f2d26f10539c79 /plugins | |
| parent | 1b4f3db2f32ffdef3acb7657f37bca3a51ffe467 (diff) | |
Updated Aircraft.py
Updated to do the prev_life/life swap in the aircraft add_state function.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/smoke_on_damage/Plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/smoke_on_damage/Plugin.py b/plugins/smoke_on_damage/Plugin.py index b3b4ccd..e6c57e2 100644 --- a/plugins/smoke_on_damage/Plugin.py +++ b/plugins/smoke_on_damage/Plugin.py @@ -1,5 +1,6 @@ """TThis plugin will cause the aircraft to emit smoke if it's health is below a certain threshold. -It is also an example of a plugin as a folder/module.""" +It is also an example of a plugin as a folder/module. +This can be used as a basis for more complex plugins that may need multiple files.""" from lib.PacketManager.packets import FSNETCMD_AIRCMD, FSNETCMD_AIRPLANESTATE, FSNETCMD_TEXTMESSAGE from logging import debug from config import SMOKE_LIFE, SMOKE_PLANE |
