User Tools

Site Tools


dromed:property:keydst

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dromed:property:keydst [2009/10/26 20:31]
r_soul created
dromed:property:keydst [2019/03/07 23:09] (current)
r_soul MasterBit correction
Line 5: Line 5:
 This property is used to define what key(s) open a door. This property is used to define what key(s) open a door.
  
-When ``MasterBit`` is set to $$True$$the door is openable ​by a Master Key. The ``RegionMasks`` must match, however.+The ``MasterBit`` ​checkbox ​is not used by this propertyonly by [[dromed:​property:​keysrc]]
  
 ``RegionMask`` specifies more data on the lock. It works in a similar way as the lockpicks. Each character can be a '​0'​ (False) or '​1'​ (True), and can only be opened by a key with that character also set to '​1'​ (True). So, for example, '​110'​ will open doors with RegionMasks of '​100'​ or '​10'​ (so long as they have correct ``LockID``),​ but not '​1',​ as the third character on the key's ``RegionMask`` is '​0',​ or false. You do not have to add (nor can you) add zeros before the number. ``RegionMask`` specifies more data on the lock. It works in a similar way as the lockpicks. Each character can be a '​0'​ (False) or '​1'​ (True), and can only be opened by a key with that character also set to '​1'​ (True). So, for example, '​110'​ will open doors with RegionMasks of '​100'​ or '​10'​ (so long as they have correct ``LockID``),​ but not '​1',​ as the third character on the key's ``RegionMask`` is '​0',​ or false. You do not have to add (nor can you) add zeros before the number.
dromed/property/keydst.txt · Last modified: 2019/03/07 23:09 by r_soul