by editing the entries, what do you mean?
adding more fluff, currently you can edit all teh weapons to support more ammo or ad a firing mode so long as you properly edit all the required entries for said weapon, if you simply go to the wapon and then add ammo type but do not define teh ammo the game will brake.
Rule of thumb, when editing existing entries keyword search every place where that entry is mentioned and make sure that all dependents items are present.
here is an example i modified teh rifle entry, add added more ammo types to the weapon
- type: STR_RIFLE
.
.
.
compatibleAmmo:
- STR_RIFLE_CLIP_AP
- STR_RIFLE_CLIP_HE
- STR_RIFLE_CLIP_NL
.
.
.
therefore i also need to define thos new ammo and so i did
- type: STR_RIFLE_CLIP_AP
size: 0.1
costBuy: 200
costSell: 150
.
.
.
- type: STR_RIFLE_CLIP_HE
size: 0.1
costBuy: 200
costSell: 150
.
.
.
- type: STR_RIFLE_CLIP_NL
size: 0.1
costBuy: 200
costSell: 150
.
.
.
Then you need to add an UFOpedia and their corresponding category entry for all this
- id: STR_RIFLE
type_id: 4
section: STR_WEAPONS_AND_EQUIPMENT
text: STR_RIFLE_UFOPEDIA
- id: STR_RIFLE_CLIP_AP
type_id: 4
section: STR_NOT_AVAILABLE
- id: STR_RIFLE_CLIP_HE
type_id: 4
section: STR_NOT_AVAILABLE
- id: STR_RIFLE_CLIP_NL
type_id: 4
section: STR_NOT_AVAILABLE
and of course if you are creating an article for it then you need to update the language files.
I hope this is what you mean, if not please clarify what you are trying to say.