/
bait.dm
68 lines (61 loc) · 2.3 KB
/
bait.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
/obj/item/food/bait
name = "this is bait"
desc = "you got baited."
icon = 'icons/obj/fishing.dmi'
/// Quality trait of this bait
var/bait_quality = TRAIT_BASIC_QUALITY_BAIT
/// Icon state added to main fishing rod icon when this bait is equipped
var/rod_overlay_icon_state
/obj/item/food/bait/Initialize(mapload)
. = ..()
ADD_TRAIT(src, bait_quality, INNATE_TRAIT)
/obj/item/food/bait/worm
name = "worm"
desc = "It's a wriggling worm from a can of fishing bait. You're not going to eat it are you ?"
icon = 'icons/obj/fishing.dmi'
icon_state = "worm"
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 1)
tastes = list("meat" = 1, "worms" = 1)
foodtypes = GROSS | MEAT | BUGS
w_class = WEIGHT_CLASS_TINY
bait_quality = TRAIT_BASIC_QUALITY_BAIT
rod_overlay_icon_state = "worm_overlay"
/obj/item/food/bait/worm/premium
name = "extra slimy worm"
desc = "This worm looks very sophisticated."
bait_quality = TRAIT_GOOD_QUALITY_BAIT
/obj/item/food/bait/natural
name = "natural bait"
desc = "Fish can't seem to get enough of this!"
icon = 'icons/obj/medical/chemical.dmi'
icon_state = "pill9"
lefthand_file = 'icons/mob/inhands/items_lefthand.dmi'
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
inhand_icon_state = "pen"
food_reagents = list(/datum/reagent/drug/kronkaine = 2) //The kronkaine is the thing that makes this a great bait.
tastes = list("hypocrisy" = 1)
/obj/item/food/bait/doughball
name = "doughball"
desc = "Small piece of dough. Simple but effective fishing bait."
icon = 'icons/obj/fishing.dmi'
icon_state = "doughball"
food_reagents = list(/datum/reagent/consumable/nutriment/protein = 1)
tastes = list("dough" = 1)
foodtypes = GRAIN
w_class = WEIGHT_CLASS_TINY
bait_quality = TRAIT_BASIC_QUALITY_BAIT
rod_overlay_icon_state = "dough_overlay"
/**
* Bound to the tech fishing rod, from which cannot be removed,
* Bait-related preferences and traits, both negative and positive,
* should be ignored by this bait.
* Otherwise it'd be hard/impossible to cath some fish with it,
* making that rod a shoddy choice in the long run.
*/
/obj/item/food/bait/doughball/synthetic
name = "synthetic doughball"
icon_state = "doughball"
preserved_food = TRUE
/obj/item/food/bait/doughball/synthetic/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_OMNI_BAIT, INNATE_TRAIT)