Improve stripping UI (#9768)
This commit is contained in:
@@ -16,6 +16,4 @@ strip-verb-get-data-text = Strip
|
||||
## UI
|
||||
|
||||
strippable-bound-user-interface-stripping-menu-title = {$ownerName}'s inventory
|
||||
strippable-bound-user-interface-stripping-menu-handcuffs-button = Restraints
|
||||
strippable-bound-user-interface-stripping-menu-ensnare-button = Leg Restraints
|
||||
strippable-bound-user-interface-stripping-menu-obfuscate = Occupied
|
||||
strippable-bound-user-interface-stripping-menu-ensnare-button = Remove Leg Restraints
|
||||
@@ -232,7 +232,6 @@
|
||||
normalState: Generic_mob_burning
|
||||
alternateState: Standing
|
||||
fireStackAlternateState: 3
|
||||
- type: EnsnareableVisualizer
|
||||
- type: CombatMode
|
||||
canDisarm: true
|
||||
- type: Climbing
|
||||
|
||||
13
Resources/Prototypes/Entities/Virtual/stripping_hidden.yml
Normal file
13
Resources/Prototypes/Entities/Virtual/stripping_hidden.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Special entity that indicates that there is something in a player's pockets, without showing the actual entity.
|
||||
# This **could** just be done via UI elements, but the existing UI uses sprite-views & the examine-system. So this is easier than special casing this.
|
||||
|
||||
- type: entity
|
||||
id: StrippingHiddenEntity
|
||||
name: Hidden Entity
|
||||
description: There is something in this pocket. #Or maybe they ar... nah... too obvious a joke.
|
||||
noSpawn: false
|
||||
components:
|
||||
- type: Sprite
|
||||
texture: Interface/VerbIcons/information.svg.192dpi.png
|
||||
netsync: false
|
||||
scale: 0.3,0.3
|
||||
@@ -6,5 +6,6 @@
|
||||
slotFlags: HEAD
|
||||
slotGroup: MainHotbar
|
||||
uiWindowPos: 0,0
|
||||
strippingWindowPos: 0,0
|
||||
displayName: Head
|
||||
offset: 0, -0.45
|
||||
|
||||
@@ -6,12 +6,14 @@
|
||||
slotFlags: FEET
|
||||
stripTime: 3
|
||||
uiWindowPos: 1,3
|
||||
strippingWindowPos: 1,3
|
||||
displayName: Shoes
|
||||
- name: jumpsuit
|
||||
slotTexture: uniform
|
||||
slotFlags: INNERCLOTHING
|
||||
stripTime: 6
|
||||
uiWindowPos: 0,2
|
||||
strippingWindowPos: 0,2
|
||||
displayName: Jumpsuit
|
||||
- name: outerClothing
|
||||
slotTexture: suit
|
||||
@@ -19,38 +21,45 @@
|
||||
slotGroup: MainHotbar
|
||||
stripTime: 6
|
||||
uiWindowPos: 1,2
|
||||
strippingWindowPos: 1,2
|
||||
displayName: Suit
|
||||
- name: gloves
|
||||
slotTexture: gloves
|
||||
slotFlags: GLOVES
|
||||
uiWindowPos: 2,2
|
||||
strippingWindowPos: 2,2
|
||||
displayName: Gloves
|
||||
- name: neck
|
||||
slotTexture: neck
|
||||
slotFlags: NECK
|
||||
uiWindowPos: 0,1
|
||||
strippingWindowPos: 0,1
|
||||
displayName: Neck
|
||||
- name: mask
|
||||
slotTexture: mask
|
||||
slotFlags: MASK
|
||||
uiWindowPos: 1,1
|
||||
strippingWindowPos: 1,1
|
||||
displayName: Mask
|
||||
- name: eyes
|
||||
slotTexture: glasses
|
||||
slotFlags: EYES
|
||||
stripTime: 3
|
||||
uiWindowPos: 0,0
|
||||
strippingWindowPos: 0,0
|
||||
displayName: Eyes
|
||||
- name: ears
|
||||
slotTexture: ears
|
||||
slotFlags: EARS
|
||||
stripTime: 3
|
||||
uiWindowPos: 2,0
|
||||
strippingWindowPos: 2,0
|
||||
displayName: Ears
|
||||
- name: head
|
||||
slotTexture: head
|
||||
slotFlags: HEAD
|
||||
uiWindowPos: 1,0
|
||||
strippingWindowPos: 1,0
|
||||
displayName: Head
|
||||
- name: pocket1
|
||||
slotTexture: pocket
|
||||
@@ -58,6 +67,7 @@
|
||||
slotGroup: MainHotbar
|
||||
stripTime: 3
|
||||
uiWindowPos: 0,3
|
||||
strippingWindowPos: 0,4
|
||||
dependsOn: jumpsuit
|
||||
displayName: Pocket 1
|
||||
stripHidden: true
|
||||
@@ -67,6 +77,7 @@
|
||||
slotGroup: MainHotbar
|
||||
stripTime: 3
|
||||
uiWindowPos: 2,3
|
||||
strippingWindowPos: 1,4
|
||||
dependsOn: jumpsuit
|
||||
displayName: Pocket 2
|
||||
stripHidden: true
|
||||
@@ -75,6 +86,7 @@
|
||||
slotFlags: SUITSTORAGE
|
||||
stripTime: 3
|
||||
uiWindowPos: 2,0
|
||||
strippingWindowPos: 2,5
|
||||
dependsOn: outerClothing
|
||||
displayName: Suit Storage
|
||||
- name: id
|
||||
@@ -83,6 +95,7 @@
|
||||
slotGroup: SecondHotbar
|
||||
stripTime: 6
|
||||
uiWindowPos: 2,1
|
||||
strippingWindowPos: 2,4
|
||||
dependsOn: jumpsuit
|
||||
displayName: ID
|
||||
- name: belt
|
||||
@@ -91,6 +104,7 @@
|
||||
slotGroup: SecondHotbar
|
||||
stripTime: 6
|
||||
uiWindowPos: 3,1
|
||||
strippingWindowPos: 1,5
|
||||
displayName: Belt
|
||||
- name: back
|
||||
slotTexture: back
|
||||
@@ -98,4 +112,5 @@
|
||||
slotGroup: SecondHotbar
|
||||
stripTime: 6
|
||||
uiWindowPos: 3,0
|
||||
strippingWindowPos: 0,5
|
||||
displayName: Back
|
||||
|
||||
@@ -6,4 +6,5 @@
|
||||
slotFlags: HEAD
|
||||
slotGroup: MainHotbar
|
||||
uiWindowPos: 0,0
|
||||
strippingWindowPos: 0,0
|
||||
displayName: Head
|
||||
|
||||
Reference in New Issue
Block a user