View Full Version : [BRP]Editable / Non Editable Labels
VenomousFiligree
October 1st, 2010, 15:51
When powers are dragged to the PC sheet the names are non editable, when weapons are dragged the names are editable. How do I go about changing non editable to editable?
StuartW
October 1st, 2010, 22:34
You can create a new (editable) power by selecting right-click: Create Item.
However there is no way (in the base ruleset at least) of switching between editable and non-editable powers.
Stuart
VenomousFiligree
October 1st, 2010, 23:24
You can create a new (editable) power by selecting right-click: Create Item.
However there is no way (in the base ruleset at least) of switching between editable and non-editable powers.
Stuart
OK, thanks.
I'm creating new spells for The Laundry, the spells have generic names with local variations, so I was hoping to drag the spell to the Powers frame then edit the name as required.
StuartW
October 2nd, 2010, 07:14
You can make powers/spells editable on the character sheet by replacing the ruleset file adventure_powers.xml with a modified version in your extension, and change the function isStatic() (starts at line 28 in the file) to remove the lines in red below:
function isStatic()
local node = getDatabaseNode();
if node then
if node.getChild("static") then
return true;
end
return node.isStatic();
end
return false;
end
Hope that helps
Stuart
VenomousFiligree
October 2nd, 2010, 08:26
Thanks Stuart, however while trying out the above I realised that I can change the name without modifying the code.
If you open the power link you can edit the title from the powers frame! :)
StuartW
October 2nd, 2010, 08:34
Hehe, oh well!
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.