@@ -51,7 +51,6 @@ public sealed partial class ParcelWrappingSystem : EntitySystem
|
|||||||
wrapper.Owner != target &&
|
wrapper.Owner != target &&
|
||||||
// Wrapper should never be empty, but may as well make sure.
|
// Wrapper should never be empty, but may as well make sure.
|
||||||
!_charges.IsEmpty(wrapper.Owner) &&
|
!_charges.IsEmpty(wrapper.Owner) &&
|
||||||
_whitelist.IsWhitelistPass(wrapper.Comp.Whitelist, target) &&
|
_whitelist.CheckBoth(target, wrapper.Comp.Blacklist, wrapper.Comp.Whitelist);
|
||||||
_whitelist.IsBlacklistFail(wrapper.Comp.Blacklist, target);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,17 @@
|
|||||||
- type: LimitedCharges
|
- type: LimitedCharges
|
||||||
maxCharges: 30
|
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
|
- type: entity
|
||||||
parent: BaseItem
|
parent: BaseItem
|
||||||
id: WrappedParcel
|
id: WrappedParcel
|
||||||
|
|||||||
Reference in New Issue
Block a user