PDA

View Full Version : Locked / Read Only NPC Records



Myrddin
April 11th, 2015, 18:16
I have built a library module for NPCs for a ruleset layered on the CoreRPG ruleset. I have set each NPC record to be locked using the tag <locked type="number">1</locked> in the db.xml file within the module. That works fine, in so much as the library module records are locked as default. However, the library records can be unlocked and edited by opening the padlock -- I only want the records to be editable when dragged in to the NPCs tab. Please could somebody give me some pointers as to how I would go about setting the library records to be fully locked (i.e. red padlocked as per PFRPG Ruleset and Bestiary modules)?

Trenloe
April 12th, 2015, 00:40
https://www.fantasygrounds.com/forums/showthread.php?23243-Mod-file-not-locked&p=200805&viewfull=1#post200805

Myrddin
April 13th, 2015, 00:45
Thanks Trenloe. Simple!