Skip to content

Commit

Permalink
Merge pull request #70 from sTiKyt/trash-prices-reworked
Browse files Browse the repository at this point in the history
Trash and some stuff prices implemented
  • Loading branch information
Cheackraze authored Jul 23, 2023
2 parents 4ae534c + 3b4a268 commit da38280
Show file tree
Hide file tree
Showing 25 changed files with 84 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"build",
"/property:GenerateFullPaths=true", // Ask dotnet build to generate full paths for file names.
"/consoleloggerparameters:NoSummary" // Do not generate summary otherwise it leads to duplicate errors in Problems panel

],
"group": {
"kind": "build",
Expand All @@ -34,4 +35,4 @@
"problemMatcher": "$msCompile"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
- type: Tag
tags:
- Trash
- type: StaticPrice
price: 1

- type: entity
name: broken bowl
Expand All @@ -72,7 +74,7 @@
Glass: 50
- type: SpaceGarbage
- type: StaticPrice
price: 0
price: 1

- type: entity
name: bowl
Expand All @@ -82,3 +84,5 @@
components:
- type: Sprite
state: bowl2
- type: StaticPrice
price: 3
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
materialComposition:
Glass: 100
- type: SpaceGarbage
- type: StaticPrice
price: 3

- type: entity
name: broken plate
Expand All @@ -62,6 +64,8 @@
tags:
- Trash
- type: SpaceGarbage
- type: StaticPrice
price: 1

# Small Plate

Expand Down Expand Up @@ -91,6 +95,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 2

- type: entity
parent: FoodPlateTrash
Expand All @@ -114,6 +120,8 @@
- type: Tag
tags:
- Trash
- type: StaticPrice
price: 1

- type: entity
name: plastic plate
Expand All @@ -127,6 +135,8 @@
- type: Tag
tags:
- Trash
- type: StaticPrice
price: 1

# Pie Tin

Expand All @@ -146,3 +156,5 @@
materialComposition:
Steel: 100
- type: SpaceGarbage
- type: StaticPrice
price: 1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
- type: PhysicalComposition
materialComposition:
Steel: 100
- type: StaticPrice
price: 10

- type: entity
abstract: true
Expand All @@ -50,6 +52,8 @@
- type: PhysicalComposition
materialComposition:
Steel: 100
- type: StaticPrice
price: 1
# Tins

# Need something that you can open these tins with. I suggest a prying or cutting tool.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
Steel: 100
- type: SpaceGarbage
- type: StaticPrice
price: 0
price: 1

- type: entity
noSpawn: true
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Devices/radio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@
- type: Tag
tags:
- Radio
- type: StaticPrice
price: 25
6 changes: 6 additions & 0 deletions Resources/Prototypes/Entities/Objects/Fun/bike_horn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
- Honking
useSound:
collection: BikeHorn
- type: StaticPrice
price: 15

- type: entity
parent: BaseItem
Expand Down Expand Up @@ -84,6 +86,8 @@
damage:
types:
Blunt: 5
- type: StaticPrice
price: 2


- type: entity
Expand Down Expand Up @@ -130,3 +134,5 @@
- type: Construction
graph: BananiumHorn
node: bananiumHorn
- type: StaticPrice
price: 20
6 changes: 4 additions & 2 deletions Resources/Prototypes/Entities/Objects/Misc/books.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
backgroundImagePath: "/Textures/Interface/Paper/paper_background_book.svg.96dpi.png"
backgroundPatchMargin: 23.0, 16.0, 14.0, 15.0
contentMargin: 20.0, 20.0, 20.0, 20.0
- type: StaticPrice
price: 15

- type: entity
id: BookSpaceEncyclopedia
Expand Down Expand Up @@ -84,7 +86,7 @@
id: BookChefGaming
parent: BaseItem
name: chef gaming
description: A book about cooking written by a gamer chef.
description: A book about cooking written by a gamer chef.
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
Expand Down Expand Up @@ -156,7 +158,7 @@
id: BookSecurity
parent: BaseItem
name: security 101
description: A book about security written by Nanotrasen. The book is stained with blood. It seems to have been used more as a weapon than reading material.
description: A book about security written by Nanotrasen. The book is stained with blood. It seems to have been used more as a weapon than reading material.
components:
- type: Sprite
sprite: Objects/Misc/books.rsi
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/broken_bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@
materialComposition:
Glass: 50
- type: SpaceGarbage
- type: StaticPrice
price: 1

4 changes: 4 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/fluff_lights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
- type: Appearance
- type: Physics
canCollide: false
- type: StaticPrice
price: 5

- type: entity
name: lamp
Expand Down Expand Up @@ -203,3 +205,5 @@
- MachineMask
layer:
- MachineLayer
- type: StaticPrice
price: 3
8 changes: 8 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
damage:
types:
Blunt: 0
- type: StaticPrice
price: 19

- type: entity
name: makeshift handcuffs
Expand Down Expand Up @@ -54,6 +56,8 @@
sprite: Objects/Misc/cablecuffs.rsi
state: cuff
color: forestgreen
- type: StaticPrice
price: 6

- type: entity
name: zipties
Expand Down Expand Up @@ -82,6 +86,8 @@
- type: Sprite
sprite: Objects/Misc/zipties.rsi
state: cuff
- type: StaticPrice
price: 9

- type: entity
id: BaseHandcuffsBroken
Expand All @@ -96,6 +102,8 @@
- type: PhysicalComposition
materialComposition:
Plastic: 25
- type: StaticPrice
price: 1

- type: entity
name: broken zipties
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Misc/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
- Trash
- type: Appearance
- type: PaperVisuals
- type: StaticPrice
price: 1

- type: entity
name: office paper
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Shields/shields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,3 +406,5 @@
sprite: Objects/Weapons/Melee/e_shield.rsi
size: 5
heldPrefix: eshield
- type: StaticPrice
price: 15
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
Plastic: 50
- type: SpaceGarbage
- type: StaticPrice
price: 75 # These are limited supply items.
price: 35 # These are limited supply items.
- type: TrashOnEmpty
solution: pen

Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/flare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@
startValue: 10.0
endValue: 1.0
property: Radius
- type: StaticPrice
price: 35
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/gps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
- type: Item
sprite: Objects/Devices/gps.rsi
- type: HandheldGPS
- type: StaticPrice
price: 25
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/lighters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
radius: 1.1 #smallest possible
color: orange
- type: Appearance
- type: StaticPrice
price: 15


- type: entity
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/Entities/Objects/Tools/matches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
capacity: 10
- type: Item
size: 10
- type: StaticPrice
price: 10

- type: entity
name: match stick
Expand Down Expand Up @@ -40,6 +42,8 @@
unlitIcon: match_unlit
litIcon: match_lit
burntIcon: match_burnt
- type: StaticPrice
price: 2

- type: entity
parent: Matchstick
Expand All @@ -51,6 +55,8 @@
- state: match_burnt
- type: Matchstick
state: Burnt
- type: StaticPrice
price: 1

- type: entity
name: match box
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/plant_rustle.ogg
- type: StaticPrice
price: 50

- type: entity
id: PottedPlant0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
node: monitorBroken
- !type:DoActsBehavior
acts: ["Destruction"]
- type: StaticPrice
price: 100

- type: entity
id: ComputerFrame
Expand Down Expand Up @@ -98,3 +100,5 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 25
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- type: entity
- type: entity
parent: BaseMachinePowered
id: FaxMachineBase
name: long range fax machine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
- type: Construction
graph: DisposalPipe
node: broken
- type: StaticPrice
price: 1

- type: entity
id: DisposalPipe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
- type: ContainerContainer
containers:
bin-container: !type:Container
- type: StaticPrice
price: 5

- type: entity
parent: PaperBin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
min: 1
max: 1
offset: 0
- type: StaticPrice
price: 30

- type: entity
parent: BaseSign
Expand All @@ -48,6 +50,8 @@
path: /Audio/Effects/poster_broken.ogg
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: StaticPrice
price: 1

# Contraband
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
- type: Tag
tags:
- Book
- type: StaticPrice
price: 35

- type: entity
parent: BaseHyperlinkBook
Expand Down

0 comments on commit da38280

Please sign in to comment.