Chaosforge Forum

  • November 04, 2024, 08:24
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Question about TStatusEffect  (Read 3584 times)

Alpro

  • Private FC
  • *
  • Offline Offline
  • Posts: 14
  • Lost Soul
    • View Profile
Question about TStatusEffect
« on: March 18, 2012, 19:10 »

I wonder if those...

STATUSNORMAL
STATUSINVERT
STATUSRED
STATUSGREEN

...determine both the effect and the screen color altogether. I would like to make a mod that doesn't change the screen color when you go berserk, envirosuit or invulnerable. If i change, say, the envirosuit's TStatusEffect to STATUSNORMAL, will it still give the protection without making everything green? If not, can someone point me the right direction, without telling me exactly how to do it (otherwise i won't learn anything)? Would this be handled differently in graphical mode?
Logged

Game Hunter

  • Programmer
  • Local Inquisitor
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1044
  • Looks like game to me.
    • View Profile
    • Channel, the Roguelike
Re: Question about TStatusEffect
« Reply #1 on: March 19, 2012, 06:44 »

I wonder if those determine both the effect and the screen color altogether.
Those enumerators work in an entirely visual fashion and have nothing to do with the effects themselves. You can change those all you want and keep the current effects working just fine: graphical and console versions should be affected equally by such a change.
Logged
I'm just a dude playing a dude disguised as another dude.

Latest LPs: Angband, Delver
Pages: [1]