-
Notifications
You must be signed in to change notification settings - Fork 555
/
trash.dm
206 lines (165 loc) · 4.94 KB
/
trash.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
//////////////////
///Trash Parent///
//////////////////
/obj/item/trash
icon = 'icons/obj/items/trash.dmi'
w_class = SIZE_SMALL
desc = "This is rubbish."
garbage = TRUE
//////////////
///Wrappers///
//////////////
/obj/item/trash/barcardine
name = "barcardine bar wrapper"
desc = "An empty wrapper from a barcardine bar. You notice the inside has several medical labels. You're not sure if you care or not about that."
icon_state = "barcardine_trash"
/obj/item/trash/boonie
name = "boonie bar wrapper"
desc = "A minty green wrapper. Reminds you of another terrible decision involving minty green, but you can't remember what..."
icon_state = "boonie_trash"
/obj/item/trash/burger
name = "Burger wrapper"
icon_state = "burger"
desc = "A greasy plastic film that once held a Cheeseburger. Packaged by the Weyland-Yutani Corporation."
/obj/item/trash/buritto
name = "Burrito wrapper"
icon_state = "burrito"
desc = "A foul-smelling plastic film that once held a microwave burrito. Packaged by the Weyland-Yutani Corporation."
/obj/item/trash/candy
name = "Candy"
icon_state= "candy"
/obj/item/trash/cheesie
name = "Cheesie honkers"
gender = PLURAL
icon_state = "cheesie_honkers"
/obj/item/trash/chips
name = "Chips"
gender = PLURAL
icon_state = "chips"
/obj/item/trash/chunk
name = "chunk bar box"
desc = "An empty box from a chunk bar. Significantly less heavy."
icon_state = "chunk_trash"
/obj/item/trash/chunk/hunk
name = "hunk bar crate"
desc = "An empty crate from a hunk bar. Tremendously less heavy."
icon_state = "hunk_trash"
/obj/item/trash/eat
name = "EAT bar wrapper"
icon_state = "eat"
/obj/item/trash/hotdog
name = "Hotdog wrapper"
icon_state = "hotdog"
desc = "A musty plastic film that once held a hotdog. Packaged by the Weyland-Yutani Corporation."
/obj/item/trash/kepler
name = "Kepler wrapper"
icon_state = "kepler"
/obj/item/trash/kepler/flamehot
name = "Kepler Flamehot wrapper"
icon_state = "flamehotkepler"
/obj/item/trash/liquidfood
name = "\improper \"LiquidFood\" ration"
icon_state = "liquidfood"
/obj/item/trash/pistachios
name = "Pistachios pack"
icon_state = "pistachios_pack"
/obj/item/trash/popcorn
name = "Popcorn"
icon_state = "popcorn"
/obj/item/trash/raisins
name = "4no raisins"
gender = PLURAL
icon_state= "4no_raisins"
/obj/item/trash/semki
name = "Semki pack"
icon_state = "semki_pack"
/obj/item/trash/sosjerky
name = "Scaredy's Private Reserve Beef Jerky"
icon_state = "sosjerky"
/obj/item/trash/syndi_cakes
name = "Syndi cakes"
gender = PLURAL
icon_state = "syndi_cakes"
/obj/item/trash/uscm_mre
name = "\improper crumbled USCM MRE"
desc = "It has done its part for the USCM. Have you?"
icon = 'icons/obj/items/trash.dmi'
icon_state = "mealpackempty"
/obj/item/trash/waffles
name = "Waffles"
gender = PLURAL
icon_state = "waffles"
/obj/item/trash/wy_chips_pepper
name = "Weyland-Yutani Pepper Chips"
gender = PLURAL
icon_state = "wy_chips_pepper"
desc = "An oily empty bag that once held Weyland-Yutani Pepper Chips."
//////////////////////
///Ciagarette Butts///
//////////////////////
/obj/item/trash/cigbutt
name = "cigarette butt"
desc = "A manky old cigarette butt."
icon = 'icons/obj/items/clothing/masks.dmi'
icon_state = "cigbutt"
w_class = SIZE_TINY
throwforce = 1
/obj/item/trash/cigbutt/Initialize()
. = ..()
pixel_x = rand(-10,10)
pixel_y = rand(-10,10)
apply_transform(turn(transform,rand(0,360)))
/obj/item/trash/cigbutt/ucigbutt
desc = "A manky old unfiltered cigarette butt."
icon_state = "ucigbutt"
/obj/item/trash/cigbutt/bcigbutt
desc = "A manky old cigarette butt in a fancy black package."
icon_state = "bcigbutt"
/obj/item/trash/cigbutt/cigarbutt
name = "cigar butt"
desc = "A manky old cigar butt."
icon_state = "cigarbutt"
////////////
///Dishes///
////////////
/obj/item/trash/plate
name = "Plate"
icon_state = "plate"
/obj/item/trash/ceramic_plate
name = "ceramic plate"
icon_state = "ceramic_plate"
desc = "A ceramic plate, it doesn't seem like it's done its patriotic duty of being a stand for food yet. Now that you look at it, this might make a good throwing weapon..."
throw_range = 5
throw_speed = SPEED_VERY_FAST
throwforce = 5
/obj/item/trash/ceramic_plate/launch_impact(atom/hit_atom)
. = ..()
playsound(get_turf(src), "shatter", 50, TRUE)
visible_message(SPAN_DANGER("\The [src] shatters into a thousand tiny fragments!"))
qdel(src)
/obj/item/trash/snack_bowl
name = "Snack bowl"
icon_state = "snack_bowl"
/obj/item/trash/tray
name = "Tray"
icon_state = "tray"
/obj/item/trash/USCMtray
name = "\improper USCM Tray"
desc = "Finished with its tour of duty."
icon_state = "MREtray"
//////////
///Misc///
//////////
/obj/item/trash/candle
name = "candle"
icon = 'icons/obj/items/candle.dmi'
icon_state = "candle4"
/obj/item/trash/c_tube
name = "cardboard tube"
desc = "A tube... of cardboard."
icon = 'icons/obj/items/items.dmi'
icon_state = "c_tube"
throwforce = 1
w_class = SIZE_SMALL
throw_speed = SPEED_VERY_FAST
throw_range = 5