- type: STR_LIGHTNING
id: 1
fuel: 30
damage: 0
status: STR_READY
weapons:
- type: STR_PLASMA_BEAM_UC
ammo: 100
You can add this to startingBase or saved game file under the crafts:
section. Make sure you check the level of indent and adjust accordingly. I think you need to add 2 spaces per line for save game file.
I have the Lightning and weapons etc. I got the save where it needs to be to test. The issue now is that the images I made to replace the dogfight and minimised images for the geoscape aren't showing up. I have them in the resource folder of my mod and referenced in the rule file like I showed above. But the original images for the lightning are what shows up. I'm thinking I got the number prefixing the path wrong. Here's my code again.
extraSprites:
- type: UP003.SPK
singleImage: true
width: 320
height: 200
files:
0: RESOURCES/lightning_ufopedia.png
- type: BASEBITS.PCK
files:
34: RESOURCES/lightning_base.gif
- type: INTICON.PCK
files:
24: RESOURCES/lightning_minimised.gif
35: RESOURCES/lightning_dogfight.gif
Edit: I found the issue. Ruleset Reference Nightly (https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#Crafts). It's the whole Sprite ID thing. I appreciate everyone's help.