OpenXcom Forum

Modding => OpenXcom Extended => OXCE Support => Topic started by: wcho035 on October 12, 2019, 05:35:14 pm

Title: [Answered] costUse include other stats beside TU, HP, Energy, Morale and Mana.
Post by: wcho035 on October 12, 2019, 05:35:14 pm
Hi Meridian,

If this is not a big job. Currently costUse can only affect

     time:
     energy:
     morale:
     mana:
     health:

Can you also include the other missing stats like.

      stamina
      bravery:
      reactions:
      firing:
      throwing:
      strength:
      psiStrength:
      psiSkill:
      melee: 

Thanks?

I would like to this feature create to create drugs that affect soldiers stats
Title: Re: [Suggestion] costUse include other stats beside TU, HP, Energy, Morale and Mana.
Post by: efrenespartano on October 12, 2019, 05:38:49 pm
Finnik wrote some very cool scripts last year that will help you get the results you look for.

https://openxcom.org/forum/index.php?topic=6721.0

Enviado desde mi LG-M400 mediante Tapatalk

Title: [Cancelled] costUse include other stats beside TU, HP, Energy, Morale and Mana.
Post by: wcho035 on October 12, 2019, 05:47:45 pm
efrenespartano, you are the god man. Thank you for the link.

Meridian, don't worry about this.
Title: Re: [Suggestion] costUse include other stats beside TU, HP, Energy, Morale and Mana.
Post by: Meridian on October 12, 2019, 05:50:02 pm
Can you also include the other missing stats like.

No I cannot.

costUse cannot modify any stats, it can modify only resources. And it is already possible to modify all 6 resources.

current TU, energy, current HP, stun, morale and mana are not stats, they are resources.
max TU (pool), stamina, max HP (pool), bravery, (max) mana pool, firing/throwing/melee accuracy, strength, and so on... are not resources, they are stats.
Title: Re: [Cancelled] costUse include other stats beside TU, HP, Energy, Morale and Mana.
Post by: wcho035 on October 12, 2019, 05:53:13 pm
Thank you for the quick and kind reply Meridian. I appreciate the clarity.

Another solution is found.

I hope this message would be useful for others looking the same as what I am seeking.

Thank you all.