|
1 | | -//NEVER USE THIS IT SUX -PETETHEGOAT |
2 | | -//THE GOAT WAS RIGHT - RKF |
3 | | - |
4 | | -/obj/item/chems/glass/paint |
5 | | - desc = "It's a paint bucket." |
| 1 | +/obj/item/chems/glass/bucket/paint |
6 | 2 | name = "paint bucket" |
| 3 | + desc = "It's a paint bucket." |
7 | 4 | icon = 'icons/obj/items/paint_bucket.dmi' |
8 | | - icon_state = "paintbucket" |
9 | | - item_state = "paintcan" |
10 | 5 | material = /decl/material/solid/metal/aluminium |
11 | 6 | w_class = ITEM_SIZE_NORMAL |
12 | 7 | amount_per_transfer_from_this = 10 |
13 | 8 | possible_transfer_amounts = @"[10,20,30,60]" |
14 | 9 | volume = 60 |
15 | | - atom_flags = ATOM_FLAG_OPEN_CONTAINER |
16 | 10 | var/pigment |
17 | 11 |
|
18 | | -/obj/item/chems/glass/paint/populate_reagents() |
| 12 | +/obj/item/chems/glass/bucket/paint/populate_reagents() |
19 | 13 | var/amt = reagents.maximum_volume |
20 | 14 | if(pigment) |
21 | 15 | amt = round(amt/2) |
22 | 16 | add_to_reagents(pigment, amt) |
23 | 17 | add_to_reagents(/decl/material/liquid/paint, amt) |
24 | 18 |
|
25 | | -/obj/item/chems/glass/paint/get_edible_material_amount(mob/eater) |
| 19 | +/obj/item/chems/glass/bucket/paint/get_edible_material_amount(mob/eater) |
26 | 20 | return 0 |
27 | 21 |
|
28 | | -/obj/item/chems/glass/paint/get_utensil_food_type() |
| 22 | +/obj/item/chems/glass/bucket/paint/get_utensil_food_type() |
29 | 23 | return null |
30 | 24 |
|
31 | | -/obj/item/chems/glass/paint/on_update_icon() |
32 | | - . = ..() |
33 | | - if(reagents?.total_volume) |
34 | | - add_overlay(overlay_image('icons/obj/reagentfillings.dmi', "paintbucket", reagents.get_color())) |
35 | | - |
36 | | -/obj/item/chems/glass/paint/red |
| 25 | +/obj/item/chems/glass/bucket/paint/red |
37 | 26 | name = "red paint bucket" |
38 | 27 | pigment = /decl/material/liquid/pigment/red |
39 | 28 |
|
40 | | -/obj/item/chems/glass/paint/yellow |
| 29 | +/obj/item/chems/glass/bucket/paint/yellow |
41 | 30 | name = "yellow paint bucket" |
42 | 31 | pigment = /decl/material/liquid/pigment/yellow |
43 | 32 |
|
44 | | -/obj/item/chems/glass/paint/green |
| 33 | +/obj/item/chems/glass/bucket/paint/green |
45 | 34 | name = "green paint bucket" |
46 | 35 | pigment = /decl/material/liquid/pigment/green |
47 | 36 |
|
48 | | -/obj/item/chems/glass/paint/blue |
| 37 | +/obj/item/chems/glass/bucket/paint/blue |
49 | 38 | name = "blue paint bucket" |
50 | 39 | pigment = /decl/material/liquid/pigment/blue |
51 | 40 |
|
52 | | -/obj/item/chems/glass/paint/purple |
| 41 | +/obj/item/chems/glass/bucket/paint/purple |
53 | 42 | name = "purple paint bucket" |
54 | 43 | pigment = /decl/material/liquid/pigment/purple |
55 | 44 |
|
56 | | -/obj/item/chems/glass/paint/black |
| 45 | +/obj/item/chems/glass/bucket/paint/black |
57 | 46 | name = "black paint bucket" |
58 | 47 | pigment = /decl/material/liquid/pigment/black |
59 | 48 |
|
60 | | -/obj/item/chems/glass/paint/white |
| 49 | +/obj/item/chems/glass/bucket/paint/white |
61 | 50 | name = "white paint bucket" |
62 | 51 | pigment = /decl/material/liquid/pigment/white |
63 | 52 |
|
64 | | -/obj/item/chems/glass/paint/random |
| 53 | +/obj/item/chems/glass/bucket/paint/random |
65 | 54 | name = "odd paint bucket" |
66 | 55 |
|
67 | | -/obj/item/chems/glass/paint/random/Initialize() |
| 56 | +/obj/item/chems/glass/bucket/paint/random/Initialize() |
68 | 57 | pigment = pick(decls_repository.get_decl_paths_of_subtype(/decl/material/liquid/pigment)) |
69 | 58 | . = ..() |
0 commit comments