OpenXcom Forum

Modding => Help => Topic started by: robin on December 23, 2019, 11:48:58 pm

Title: customize "Prime Grenade" text?
Post by: robin on December 23, 2019, 11:48:58 pm
is it possible?
in a similar way you do for shots:

 - type: STR_BIGGU_GUN
   confAimed:
     name: STR_BOOOM

I made a portable robot that you activate and throw, so it is a bit silly that you "Prime Grenade" it.
I need it to be a grenade because in case the soldier in knocked out in battle, I want the robot to activate automatically (provided it has been "primed" beforehand).

thanks.
Title: Re: customize "Prime Grenade" text?
Post by: Yankes on December 24, 2019, 12:15:49 am
Yes, and unprime too.
Code: [Select]
primeActionName
primeActionMessage
unprimeActionName
unprimeActionMessage
Title: Re: customize "Prime Grenade" text?
Post by: robin on December 24, 2019, 12:23:19 am
Many thanks. I completely missed them in the Ruleset Reference. I'm blind.