Thief beacons (try 2) (#29997)

content
This commit is contained in:
Ed
2024-08-08 16:17:50 +03:00
committed by GitHub
parent 6d6c836095
commit 03745efc7f
14 changed files with 264 additions and 24 deletions

View File

@@ -0,0 +1,38 @@
- type: entity
id: ThiefBeacon
name: thieving beacon
description: A device that will teleport everything around it to the thief's vault at the end of the shift.
components:
- type: ThiefBeacon
- type: StealArea
- type: Item
size: Normal
- type: Physics
bodyType: Dynamic
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.4,0.25,0.1"
density: 20
mask:
- Impassable
- type: Foldable
folded: true
- type: Clickable
- type: InteractionOutline
- type: Appearance
- type: GenericVisualizer
visuals:
enum.FoldedVisuals.State:
foldedLayer:
True: { state: folded_extraction }
False: { state: extraction_point }
- type: Sprite
sprite: Objects/Tools/thief_beacon.rsi
drawdepth: SmallObjects
noRot: true
layers:
- state: extraction_point
map: [ "foldedLayer" ]

View File

@@ -52,8 +52,8 @@
- type: weightedRandom
id: ThiefBigObjectiveGroups
weights:
ThiefObjectiveGroupStructure: 0 #Temporarily disabled until obvious ways to steal structures are added
ThiefObjectiveGroupAnimal: 2
ThiefObjectiveGroupStructure: 1
ThiefObjectiveGroupAnimal: 1
- type: weightedRandom
id: ThiefObjectiveGroupCollection
@@ -91,7 +91,6 @@
weights:
NuclearBombStealObjective: 0.5
FaxMachineCaptainStealObjective: 1
VehicleSecwayStealObjective: 1
ChemDispenserStealObjective: 1
XenoArtifactStealObjective: 1
FreezerHeaterStealObjective: 1

View File

@@ -18,30 +18,29 @@
- type: StealCondition
verifyMapExistence: false
descriptionText: objective-condition-thief-description
checkStealAreas: true
- type: entity
abstract: true
parent: [BaseThiefObjective, BaseStealObjective]
parent: [BaseThiefObjective, BaseThiefStealObjective]
id: BaseThiefStealCollectionObjective
components:
- type: StealCondition
verifyMapExistence: true
descriptionText: objective-condition-thief-description
- type: entity
abstract: true
parent: [BaseThiefObjective, BaseStealObjective]
parent: [BaseThiefObjective, BaseThiefStealObjective]
id: BaseThiefStealStructureObjective
components:
- type: StealCondition
verifyMapExistence: true
descriptionText: objective-condition-thief-description
- type: Objective
difficulty: 2 # it's hard to hide
- type: entity
abstract: true
parent: [BaseThiefObjective, BaseStealObjective]
parent: [BaseThiefObjective, BaseThiefStealObjective]
id: BaseThiefStealAnimalObjective
components:
- type: StealCondition

View File

@@ -10,4 +10,5 @@
storage:
back:
- ToolboxThief
- ClothingHandsChameleonThief
- ClothingHandsChameleonThief
- ThiefBeacon