About this mod
A pack of 7 recolored healing crystals to use in your dungeon, along with a modular .lua file allowing you to define your own colors easily, and a script entity to write custom functions for different colors.
- Permissions and credits
##### Scripting & Design by Diarmuid & Neikun #####
This is a pack of 7 recolored healing crystals to use in your dungeon, along with a modular .lua file allowing you to define your own colors easily, and a script entity to write custom functions for different colors.
The crystals use a convoluted combination of pits, lights, altar, gratings, projectiles, item, timers, scripts... to reproduce in other colors the hardcoded animation and visuals from the normal blue healing crystal.
[[[[[ SETUP INSTRUCTIONS: ]]]]]
1. copy animations, models, scripts and textures folders to your mod_assets folder
2. add the following line at the end of your init.lua:
import "mod_assets/scripts/crystals.lua"
3. create a script_entity named crystalHandler in the dungeon editor
4. copy the contents of crystalHandler.lua into this crystalHandler script entity.
5. read readme.txt for additionnal info on how the lua scripts work.
[[[[[ CHANGELOG: ]]]]]
----------------------------------------------------------------------------------
v1.1: Fixed bug that caused hum sound to accumulate
[[[[[ THIS PACK CONTAINS: ]]]]]]
1. models and textures for the following 7 crystal colors:
----------------------------------------------------------------------------------
- green
- red
- pink
- orange
- yellow
- black
- white
TO USE THE CRYSTALS:
Simply put the dx_healing_crystal_object_"color" object in the editor like a normal crystal. That's it!
2. crystals.lua:
----------------------------------------------------------------------------------
A modular lua file which generates the crystal objects and components.
3. crystalHandler script:
----------------------------------------------------------------------------------
This must be copied in the dungeon editor in a scriptEntity named crystalHandler, and controls the crystals behaviour.
If you use this in your dungeons, please give credit back! :)