PDA

View Full Version : Ready Only



YAKO SOMEDAKY
June 17th, 2018, 21:13
I'd like to first know if that padlock that says something is Read Only is in the Program or if it belongs to the Ruleset based CoreRPG.
If it is the program I imagine that nothing can be done.
If it is the Ruleset I would like to know the file that contains information about it and I would also like to know if the whole file has to be read only or if I can determine that only a "piece" of this file is read only.
This ready only lock and the same that says locked or Unlocked when an item is in the player's possession?

Trenloe
June 17th, 2018, 21:52
Look for static="true" in the module XML - this defines a section as read-only. If you need an example look at DD5E SRD Data.mod

Ikael
June 17th, 2018, 21:54
The Read Only comes from modules. If record's data has static="true" then it is read only. You can make copy of the record and it will become editable/lockable.

The lock presentation itself is ruleset defined.