Back to NxLabs

NxLabs / Vintage Story

Effectlib

LBy llama3013

A library for player effect handling given by items

Description

Allows modders to create items that will give effects to players when used, either through json or code.

Adds a command that allows admins to grant temporary effects or until death effects to players using /efflib.

Required by current test build of alchemy 2.2.0-rc.10.

Some examples of pure json items are in Effectlib examples mod

If you want to look at the more complicated examples inside of the alchemy mod look here. The alchemy mod is a lot more complicated than just simple json items but allows for heavy config in game.

 

Todo list:

  • A lot of documentation (Currently its very minimal, I will try add code comments and documentation soon)
  • Support for clothing
  • Support for hotkey activation
  • Finish alchemy and effect lib seperation (Nearly done I think)

 

Please provide feedback on any suggested improvements or any critiques on the code.

Any questions, bug reports or suggestions go to vintage story discord and send a message on the effectlib post. You can still use github, comments below or forum but I will be more likely to see it on discord.

Link to the discord server invite

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.