Avorion

Avorion

Not enough ratings
Buffs - Framework for modders
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
Updated
624.465 KB
23 May, 2019 @ 6:07pm
20 Mar, 2020 @ 8:15pm
13 Change Notes ( view )

Subscribe to download
Buffs - Framework for modders

In 1 collection by Rinart73
Rinart73's Mods
39 items
Description
Avorion: 0.31.1 - 1.0.x
Provides an API for other mods that allows to create ship and station buffs and debuffs.

This mod should be installed on both client and server.

NOTE: This mod will be updated to the stable versions only. I'm not planning to support Beta-versions since they come out very often and I don't have the time to check and update mods every time.
Caution: This mod is in early development stage. Scripts can break, mod logic can change greatly with new versions. I need your feedback.
This mod is a framework for other mods. It doesn't apply buffs by itself.

Source code[github.com]
You can support me on Patreon[www.patreon.com].

Features:
  • Provides an API for other mods that allows to create player, ship/station buffs and debuffs.
  • Buffs are synced to a client side and displayed as icons to the left (player) and right (ship) of the health bar.
  • Player & Ship Window have a new tab that displays vanilla and custom stats, as well as the full buffs lists.
  • Hovering buff icon shows a tooltip with title, description and bonuses info.
  • You can specify duration, icon, title, description, colors and other things.

Bug reporting:
  1. Tell your game version and list of mods you have activated.
  2. Give an instruction on how to reproduce a bug, step by step.
  3. Use Pastebin[pastebin.com] to attach links to your client and server logs.
    Client logs: C:\Users\YourProfileName\AppData\Roaming\Avorion\
    Server logs: C:\Users\YourProfileName\AppData\Roaming\Avorion\galaxies\GalaxyName\
  4. Make a screenshot if problem can be seen visually.

Usage and API
You can find API Docs in the "Documentation/BuffsHelper.html" file.
Also I suggest to take a look at the working example: "Beginner's Blessing"

Config files locations:
Client - AppData/Roaming/Avorion/moddata/Buffs.lua
Server - AppData/Roaming/Avorion/galaxies/(GalaxyName)/moddata/Buffs.lua
14 Comments
destwaker 6 Apr, 2023 @ 5:35pm 
update?
Rinart73  [author] 7 Oct, 2021 @ 11:27pm 
When I'll have time. Right now I'm more focused on work
redmoonarh 6 Oct, 2021 @ 11:03pm 
update to 2.0?
Rinart73  [author] 30 Nov, 2020 @ 3:02am 
Sorry but I'm really busy and tired atm.
LumberingTroll 17 Nov, 2020 @ 12:46pm 
Could we get an update for the current version, please? It works but servers are not happy with the different version numbers.
Rinart73  [author] 20 Mar, 2020 @ 8:27pm 
Done. Gosh that was a lot of work :D
NoFoodAfterMidnight 15 Mar, 2020 @ 9:20am 
Super hyped for this to be updated
Alfuken 27 Feb, 2020 @ 9:05am 
Yay. That'd be a huge deal towards Siege Module ;)
Rinart73  [author] 27 Feb, 2020 @ 8:20am 
Alfuken, Yes. Once 1.0 will appear on a stable branch expect updates of most of my mods including this one. I have actually big plans for the Buffs framework :)
Alfuken 27 Feb, 2020 @ 7:31am 
@Rinart73 can we expect an update with Avorion leaving alpha?