Page 1 of 1

Is there a crystal script?

Posted: Sun Mar 03, 2024 10:29 pm
by Resu
Hey guys, I wonder, can you script a crystal use without having a crystal near by? With such a script its also possible to copy a crystal shard of healing from LoG2

Re: I there a crystal script?

Posted: Mon Mar 04, 2024 12:00 am
by Isaac
What —specifically— do you mean by 'Crystal Use'?
Crystals heal the party, revive the dead, and auto-save the game, as well as deactivate (and reactivate) the crystal on a delay; also animate it and brighten and fade its luminance.

Are you visually faking a use of the crystal? IIRC the crystal's behavior in LoG1 is hard coded. I know of no way to manipulate it as you might a button. Perhaps minmay or one of the others know differently.

But it is possible to script a fake crystal entity... though it might be more involved than most would like.

Re: I there a crystal script?

Posted: Mon Mar 04, 2024 1:12 am
by Resu
Well, I am especially interested in the revive the dead effect because it seems only to be available when using a crystal.

Re: I there a crystal script?

Posted: Mon Mar 04, 2024 3:00 am
by Isaac
The crystal's reviving the dead is effectively (if not actually) just the party heal command.

Code: Select all

Party:heal()

Re: I there a crystal script?

Posted: Wed Mar 06, 2024 4:12 pm
by Resu
oh really? :o

I will test that soon