Add material arbitrage tests (#13315)

This commit is contained in:
Leon Friedrich
2023-01-15 21:57:59 +13:00
committed by GitHub
parent 9f3256730d
commit cf509c1e38
28 changed files with 415 additions and 34 deletions

View File

@@ -4,7 +4,7 @@
sprite: Objects/Consumable/Food/Baked/pizza.rsi
state: margherita
product: CrateFoodPizza
cost: 500
cost: 550
category: Food
group: market

View File

@@ -52,7 +52,7 @@
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: CrateVendingMachineRestockGamesFilled
cost: 650
cost: 750
category: Service
group: market

View File

@@ -71,6 +71,8 @@
- Trash
- type: Recyclable
- type: SpaceGarbage
- type: StaticPrice
price: 0
- type: entity
name: bowl

View File

@@ -74,6 +74,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 50
- type: entity
parent: FoodTinBase
@@ -129,6 +131,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 50
- type: entity
parent: FoodTinBase
@@ -179,6 +183,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 50
- type: entity
parent: FoodTinBase
@@ -241,6 +247,8 @@
- id: FoodTinMREOpen
sound:
path: /Audio/Items/can_open3.ogg
- type: StaticPrice
price: 50
- type: entity

View File

@@ -195,6 +195,7 @@
materialRequirements:
Cable: 5
- type: Construction
deconstructionTarget: null
graph: ThermomachineBoard
node: freezer
@@ -215,6 +216,7 @@
Cable: 5
- type: Construction
graph: ThermomachineBoard
deconstructionTarget: null
node: heater
- type: entity

View File

@@ -76,6 +76,8 @@
damage:
types:
Piercing: 5
- type: StaticPrice
price: 0
- type: entity
parent: ShardBase

View File

@@ -42,6 +42,8 @@
SheetGlass:
min: 5
max: 5
- type: StaticPrice
price: 50
#Security Shields
@@ -115,6 +117,8 @@
MaterialWoodPlank:
min: 5
max: 5
- type: StaticPrice
price: 150
- type: entity
name: makeshift shield

View File

@@ -116,6 +116,7 @@
- type: Construction
graph: ShotgunSawn
node: shotgundoublebarreled
deconstructionTarget: null
- type: entity
name: Enforcer
@@ -161,3 +162,4 @@
- type: Construction
graph: ShotgunSawn
node: shotgunsawn
deconstructionTarget: null

View File

@@ -192,3 +192,5 @@
states:
enum.Trigger.TriggerVisualState.Primed: primed
enum.Trigger.TriggerVisualState.Unprimed: complete
- type: StaticPrice
price: 25

View File

@@ -175,6 +175,8 @@
- type: Tag
tags:
- Wooden
- type: StaticPrice
price: 75
- type: entity
name: ritual chair

View File

@@ -46,7 +46,7 @@
components:
- type: Construction
graph: LightFixture
node: tubeLight
node: groundLight
- type: Sprite
sprite: Structures/Lighting/LightPosts/small_light_post.rsi
snapCardinals: true
@@ -117,3 +117,5 @@
damage:
types:
Heat: 20
- type: StaticPrice
price: 25

View File

@@ -527,6 +527,8 @@
layer:
- MachineLayer
- type: Recyclable
- type: StaticPrice
price: 60
- type: entity
parent: GasCanisterBrokenBase

View File

@@ -22,6 +22,8 @@
node: crateplastic
containers:
- entity_storage
- type: StaticPrice
price: 150
- type: entity
parent: CrateBaseWeldable
@@ -280,6 +282,8 @@
node: cratelivestock
containers:
- entity_storage
- type: StaticPrice
price: 125
- type: entity
parent: CrateGeneric
@@ -325,4 +329,6 @@
- LargeMobMask
layer:
- LargeMobLayer
- type: StaticPrice
price: 60

View File

@@ -49,7 +49,7 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 0.5
price: 10
- type: entity
id: ReinforcedGirder
@@ -85,3 +85,5 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 66

View File

@@ -154,7 +154,7 @@
spawn:
PartRodMetal1:
min: 0
max: 2
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Climbable

View File

@@ -40,7 +40,7 @@
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- type: StaticPrice
price: 20.5
price: 60
- type: RadiationBlocker
resistance: 2
@@ -81,4 +81,4 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 20.5
price: 30

View File

@@ -48,8 +48,6 @@
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- type: StaticPrice
price: 150
- type: entity
parent: ReinforcedWindow
@@ -68,7 +66,7 @@
node: tintedWindow
- type: Occluder
- type: StaticPrice
price: 0.75
price: 44
- type: entity
id: WindowReinforcedDirectional
@@ -109,4 +107,4 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 0.75
price: 22

View File

@@ -51,7 +51,7 @@
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- type: StaticPrice
price: 20.75
price: 132
- type: entity
id: PlasmaReinforcedWindowDirectional
@@ -99,4 +99,4 @@
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 20.75
price: 66

View File

@@ -169,7 +169,7 @@
graph: WindowDirectional
node: windowDirectional
- type: StaticPrice
price: 0.5
price: 5
- type: entity
id: WindowTintedDirectional
@@ -194,7 +194,7 @@
- type: Occluder
boundingBox: "-0.5,-0.5,0.5,-0.3"
- type: StaticPrice
price: 0.5
price: 5
- type: entity
id: WindowFrostedDirectional
@@ -214,4 +214,4 @@
sprite: Structures/Windows/directional.rsi
state: frosted_window
- type: StaticPrice
price: 0.5
price: 5

View File

@@ -42,6 +42,8 @@
- type: Construction
graph: PlasticFlapsGraph
node: plasticFlaps
- type: StaticPrice
price: 150
- type: entity
id: PlasticFlapsOpaque

View File

@@ -149,6 +149,7 @@
id: TargetHuman
result: TargetHuman
completetime: 5
applyMaterialDiscount: false # ingredients dropped when destroyed
materials:
Steel: 10
@@ -156,6 +157,7 @@
id: TargetClown
result: TargetClown
completetime: 5
applyMaterialDiscount: false # ingredients dropped when destroyed
materials:
Steel: 10
@@ -163,5 +165,6 @@
id: TargetSyndicate
result: TargetSyndicate
completetime: 5
applyMaterialDiscount: false # ingredients dropped when destroyed
materials:
Steel: 10