@@ -51,7 +51,6 @@ public sealed partial class ParcelWrappingSystem : EntitySystem
|
||||
wrapper.Owner != target &&
|
||||
// Wrapper should never be empty, but may as well make sure.
|
||||
!_charges.IsEmpty(wrapper.Owner) &&
|
||||
_whitelist.IsWhitelistPass(wrapper.Comp.Whitelist, target) &&
|
||||
_whitelist.IsBlacklistFail(wrapper.Comp.Blacklist, target);
|
||||
_whitelist.CheckBoth(target, wrapper.Comp.Blacklist, wrapper.Comp.Whitelist);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,17 @@
|
||||
- type: LimitedCharges
|
||||
maxCharges: 30
|
||||
|
||||
- type: entity
|
||||
parent: ParcelWrap
|
||||
id: ParcelWrapAdmeme
|
||||
name: bluespace wrap
|
||||
suffix: Admeme
|
||||
description: Paper used contain items for transport. This one seems to be able to store an unusual amount of space within it.
|
||||
components:
|
||||
- type: ParcelWrap
|
||||
whitelist: null
|
||||
blacklist: null
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: WrappedParcel
|
||||
|
||||
Reference in New Issue
Block a user